TL;DR
CuMo (Co-Upcycled Mixture-of-Experts) is a novel framework that scales Multimodal Large Language Models (MLLMs) by integrating sparsely-gated Mixture-of-Experts (MoE) blocks into the vision encoder and the vision-language connector. By "co-upcycling" pre-trained dense weights to initialize these experts, CuMo achieves state-of-the-art performance on multimodal benchmarks while maintaining low inference costs, outperforming larger models like LLaVA-NeXT and even private models like Apple's MM1.
What Problem Does This Paper Address?
Scaling Multimodal LLMs typically follows a predictable path: use more image-text pairs, use a larger LLM, or use a more powerful vision backbone. However, these methods are computationally expensive. While the LLM community has embraced Mixture-of-Experts (MoE) to scale parameters without increasing inference cost, the "vision side" of MLLMs—specifically the vision encoder and the connector that translates visual tokens for the LLM—has remained relatively static.
Training MoE models from scratch is notoriously unstable and prone to "expert collapse," where only a few experts do all the work. The authors address the challenge of efficiently scaling the visual perception capabilities of MLLMs without the massive overhead of training giant dense models or the instability of raw MoE training.
Methods
The core of CuMo is the integration of Top-K sparsely-gated MoE blocks into both the CLIP vision encoder and the MLP connector.
Key technical contributions include:
- Co-Upcycling: Instead of initializing MoE experts randomly, the authors use "upcycling." They take a pre-trained dense MLP block and create $N$ copies of it to initialize the $N$ experts in an MoE block. This provides a stable, high-quality starting point for training.
- Three-Stage Training:
- Pre-training: Only the MLP connector is trained to align visual tokens with the LLM's word embedding space.
- Pre-Finetuning: All parameters are trained using high-quality captions to "warm up" the model.
- Visual Instruction Tuning: The dense blocks are replaced with upcycled MoE blocks, and the entire system is fine-tuned with auxiliary losses to ensure balanced expert loading.
- Multi-Resolution Features: CuMo employs a multi-resolution approach, concatenating features from different image scales to enrich visual understanding without exploding the token count.
Datasets
CuMo was trained exclusively on open-source datasets:
- Training: LLaVA-558K (alignment), ALLaVA (warm-up), and a 1.65M sample mixture for instruction tuning (including ShareGPT4V, LAION-GPT-V, DocVQA, and ChartQA).
- Evaluation: The model was tested against a battery of benchmarks: SQA-IMG, TextVQA, GQA, POPE, MME, MMBench, MM-Vet, VQAv2, LLaVA-Wild, SEED-IMG, MMMU, and MathVista.
Key Insights and Ideas
- Vision-Side MoE is a "Free Lunch": By adding MoE to the vision encoder and connector, the model gains significant capacity. Because it's a sparse MoE (only Top-K experts are active), the number of activated parameters during inference remains nearly the same as a much smaller dense model.
- LLM Upcycling vs. Pre-trained MoE: The authors found that upcycling a dense LLM (like Mistral-7B) into an MoE was less effective than simply using an LLM that was already pre-trained as an MoE (like Mixtral-8x7B). Consequently, CuMo focuses its upcycling efforts on the vision components.
- Initialization Matters: Training MoE routers from scratch while experts are also learning is difficult. Initializing experts with pre-trained dense weights (Figure 3) acts as a powerful regularizer and speeds up convergence.
- Balanced Loading: Through auxiliary losses, the model learns to distribute tokens evenly across experts, preventing any single expert from becoming a bottleneck or being ignored.
Key Results
CuMo Mistral-7B sets a new standard for the 7B parameter class. As shown in Figure 1, it consistently outperforms LLaVA-NeXT and Mini-Gemini across diverse tasks.
- Performance: On the MMMU benchmark (which tests college-level reasoning), CuMo Mistral-7B scored 39.1, beating LLaVA-NeXT Mistral-7B's 35.3.
- Efficiency: Despite having more total parameters due to the MoE structure, the activated parameters for CuMo Mistral-7B are only 7.8B, making it highly efficient for its performance level.
- Scaling: The CuMo Mixtral-8x7B variant achieved a score of 45.0 on MMMU, placing it in competition with much larger or private models.
Limitations and Future Work
- Hallucinations: Like all current MLLMs, CuMo still suffers from occasional hallucinations. For example, in complex scenes, it might miscount objects (e.g., identifying two characters standing on a table when there are none).
- LLM Constraints: The study was limited by the licenses of certain base models (like LLaMA), preventing the authors from exploring those architectures.
- Vision Backbone: While CLIP is a strong baseline, the authors suggest that scaling even larger vision encoders using MoE could yield further gains, as the LLM currently dominates the total parameter count.
Summary updated