TL;DR
This paper tackles the problem of "catastrophic forgetting" in multimodal large language models (MLLMs), where integrating vision capabilities often degrades the LLM's original language skills. They propose using continual learning (CL) techniques to mitigate this forgetting, finding that a "Soft Targets" approach significantly reduces linguistic performance loss while maintaining strong multimodal accuracy. This work is crucial for developing MLLMs that are both visually capable and retain their foundational language prowess.
What Problem Does This Paper Address?
Large language models (LLMs) are incredibly powerful, but to make them truly versatile, researchers are integrating them with vision capabilities to create multimodal LLMs (MLLMs). A common approach is to take a pre-trained LLM and "align" it with visual information, then fine-tune it on vision-language tasks. However, a significant side effect of this process is "catastrophic forgetting": the LLM loses some of its original natural language understanding (NLU) and generation (NLG) abilities. This is a major hurdle because we want MLLMs to be good at both vision-language tasks and retain their core language skills. The paper investigates this problem using the popular LLaVA MLLM framework and explores how continual learning methods can help preserve these linguistic abilities.
Methods
The core of this paper is applying and evaluating continual learning (CL) techniques to the process of creating an MLLM. The authors frame the standard LLaVA training as a sequence of tasks: first, you have a pre-trained LLM (Task 1), and then you train it on a mixture of vision-language (VL) datasets (Task 2). They then explore several CL methods to mitigate forgetting during this process:
- Naive Fine-Tuning: The standard LLaVA approach, serving as a baseline.
- LoRA (Low-Rank Adaptation): Learns low-rank updates to the LLM weights, keeping the original weights frozen.
- Soft Targets: Instead of using hard targets for training, this method uses label smoothing to reduce the impact of distribution shifts, aiming to preserve next-token prediction logits.
- Rehearsal (Experience Replay): Stores a small percentage of data from previous tasks and mixes it with new task data.
- mSGM: A combination of soft targets, weight initialization, and LoRA.
They evaluate these methods by first trying to reproduce the original LLaVA 1.5 performance while mitigating forgetting, and then by sequentially learning each VL dataset in the LLaVA recipe.
Datasets
The paper uses several standard datasets for training and evaluation:
Training Datasets: The LLaVA 1.5 data mixture, which is split into groups of vision-language tasks for the continual learning experiments. These include:
- CC-LAION-SBU (for instruction tuning)
- LLaVA-Inst, ShareGPT (for instruction tuning)
- VQAv2, OKVQA, A-OKVQA, GQA (for VQA tasks)
- OCRVQA, TextCaps (for OCR tasks)
- RefCOCO, VisualGenome (for referential grounding)
Evaluation Datasets: * Natural Language (NLG/NLU): Lambada (NLG), ARC-Easy, ARC-Challenge, Winogrande, WSC (NLU). * Vision-Language (VL): VQAv2, GQA, TextVQA OCR, RefCOCO.
Key Insights and Ideas
- Linguistic Forgetting is a Real Problem: Integrating vision into LLMs does degrade their language abilities, especially for NLG tasks. This isn't just a minor issue; it can be substantial.
- Not All Forgetting is Bad: Surprisingly, some models showed positive backward transfer, meaning their NLU/NLG performance actually improved after multimodal training. The authors hypothesize this is due to the common-sense reasoning and world knowledge gained from VL tasks.
- Model Scale Matters: Larger LLMs tend to forget less. This is a consistent trend observed across their experiments.
- Soft Targets Shine: The "Soft Targets" CL method proved particularly effective at mitigating linguistic forgetting, often outperforming other methods while maintaining competitive VL accuracy. The paper suggests this is because it helps preserve the model's understanding of next-token prediction.
- Continual Learning is Key: Treating MLLM creation as a CL problem is a promising direction for building more robust and versatile multimodal models.
Key Results
- The best CL method (Soft Targets) reduced linguistic performance degradation by up to 15% compared to the original LLaVA recipe.
- This method achieved near-zero or even negative linguistic forgetting (positive backward transfer) while maintaining high multimodal accuracy.
- For NLG tasks, forgetting was generally more severe than for NLU tasks.
- Larger models (e.g., 2.8B parameters) showed significantly less linguistic forgetting than smaller models (e.g., 160M parameters).
- In continual learning scenarios, mSGM with Rehearsal showed minimal NLU/NLG forgetting and competitive VL performance across multiple model scales.
Limitations and Future Work
- Computational Constraints: Due to computational limitations, the authors exhaustively tested mitigation methods on the smallest Pythia (160M) model and then evaluated the best method across other scales.
- Task 2 Evaluation: The "Instruct Tuning" task (Task 2) in their continual learning setup does not have a specific VL evaluation dataset, making direct performance measurement challenging.
- Future Work: The paper highlights the need for more robust and capable mitigation approaches for MLLMs. They aim to inspire future research in this direction, ultimately contributing to the advancement of more resilient and versatile MLLMs. They also suggest further exploration of CL techniques for MLLMs.
Summary updated