Why does Andrej Karpathy think current AI models lack continual learning?
Andrej Karpathy says current models effectively restart from scratch each time, so they do not accumulate experience the way humans seem to. Karpathy points to sleep as an analogy: humans appear to distill the day’s experiences into lasting memory, but LLMs have no comparable distillation phase. That missing mechanism is why he sees continual learning as still absent.
“These models, when you boot them up and they have zero tokens in the window, they're always restarting from scratch where they were. So I don't know in that worldview what it looks like. Maybe making some analogies to humans—just because I think it's roughly concrete and interesting to think through—I feel like when I'm awake, I'm building up a context window of stuff that's happening during the day. But 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. This happens during sleep and all this stuff. We don't have an equivalent of that in large language models. That's to me more adjacent to when you talk about continual learning and so on as absent.”

Key takeaways
- A good learner needs a way to retain and distill experience over time.
- Current models mostly reset between sessions.
- Continual learning may require a separate consolidation process, not just longer context.
Context
In the interview, Karpathy was explaining why continual learning remains one of the key missing pieces for agents. The quote above is taken word for word from the recording's transcript.
In the transcript
…in-context learning emerged spontaneously as a result of pre-training, continual learning over longer horizons will emerge spontaneously if the model is incentivized to recollect information over longer horizons, or horizons longer than one session." So if there's some outer loop RL which has many sessions within that outer loop, then this continual learning where it fine-tunes itself, or it writes to an external memory or something, will just emerge spontaneously.
These models, when you boot them up and they have zero tokens in the window, they're always restarting from scratch where they were. So I don't know in that worldview what it looks like. Maybe making some analogies to humans—just because I think it's roughly concrete and interesting to think through—I feel like when I'm awake, I'm building up a context window of stuff that's happening during the day. But 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. This happens during sleep and all this stuff. We don't have an equivalent of that in large language models. That's to me more adjacent to when you talk about continual learning and so on as absent.
It's just some small sparse subset of the weights that are changed. But we do want to create ways of creating these individuals that have very long context. It's not only remaining in the context window because the context windows grow very, very long. Maybe we have some very elaborate, sparse attention over it. But I still think that humans obviously have some process for distilling some of that knowledge…
Read the full transcript of Dwarkesh Patel interview, September 2024
Topics
More questions about Andrej Karpathy
- Why does Andrej Karpathy say AI agents will take a decade to work like employees or interns?
- What does Andrej Karpathy mean by the 'cognitive core' in LLMs?
- What did Andrej Karpathy say about education after AGI?
- What did Andrej Karpathy say about what agents can and can't do?
- What did Andrej Karpathy say about whether reasoning models can generalize beyond math and code?
- What did Andrej Karpathy say about how to use AI tools responsibly?
All Andrej Karpathy answers · All Andrej Karpathy recordings
How this answer was made: the quote is checked word for word against the transcript of the recording and confirmed as the speaker's own words; the summary above it was drafted with AI from that transcript and quality-checked. Methodology and corrections.