Abstract
Scaling Multimodal Large Language Models (MLLMs) has traditionally focused on increasing training data volume or expanding the parameter count of the language model backbone. However, the vision encoder and the connector—the components responsible for interpreting visual data—are often left as dense, static modules. This paper introduces CuMo, a novel framework that scales MLLMs by integrating Mixture-of-Experts (MoE) blocks into both the vision encoder and the MLP connector. By employing a "co-upcycling" strategy that initializes experts from pre-trained dense blocks, CuMo achieves state-of-the-art performance across multiple benchmarks while maintaining the inference efficiency of significantly smaller models.
1. Introduction
Recent advancements in MLLMs have demonstrated that larger models and more extensive datasets lead to superior performance. Yet, scaling the visual processing side of these models presents a unique challenge: increasing visual resolution or using multiple encoders typically results in a massive influx of visual tokens, which significantly slows down the language model's processing speed.
CuMo addresses this bottleneck by applying the Mixture-of-Experts (MoE) architecture beyond the language model. By introducing sparsity into the vision encoder and the connector, CuMo increases the model's capacity and representational power without a proportional increase in computational cost during inference.
2. Methodology
2.1 Architecture Integration
CuMo's architecture departs from standard MLLMs by replacing traditional MLP blocks with Top-K sparsely gated MoE blocks in two critical areas:
- Vision Encoder: The CLIP-based vision encoder is enhanced with MoE layers, allowing it to specialize in different visual features.
- MLP Connector: The bridge between the vision encoder and the LLM is also converted to an MoE structure, facilitating more nuanced alignment between visual and textual modalities.
2.2 Co-Upcycling Strategy
Training MoE models from scratch is often unstable and computationally demanding. CuMo utilizes an "upcycling" approach: the model is first trained as a standard dense architecture. These pre-trained MLP blocks are then replicated to initialize the multiple experts within the MoE layers. This provides a stable, high-quality foundation, ensuring that the experts begin with a strong baseline of knowledge before further specialization.
2.3 Multi-Resolution Features
To capture both global context and fine-grained detail, CuMo utilizes a dual-resolution approach. It concatenates 1x and 3x resolution features channel-wise, providing the model with a richer visual representation to process through its specialized experts.
2.4 Training Pipeline
The training process is divided into three distinct stages:
- Stage 1 (Pre-training): Focuses on aligning the vision encoder and LLM by training only the MLP connector.
- Stage 2 (Pre-Finetuning): A "warm-up" phase where all parameters are trained on high-quality image captions to stabilize the dense model.
- Stage 3 (Visual Instruction Tuning): The MoE blocks are introduced via upcycling. The model is fine-tuned with auxiliary losses (load balancing and router z-loss) to ensure the router effectively distributes tokens across all experts.
3. Experiments and Results
3.1 Datasets
CuMo was trained exclusively on open-source data, including LLaVA-558K for pre-training and a massive mix of ~1.65 million samples for instruction tuning (including ShareGPT4V, DocVQA, and ChartQA).
3.2 Performance Benchmarks
CuMo sets a new standard for the 7B parameter class, consistently outperforming both open-source and proprietary models:
- General Benchmarks: CuMo Mistral-7B outperformed Mini-Gemini and LLaVA-NeXT across standard metrics such as SQA-IMG and TextVQA.
- Reasoning: On the MMMU benchmark, which requires college-level subject knowledge, CuMo Mistral-7B achieved a score of 39.1, significantly higher than LLaVA-NeXT’s 35.3.
- Competitive Edge: The model even surpassed the performance of Apple's MM1 7B model on several key metrics.
- Scalability: When integrated with a Mixtral 8x7B backbone, CuMo reached a score of 45.0 on MMMU, demonstrating that the co-upcycling framework scales effectively with larger language models.
4. Discussion and Limitations
While CuMo demonstrates the power of MoE in the vision pipeline, it is not without limitations. Like many MLLMs, it is still susceptible to hallucinations, particularly in complex scenes requiring precise counting or identification. Furthermore, while the load-balancing loss ensures even expert utilization, the specific qualitative nature of what each vision expert learns (e.g., whether they specialize in texture, shape, or text) remains a subject for future investigation.
5. Conclusion
CuMo proves that the vision encoder and connector are fertile ground for MoE-based scaling. By utilizing a co-upcycling strategy, the framework achieves state-of-the-art multimodal performance with high efficiency. This approach suggests that the future of MLLM scaling lies not just in larger datasets or bigger LLMs, but in the intelligent, sparse expansion of the entire multimodal pipeline.
Summary updated