Uni-X: Mitigating Modality Conflict with a Two-End-Separated Architecture for Unified Multimodal Models
Jitai Hao, Hao Liu, Xinyan Xiao, Qiang Huang, Jun Yu
TL;DR
The paper identifies gradient conflicts in fully modality-shared autoregressive unified multimodal models caused by distinct low-level statistics of vision and text. It proposes Uni-X, a two-end-separated, middle-shared transformer that allocates modality-specific processing at the ends and a shared semantic core in the middle. Through extensive scaling and ablation studies, Uni-X demonstrates improved training efficiency and competitive performance, with a 3B Uni-X matching or surpassing some 7B AR-based UMMs in text, vision understanding, and image generation (GenEval score of 82). The work offers a scalable, parameter-efficient foundation for future unified multimodal modeling and provides the codebase for reproducibility.
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
