A language model stops learning when its training ends. What it picks up in a conversation lives in the context window and goes when the window does; what it knows changes only with the next release. Continual learning, a model that keeps learning from its own experience after deployment, is the capability the people building these models now name most often as missing.
I came to the question through a 17-minute Bilibili explainer, 持续学习为什么这么难, which works it out from a two-parameter regression up and concludes that forgetting is the price of generalization, paid by a learner that cannot see its past. I follow its geometry for the first half of this post. Where I end up is different. Every result in it assumes that the network writes with a rule nobody trained, and I think that assumption, more than the geometry, is what continual learning has to get past.
The missing capability
Demis Hassabis, for whom “learning is synonymous with intelligence, and always has been” (Big Technology, January 2026), says it plainly:
“[O]ne of the things missing from today’s systems is the ability to online learn and continually learn. So we train these systems, … we post-train them, and then they’re out in the world. But they don’t continue to learn out in the world, like we would.”
— Demis Hassabis, Google DeepMind: The Podcast, December 2025
“If you think about the term ‘AGI’, especially in the context of pre-training, you will realize that a human being is not an AGI. Yes, there is definitely a foundation of skills, but a human being lacks a huge amount of knowledge. Instead, we rely on continual learning.”
— Ilya Sutskever, Dwarkesh Podcast, November 2025
“They don’t have continual learning. You can’t just tell them something and they’ll remember it. They’re cognitively lacking and it’s just not working. It will take about a decade to work through all of those issues.”
— Andrej Karpathy, Dwarkesh Podcast, October 2025
They differ on how far off it is. Beside Karpathy’s decade sits Dario Amodei’s view that continual learning “might not be a barrier at all. I think we may just get there by pre-training generalization and RL generalization” (Dwarkesh Podcast, February 2026). The problem itself is thirty-seven years old.
Forgetting with room to spare
Train a network to recognize the digits 0 to 4, then go on training it on 5 to 9. I ran this on the 8×8 digit images that come with scikit-learn, with two hidden layers of 256 units. The network learns the new digits within a few dozen steps, and its accuracy on the old ones falls from 99% to 24% in fifty steps and to 3% by the end. McCloskey and Cohen found the same collapse on arithmetic facts in 1989 and called it catastrophic interference.
The obvious explanation is that the network is full and the new data pushes the old out. But the same network trained on all ten digits at once gets 97% on both halves: there was room for both. Nor does a bigger network fix it. Wider networks forget less, and the explanations their authors find, among them gradients on different tasks that are closer to orthogonal, have little to do with room.
Linear regression shows why, exactly. Task A, with one training example \((x_A, y_A)\), is fitted with zero error by every \(\theta\) on the hyperplane \(x_A^\top \theta = y_A\); with two parameters, a line. Task B’s solutions are another line, and the two meet at a point \(\theta^*\) that fits both. With \(d\) parameters and \(n_A\) and \(n_B\) examples, the two solution sets meet, generically, in an affine subspace of dimension \(d - n_A - n_B\), which for an overparameterized model is huge. A parameter vector that does both tasks exists.
Now train in sequence. On a linear model, gradient descent moves along \(x_A\), perpendicular to A’s solutions, and stops at the nearest one: trained to convergence, it is an orthogonal projection. Starting from \(\theta_A\) on A’s line, training on B projects onto B’s line. If \(\theta_A\) is a distance \(\delta\) from \(\theta^*\) and the two lines meet at an angle \(\psi\), the projection \(\theta_B\) lies \(\delta \cos\psi\) from \(\theta^*\), and its distance from A’s solutions, the forgetting (A’s loss is its square, for a unit-length \(x_A\)), is
\[\delta \cos\psi \sin\psi = \tfrac{1}{2}\, \delta \sin 2\psi .\]Forgetting vanishes at \(\psi = 0\), where the tasks agree, and at \(\psi = 90^\circ\), where B’s update moves \(\theta\) along a direction A does not read. It is worst at 45°, for tasks that are similar without being the same. Deep networks behave alike: Ramasesh, Dyer and Raghu and Lee, Goldt and Saxe find that tasks of intermediate similarity forget the most, and Evron et al. and Goldfarb et al. work out the linear case in general.
The joint solution is also within reach. Alternate A, B, A, B, and \(\theta\) zigzags toward \(\theta^*\), its distance shrinking by \(\cos^2\psi\) each round: the method of alternating projections, or Kaczmarz’s. Ordinary offline training, which shuffles all the data together and passes over it many times, does this in small steps. Nearly aligned tasks need about \(1/\psi^2\) rounds to reach \(\theta^*\), but replay stops the forgetting long before that: under cyclic replay, Evron et al. bound the forgetting by a quantity that shrinks with the number of cycles, even where convergence to \(\theta^*\) is arbitrarily slow. A stream shows each task once. In the video’s words, forgetting happens because the old data can no longer be seen, not because it no longer fits. Gradient descent is greedy: it takes the shortest path for the loss in front of it.
The price of generalization
Why not write B’s answer somewhere A never looks? A lookup table does: writing an input’s answer in its own cell leaves every other cell alone, so it forgets nothing. It also says nothing about an input it has not seen.
The neural tangent kernel makes the trade explicit. For squared loss, a small gradient step on one example \((x_\text{new}, y_\text{new})\) changes the output on any input \(x\), to first order in \(\eta\), by
\[\Delta f(x) = -\eta\, \Theta(x, x_\text{new}) \big( f(x_\text{new}) - y_\text{new} \big), \qquad \Theta(x, x') = \langle \nabla_\theta f(x), \nabla_\theta f(x') \rangle .\]A lookup table has \(\Theta(x, x') = 1\) if \(x = x'\) and 0 otherwise. The linear model of the last section has \(\Theta(x, x') = x^\top x'\), which is zero exactly when the inputs are orthogonal, the case \(\psi = 90^\circ\) in which nothing was forgotten. A network’s kernel spreads, and the same formula carries the update to a test input, which is generalization, and to an old input, which is forgetting. The kernel cannot tell an input it should change from one it should leave alone. Doan et al. predict forgetting from this overlap between tasks.
Richard Sutton reads the same fact the other way round: “Generalization means to train on one thing that’ll affect what you do on other things. We know deep learning is really bad at this. For example, we know that if you train on some new thing, it will often catastrophically interfere with all the old things that you knew. This is exactly bad generalization” (Dwarkesh Podcast, September 2025). Both readings are about where the spread lands. A learner that chose where each update lands would have neither problem. Gradient descent does not choose: the spread is \(\Theta\), set by the architecture and the current weights. The weights, though, are learned, and a representation can be trained so that updates on it interfere less.
At initialization, a ReLU network cannot keep the spread local, because each unit fires on a half-space rather than on a bump around the inputs it was trained on. Below is one gradient step on such a network with a one-dimensional input, computed exactly. Pushed up at \(x_\text{new}\), the output rises everywhere: at \(x = -2\), far on the other side, by 0.30 of the rise at \(x_\text{new}\), and beyond \(x_\text{new}\) by more than at \(x_\text{new}\) itself, since a ReLU’s output keeps growing along its half-line. A network of local bumps, a Gaussian kernel, keeps the change near \(x_\text{new}\), and generalizes no farther.
The same holds in every direction for inputs on a sphere. In a wide one-hidden-layer ReLU network with biases drawn at the scale of the inputs, two unit-length inputs pointing in opposite directions still share a kernel of \(1/(2\pi) \approx 0.16\) of each one’s kernel with itself, and no pair shares less. An update on any input reaches every other.
Protecting the old task
If the old data cannot be seen again, the next best thing is to remember what the old task cares about. Near A’s solution, A’s loss rises as
\[\Delta L_A \approx \tfrac{1}{2}\, \Delta\theta^\top H_A\, \Delta\theta ,\]where \(H_A\) is the curvature. In a large network most eigenvalues of \(H_A\) are close to zero (Sagun et al., Ghorbani et al.): the minimum is a long flat valley, and moving along its floor costs A nothing. Orthogonal gradient descent and gradient projection memory project each update for B onto such directions. Elastic weight consolidation (EWC) instead penalizes each move by the Fisher information, an estimate of \(H_A\) at a minimum.
A model with a billion parameters has a curvature matrix with \(10^{18}\) entries, so EWC keeps only the diagonal, how much each parameter matters on its own. That loses every valley that does not run along an axis. Take a valley that is steep along \(u = (\cos\varphi, \sin\varphi)\) and flat across it, so that \(H = \lambda u u^\top\). Its diagonal, \(\lambda\, \mathrm{diag}(\cos^2\varphi, \sin^2\varphi)\), has determinant \(\tfrac14 \lambda^2 \sin^2 2\varphi\), which is positive unless the valley runs along an axis: a closed bowl, with no flat direction left. It also softens the wall. Along \(u\) the diagonal charges \(\lambda(\cos^4\varphi + \sin^4\varphi)\) instead of \(\lambda\), half as much at 45°.
Even exact curvature only delays the problem. If each task fixes \(r\) directions, \(t\) tasks leave \(d - t r\) free, and once they are spent every step for a new task climbs a wall of an old one: the stability–plasticity dilemma, as a count of dimensions.
Lower bounds
Those are limits of particular methods. Two results show that, in the worst case, every method pays. Knoblauch, Husain and Diethe prove that a continual learner that never forgets needs perfect memory of past tasks and in general solves an NP-hard problem. The video’s picture of why: the parameters consistent with every task so far can form disconnected islands; when a new task rules out the island the learner is on, moving to one that still satisfies everything means solving the whole problem again, past tasks included.
In the regression picture this cannot happen: flat solution sets meet in one connected piece, which is why the zigzag arrives. Knoblauch et al. note that the result explains why methods that replay stored data beat methods that only regularize. Chen, Papadimitriou and Peng use communication complexity to prove that any continual learner in the PAC setting, even one free to choose its hypothesis class, needs memory that grows linearly with the number of tasks. Allowed a logarithmic number of passes over the tasks, they give a learner whose memory scales well. As with the zigzag, what makes the problem tractable is seeing the past again. Over a few tasks, then, forgetting is a matter of geometry; over many, it is a matter of capacity after all. Real task streams are not worst cases, and shared structure is what lets a learner pay less. The bounds say that a learner that pays less must be exploiting that structure.
Loss of plasticity
A learner that never stops also wears out. Dohare et al. (Nature, 2024) trained one network on 2,000 binary ImageNet tasks in sequence. Accuracy on the new task fell from 89% on an early task to 77% on the 2,000th, about what a linear network gets. Three things change as training goes on: units die, ReLUs that no input switches on and that therefore get no gradient; the weights grow; and the representation collapses onto a few directions, its effective rank falling.
The same decline shows up in a network small enough to train on a laptop, given a harsher stream of the kind Lyle et al. use. I gave a network with two hidden layers of 128 units a sequence of tasks, each a fresh random labelling of the same 128 digit images, and 400 steps of Adam to memorize each. It memorizes the first task (98%) and the tenth (97%). By the thirtieth it gets 28%, and from the fiftieth on its second layer is dead and it gives every image the same label. Over those fifty tasks the share of units that never fire rises from 12% to 72%, the norm of the weights from 27 to 48, and the effective rank of the last hidden layer falls from 39 of 128 to 1. Shrinking the weights by 10% and adding a little noise before each task keeps it near 91%.
In the kernel’s terms this is the opposite failure. Forgetting is \(\Theta(x_\text{old}, x_\text{new})\) being too large; loss of plasticity is \(\Theta\) wasting away. A dead unit adds nothing to any entry of the kernel, so the same step moves every output less, and a collapsed representation leaves few directions in which outputs can move at all. The three symptoms are not the whole cause: Lyle et al. find plasticity lost in networks with no saturated units and tie it to changes in the curvature of the loss.
Random initialization is a one-time endowment: diverse units, a spread-out spectrum, gradients that flow. Ordinary training spends it and never replenishes it. The effect does not need 2,000 tasks. Ash and Adams train a network on half of a dataset and then on all of it; it reaches the same training loss as a network trained on all of it from scratch, and generalizes worse. Their fix, shrinking the weights toward zero and adding noise before the new data, is the shrink and perturb of the table below, and Dohare et al. find that it eases loss of plasticity too. Their own continual backpropagation reinitializes a small fraction of the least-used units as it goes and keeps the network learning, and regularizing toward the initial weights also works.
Measuring forgetting
Forgetting is usually measured as the drop in accuracy on an old task after training on a new one. That number overstates what is lost. Davari et al. freeze the network after the new task and refit only a linear classifier on its features; measured that way, networks trained with no protection at all often forget little. In language models, much of the drop is lost task alignment rather than lost knowledge (Zheng et al.), and Palit et al. locate it. Fine-tuning on new facts shifts every old representation along one shared direction, hiding the old facts without scrambling them, and removing that single direction from each weight update brings them back in a pretrained model. What is lost for good is a slower erosion of individual facts. An update that knocks the readout out of line is a cheaper problem than one that destroys what is stored.
The benchmarks have a second problem. The same sequence of tasks gives opposite verdicts depending on whether the model is told at test time which task an input belongs to. With the task given, penalties such as EWC do well; when the model must infer it, they fail and only replay holds up. GDumb, which keeps a class-balanced sample of the stream and trains a fresh network on it when asked, beat most of the methods built for those benchmarks. After the lower bounds, that is no surprise: the benchmarks rank methods by how much of the past they keep.
Four knobs
The video ends on three knobs: orthogonality, replay and regeneration. The methods above need a fourth, proximity, which covers EWC and most of what works for language models.
| Knob | What it does | Examples | Cost |
|---|---|---|---|
| Orthogonality | writes where old tasks do not read | OGD, GPM, sparse memory layers, the delta rule’s erase | free directions run out |
| Proximity | stays near the old function | EWC, LoRA, distillation from the old model, on-policy RL | learns less |
| Replay | shows the learner the past again | experience replay, retraining on all the data, the context window | memory grows with every task |
| Regeneration | keeps the learner able to learn | continual backpropagation, shrink and perturb, L2 toward the initial weights | forgets on purpose |
The brain, on the complementary learning systems account of McClelland, McNaughton and O’Reilly, turns orthogonality and replay. The hippocampus learns fast, with sparse codes that barely overlap, so new memories do not interfere with each other. The neocortex learns slowly, from the hippocampus’s replays interleaved with what it already knows, which gives the zigzag its many rounds. Karpathy puts the missing piece in the same place: “when I go to sleep, something magical happens where I don’t think that context window stays around. There’s some process of distillation into the weights of my brain. … We don’t have an equivalent of that in large language models” (Dwarkesh Podcast). One has since been proposed, Language Models Need Sleep. When I ran a version of it on a database that changed twice, three sleeps into LoRA weights gained 1.01 correct answers in 10 over the base model, and 4,000 words of notes gained 2.06.
Sequence models arrived at the same knobs in their fast weights. Linear attention keeps a memory matrix and writes every token into it, \(W \leftarrow W + v k^\top\) (Schlag, Irie and Schmidhuber). It never erases. A \(d\)-dimensional memory has at most \(d\) orthogonal keys, and reading with a key returns its own value mixed with everything written under keys at an angle to it. The delta rule first reads what the memory predicts and writes only the error:
\[W \leftarrow W + \beta\, (v - W k)\, k^\top = W (I - \beta k k^\top) + \beta\, v k^\top .\]The first term erases along \(k\) and the second writes. With \(\beta = 1\) and a unit-length key, it is the projection from the regression picture, applied to the memory instead of the weights, and the angle between keys decides how much it disturbs other memories, as \(\psi\) did. DeltaNet made the rule fast to train at scale; Gated DeltaNet multiplies the memory by a learned decay before each write, freeing room by forgetting on purpose; Titans updates a memory network by a gradient step on its own prediction error, which it calls surprise. The slow outer network chooses the keys, and pretraining teaches it to choose keys that keep memories apart. Inside a context window, these models learn continually, with a write rule that pretraining tuned. Softmax attention, which frontier models mostly use, takes the other route: it appends every token and erases nothing, a lookup table with a learned similarity, paid for in memory that grows with the session.
With random keys the two rules can be compared exactly. Reading an item back from an additive memory returns its value plus a little of every other value, and the mixture grows with each write: after \(N\) writes the cosine between what comes back and what was stored is \(1/\sqrt{1 + (N-1)/d}\), for old and new items alike. The delta rule’s erase removes, on average, a fraction \(1/d\) of every other item at each write, so an item written \(s\) writes ago comes back with cosine \((1 - 1/d)^s \approx e^{-s/d}\). Neither holds more than about \(d\) items. One spends the shortfall on everything and the other on the oldest. Random keys are the untrained case; a trained network does not draw its keys at random, and the choice of keys is where it can do better.
Language models today
Pretraining is continual learning with the data shuffled: a corpus written over decades, in every domain, arrives in batches that each mix all of it, the offline training of the zigzag at enormous scale. Even so, what is rare is forgotten. Chang et al. follow facts injected into a pretraining run: each exposure raises a fact’s probability a little, and the gain then decays along a power law until the next exposure, which is why facts in the long tail do not stick. Deployment takes the shuffle away. What a model meets on the job arrives in order and once, and it is about one user, one codebase, one database: the stream that continual learning was always about.
A frontier model turns the same knobs, coarsely, at the level of the product. Its weights are fixed between releases, and each release is trained on old and new data together: replay, at the cost of a training run and months between updates. The public recipe for updating a pretrained model without starting over is replay too. Ibrahim et al. raise the learning rate again, decay it again and mix earlier data into the new, and match a model retrained from scratch on everything, up to 10B parameters and at a fraction of the compute. The learning rate turns out to be part of the write rule: pretraining ends with it annealed toward zero, so the finished model barely writes, and raising it again is what lets the new data overwrite the old. And replaying part of the old data is enough, rather than all of it, because the new data share structure with the old, the case the lower bounds leave open. Within a session, the context window works like the hippocampus, fast and exact and wiped at the end; memory files and notes carry a little of it across sessions.
Whether the slow weights need to learn at all is now itself in question. Dwarkesh Patel, who wrote in June 2025 that “the lack of continual learning is a huge huge problem”, wrote in November 2026: “Previously, I thought we were bottlenecked by some crazy breakthrough that allowed models to update their own weights at the end of every session. But now I think scaling up in-context learning, so that you have sessions that are effectively many months long, will probably be enough to let a single instance learn on the job effectively.”
The lower bounds price this bet. An append-only context is the one learner they allow to forget nothing, and it pays their linear memory in full, in tokens re-read at every step. A session many months long does not fit, so something has to compact it, and whatever chooses what survives compaction is a continual learner again, under the same bounds. In my runs that chooser was the weak point: the notes still pointed at a database’s price column after the prices had moved.
Writing new facts into the weights works poorly: a model stores a fact retrievably only after seeing it many times in many phrasings (Allen-Zhu and Li), facts new to the model are learned slowly in fine-tuning and then raise hallucination (Gekhman et al.), and my own LoRA attempt barely moved question-answering F1. Longer pretraining makes it worse. Springer et al. find that OLMo-1B pretrained on 3T tokens does over 2% worse on standard benchmarks after instruction tuning than the same model stopped at 2.3T: its weights had become more sensitive to any change, so the same update destroyed more.
The fine-tuning methods that forget less mostly turn the proximity knob. LoRA learns less and forgets less than full fine-tuning. On-policy RL forgets less than supervised fine-tuning, because among the solutions to the new task it finds one close in KL divergence to the base model (Shenfeld, Pari and Agrawal). This is EWC’s curvature penalty in another form. To second order, the KL divergence between the old model and the new is \(\tfrac12 \Delta\theta^\top F \Delta\theta\), with \(F\) the Fisher matrix, measured on the new task’s inputs and never diagonalized or written down. Self-distillation fine-tuning gets the same effect from demonstrations, with no reward: the model conditioned on a demonstration teaches the model without it. Sparse memory fine-tuning turns the orthogonality knob instead. It updates only the memory-layer slots that a new fact activates far more than pretraining data does; after learning the same new facts, NaturalQuestions F1 drops 11%, against 89% with full fine-tuning and 71% with LoRA.
The write rule
How far a gradient step spreads is set by the kernel, and the kernel is a function of weights that can themselves be trained for it. Where that has been done, forgetting becomes manageable. Fast weights whose keys pretraining chose erase with care. End-to-end test-time training writes into the weights themselves: a Transformer with sliding-window attention keeps training on its context by next-token prediction, from an initialization meta-learned for exactly that, and at 3B parameters it scales with context length as full attention does, which Mamba 2 and Gated DeltaNet do not. Where the rule is not trained, in a fine-tuning step on a deployed model, McCloskey and Cohen’s result still holds.
A write rule also has a speed. The brain’s synapses face the same trade between keeping the old and taking in the new, and Benna and Fusi show what speed buys. A synapse built from coupled variables, which stores a memory in fast ones and passes it step by step to slower ones, holds a number of memories that grows almost linearly with the number of synapses, against the square root for earlier models. Language models already learn at three speeds: per token in the context or the fast weights, per session in notes, per release in the weights. What they lack is the passing on, from each speed to the next slower one, by a rule trained for it. Nested Learning is an early attempt to build such a continuum of speeds into one model.
A trained rule does not escape the lower bounds. It decides where the payment goes: which directions a write may use, what it erases, what is kept for replay. That is the part I work on, and so far the rules I have written by hand have failed in the same place: they decided what to keep before the experience arrived.