Large Foundation Models (LFMs) face a significant hurdle when learning new tasks sequentially: catastrophic forgetting. When a model is fine-tuned on a new dataset, the gradient descent process often overwrites previously learned patterns, causing a sharp decline in performance on older tasks. This paper introduces LLaCA, a framework for Continual Instruction Tuning (CIT) that balances the need to learn new instructions (plasticity) with the stability required to retain existing knowledge.
The Challenge of Continual Learning
Existing approaches to continual learning typically fall into two categories, both with significant drawbacks. Full Fine-Tuning achieves high performance on new tasks but suffers from rapid forgetting. Conversely, Model Expansion—adding new parameters for every task—preserves old knowledge but leads to a "memory explosion," where the model's size grows uncontrollably. LLaCA seeks a middle ground: a computationally efficient method that maintains high zero-shot generalization without massive parameter growth.
Methodology: Stability through Dynamics
LLaCA introduces two core innovations to manage the trade-off between plasticity and stability:
1. Self-Adaptive Dynamical EMA Update
Instead of relying on raw gradients, LLaCA utilizes an Exponential Moving Average (EMA) of the parameters. The EMA acts as an "anchor" to the model's history. The key innovation is a mathematically derived, dynamic weight ($\beta_t$) for the EMA update. By applying Taylor expansion to the loss function and solving for an ideal state of knowledge transfer using the Lagrange multiplier method, the authors developed a formula that calculates the optimal update weight for every training iteration. To ensure efficiency for large-scale models, this is simplified into an L1-Norm approximation calculated per module layer.
2. Instruction Grouping Strategy
To prevent parameter bloat, LLaCA employs an instruction codebook. Before starting a new task, the model uses TF-IDF to convert instructions into vectors and calculates their cosine similarity to existing groups in the codebook.
- Reuse: If a similar instruction group exists, the model reuses and retrains those parameters.
- Expansion: If the task is novel, it expands the parameter pool. This "limited expansion" approach uses approximately 50% fewer parameters than standard expansion methods while fostering better transfer learning.
Multimodal Tasks and Datasets
The framework was evaluated across a diverse set of multimodal and NLP benchmarks. For multimodal tasks, the researchers used ScienceQA, TextVQA, ImageNet, GQA, VizWiz, Grounding, VQAv2, and OCR-VQA. These tasks require the model to handle complex visual reasoning, text recognition within images, and spatial grounding.
Performance Evaluation
Tested on LLaVA-1.5 (7B and 13B) and Qwen-VL backbones, LLaCA demonstrated state-of-the-art performance across the board:
- Superior Accuracy: On the LLaVA-7B backbone, LLaCA achieved an Average Accuracy of 64.64%, outperforming the previous state-of-the-art (EProj) by 3.85%.
- Minimal Forgetting: The model recorded a "Forgetting" metric of only 1.93%, a stark contrast to the 37.29% seen in standard LoRA fine-tuning.
- Reduced Hallucinations: Qualitative analysis showed that LLaCA is significantly less prone to hallucinations in multi-round dialogues compared to standard fine-tuning methods.
Conclusion and Future Directions
LLaCA successfully addresses the stability-plasticity dilemma in continual instruction tuning. By combining a mathematically grounded dynamical update strategy with efficient parameter reuse, it allows large models to evolve without losing their foundational capabilities. Future work aims to extend this framework beyond image and text to include modalities like video and audio, further enhancing the "self-evolution" of multimodal assistants.
Summary updated