Catastrophic Forgetting

Category: Generative AI / LLM

The tendency of neural networks to lose previously learned knowledge when trained on new data, a significant challenge in sequential learning and fine-tuning.

Full Explanation

Catastrophic forgetting occurs when a neural network, upon learning new tasks or data, overwrites the weights that encoded previously learned knowledge. This is a fundamental challenge in continual learning and a practical concern when fine-tuning large language models. During fine-tuning on domain-specific data, a model may lose general capabilities it had from pre-training. Mitigation strategies include using lower learning rates, elastic weight consolidation (which penalizes changes to important weights), rehearsal methods (mixing new data with samples from previous tasks), and parameter-efficient fine-tuning methods like LoRA that minimize changes to the original weights. In the context of LLMs, catastrophic forgetting manifests as degraded performance on general benchmarks after domain-specific fine-tuning. Careful data mixing and training strategies are essential for maintaining broad capabilities while adding new knowledge.

Related Terms

More in Generative AI / LLM

Explore More