Glossary

What is Catastrophic forgetting?

In Turkish: Katastrofik unutma · Topic: Models and training

The tendency of a neural network to lose much of what it learned earlier when it is trained on a new task or new data.

How does it work?

A neural network does not store knowledge in one place; it is spread across all of its weights. As training continues on new data, optimization shifts the weights in whatever direction reduces the new task's error. Weights that were important for the old task can get disturbed along the way, and the old skill quickly degrades. To ease the problem, practitioners mix samples of old data into the new data, penalize changes to important weights, or freeze the base model and train only small add-ons.

Why does it matter?

When a model is fine-tuned to learn domain knowledge, a loss of general abilities is a common risk in practice. It is also one of the main obstacles for systems that learn continually. Methods such as LoRA are thought to help limit this risk because they leave the base model frozen.

Example

If a general-purpose chat model is fine-tuned only on medical texts, it may improve on medical questions while getting worse at coding or general conversation.

FAQ

Is catastrophic forgetting similar to human forgetting?

Not really. People keep most of their old knowledge while learning something new, whereas in neural networks the shared use of weights can make an old skill break suddenly and sharply.

Does it happen in large language models too?

Yes, it can show up during fine-tuning. How severe it is depends on the model, the amount of data and the training settings; mixing in old data and using parameter-efficient methods reduce the risk.

All terms