What is catastrophic forgetting in fine-tuning, and how do you mitigate it?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Catastrophic forgetting is when optimising on your narrow fine-tuning distribution degrades capabilities the model already had - general reasoning, instruction following, safety behaviour, other languages. Gradient descent has no loyalty to old skills: if your 5k customer-support examples never exercise math, the weights that support math are free ammunition for lowering support-ticket loss. Typical symptoms: MMLU-style scores drop several points, the model starts answering everything in your fine-tune's format, refuses less (or more) than before, or loses multilingual ability.
Full worked answer with diagram
Catastrophic forgetting is when optimising on your narrow fine-tuning distribution degrades capabilities the model already had - general reasoning, instruction following, safety behaviour, other languages. Gradient descent has no loyalty to old skills: if your 5k customer-support examples never exercise math, the weights that support math are free ammunition for lowering support-ticket loss. Typical symptoms: MMLU-style scores drop several points, the model starts answering everything in your fine-tune's format, refuses less (or more) than before, or loses multilingual ability.
Mitigations, roughly in order of bang-for-buck:
- Train less aggressively: lower learning rate, fewer epochs (1-2 rather than 5), early stopping on a general eval, not just task loss.
- Data mixing / replay: blend ~5-25% general instruction data (or the original SFT distribution if you have it) into your task data so old behaviours keep receiving gradient. This is the single most effective lever in practice.
- Use PEFT: LoRA's frozen base bounds drift; you can also lower
r. Fully-recoverable too - drop the adapter and the base model is intact. - Regularize toward the original model: a KL penalty against the base model's outputs, or weight-space methods (e.g., averaging the fine-tuned and original weights, or constraining the update norm).
- Scope the deployment: if the model only ever sees support tickets in production, some forgetting is acceptable - but you must measure it to make that call deliberately.
The key interview point: forgetting is invisible unless you evaluate for it. Run a before/after regression suite covering general capabilities, safety behaviour, and formatting - not just your task metric. A fine-tune that gains 10 points on your task and silently loses instruction following is a production incident waiting to happen.
Worth sketching. it puts the general eval inside the loop, which is exactly where teams forget to put it.
flowchart TD
A["Narrow task data only"] --> B["Weights drift toward<br/>one distribution"]
B --> C{"General eval run<br/>before and after?"}
C -->|"no"| D["Regression ships silently"]
C -->|"yes"| E{"Regression found?"}
E -->|"no"| F["Accept and ship"]
E -->|"yes"| G["Mix 5-25% general data,<br/>fewer epochs, lower LR"]
G --> H["Still failing: lower r,<br/>or KL penalty to base"]
H --> C
What a good answer covers
- Catastrophic forgetting is when optimising on your narrow fine-tuning distribution degrades capabilities…
- Gradient descent has no loyalty to old skills
- Typical symptoms: MMLU-style scores drop several points, the model starts answering everything in your…
- Train less aggressively: lower learning rate, fewer epochs (1-2 rather than 5), early stopping on a…
- Data mixing / replay: blend ~5-25% general instruction data (or the original SFT distribution if you…
Key terms: Train less aggressively · Data mixing / replay · Use PEFT · Regularize toward the original model · Scope the deployment
In the glossary: Catastrophic forgetting · Early stopping · SFT · PEFT · LoRA · KL penalty
Interviewer follow-ups to expect
How would you choose the mixing ratio of general to task data?
Your task metric improves but users report the model got "dumber" - what's your diagnostic plan?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep