After domain fine-tuning, general reasoning and instruction-following dropped. Why, and what do you do?
Answer
Model answer, written in a candidate's voice
In short
- Narrow domain distribution plus high LR/many epochs overwrite general behaviour (catastrophic forgetting)
- Detect with a general-capability and instruction-following suite before and after, alongside domain metrics
- Mitigate with replay of general instruction data, lower LR, fewer epochs, LoRA/lower rank, KL to base, early stopping, and weight interpolation with the base
- Re-examine whether fine-tuning was needed versus prompting, RAG, or a small adapter
In full
The core issue is catastrophic forgetting: fine-tuning on a narrow domain distribution, especially with a high learning rate or too many epochs, shifts the model away from broad instruction-following and general reasoning. I would not trust the domain gain until I see a before/after comparison on a general-capability and instruction-following suite, not just the domain benchmark. If general performance drops, I would retrain with replay of general instruction data, lower LR, fewer epochs, a lower-rank adapter such as LoRA, KL regularisation to the base model, early stopping, and weight interpolation with the base, then re-evaluate both suites. I would also ask whether fine-tuning was necessary at all: prompting, retrieval, or a small adapter may solve the domain need with less collateral damage. The goal is a model that improves on the target task without giving up the general behaviour users rely on.
What a strong answer covers
- Narrow distribution, high learning rate, too many epochs overwrite general behaviour
- Detect with a general-capability and instruction-following suite before/after
- Mitigate: replay general instruction data, lower LR, fewer epochs, LoRA/lower rank, KL to base, early stopping, weight interpolation with the base
- Re-examine whether fine-tuning was needed
Common mistakes
- Evaluating only the target task
- training longer to “fix” it