TL;DR
The "Large Continual Instruction Assistant" (CoIN) framework tackles catastrophic forgetting in Large Multimodal Models (LMMs) by replacing standard gradient updates with a dynamically weighted Exponential Moving Average (EMA). By mathematically balancing model "plasticity" (learning new tasks) and "stability" (retaining old ones) through Taylor expansion, and using a semantic instruction grouping strategy, CoIN achieves state-of-the-art performance across multiple benchmarks without the massive memory overhead of traditional model expansion.
The Challenge: Continual Instruction Tuning
Large Foundation Models, including Large Language Models (LLMs) and Multimodal Large Language Models (MLLMs), are typically trained in two stages: massive pre-training followed by instruction tuning. However, as human society evolves, new instructions and tasks emerge constantly.
This introduces the challenge of Continual Instruction Tuning (CIT): how do we teach a model new capabilities without it forgetting previously learned ones? Standard fine-tuning often leads to "catastrophic forgetting." The gradient updates required to master a new dataset (like OCR token recognition) can overwrite the parameters that were essential for a previous task (like visual reasoning).
While some researchers attempt to solve this by adding new "branches" or modules to the model for every new task, this leads to "memory explosion"—the model simply becomes too large and computationally expensive to manage over time.
Methodology: Solving the Stability-Plasticity Dilemma
The authors introduce two primary innovations to solve the stability-plasticity dilemma inherent in continual learning:
1. Self-Adaptive Dynamical EMA Update
Instead of directly updating model parameters using standard gradients, the authors utilize an Exponential Moving Average (EMA). Traditionally, EMA uses a fixed weight (e.g., 0.99) to blend old and new parameters. The authors argue that a fixed weight is too rigid to handle diverse, ever-changing datasets.
Using a Taylor expansion of the loss function and Lagrange multipliers, they derived a formula to calculate the optimal balance weight for every training iteration. This dynamic weight is automatically determined by the relationship between current gradients and previously learned parameters, ensuring the model only alters its weights as much as strictly necessary to learn the new task.
2. Instruction Grouping Strategy
The authors observed "instruction reuse" across datasets—different tasks often use semantically similar instructions (e.g., "Answer the question using a single word").
To leverage this, CoIN maintains an instruction codebook using a lightweight TF-IDF model. When a new task arrives, the model calculates the cosine similarity between the new instructions and the existing codebook.
- If a match is found, it retrains the existing parameters associated with that semantic group.
- If the instruction is truly novel, it expands the parameter pool.
This "limited expansion" keeps the model size manageable, typically restricting the parameter pool to around 50% of the total number of tasks.
Datasets and Evaluation
The framework was evaluated on a wide array of benchmarks to test its robustness:
- Multimodal (MLLM): ScienceQA, TextVQA, ImageNet, GQA, VizWiz, Grounding, VQAv2, and OCR-VQA.
- NLP-only: The InstrDialog stream dataset, which includes 19 tasks covering dialogue state tracking, generation, and intent identification.
- Backbone Models: The researchers implemented CoIN on LLaVA-1.5 (7B and 13B), Qwen-VL, and T5-small.
Key Insights and Results
The paper highlights that standard gradient updates are inherently biased toward optimizing the current dataset, which is the root cause of forgetting. EMA acts as a buffer that preserves the trajectory of previous knowledge. Furthermore, by grouping tasks based on the meaning of the instructions rather than just the data type, the model can more efficiently decide which parameters to reuse.
CoIN consistently outperformed existing State-of-the-Art (SOTA) methods like EProj, PGP, and MoELoRA across evaluations.
- Overall Performance: On LLaVA-7B, CoIN achieved an Average Accuracy of 64.64%, outperforming the best baseline (EProj) by +3.85%.
- Anti-Forgetting: The "Forgetting" metric was slashed to just 1.93%, compared to 5.42% for EProj and a staggering 37.29% for standard LoRA fine-tuning.
- Efficiency: On the InstrDialog dataset, CoIN surpassed all other non-replay methods and performed comparably to "Replay" methods (which require storing and re-training on old data), but without the heavy storage burden.
- Hallucination Suppression: Interestingly, the authors found that their method spontaneously suppressed hallucinations. They suggest that hallucinations in large models are often a side effect of catastrophic forgetting—when the model "forgets" the correct grounding, it begins to guess.
Limitations and Future Work
While highly effective, the current study focuses primarily on image and text modalities. The authors aim to extend the framework to video and audio instruction tuning in the future. Additionally, while more efficient than full model expansion, managing a growing codebook and parameter pool still requires careful resource management as the number of tasks scales into the hundreds or thousands. Finally, although the EMA balance weight is dynamic, the initial matching threshold for the instruction codebook still requires empirical tuning.
Summary updated