Introduction
Scaling Multimodal Large Language Models (MLLMs) to handle diverse data types like text, images, video, and audio typically incurs a significant "compute tax." Dense models activate all parameters for every input, leading to high training and inference costs. Furthermore, "modality bias" often causes performance degradation when a model is forced to learn disparate tasks simultaneously. Uni-MoE addresses these challenges by employing a sparse Mixture of Experts (MoE) architecture and a progressive training strategy, enabling efficient scaling and specialized expertise across modalities.
Architecture: A "Divide and Conquer" Approach
The Uni-MoE framework utilizes modality-specific encoders connected to a Large Language Model (LLM) backbone via trainable connectors. For instance, it employs CLIP for visual data and Whisper or BEATs for audio and speech.
The core innovation is the MoE Layer. Instead of a single massive feed-forward network (FFN), each layer contains multiple "experts" (smaller FFNs). A learned router mechanism directs each input token to the top-k most relevant experts. This sparsity allows the model to maintain a large total parameter count (e.g., up to 37B) while only activating a fraction (e.g., 11.1B) during inference, preserving the speed of smaller models.
Three-Stage Progressive Training
To achieve functional specialization and effective collaboration between experts, Uni-MoE follows a three-stage training pipeline:
- Stage 1: Cross-Modality Alignment: Trainable connectors map various modalities into the LLM's language space, ensuring basic cross-modal understanding.
- Stage 2: Modality-Specific Expert Training: Experts are "warm-started" by training them on specific data types (e.g., audio-only or image-only datasets). This develops deep domain proficiency before the experts are mixed.
- Stage 3: Unified MoE Tuning: The entire system is fine-tuned using Low-Rank Adaptation (LoRA) on mixed multimodal instruction data. This stage teaches the experts to collaborate on complex, interleaved tasks.
Key Results and Benchmarks
Uni-MoE demonstrates superior performance across multiple modalities:
- Video Understanding: Achieved 42.8% accuracy on ActivityNet-QA, outperforming Video-ChatGPT (35.2%).
- Audio Reasoning: Reached a 25.1 CIDEr score on ClothoV2 audio captioning, a massive improvement over previous unified models like Macaw-LLM.
- Long-Form Speech: On the newly introduced English High School Listening Test (EHSL) benchmark, Uni-MoE showed a robust ability to reason over minutes-long audio segments.
Ablation studies confirmed that pre-training experts on specific modalities (Stage 2) leads to faster convergence and better generalization compared to starting with identical experts. Additionally, visualization of routing paths confirmed that the model naturally learns to assign modality-specific tokens to their corresponding experts.
Conclusion
Uni-MoE represents a significant step toward efficient, truly unified multimodal intelligence. By leveraging sparse MoE and a structured training regimen, it overcomes the computational and interference hurdles of dense models. Future work will focus on expanding to more modalities and refining routing algorithms to further optimize performance and efficiency.
Summary updated