Originally published on Taskade Blog.
In 1989, a small neural network learned to add.
It learned the "ones facts" first: 1+1, 1+2, all the way to 9+1. It got them right. Then the researchers taught it the "twos facts": 2+1, 2+2, up to 9+2. It learned those too, quickly. Then they tested the ones facts again, and the network had lost them. Not slowly. Recall of the ones collapsed as soon as training on the twos began.
The two researchers, Michael McCloskey and Neal Cohen, gave the effect a name that has stuck for 37 years: catastrophic interference. Today most people call it catastrophic forgetting, and in 2026 it sits at the center of the most discussed open problem in AI: why a model that writes code, passes exams and drafts legal briefs still cannot learn from the conversation it had with you yesterday.
This guide tells the story in two parts. The first part is a history with primary sources, from the addition network to the 2024 Nature paper that found a second, deeper failure called loss of plasticity, and on to the 2025 and 2026 methods that keep knowledge outside the weights. The second part is a ladder: six levels of continual learning, from replay up to community, and why each level learns from the one below it. The guide ends with what you can do today when your model cannot learn after deployment.
TL;DR: Catastrophic forgetting is the loss of old skills when a neural network learns new ones, first shown in 1989 when a network learned the twos addition facts and lost the ones. The brain avoids it with a fast hippocampus, a slow neocortex and replay in sleep. AI in 2026 keeps new knowledge outside the weights. Try it free →
Catastrophic Forgetting at a Glance
Catastrophic forgetting is the tendency of an artificial neural network to lose previously learned information, abruptly and almost completely, when it is trained on new information. It is the main obstacle to continual learning, the ability to keep learning from a stream of new data without erasing what came before. The table below is the short version of this guide.
| Question | Short answer | Where to read more |
|---|---|---|
| What is it? | New training overwrites the shared weights that held old skills | What is catastrophic forgetting? |
| Who found it? | McCloskey and Cohen, 1989, and Ratcliff, 1990 | The history |
| How does the brain cope? | Fast hippocampus, slow neocortex, replay during sleep | Complementary learning systems |
| What are the main fixes? | Replay, regularization such as EWC, and network growth | Method families compared |
| What is the second problem? | Loss of plasticity: long training destroys the ability to learn | Loss of plasticity |
| What does AI do in 2026? | Keep knowledge outside the weights: retrieval, long context, memory files | The 2025 to 2026 state |
| What should a builder do? | Pick by cost, freshness and forgetting risk | The builder decision table |
If you came here from the Bitter Lesson explainer, this guide is the deep version of its section on why models stop learning. If you want the short definition with a brain diagram, the continual learning wiki page has it.
What Is Catastrophic Forgetting?
Catastrophic forgetting is the abrupt loss of old knowledge in a neural network that is trained on new data without the old data. If a network learns task A and then task B, its performance on task A can drop close to zero, even though nothing was deleted on purpose. McCloskey and Cohen called the forgetting "catastrophic" because it was far worse than the gradual forgetting people show.
The cause is a design choice that is also the source of a neural network's power. A network stores every skill in one shared set of numbers, its weights. Training adjusts those weights to reduce the error on whatever data the network sees right now. If the network sees only task B, the training process has no reason to keep the weights that task A depended on. It moves them wherever task B needs them.
flowchart TD A["Task A: the ones facts<br/>1+1, 1+2 ... 9+1"] --> W["One shared set of weights"] B["Task B: the twos facts<br/>2+1, 2+2 ... 9+2"] --> G["Gradient descent reduces<br/>the error on task B only"] G --> W W --> R1["Task B answers improve"] W --> R2["Task A answers drift<br/>nothing in the loss protects them"] R2 --> X["Catastrophic forgetting"] style A fill:#0d1b2a,color:#7dd3fc,stroke:#38bdf8,stroke-width:1.5px style B fill:#1a0d24,color:#ce93d8,stroke:#6a1b9a,stroke-width:1.5px style W fill:#2a1225,color:#ff8fa3,stroke:#ff2d60,stroke-width:2px style R1 fill:#0d1a0e,color:#86efac,stroke:#22c55e,stroke-width:1.5px style X fill:#1a0d0d,color:#ef9a9a,stroke:#b71c1c,stroke-width:1.5px Shared weights are why catastrophic forgetting happens. The weights that answer 1+3 also answer 2+3, and training on the twos alone moves them.
Several terms travel with catastrophic forgetting, and they are easy to mix up. The table separates them.
| Term | What it means | How it differs from catastrophic forgetting |
|---|---|---|
| Catastrophic interference | The original 1989 name | Same effect. Interference names the cause, forgetting names the result |
| Stability-plasticity dilemma | The trade-off between keeping old knowledge and absorbing new knowledge | The general trade-off. Forgetting is what happens when plasticity wins |
| Loss of plasticity | The network gradually loses the ability to learn anything new | The opposite failure: stability wins, and learning stops |
| Concept drift | The world changes, so old answers become wrong | A property of the data, not the network |
| Model collapse | A generative model degrades when it trains on its own outputs | A data-quality failure, not interference between tasks |
| Continual learning | The research field that tries to learn a stream of tasks without forgetting | The goal. Catastrophic forgetting is its first obstacle |
Two other names for the field appear in search results. Lifelong learning and incremental learning mean the same thing as continual learning. Some researchers, Richard Sutton among them, reject the need for any of the three names. "You wouldn't have to say continual learning, because it wouldn't make any sense to talk about learning that wasn't continual," he said in an interview with his Oak Lab co-founder Khurram Javed. "I'm not weird. The field is weird."
Why Does Catastrophic Forgetting Happen?
Catastrophic forgetting happens because a neural network uses distributed, overlapping representations: each memory is spread across many weights, and each weight takes part in many memories. Robert French's 1999 review in Trends in Cognitive Sciences made this the central point. The overlap lets a network generalize, and the same overlap makes it fragile when the training data changes.
French also gave a geometric picture that still helps. Think of every possible setting of a network's weights as a point in a huge space. Training on task A moves the network to a region where task A works. Training on task B alone moves it to a region where task B works, with no pressure to stay near the region for task A. A solution that works for both tasks often exists. Sequential training simply does not look for it.
The fix that works in the original experiments is also the simplest. If you train on A and B together, mixed in the same batches, the network finds the shared solution. McCloskey and Cohen's own conclusion was that interference was catastrophic when learning was sequential, and not when it was concurrent.
xychart-beta title "Schematic: task A accuracy while a network trains on task B" x-axis "Training steps on task B" [Start, Step 1, Step 2, Step 3, Step 4, Step 5] y-axis "Task A accuracy, schematic percent" 0 --> 100 line "Task B data only" [100, 40, 25, 15, 10, 10] line "Task B mixed with task A data" [100, 94, 95, 96, 97, 97] A schematic, not measured data. It shows the shape McCloskey and Cohen described: sequential training collapses the old task, and concurrent training keeps it.
The same limit shows up in an older memory model. In a Hopfield network, the 1982 model of associative memory, each stored pattern is a valley in an energy landscape. Daniel Amit, Hanoch Gutfreund and Haim Sompolinsky calculated in 1985 that a Hopfield network of N neurons can store about 0.138 N random patterns. Past that point recall does not fade gently. The physicists described a blackout in which all the memories vanish at once. Correlated patterns interfere even earlier.
The neuroscience of memory points the same way. Studies of memory traces, called engrams, find that only a small fraction of neurons in a region join any one memory, and that the fraction stays steady across memories. Sparse, separate codes interfere less. Dense, overlapping codes generalize better. A system that wants both needs two kinds of storage, which is exactly where the brain story goes next.
For the mechanics of how a network adjusts its weights in the first place, the explainer on how LLMs work covers gradient descent and backpropagation from the start.
The History of Catastrophic Forgetting, 1989 to 2026
The history of catastrophic forgetting runs in four eras: the problem was named in the cognitive science of the late 1980s, the brain parallel arrived in 1995, the deep learning revival brought replay and regularization methods from 2013 to 2019, and the era of frozen frontier models from 2020 onward moved knowledge outside the weights. The diagram shows the arc. The table after it is the full record.
graph TD subgraph ERA1["1980 to 1999: the problem is named"] A1["1980 Grossberg names the<br/>stability-plasticity dilemma"] --> A2["1989 McCloskey and Cohen:<br/>the ones facts vanish"] A2 --> A3["1990 Ratcliff: one trial<br/>of new learning hurts"] A3 --> A4["1992 Lin: experience replay"] A4 --> A5["1995 Complementary learning<br/>systems and pseudo-rehearsal"] A5 --> A6["1999 French review"] end subgraph ERA2["2013 to 2019: deep learning meets forgetting"] B1["2015 DQN replay buffer"] --> B2["2016 Progressive networks"] B2 --> B3["2017 EWC, synaptic intelligence,<br/>generative replay"] B3 --> B4["2019 Three scenarios<br/>for continual learning"] end subgraph ERA3["2020 to 2026: frozen models, outside memory"] C1["2020 RAG and test-time training"] --> C2["2021 LoRA adapters"] C2 --> C3["2024 Loss of plasticity<br/>in Nature"] C3 --> C4["2025 Titans, RL's Razor, sparse<br/>memory fine-tuning, Nested Learning"] C4 --> C5["2026 CRUX field test<br/>and the learning ladder"] end A6 --> B1 B4 --> C1 style ERA1 fill:#0a1a14,stroke:#1b3d2a style ERA2 fill:#0a1420,stroke:#1a2a45 style ERA3 fill:#1a140a,stroke:#3a2a1a style A2 fill:#2a1225,color:#ff8fa3,stroke:#ff2d60,stroke-width:2px style C3 fill:#1a0d0d,color:#ef9a9a,stroke:#b71c1c,stroke-width:1.5px style C5 fill:#0d1b2a,color:#7dd3fc,stroke:#38bdf8,stroke-width:1.5px The master timeline
| Year | Event | Who | Why it matters |
|---|---|---|---|
| 1959 | Retroactive interference with A-B and A-C word lists | Barnes and Underwood | The human study that McCloskey and Cohen later tried to model |
| 1980 | The stability-plasticity dilemma is named | Stephen Grossberg, Psychological Review | The trade-off that every later method negotiates |
| 1982 | Hopfield network for associative memory | John Hopfield, PNAS | Shared-landscape memory with a hard capacity limit |
| 1985 | Capacity of about 0.138 N patterns | Amit, Gutfreund and Sompolinsky | Past the limit, all memories fail at once |
| 1986 | Backpropagation popularized | Rumelhart, Hinton and Williams, Nature | The learning rule whose updates cause the interference |
| 1989 | "Catastrophic interference" in the addition network | McCloskey and Cohen | The founding demonstration |
| 1989 | Replication with a caveat | Hetherington and Seidenberg | Some memory of the ones remained, and relearning was faster |
| 1990 | Recognition-memory models forget after one new trial | Roger Ratcliff, Psychological Review | Confirmed the effect in a second family of models |
| 1992 | Experience replay | Long-Ji Lin, Machine Learning | Store past experience and reuse it during training |
| 1994 | Place cells replay waking activity during sleep | Wilson and McNaughton, Science | Biological evidence for replay |
| 1995 | Complementary learning systems theory | McClelland, McNaughton and O'Reilly | Why the brain needs a fast and a slow learner |
| 1995 | Rehearsal and pseudo-rehearsal | Anthony Robins, Connection Science | Replay without the original data |
| 1997 | Pseudo-recurrent and self-refreshing networks | French, and Ans and Rousset | Two-network designs inspired by the brain |
| 1999 | "Catastrophic forgetting in connectionist networks" | Robert French, Trends in Cognitive Sciences | The review that framed the field for 15 years |
| 2013 | Empirical study of forgetting in modern networks | Goodfellow and colleagues | Brought the problem into the deep learning era |
| 2015 | Deep Q-Network with a replay buffer | Mnih and colleagues, Nature | Replay became standard practice in deep reinforcement learning |
| 2016 | Progressive neural networks, Learning without Forgetting | Rusu and colleagues, Li and Hoiem | Grow the network, or distill the old model's outputs |
| 2017 | Elastic weight consolidation | Kirkpatrick and colleagues, PNAS | Protect the weights that matter for old tasks |
| 2017 | Synaptic intelligence, generative replay, iCaRL, GEM | Zenke, Shin, Rebuffi, Lopez-Paz and colleagues | The method families take their modern shape |
| 2019 | Three scenarios for continual learning | van de Ven and Tolias | Showed that results depend on whether the task is known |
| 2020 | Retrieval-augmented generation, test-time training | Lewis and colleagues, Sun and colleagues | Knowledge from outside the weights, and learning at inference |
| 2021 | Synapses as Bayesian inference | Aitchison and colleagues, Nature Neuroscience | Each synapse may track its own uncertainty |
| 2021 | LoRA low-rank adapters | Hu and colleagues | Cheap fine-tuning that touches few parameters |
| 2023 | Forgetting during continual instruction tuning of LLMs | Luo and colleagues | Forgetting observed in models from 1 billion to 7 billion parameters |
| 2024 | "Loss of plasticity in deep continual learning" | Dohare and colleagues, Nature | The second failure: networks stop learning at all |
| 2024 | "LoRA Learns Less and Forgets Less" | Biderman and colleagues, TMLR | Adapters trade new learning for less forgetting |
| 2024 | Titans: learning to memorize at test time | Behrouz, Zhong and Mirrokni | A memory module that updates during inference |
| 2025 | RL's Razor | Shenfeld, Pari and Agrawal | On-policy reinforcement learning forgets less than supervised fine-tuning |
| 2025 | Sparse memory fine-tuning | Lin and colleagues, Meta FAIR | Update only the memory slots a new fact activates |
| 2025 | Nested Learning and the Hope model | Behrouz and colleagues, NeurIPS 2025 | Memory modules that update at different speeds |
| 2026 | "Why AI systems don't learn and what to do about it" | Dupoux, LeCun and Malik | A cognitive-science blueprint for autonomous learning |
| 2026 | CRUX shadow evaluations | Kirgis, Kapoor and 22 co-authors | Frontier agents do the engineering of research, not the judgment |
| 2026 | The learning ladder | JT Yu, Universal Resilience | Continual learning as a stack of six levels |
1989: the network that forgot the ones facts
McCloskey and Cohen published "Catastrophic Interference in Connectionist Networks: The Sequential Learning Problem" in Psychology of Learning and Motivation, volume 24, in 1989. They ran two experiments with standard backpropagation networks. The first is the famous one. The network learned the 17 ones addition facts to criterion, then the 17 twos addition facts. After even one learning trial on the twos facts, the network could no longer answer the ones facts correctly. The two facts that belong to both sets, 1+2 and 2+1, were badly disrupted in the first trials. The wrong answers the network gave for the ones facts often looked like the output for a different number.
The second experiment tried to model a classic human study. In 1959 Barnes and Underwood had people learn a list of word pairs, A-B, and then a second list with the same first words, A-C. People forgot some of the first list, but gradually. The network, trained the same way, forgot the A-B pairs almost entirely by the time it learned the A-C pairs as well as the human subjects had.
The paper's conclusions are worth reading in full, because they still describe the problem.
| McCloskey and Cohen's finding (1989) | What it means in 2026 terms |
|---|---|
| Some interference occurs whenever new learning changes weights that old knowledge uses | Any fine-tune of a deployed model risks damage to existing skills |
| The more new learning there is, the more old knowledge is disrupted | Long fine-tunes on narrow data forget more |
| Interference was catastrophic when learning was sequential, but not concurrent | Mixing old data into new training, called replay, works |
| Changes to hidden units, learning rate, overtraining, weight freezing and targets did not prevent it | No single setting fixes the problem |
A replication in the same year added a nuance that matters. Phillip Hetherington and Mark Seidenberg reran the addition experiment and reported that learning the twos did not completely destroy every trace of the ones, and that the network relearned the ones faster than it had learned them the first time. Psychologists call this savings. It means the old knowledge was damaged, not deleted, which is why "forgetting" in a neural network is sometimes closer to a scrambled index than to an empty shelf.
1990: Ratcliff and recognition memory
Roger Ratcliff found the same effect in a different kind of model. His 1990 paper in Psychological Review, "Connectionist models of recognition memory: Constraints imposed by learning and forgetting functions," trained backpropagation networks to recognize items they had studied. Well-learned information was catastrophically forgotten in small and large networks alike. Even one training trial with new information caused a significant loss of old information, and the outputs were often a blend of old and new inputs. Adding hidden units did not help. Ratcliff tried extra response nodes that would answer only to old or only to new inputs, and they ended up active for every input.
Ratcliff's result closed off an easy objection. The addition network was not a strange case. Forgetting was a property of how these networks learned.
The 1990s fixes
Researchers spent the next decade on fixes that make representations overlap less, or that bring old data back. Most of them work in small networks, and most of them return in modern form later in this guide.
| Fix | Idea | Representative work | Modern descendant |
|---|---|---|---|
| Orthogonal or semi-distributed codes | Make memories overlap less in the hidden layer | Lewandowsky and Li, 1995, and French, 1991 | Sparse memory layers, 2025 |
| Node sharpening | Push hidden activations toward a few strong units | French, 1991 | Sparse activation and mixture-of-experts routing |
| Novelty rule | Train on the part of a new input that differs from what the network expects | Kortge, 1990 | Surprise-gated memory in Titans, 2024 |
| Pretraining | Start from a network that already knows the domain | McRae and Hetherington, 1993 | Pretrained foundation models |
| Rehearsal | Retrain on stored old items alongside new ones | Robins, 1995 | Replay buffers and data mixing |
| Pseudo-rehearsal | Feed random inputs through the old network, record its outputs, and replay those pairs | Robins, 1995 | Generative replay, 2017, and distillation |
| Two-network designs | A fast early network and a slow final-storage network | French, 1997, and Ans and Rousset, 1997 | Complementary learning systems in AI |
Pseudo-rehearsal deserves a closer look, because it solved a practical problem that still matters. Rehearsal needs the old data, and often you do not have it. Anthony Robins's 1995 trick was to feed random inputs through the trained network and record what it answered. Those input-and-output pairs, called pseudo-items, capture the shape of what the network knew. Mixing them into new training protects the old function without storing a single original example. Twenty-two years later, generative replay used the same logic with a neural generator in place of random noise.
1999: French's review
Robert French's "Catastrophic forgetting in connectionist networks," published in Trends in Cognitive Sciences in 1999, summarized the first decade. Its core claim was that the problem comes from the same distributed representations that make networks useful, so any cure must reduce overlap without losing generalization. French pointed to the brain's division of labor between the hippocampus and the neocortex as the most promising model. The review became a standard reference for the field until deep learning brought the problem back at a much larger scale.
What Does the Brain Do Instead? Complementary Learning Systems
The brain avoids catastrophic forgetting by using two learning systems with different speeds, according to the theory that James McClelland, Bruce McNaughton and Randall O'Reilly published in Psychological Review in 1995. The hippocampus learns new episodes quickly with sparse, separate codes. The neocortex learns slowly with overlapping codes that extract general structure. Replay of hippocampal memories teaches the neocortex gradually, interleaved with what it already knows.
The paper's full title states the argument: "Why there are complementary learning systems in the hippocampus and neocortex: Insights from the successes and failures of connectionist models of learning and memory." The authors took catastrophic interference as a clue, not a defect. If a slow, distributed learner like the neocortex were trained on each new experience as it happened, it would suffer the same interference as the addition network. So the brain needs a second system that can store an experience at once, without disturbing the slow one, and then feed it back in small doses.
graph TD E["New experience<br/>during the day"] --> H["Hippocampus<br/>fast, sparse, one-shot"] H --> R["Replay<br/>reactivation during rest and sleep"] R --> I["Interleaving<br/>new memory mixed with old"] I --> N["Neocortex<br/>slow, overlapping, structured"] N --> K["Consolidated knowledge<br/>new skill added, old skills kept"] style E fill:#1e1e2e,color:#94a3b8,stroke:#475569 style H fill:#0d1b2a,color:#7dd3fc,stroke:#38bdf8,stroke-width:1.5px style R fill:#2a1225,color:#ff8fa3,stroke:#ff2d60,stroke-width:2px style I fill:#1a140a,color:#ffb74d,stroke:#e65100,stroke-width:1.5px style N fill:#1a0d24,color:#ce93d8,stroke:#6a1b9a,stroke-width:1.5px style K fill:#0d1a0e,color:#86efac,stroke:#22c55e,stroke-width:1.5px The 1995 paper tested the idea in simulation. It used a small semantic network that already knew facts about animals and plants, then taught it a new fact that cut across its categories: a penguin is a bird that swims and does not fly. Taught alone and repeatedly, the new fact disrupted what the network knew about other birds. Taught interleaved with the old facts, it slotted in without the damage. That is the addition network's lesson, with a theory of why the brain would bother.
The evidence for replay
The theory leaned on a finding from the year before. In July 1994, Matthew Wilson and Bruce McNaughton reported in Science that place cells in the rat hippocampus, which fire at particular locations during a maze run, fire again in the same patterns during slow-wave sleep after the run. "Information acquired during active behavior is thus re-expressed in hippocampal circuits during sleep," they wrote, "as postulated by some theories of memory consolidation." Later work found that replay often runs faster than the original experience, at a compressed timescale.
sequenceDiagram participant D as Waking experience participant H as Hippocampus participant C as Neocortex D->>H: one exposure stores the episode Note over H: sparse code, little overlap with old memories H->>C: replay during slow-wave sleep, compressed in time C->>C: small weight change, mixed with old knowledge H->>C: replay again on later nights Note over C: general structure extracted, old skills kept C-->>D: next day, the knowledge is available without the episode The table compares the two systems as the theory describes them.
| Property | Hippocampus | Neocortex |
|---|---|---|
| Learning speed | Fast, often after one exposure | Slow, over many exposures |
| Code | Sparse and pattern-separated | Distributed and overlapping |
| Strength | Keeps episodes apart, so they do not interfere | Finds structure shared across many episodes |
| Weakness | Limited capacity, poor at generalization | Suffers interference if trained on one thing at a time |
| Role in consolidation | Stores the new memory and replays it | Absorbs the replayed memory slowly, interleaved with old ones |
| Machine analogue | A replay buffer, a memory file, a retrieval index | The weights of the model |
In 2016, Dharshan Kumaran, Demis Hassabis and James McClelland updated the theory in Trends in Cognitive Sciences under the title "What learning systems do intelligent agents need?" They tied it directly to machine learning, including the replay buffer in DeepMind's Atari agent, and argued that replay can be weighted toward the experiences that matter most rather than replayed uniformly. The memory consolidation wiki page covers the neuroscience in more depth.
The human version of replay
You use replay every time you review old material while you learn new material. Spaced repetition, the study method that schedules reviews at growing intervals, is the deliberate human version of what the hippocampus does at night: bring the old item back before it fades, mixed in with the new. The spaced repetition explainer covers the method and the forgetting curve behind it, and the guide to studying with AI shows how to schedule reviews with an assistant.
Human versus machine, side by side
| Capability | Human brain | Standard neural network | Closest machine method |
|---|---|---|---|
| Learn a new skill without losing an old one | Usually, with gradual forgetting | No, unless old data returns | Replay, regularization |
| Store an episode after one exposure | Yes, in the hippocampus | No, needs many gradient steps | Replay buffer, retrieval index |
| Consolidate during rest | Yes, replay during sleep | No offline phase after release | Periodic retraining |
| Track how sure it is of each belief | Proposed at the synapse level | One learning rate for most weights | EWC, Bayesian methods |
| Keep the ability to learn for decades | Yes, with decline in old age | Declines with long training | Continual backpropagation |
| Relearn faster than first learning | Yes, savings | Yes, savings were seen in 1989 | Warm-starting from old weights |
In his October 2025 interview with Dwarkesh Patel, Andrej Karpathy put the gap in the brain's own terms. Today's agents, he said, "don't have continual learning. You can't just tell them something and they'll remember it." He compared the missing piece to sleep, when a person's day is distilled back into the brain, and said large language models have no equivalent phase.
Replay Comes to Machines: Experience Replay and Generative Replay
Replay is the oldest and most reliable cure for catastrophic forgetting in machines: store some past experience and mix it into new training, so the network never trains on new data alone. Long-Ji Lin introduced experience replay for reinforcement learning agents in 1992. DeepMind's Deep Q-Network made it standard in 2015. Generative replay in 2017 replaced the stored data with a model that generates it.
1992: Lin's experience replay
Long-Ji Lin, then at Carnegie Mellon University, published "Self-improving reactive agents based on reinforcement learning, planning and teaching" in Machine Learning in 1992. He compared eight learning frameworks and three ways to speed up learning, and experience replay was one of the three. The agent kept a record of its past experiences and presented them to its learning algorithm again, as if they were happening for the first time. Replay made rare and costly experiences count more than once.
2015: the DQN replay buffer
When DeepMind's Deep Q-Network learned to play Atari games from pixels, reported in Nature in February 2015, replay was one of its two key stabilizers. The agent stored its most recent one million transitions in a replay memory and trained on random minibatches drawn from it. Random sampling broke the correlation between consecutive frames, and it meant the network kept seeing old situations while it learned new ones.
graph TD ENV["Environment"] --> T["New transition<br/>state, action, reward, next state"] T --> BUF["Replay buffer<br/>the most recent one million transitions"] BUF --> MB["Random minibatch<br/>old and new experience mixed"] MB --> NET["Network update<br/>no long run of one situation"] NET --> POL["Better policy<br/>acts in the environment again"] style BUF fill:#2a1225,color:#ff8fa3,stroke:#ff2d60,stroke-width:2px style MB fill:#0d1b2a,color:#7dd3fc,stroke:#38bdf8,stroke-width:1.5px style POL fill:#0d1a0e,color:#86efac,stroke:#22c55e,stroke-width:1.5px The reinforcement learning environments guide covers how agents collect the experience that fills buffers like this one.
2017: generative replay and exemplar memory
Storing raw data has two limits. It costs memory, and sometimes you may not keep the data, for privacy or licensing reasons. Hanul Shin, Jung Kwon Lee, Jaehong Kim and Jiwon Kim answered both at NeurIPS 2017 with "Continual Learning with Deep Generative Replay." Their design pairs a generator, a deep generative model, with a solver, the task network. The generator learns to produce samples that look like past tasks, and those samples are interleaved with the new task's data. The authors cited the hippocampus as their inspiration.
The same year produced two influential replay variants. iCaRL, from Sylvestre-Alvise Rebuffi and colleagues at CVPR 2017, kept a small set of real exemplars per class and classified new inputs by their distance to class averages. Gradient Episodic Memory, from David Lopez-Paz and Marc'Aurelio Ranzato at NeurIPS 2017, used a stored memory differently: it allowed only those weight updates that do not increase the loss on old examples. In 2020, Gido van de Ven, Hava Siegelmann and Andreas Tolias published brain-inspired replay in Nature Communications, in which the network replays its own internal representations through feedback connections, closer to what the brain is thought to do.
Replay has one limit no variant escapes, and it explains why frontier labs do not retrain every day. Each new round of learning repeats a large share of the old data. For a model trained on a large slice of the public internet, that is close to the original training cost. JT Yu's summary of this level, discussed below, is blunt: replay is "solved, but expensive."
Elastic Weight Consolidation and the Regularization Family
Elastic weight consolidation, or EWC, protects old skills without replaying old data. It estimates how important each weight was for the old task and adds a penalty that pulls important weights back toward their old values during new training. James Kirkpatrick and 13 colleagues at DeepMind and Imperial College London published it in PNAS in March 2017 under the title "Overcoming catastrophic forgetting in neural networks."
The authors described EWC as an algorithm "analogous to synaptic consolidation" in the brain, a process in which some synapses become less plastic once a memory matters. EWC slows learning on the weights that task A depends on, and leaves the rest free for task B. It measures importance with the Fisher information, a statistic that says how much the model's predictions on task A change when a given weight changes. The paper tested EWC on supervised tasks, including permuted handwritten digits, and on reinforcement learning, where an agent learned several Atari games one after another.
flowchart TD A["Finish training on task A"] --> F["Estimate each weight's importance<br/>Fisher information"] F --> S["Attach a spring to each weight<br/>stiff if important, loose if not"] S --> B["Train on task B<br/>loss = task B error + spring penalty"] B --> I["Important weights<br/>barely move"] B --> L["Unimportant weights<br/>move freely"] I --> R["Task A kept, task B learned"] L --> R style F fill:#1a0d24,color:#ce93d8,stroke:#6a1b9a,stroke-width:1.5px style S fill:#2a1225,color:#ff8fa3,stroke:#ff2d60,stroke-width:2px style R fill:#0d1a0e,color:#86efac,stroke:#22c55e,stroke-width:1.5px EWC has a clean Bayesian reading. After task A, the network holds a belief about which weights are right. The best belief after task B combines that old belief with the new evidence. EWC approximates the old belief with a simple bell-shaped curve around each weight, wide where the weight did not matter and narrow where it did. That reading becomes important in the ladder section, because it makes EWC the cheap machine version of a brain that tracks how certain it is.
Where the sources disagree
The EWC paper drew a published correction. In February 2018, Ferenc Huszár wrote in PNAS that the paper's penalty is not the correct one when more than two tasks are learned in sequence, and he derived an alternative. Kirkpatrick and colleagues replied in the same issue that their version was "empirically valid," and argued that it forces the network to remember older tasks more vividly, which can compensate for the fact that older tasks are harder to remember. Both papers are worth reading, and later work uses both forms.
A second disagreement is about scope. EWC works well when the system knows which task it faces. It works poorly when it must work out the task itself, as the next section shows.
The rest of the family
| Method | Year and venue | How it measures importance | Note |
|---|---|---|---|
| Elastic weight consolidation | 2017, PNAS | Fisher information after each task | The reference method |
| Synaptic intelligence | 2017, ICML | Each weight's contribution to the loss decrease along the training path | Computes importance online, during training |
| Memory aware synapses | 2018, ECCV | Sensitivity of the output to each weight, no labels needed | Works without task labels |
| Learning without Forgetting | 2016, ECCV | No weight importance. Distills the old model's outputs on new data | A data-level regularizer |
| Variational continual learning | 2018, ICLR | A full approximate posterior over weights | The more complete Bayesian version, at higher cost |
Friedemann Zenke, Ben Poole and Surya Ganguli's synaptic intelligence is the closest relative. Their ICML 2017 paper describes "intelligent synapses" that accumulate task-relevant information over time and use it to learn new information without erasing old knowledge. EWC computes importance once, after a task. Synaptic intelligence computes it continuously, which is closer to how a brain would have to do it.
Growing the Network: Progressive Networks and Parameter Isolation
The third way to stop forgetting is to stop sharing: give each new task its own parameters, so new learning cannot touch old ones. Progressive neural networks, from Andrei Rusu and colleagues at DeepMind in June 2016, add a new column of layers for each task, freeze the old columns, and connect the new column to the old ones with lateral connections so it can reuse their features.
Progressive networks cannot forget, by construction. The authors tested them on Atari and 3D maze games and found that they transferred knowledge better than baselines based on pretraining and fine-tuning. The cost is growth: the network gets bigger with every task, and something must tell it which column to use.
Two other designs isolate parameters without unlimited growth. PackNet, from Arun Mallya and Svetlana Lazebnik at CVPR 2018, prunes the weights a task does not need after training and frees them for the next task. Mixture-of-experts routing, common in large language models, sends each input to a small subset of expert networks. Routing is not a continual-learning method in itself, but it uses the same principle of separation that the hippocampus uses: keep different things in different places, and they interfere less. Meta's 2025 sparse memory fine-tuning, covered later, is the newest version of that idea.
The Method Families Compared
Continual-learning methods fall into four families: replay, which brings old data back; regularization, which protects important weights; architecture, which gives new tasks new parameters; and memory outside the weights, which leaves the model unchanged and supplies knowledge at run time. The first three change weights. The fourth is the main approach of 2026, and by a strict definition it is not learning at all.
classDiagram class ContinualLearningMethod { +goal keep old skills +goal learn new ones } class Replay { +rehearsal 1995 +experience replay 1992 +generative replay 2017 +iCaRL and GEM 2017 } class Regularization { +EWC 2017 +synaptic intelligence 2017 +memory aware synapses 2018 +learning without forgetting 2016 } class Architecture { +progressive networks 2016 +PackNet 2018 +LoRA adapters 2021 +sparse memory fine-tuning 2025 } class OutsideTheWeights { +retrieval 2020 +long context +agent memory files +weights stay frozen } ContinualLearningMethod <|-- Replay ContinualLearningMethod <|-- Regularization ContinualLearningMethod <|-- Architecture ContinualLearningMethod <|-- OutsideTheWeights | Family | How it prevents forgetting | Strength | Weakness | Best fit |
|---|---|---|---|---|
| Replay | Mixes old data, or generated stand-ins, into new training | The most reliable family across scenarios | Repeats old training cost, needs data or a generator | When you can keep data and pay for retraining |
| Regularization | Penalizes change to weights that mattered | No stored data needed | Fails when the task is not known at test time | Task-labeled settings, small models |
| Architecture | Gives new tasks new or separate parameters | No forgetting of isolated parts | Growth, routing and task identity problems | Many distinct tasks, adapters per customer |
| Outside the weights | Leaves the model unchanged, supplies knowledge at run time | Zero forgetting of model skills, instant updates | The model does not improve, context limits apply | Deployed products in 2026 |
The four families also differ on two axes a builder cares about: what the method costs to keep running, and how well it keeps old skills. Mermaid's quadrant charts do not render on this site, so the diagram below draws the four quadrants as boxes.
graph TD subgraph Q1["Low cost, high retention"] M1["Retrieval and memory files<br/>weights untouched"] M2["Adapters per task<br/>base model frozen"] end subgraph Q2["High cost, high retention"] M3["Full replay retraining<br/>old data mixed back in"] M4["Progressive networks<br/>a column per task"] end subgraph Q3["Low cost, low retention"] M5["Naive fine-tuning<br/>new data only"] end subgraph Q4["Medium cost, medium retention"] M6["EWC and synaptic intelligence<br/>weight penalties"] M7["Generative replay<br/>a second model to train"] end style Q1 fill:#0a1a14,stroke:#1b3d2a style Q2 fill:#0a1420,stroke:#1a2a45 style Q3 fill:#1a0d0d,stroke:#3a1a1a style Q4 fill:#1a140a,stroke:#3a2a1a style M1 fill:#0d1a0e,color:#86efac,stroke:#22c55e,stroke-width:1.5px style M5 fill:#1a0d0d,color:#ef9a9a,stroke:#b71c1c,stroke-width:1.5px A qualitative map, not a benchmark. "Retention" here means retention of the base model's existing skills. Retrieval keeps them perfectly because it changes no weight, but it also teaches the model nothing.
The Three Continual-Learning Scenarios
Whether a continual-learning method works depends on what the model must figure out at test time, according to Gido van de Ven and Andreas Tolias. Their 2019 paper "Three scenarios for continual learning" defined task-incremental, domain-incremental and class-incremental learning, and showed that methods that look strong in the easiest scenario can fail in the hardest. A 2022 follow-up in Nature Machine Intelligence, with Tinne Tuytelaars, called them "three types of incremental learning."
| Scenario | What the model is told at test time | Example | What works |
|---|---|---|---|
| Task-incremental | Which task the input belongs to | "Is this a cat or a dog?" then "Is this a car or a truck?", with the task named | Most methods, including EWC and separate output heads |
| Domain-incremental | Nothing, but the task structure stays the same | Recognize handwritten digits as the handwriting style changes | Replay, some regularization |
| Class-incremental | Nothing, and it must tell apart classes from all past tasks | Learn cats and dogs, then cars and trucks, then tell a cat from a truck | Replay is needed. Regularization methods such as EWC fail |
flowchart TD Q1{"At test time, is the<br/>task identity given?"} -->|"yes"| T["Task-incremental<br/>the easiest case"] Q1 -->|"no"| Q2{"Must the model also infer<br/>which task the input is from?"} Q2 -->|"no, same output space"| D["Domain-incremental<br/>the input distribution shifts"] Q2 -->|"yes"| C["Class-incremental<br/>the hardest case"] T --> TW["Most methods work"] D --> DW["Replay and some<br/>regularization work"] C --> CW["Replay appears necessary"] style T fill:#0d1a0e,color:#86efac,stroke:#22c55e,stroke-width:1.5px style D fill:#1a140a,color:#ffb74d,stroke:#e65100,stroke-width:1.5px style C fill:#1a0d0d,color:#ef9a9a,stroke:#b71c1c,stroke-width:1.5px style CW fill:#2a1225,color:#ff8fa3,stroke:#ff2d60,stroke-width:2px The headline result in the 2019 abstract is plain: when task identity must be inferred, "regularization-based approaches (e.g., elastic weight consolidation) fail," and the authors conclude that replaying representations of earlier experiences appears necessary to solve the scenario. That finding explains a decade of confusing benchmark results. Many papers reported strong numbers in the task-incremental setting, where the model is handed a large hint, and those numbers did not carry over to the setting a real deployed system faces.
The real world is closer to the hardest scenario. A deployed assistant is never told "this que...


