What is catastrophic forgetting?

Catastrophic forgetting is a neural network suddenly and markedly losing knowledge and abilities it learned earlier when trained on a new task or data.

It is also called catastrophic interference. It differs from machine unlearning in intent: unlearning deliberately removes specific information, while catastrophic forgetting is an unwanted side effect. Continual learning is the general name for methods that aim to prevent it.

Topic
Machine learning, models and training
Also known as
Catastrophic interference
Origin
1989, McCloskey and Cohen

How catastrophic forgetting works

  1. In new training, weights are updated only to lower the new task's loss, so weights important for the old task change too.
  2. With no old-task data in training, the model gets no signal to preserve it.
  3. The effect grows with high learning rates, long training and full fine-tuning on a narrow dataset.
  4. Mixing in replay data, protecting important weights and methods such as Low-Rank Adaptation that train only small added weights reduce it.

In more detail

Safety and alignment forgetting

In aligned LLMs, even fine-tuning on small, seemingly benign domain datasets can erode RLHF or DPO safety guardrails, a phenomenon known as alignment forgetting. Post-training updates therefore require safety and refusal benchmarks alongside domain regression tests.

KL regularisation, data mixing and model merging

Modern LLM continual learning and alignment pipelines curb forgetting through KL-divergence regularisation (penalising drift from the reference model's output distribution), mixing some general instruction or replay data into the training batch and model merging techniques (such as linear interpolation, SLERP or TIES/DARE merging) that blend fine-tuned weights back with the base model.

LoRA learns less and forgets less

Empirical studies (e.g., Biderman et al., 2024, 'LoRA Learns Less and Forgets Less') show that while LoRA forgets substantially less than full fine-tuning, it does not eliminate forgetting while the adapter is active; lower rank, lower learning rates and replay mixing remain essential.

Three families of continual learning methods

Three main mitigation families are recognised in continual learning: replay-based methods (rehearsing past or synthetic samples), regularisation-based methods (such as EWC, which penalises changes to weights with high Fisher information for prior tasks) and parameter-isolation or modular methods (such as adapters, MoE routing or task-specific LoRAs).

Commonly confused terms

TermHow it differs
OverfittingOverfitting happens when a model memorises training data and fails to generalise to unseen examples of the same task, whereas catastrophic forgetting happens when learning a new task overwrites performance on earlier, distinct tasks.
Stability-plasticity dilemmaPlasticity is a network's ability to acquire new knowledge, while stability is its ability to retain old knowledge; catastrophic forgetting is a failure of stability (the stability-plasticity dilemma).

Why catastrophic forgetting matters for on-premises AI

Fine-tuning a model in-house on company data can improve a narrow task while damaging general abilities, Turkish fluency or safety behaviour. So before and after each update a fixed evaluation set of old tasks, general questions and safety tests is run, a kind of regression test. Adapter-based methods lower the risk since base weights stay unchanged; removing the adapter restores the old behaviour easily.

ON-PREMISES EXAMPLE

After fine-tuning its document routing assistant on new regulatory topics, a public agency sees in regression testing that accuracy on old topics fell; it adds a share of old examples to training and retrains with LoRA.

Common questions

Does catastrophic forgetting only happen in fine-tuning?

No. It can appear whenever a model is trained on new data in sequence; fine-tuning and continued pre-training are the most common cases.

How is catastrophic forgetting measured?

The same fixed evaluation set runs before and after the update. The drop in performance on old tasks measures the forgetting.

Sources

In the glossary: Glossary, A to C

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.