TL;DR
Adapting English-instruction-tuned LLMs to new languages through continual fine-tuning (CFT) often destroys their hard-won task reasoning—a phenomenon called catastrophic forgetting. This paper shows that this degradation hinges largely on the task similarity between training phases: when multilingual data mirrors the original English tasks, forgetting is minimal. To bridge task mismatches when original data is unavailable, the authors demonstrate that targeted generative replay and heuristic layer freezing effectively preserve English task ability while boosting multilingual proficiency.
What Problem Does This Paper Address?
State-of-the-art LLMs acquire most of their complex instruction-following and reasoning ("task ability") from abundant English data. When developers subsequently fine-tune these models on non-English corpora to expand "language ability," the models frequently suffer from catastrophic forgetting on English benchmarks.
Standard remedies (e.g., joint training or regularization like EWC) require access to original Phase 1 pre-training/instruction data or keeping duplicate model weights in GPU memory—both impractical when adapting closed or proprietary instruction-tuned checkpoints. This paper investigates whether an already instruction-tuned model can learn new languages via two-phase continual fine-tuning (CFT) without degrading its core task abilities or violating real-world deployment constraints.
Methods
The authors structure training as a sequential two-phase pipeline:
- Phase 1 (Task Ability): Full fine-tuning on English instruction data.
- Phase 2 (Language Ability): Full fine-tuning on multilingual instruction data across 11 target languages, with no reuse of Phase 1 datasets or cached Phase 1 model weights on GPU.
To diagnose why forgetting occurs, the authors quantify task alignment across phases using:
- Dataset Embedding Similarity (DES): Dot product between normalized sentence embeddings (via language-agnostic LaBSE) of samples from Phase 1 and Phase 2 datasets.
- Model Parameter Difference (MPD): Normalized $\ell_2$-distance between weights of models fine-tuned independently on each dataset from the same base initialization.
To mitigate forgetting when Phase 1 and Phase 2 tasks diverge, the authors introduce two lightweight techniques:
- Generative Replay (GR): Uses the Phase 1 model to generate English responses to the English source prompts of the Phase 2 dataset, mixing a small portion (5% or 10%) into Phase 2 training as a distributional bridge.
- Heuristic Layer Freezing (LF): Freezes specific layers during Phase 2 based either on a random subset (
LF_H1) or the top-10 layers exhibiting the highest parameter shift during Phase 1 (LF_H2, applied per attention head across Query, Key, and Value projections).
Datasets
- Training:
- English: Stanford Alpaca (52k self-instruct prompts) and OpenOrca (mimicking complex explanation traces).
- Multilingual: MultiAlpaca (Alpaca seed tasks translated into 11 languages with responses from GPT-3.5) and MOpenOrca (a newly introduced dataset by the authors, translating a 50k subset of OpenOrca across 11 languages to produce 550k examples).
- Official instruction checkpoints (
Mistral-7B-Instruct,LLaMA-3-8B-Instruct). - Evaluation:
- Task Ability (English): IFEval (verifiable instruction following), AlpacaEval, MMLU, and HellaSwag.
- Language Ability (Multilingual): MLQA and XQuAD (question answering), and XL-Sum (abstractive summarization across up to 45 languages).
- Analysis: MT-Bench (for activation analysis) and FLORES (for cross-lingual representation clustering).
Key Insights and Ideas
- Task Similarity Dictates Forgetting: When Phase 1 and Phase 2 share the same prompt tasks in different languages (e.g., Alpaca $\rightarrow$ MultiAlpaca), Phase 2 causes zero decline in English task ability—in fact, task performance slightly increases. But when the underlying tasks differ (e.g., Instruct $\rightarrow$ MultiAlpaca), English task ability collapses.
- Representational Shattering: Layer-wise activation covariance analysis reveals that task mismatch causes a 3× to 4× explosion in activation variance in later layers of Mistral-7B, indicating severe representational drift.
- Base Model Cross-Linguality Matters: LLaMA-3-8B exhibits distinct, separated activation clusters between English and other languages on FLORES, whereas Mistral-7B shows strongly overlapping representations. Consequently, LLaMA-3-8B suffers significantly steeper degradation during multilingual CFT and responds less effectively to Generative Replay.
- LoRA Is Not Immune: Parameter-efficient fine-tuning via LoRA during Phase 2 still exhibits noticeable degradation in task ability, demonstrating that freezing base weights alone does not eliminate catastrophic forgetting in sequential instruction tuning.
Phase 1 (English) Phase 2 (Multilingual)
┌──────────────────────────────┐ ┌──────────────────────────────┐
│ Instruct / Alpaca │ ──> │ MultiAlpaca / MOpenOrca │
└──────────────────────────────┘ └──────────────────────────────┘
│ │
▼ ▼
High Task Similarity ───> Retains English Task Ability
Low Task Similarity ───> Catastrophic Forgetting
│
▼ (Apply Mitigations)
• Generative Replay (GR_5 / GR_10)
• Selective Layer Freezing (LF_H2)
Key Results
- Alpaca $\rightarrow$ MultiAlpaca (Similar Tasks):
- Mistral-7B average Task Ability (TA) improved from 0.404 to 0.436, while Language Ability (LA) rose from 0.177 to 0.317.
- LLaMA-3-8B TA improved from 0.291 to 0.311 (LA rose from 0.352 to 0.456).
- Instruct $\rightarrow$ MultiAlpaca (Mismatched Tasks):
- Mistral-7B TA dropped from 0.529 to 0.390 (IFEval dropped from 0.550 to 0.462; AlpacaEval plummeted from 0.35 to 0.15).
- LLaMA-3-8B TA experienced severe collapse, falling from 0.437 to 0.200 (IFEval dropped from 0.735 to 0.182).
- Mitigation Performance:
- For Mistral-7B on Instruct $\rightarrow$ MultiAlpaca, 5% Generative Replay (
GR_5) recovered TA average to 0.465 (IFEval to 0.540) while sustaining an LA gain (0.249 vs. 0.203 baseline). - For Mistral-7B on Instruct $\rightarrow$ MOpenOrca, Layer Freezing (
LF_H2) recovered LA average to 0.282 (compared to 0.173 without mitigation), significantly reducing variance in internal representations.
Limitations and Future Work
- Model Dependency: Mitigation strategies (specifically Generative Replay) were substantially less effective on LLaMA-3-8B due to poor base cross-lingual alignment, showing that pre-training representation geometry constrains CFT success.
- Heuristic Layer Selection: Freezing the top-10 changed attention projections (
LF_H2) was an empirical heuristic; the authors note that principled, automated criteria for identifying layers critical to task retention remain an open problem. - Replay Data Availability: Generative replay requires English source prompts corresponding to the multilingual target tasks, which may not be available for purely native or non-translated multilingual datasets.
Summary updated