A Network That Overwrites Itself
In 1989 Michael McCloskey and Neal Cohen trained a small neural network on simple arithmetic. First it learned the «ones» facts (1+1, 1+2 and so on up to 1+9). Then it learned the «twos» facts. After the second stage the network could no longer answer the ones problems, and the damage appeared after very little training on the new set. Its answers to old questions often looked more like a wrong number than the right one.
They called the effect catastrophic interference, and the name stuck in its later form, catastrophic forgetting. They tried the usual adjustments (more hidden units, a different learning rate, changes to the training regime) and none of them removed it. Roger Ratcliff published a similar set of results in Psychological Review in 1990, and the problem became a standard objection to connectionist models.
The cause is the same thing that makes neural networks useful. Knowledge is spread across shared weights. Every weight takes part in many inputs, so when gradient descent changes weights to fit new examples, it also changes the network’s response to old ones. Nothing in the loss function says the old answers should be kept, because the old data is no longer in the loss.
Stability and Plasticity
The tension has a name borrowed from Stephen Grossberg’s work on neural models in the 1980s: the stability-plasticity dilemma. A learner needs plasticity to absorb new information and stability to keep what it already has. A network with frozen weights forgets nothing and learns nothing. A network trained freely on each new batch learns everything and keeps only the most recent part.
Ordinary deep learning sidesteps the dilemma. The full dataset is available, and training shuffles it so that every batch mixes examples from every class. The weights never drift far toward one subset because the next batch pulls them back. Continual learning is the setting where that shuffle is impossible: data arrives as a sequence of tasks or a stream that changes over time, and old data is gone or only partly stored.
Neuroscience offered an early answer. James McClelland, Bruce McNaughton and Randall O’Reilly argued in 1995 that the brain uses two complementary systems. The hippocampus learns new episodes quickly and keeps them separate. The neocortex learns slowly, and new memories reach it through replay, interleaved with older ones, so the slow system never sees one topic in isolation. Much of the later machine learning work is an engineering version of that idea.
Three Scenarios
For years papers reported results that could not be compared, because «continual learning» meant different things in each one. Gido van de Ven and Andreas Tolias proposed a taxonomy in 2019, later published with Tinne Tuytelaars in Nature Machine Intelligence in 2022. It separates three scenarios.
In task-incremental learning the model is told which task each test input belongs to. It can keep a separate output head per task, which makes the problem much easier. In domain-incremental learning the task stays the same but the input distribution shifts (the same digits, written in a new style, or the same road seen in winter instead of summer). In class-incremental learning new classes keep arriving, and at test time the model must choose among all classes it has ever seen, without being told which stage they came from.
The distinction matters because methods that look strong in the first scenario can fail completely in the third. In their experiments on split MNIST, regularization methods did well when task identity was given and collapsed in the class-incremental version, while only methods that used replay kept accuracy above 90 percent there.
Anchoring Important Weights
One family of methods tries to protect old knowledge inside the loss function. The best known is Elastic Weight Consolidation (EWC), from James Kirkpatrick and colleagues at DeepMind, published in PNAS in 2017. After training on task A, EWC estimates how important each weight was for that task, using the diagonal of the Fisher information matrix. While training on task B it adds a quadratic penalty that pulls each weight back toward its old value, with a strength proportional to its importance.
The authors described it as a spring attached to each parameter. Weights that mattered for task A behave as if held by stiff springs. Weights that barely affected it are free to move. They tested it on sequences of handwritten digit tasks and on Atari 2600 games learned one after another, where an agent without the penalty lost its earlier games almost entirely.
Friedemann Zenke, Ben Poole and Surya Ganguli proposed Synaptic Intelligence at ICML 2017, which reaches a similar penalty by a different route. Each weight accumulates, during training, a measure of how much its movement reduced the loss. The appeal of both methods is that they store no old data. The weakness is that importance is estimated locally, around one solution, and the penalties pile up as tasks accumulate until the network has little room left to move.
Distillation as Memory
Zhizhong Li and Derek Hoiem took another route in «Learning without Forgetting» (ECCV 2016). Before training on a new task, they ran the new task’s images through the old network and recorded its outputs for the old tasks. During training, a knowledge distillation loss forces the updated network to keep producing those same outputs on those same images, while it learns the new labels.
The old network becomes a teacher for its own successor. No old images are needed, only the old model’s responses to new images. On their experiments, starting from an ImageNet network and adding tasks such as PASCAL VOC, it beat plain fine-tuning and came close to joint training on both datasets. The limit is obvious once stated: if the new images look nothing like the old ones, the old network’s outputs on them say little about what it knew.
Replay
The most reliable family does what the brain model suggested. It keeps some old data, or something like it, and mixes it into training. iCaRL, by Sylvestre-Alvise Rebuffi, Alexander Kolesnikov, Georg Sperl and Christoph Lampert (CVPR 2017), stores a fixed budget of exemplars, 2,000 images in their CIFAR-100 experiments. The budget is split among all classes seen so far, so each class keeps fewer examples as new ones arrive. Exemplars are chosen by herding, a greedy procedure that picks images whose mean feature is close to the mean of the full class. Classification uses the nearest class mean of the exemplars, which holds up better than a softmax layer biased toward recent classes.
When storing data is not allowed (medical records, user photos), the stored data can be replaced by a generator. Hanul Shin and colleagues proposed deep generative replay at NeurIPS 2017: a generative model learns to produce samples resembling past tasks, and those samples are interleaved with real data from the current task. David Lopez-Paz and Marc’Aurelio Ranzato’s Gradient Episodic Memory, from the same year, uses its memory differently. It allows a gradient step only if it does not increase the loss on stored examples, projecting the gradient when it would.
Separate Parameters for Each Task
A blunter approach gives each task its own part of the network. Progressive Neural Networks (Andrei Rusu and colleagues at DeepMind, 2016) freeze the network after each task and add a new column of layers for the next one, with lateral connections to the old columns so features can be reused. Forgetting is zero by construction. The cost is that the model grows with every task.
PackNet, from Arun Mallya and Svetlana Lazebnik (CVPR 2018), keeps the size fixed. After training a task it prunes the less important weights, freezes the rest, and frees the pruned ones for the next task. Several tasks fit in one network, each using a binary mask. Both methods need to know at test time which task is being solved, which places them in the easiest of the three scenarios.
Case: A Buffer and a Fresh Start
In 2020 Ameya Prabhu, Philip Torr and Puneet Dokania published GDumb at ECCV, a method built as a challenge to the field. It has two parts. A sampler stores incoming examples in a fixed memory, keeping classes balanced. A learner, at test time, trains a network from scratch on whatever is in memory. There is no regularization, no distillation and no special continual learning machinery.
GDumb matched or beat a long list of published methods, often by large margins, including in the settings those methods had been designed for. The authors’ conclusion was that many benchmarks had simplified the problem so far that it had little practical meaning. A good continual learner should at least beat retraining on a small buffer, and many did not.
Losing the Ability to Learn
Forgetting is the famous failure. A second one was documented later. Shibhansh Dohare, Richard Sutton, Rupam Mahmood and colleagues reported in Nature in 2024 that standard deep networks trained on long sequences of tasks gradually lose plasticity. Over hundreds or thousands of tasks, built from ImageNet and from reinforcement learning problems, their performance on new tasks fell until it was no better than a shallow network.
Part of the cause was units that stopped responding at all, and weights that grew large. Their fix, continual backpropagation, reinitializes a small fraction of the least-used units at random as training goes on. In their framing, gradient descent alone is not enough to sustain learning indefinitely. It needs a small amount of injected randomness, which is closer to how evolutionary search maintains diversity than to how most networks are trained.
Reflection
The odd thing about catastrophic forgetting is that it is only catastrophic because of how we train. A network that forgets its old task after learning a new one is doing exactly what its loss function asks. The fixes that work best do not add a clever new rule to gradient descent so much as restore a little of the condition gradient descent always relied on: old and new examples seen together. Continual learning may turn out to be less about memory and more about deciding what small piece of the past is worth carrying forward.
By: Max Johnson B.