TL;DR
Continual instruction tuning allows large language models (LLMs) to excel at specific downstream tasks, but it comes at a steep cost: the catastrophic forgetting of general knowledge. This empirical study demonstrates that larger models (up to 7B parameters) counterintuitively suffer more severe forgetting than smaller ones, decoder-only architectures retain knowledge better than encoder-decoder structures, and mixing in general instruction data can significantly mitigate this knowledge loss.
What Problem Does This Paper Address?
When adapting LLMs to real-world applications, developers frequently fine-tune them sequentially on task-specific data—a paradigm known as continual instruction tuning. Because the original pre-training data is typically proprietary or too massive to access during this stage, the model risks overwriting its foundational capabilities while learning new ones. This is known as catastrophic forgetting (CF).
While prior research has explored forgetting in downstream tasks or within encoder-only classification models, this paper tackles a critical gap: how does continual instruction tuning impact the general knowledge, reasoning, and reading comprehension stored within generative LLMs?
Methods
The authors design a controlled empirical framework to track knowledge decay over time. They sequentially train various LLMs on a pipeline of five distinct generative instruction tasks:
- Text Simplification (Simp)
- Empathetic Dialogue Generation (Emdg)
- Inquisitive Question Generation (InqQG)
- Explanation Generation (Exp)
- Headline Generation with Constraint (HGen)
The training pipeline and evaluation framework are illustrated in Figure 1:
Crucially, the model has no access to previous tasks' data during subsequent training phases. After each phase, the model's general capabilities are evaluated using a custom forgetting metric ($FG_i$), which calculates the average relative performance drop compared to the initial, un-tuned model.
Datasets
- Training Tasks: 100,000 samples per task across the 5 sequential generative tasks, utilizing established datasets such as ELI5 (for question generation) and e-SNLI (for explanation generation).
- Evaluation Benchmarks:
- Domain Knowledge: Massive Multitask Language Understanding (MMLU), covering STEM, Social Sciences, Humanities, and other domains (evaluated in a 5-shot setting).
- Reasoning: Hellaswag, BoolQ, Winogrande, PIQA, MathQA, and Mutual (evaluated via zero-shot accuracy).
- Reading Comprehension: RACE-high and RACE-middle (zero-shot accuracy).
- Bias: CrowS-Pairs, which measures language biases across categories like gender, race, and religion using perplexity preferences.
Key Insights and Ideas
- The Scale Paradox: Counterintuitively, as model size increases from 1B to 7B parameters, catastrophic forgetting becomes more severe (see Figure 2). Larger models possess a much higher initial performance peak, meaning they have "more to lose." During tuning, their performance drops down to a baseline floor (often near random guess for multiple-choice tasks) similar to that of smaller models.
- Architecture Matters: At comparable scales, decoder-only models (like BLOOMZ) are significantly better at retaining general knowledge during continual tuning than encoder-decoder models (like mT0). This may be due to the autoregressive nature or training objectives inherent to decoder-only architectures.
- A Silver Lining on Bias: While models forget useful facts and reasoning skills, they also "forget" harmful social biases. Continual fine-tuning consistently reduces language biases (e.g., gender and racial stereotypes) across almost all tested models.
- The Power of General Instruction Pre-training: Models that undergo diverse general instruction tuning beforehand (such as ALPACA) are much more resilient to catastrophic forgetting during subsequent task-specific fine-tuning than their base counterparts (such as LLaMA).
Key Results
- Universal Forgetting: Across all models, the forgetting metrics ($FG$) for domain knowledge, reasoning, and reading comprehension were strictly above zero, with reading comprehension suffering the most drastic degradation.
- Scale Comparison: For the BLOOMZ family, the domain knowledge forgetting metric increased from 9.54% for the 1.1B model to 18.37% for the 7.1B model. Figure 3 highlights how the 7.1B model experiences steeper performance drops across tasks compared to the 1.1B variant.
- Decoder vs. Encoder-Decoder: At the ~3B parameter scale, BLOOMZ-3b exhibited a reasoning forgetting metric of 11.09%, which was 5.64% lower than mT0-3.7b (16.73%), demonstrating superior knowledge retention.
- Mitigation via Data Mixing: Re-introducing just 10,000 general instruction data samples from ALPACA into the task-specific training data significantly arrested the performance drop. For instance, LLaMA-7b's MMLU-human score dropped from 34.72% to 26.8% when trained purely on task data, but stayed at 30% when trained on the mixed data.
Limitations and Future Work
- Scale Constraints: Due to computational resource limits, the study only evaluates models up to 7.1B parameters. The authors note that ultra-large models (e.g., 70B+) might exhibit different forgetting dynamics, as they may require fewer parameter updates to fit new tasks.
- Fixed Task Order: The experiments relied on a single, fixed task sequence order (Simp $\rightarrow$ Emdg $\rightarrow$ InqQG $\rightarrow$ Exp $\rightarrow$ HGen). How task ordering influences the severity of forgetting remains an open question.
- Benchmark Selection: The evaluation relied on a small subset of popular benchmarks; a wider variety of evaluation suites could provide a more comprehensive picture of knowledge drift.
Summary updated