Introduction
Adapting Multimodal Large Language Models (MLLMs) to new domains often leads to "catastrophic forgetting," where learning new information overwrites previously acquired knowledge. This paper introduces a Sparse Mixture of Experts (SMoE) framework featuring an Adaptive Router and a Domain-Specific Autoregressive Loss (DSAL). This approach allows MLLMs to learn new domains continuously with near-zero forgetting and high parameter efficiency.
The Challenge of Domain-Incremental Learning
While MLLMs like LLaVA are impressive generalists, they often struggle with specialized domains such as medicine or advanced mathematics. Researchers typically use Continual Instruction Tuning (CIT) to adapt these models. However, most CIT research focuses on task-incremental learning. The authors argue that domain-incremental learning—adapting to entirely different data distributions—is more practical but significantly harder due to catastrophic forgetting.
Existing SMoE methods attempt to solve this by adding new "expert" layers, but they face three primary flaws:
- Fixed Compute Allocation: They allocate the same compute (e.g., "Top-K" experts) to every token, regardless of its importance.
- Undertrained Experts: Experts are often underutilized because routers only select a few tokens for them during training.
- Domain Identification: During inference, models struggle to identify which domain-specific expert to use.
Proposed Methodology
The authors propose a modular SMoE approach where a new domain-specific module is appended to every Feed-Forward Network (FFN) layer of the LLM.
Three novel components drive this architecture:
- AT-Router (Adaptive Threshold-based Router): Unlike traditional routers that pick a fixed number of experts, the AT-Router calculates a dynamic importance score for each token. "Vital" tokens are allocated more experts, while "insignificant" tokens receive fewer or zero assignments.
- DSAL (Domain-Specific Autoregressive Loss): Each SMoE module is equipped with its own DSAL, acting as a domain signature. During inference, the module with the lowest loss is selected to process the instruction.
- Virtual Experts: To ensure all experts are well-trained, a "virtual expert" (an average of all experts in a group) is used to compute the DSAL during training, allowing every expert to learn from all instruction tokens.
Experimental Setup
The authors established a new benchmark for domain-incremental CIT, covering three distinct domains with approximately 90,000 instructions.
The benchmark includes:
- Medicine: VQA-RAD, PathVQA, SLAKE, and LLaVA-Med.
- Chart: ChartQA (VQA and Chart-to-Table) and Pew/Statista (Chart-to-Text).
- Math: IconQA, CLEVR-Math, TabMWP, and Geometry3K.
Key Results and Insights
- Superior Performance and Zero Forgetting: In the sequence Medicine $\rightarrow$ Chart $\rightarrow$ Math, the proposed method consistently outperformed baselines. Notably, it maintained peak performance on early-learned domains even after the final training stage, demonstrating near-zero forgetting.
- Efficiency: The model activates only 42M parameters per domain during inference, significantly fewer than LoRA (221M) or standard DMoE (208M).
- Token Importance: By using an adaptive threshold, the model performs better while activating fewer experts on average (0.81 experts per token) than a standard Top-1 router.
- Effective Identification: The DSAL achieved a 97.2% accuracy in identifying the correct domain during inference, bypassing the need for manual labels.
Conclusion
This SMoE framework provides a robust solution for continuous domain adaptation in MLLMs. While highly effective, future work remains in scaling to hundreds of domains and improving generalization to entirely unseen or out-of-distribution data.
Summary updated