{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2509-24365","title":"Uni-X: Mitigating Modality Conflict with a Two-End-Separated Architecture for Unified Multimodal Models","arxiv_id":"2509.24365","date":"2025-09-29","proceeding":"ICLR","authors":["Jitai Hao","Hao Liu","Xinyan Xiao","Qiang Huang","Jun Yu"],"abstract":"Unified Multimodal Models (UMMs) built on shared autoregressive (AR) transformers are attractive for their architectural simplicity. However, we identify a critical limitation: when trained on multimodal inputs, modality-shared transformers suffer from severe gradient conflicts between vision and text, particularly in shallow and deep layers. We trace this issue to the fundamentally different low-level statistical properties of images and text, while noting that conflicts diminish in middle layers where representations become more abstract and semantically aligned. To overcome this challenge, we propose Uni-X, a two-end-separated, middle-shared architecture. Uni-X dedicates its initial and final layers to modality-specific processing, while maintaining shared parameters in the middle layers for high-level semantic fusion. This X-shaped design not only eliminates gradient conflicts at both ends but also further alleviates residual conflicts in the shared layers. Extensive experiments validate the effectiveness of Uni-X. Under identical training conditions, Uni-X achieves superior training efficiency compared to strong baselines. When scaled to 3B parameters with larger training data, Uni-X matches or surpasses 7B AR-based UMMs, achieving a GenEval score of 82 for image generation alongside strong performance in text and vision understanding tasks. These results establish Uni-X as a parameter-efficient and scalable foundation for future unified multimodal modeling. Our code is available at https://github.com/CURRENTF/Uni-X","url_abs":"https://arxiv.org/abs/2509.24365","url_pdf":"https://arxiv.org/pdf/2509.24365","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2509.24365","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2509.24365"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/CURRENTF/Uni-X","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"ran":1,"unverified":7},"by_repo_kind":{"found_in_text":{"samples":9,"ran":2,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"592b3c1a88f93d7c","entry":"expand2square","repo":"CURRENTF/Uni-X","repo_kind":"found_in_text","path":"uni_arch/mm_utils.py","file_url":"https://github.com/CURRENTF/Uni-X/blob/HEAD/uni_arch/mm_utils.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"592b3c1a88f93d7c"}},{"code_sha256_prefix":"c3ee9d07c900dd55","entry":"load_image_from_base64","repo":"CURRENTF/Uni-X","repo_kind":"found_in_text","path":"uni_arch/mm_utils.py","file_url":"https://github.com/CURRENTF/Uni-X/blob/HEAD/uni_arch/mm_utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c3ee9d07c900dd55"}},{"code_sha256_prefix":"6d8db5e6bffeebde","entry":"convert_alpaca_to_messages","repo":"CURRENTF/Uni-X","repo_kind":"found_in_text","path":"uni_arch/train/data_collator.py","file_url":"https://github.com/CURRENTF/Uni-X/blob/HEAD/uni_arch/train/data_collator.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6d8db5e6bffeebde"}},{"code_sha256_prefix":"d1ced6e34ccd7a74","entry":"convert_qa_pair_to_messages","repo":"CURRENTF/Uni-X","repo_kind":"found_in_text","path":"uni_arch/train/data_collator.py","file_url":"https://github.com/CURRENTF/Uni-X/blob/HEAD/uni_arch/train/data_collator.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d1ced6e34ccd7a74"}},{"code_sha256_prefix":"3bf02aaea92ddb47","entry":"get_flash_attention_args_tensorized","repo":"CURRENTF/Uni-X","repo_kind":"found_in_text","path":"modeling/shared_func_module.py","file_url":"https://github.com/CURRENTF/Uni-X/blob/HEAD/modeling/shared_func_module.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3bf02aaea92ddb47"}},{"code_sha256_prefix":"8b67829b6f031d1d","entry":"get_ordinary_vision_mask","repo":"CURRENTF/Uni-X","repo_kind":"found_in_text","path":"modeling/shared_func_module.py","file_url":"https://github.com/CURRENTF/Uni-X/blob/HEAD/modeling/shared_func_module.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8b67829b6f031d1d"}},{"code_sha256_prefix":"61b71ecdc7a242ce","entry":"get_tensor_of_acceptable_tokens","repo":"CURRENTF/Uni-X","repo_kind":"found_in_text","path":"evaluation/uni_infer.py","file_url":"https://github.com/CURRENTF/Uni-X/blob/HEAD/evaluation/uni_infer.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"61b71ecdc7a242ce"}},{"code_sha256_prefix":"d6153bc4456b4b0c","entry":"process_images","repo":"CURRENTF/Uni-X","repo_kind":"found_in_text","path":"uni_arch/mm_utils.py","file_url":"https://github.com/CURRENTF/Uni-X/blob/HEAD/uni_arch/mm_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d6153bc4456b4b0c"}},{"code_sha256_prefix":"72461476cc34c9b7","entry":"reset_get_vis_mask","repo":"CURRENTF/Uni-X","repo_kind":"found_in_text","path":"modeling/shared_func_module.py","file_url":"https://github.com/CURRENTF/Uni-X/blob/HEAD/modeling/shared_func_module.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"72461476cc34c9b7"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","source":"arxiv_api"},"syntology_extracted_results":null}