LLaVA-MoD: Making LLaVA Tiny via MoE-Knowledge Distillation

Fangxun Shu, Yue Liao, Lei Zhang, Le Zhuo, Chenning Xu, Guanghao Zhang, Haonan Shi, Long Chan, TaoZhong, Zhelun Yu, Wanggui He, Siming Fu, Haoyuan Li, Si Liu, Hongsheng Li, Hao Jiang

TL;DR

LLaVA-MoD is a novel framework designed to compress large Multimodal Language Models (MLLMs) into highly efficient, tiny versions. By leveraging a sparse Mixture of Experts (MoE) architecture and a progressive distillation strategy, the resulting 2B-parameter model outperforms much larger 7B models (like Qwen-VL-Chat) by 8.8% on average. Remarkably, it achieves this while being 2.5x faster and utilizing significantly less training data.

The Challenge of Scaling Down MLLMs

Multimodal Large Language Models (MLLMs) have achieved incredible feats in understanding images and text, but they are computationally "heavy." For example, the largest LLaVA-NeXT models require massive GPU clusters just to train and are too slow for real-time use on edge or mobile devices.

Simply "scaling down" these models by reducing their parameter count usually leads to a massive drop in performance. Small models often lack the capacity to absorb the complex, multi-task knowledge found in their larger counterparts. Furthermore, small models are notoriously prone to "hallucinations"—confidently stating things about an image that aren't actually there. The authors aim to create a "tiny but mighty" LLaVA that maintains high performance and low hallucination rates without the computational bloat.

Methodology: Bridging the Gap

The authors introduce two main innovations to bridge the performance gap between small ($s$-MLLM) and large ($l$-MLLM) models:

Comparison of Dense and Sparse MoE LLM Architectures

1. Sparse MoE Architecture

Instead of a standard dense language model, LLaVA-MoD utilizes a Mixture of Experts (MoE). In this setup, the model contains multiple feedforward networks (experts), but a "router" only activates the top-$k$ most relevant experts for any given token. This allows the model to maintain a high total parameter count (preserving knowledge capacity) while keeping the activated parameters—and thus the computational cost—very low.

2. Progressive Distillation Strategy

Knowledge isn't transferred from the teacher to the student all at once. Instead, it happens in carefully staged phases:

  • Initialization: Aligning the vision encoder with the language model.
  • Mimic Distillation: The student model learns to mimic the teacher's output distribution using KL-divergence. This is done in two steps: Dense-to-Dense (D2D) to build a general foundation, followed by Dense-to-Sparse (D2S) to specialize the MoE experts on complex multi-task data.
  • Preference Distillation: This serves as the final "polish." Using Preference Optimization (specifically KTO), the student learns to distinguish between "good" and "bad" responses. By treating the large teacher model as the reference, the student learns to surpass the teacher’s judgment, particularly in identifying and avoiding hallucinations.

Training Data

The researchers used a curated collection of approximately 5 million samples from open-source datasets to execute this strategy:

  • Initialization: 0.6M general image-caption pairs (LLaVA-1.5-Pretrain).
  • Mimic Distillation: 2.4M caption/conversation samples for general knowledge and 1.4M multi-task samples (VQA, OCR, Science, etc.) for specialized knowledge.
  • Preference Distillation: 80K meticulously paired "positive" and "negative" response samples to fine-tune judgment.

Key Results

Efficiency and Benchmark Performance of LLaVA-MoD
  • Superior Performance: LLaVA-MoD-2B (based on Qwen-2) achieved an average score of 61.6 across benchmarks, surpassing the 7B-parameter Qwen-VL-Chat (56.7) and LLaVA-1.5-7B (62.1).
  • Extreme Efficiency: The 2B model achieved these results using only 0.3% of the training data and 23% of the trainable parameters compared to the 7B baseline.
  • Speed and Memory: On an A100 GPU, LLaVA-MoD-2B is 2.5x faster at decoding tokens, uses 26% fewer FLOPs, and consumes 38% less memory than Qwen-VL-Chat-7B.
  • Hallucination Reduction: On the Object HalBench, LLaVA-MoD-2B outperformed RLHF-V (a 13B model specifically tuned to reduce hallucinations) by a significant margin in both response-level and mention-level accuracy.

Key Insights

  • Capacity vs. Compute: The MoE architecture acts as a "cheat code" for small models. It provides the storage space needed for diverse multimodal knowledge without the inference-time penalty of a massive dense model.
  • The Student Can Surpass the Teacher: Through preference distillation, the student doesn't just copy the teacher's homework; it learns the teacher's logic for what makes an answer "bad." This allows the $s$-MLLM to achieve lower hallucination rates than the $l$-MLLM it learned from.
  • Stability Matters: The authors found that KTO (Kahneman-Tversky Optimization) was more stable than the popular DPO (Direct Preference Optimization) for this specific distillation task, as it categorizes samples as simply "good" or "bad" rather than requiring perfectly paired comparisons.

Limitations and Future Work

Currently, the framework requires the student and teacher to belong to the same LLM family (e.g., both must be Qwen models) to ensure they share the same vocabulary space for accurate distillation. Additionally, distillation requires loading both the teacher and student models simultaneously, which is memory-intensive.

Future research could explore "pre-extracting" teacher logits to reduce hardware requirements, or investigate heterogeneous distillation to transfer knowledge between entirely different model architectures (e.g., distilling a Llama-based teacher into a Qwen-based student).

Summary updated

BibTeX
@inproceedings{shu2025llava,
  author = {Fangxun Shu and Yue Liao and Lei Zhang and Le Zhuo and Chenning Xu and Guanghao Zhang and Haonan Shi and Long Chan and TaoZhong and Zhelun Yu and Wanggui He and Siming Fu and Haoyuan Li and Si Liu and Hongsheng Li and Hao Jiang},
  title = {{LLaVA-MoD: Making LLaVA Tiny via MoE-Knowledge Distillation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=uWtLOy35WD},
}
Figure