Nested Learning: Ali Behrouz on the Quest for Continual Learning & Illusion of AI Architectures
Episode
180 min
Read time
3 min
Topics
Health & Wellness, Fundraising & VC, Leadership
AI-Generated Summary
Key Takeaways
- ✓Multi-Frequency MLP Architecture: The HOPE architecture replaces a single MLP block in transformers with multiple MLP blocks updated at different frequencies — for example, every 128, 512, and 2,048 tokens. Slower-updating blocks retain knowledge that faster blocks forget, creating a loop where forgotten skills can re-emerge through backpropagation from stable layers. This directly addresses catastrophic forgetting without requiring separate replay buffers or task-specific fine-tuning strategies.
- ✓Continual Learning Requires Two Phases, Not One: A genuine continual learner eliminates the train/test distinction entirely, but still requires two operational modes: an active phase where inputs arrive and are processed, and a sleep phase where no external input occurs but internal computation continues. Current LLMs fail at continual learning because they freeze parameters post-training and rely on context windows that eventually overflow, making knowledge cutoffs structurally inevitable under the existing paradigm.
- ✓Everything in Deep Learning Is Associative Memory: Backpropagation, attention, RNNs, and optimizers all reduce to the same underlying operation — mapping keys to values through associative memory that compresses a context flow. Behrouz calls current architecture labels an "illusion" because the distinctions between optimizer and architecture dissolve under this lens. The gradient context for an optimizer and the token context for an architecture are structurally equivalent, enabling techniques from one domain to transfer directly to the other.
- ✓Self-Referential Updates Outperform Standard Attention on Sequential Tasks: In Self-Modifying Titan, the value vector in the associative memory is generated by the module's own current parameters rather than a fixed projection — making the update rule itself a function of the current state. This creates a fully sequential, causal process that standard softmax attention cannot replicate. The tradeoff is reduced parallelizability, but the gain is stronger performance on tasks requiring sequential reasoning and temporal dependency tracking.
- ✓Multi-Language In-Context Learning as Architecture Benchmark: When models must simultaneously learn two previously unseen languages (Manchu and MTOB) from in-context grammars and then translate them, standard transformers collapse in performance. HOPE architectures with three frequency levels recover near-single-language performance on both simultaneously. This result directly measures memory management quality — the ability to partition and preserve distinct knowledge streams — rather than simple recall or perplexity, making it a more diagnostic benchmark for continual learning capability.
What It Covers
Cornell researcher and Google scientist Ali Behrouz presents his Nested Learning framework and "Language Models Need Sleep" paper on the Cognitive Revolution podcast. He explains how multi-frequency update architectures (HOPE) enable genuine continual learning, why all deep learning components reduce to associative memory, and how biologically-inspired sleep-phase consolidation could replace the static train/test paradigm in AI systems.
Key Questions Answered
- •Multi-Frequency MLP Architecture: The HOPE architecture replaces a single MLP block in transformers with multiple MLP blocks updated at different frequencies — for example, every 128, 512, and 2,048 tokens. Slower-updating blocks retain knowledge that faster blocks forget, creating a loop where forgotten skills can re-emerge through backpropagation from stable layers. This directly addresses catastrophic forgetting without requiring separate replay buffers or task-specific fine-tuning strategies.
- •Continual Learning Requires Two Phases, Not One: A genuine continual learner eliminates the train/test distinction entirely, but still requires two operational modes: an active phase where inputs arrive and are processed, and a sleep phase where no external input occurs but internal computation continues. Current LLMs fail at continual learning because they freeze parameters post-training and rely on context windows that eventually overflow, making knowledge cutoffs structurally inevitable under the existing paradigm.
- •Everything in Deep Learning Is Associative Memory: Backpropagation, attention, RNNs, and optimizers all reduce to the same underlying operation — mapping keys to values through associative memory that compresses a context flow. Behrouz calls current architecture labels an "illusion" because the distinctions between optimizer and architecture dissolve under this lens. The gradient context for an optimizer and the token context for an architecture are structurally equivalent, enabling techniques from one domain to transfer directly to the other.
- •Self-Referential Updates Outperform Standard Attention on Sequential Tasks: In Self-Modifying Titan, the value vector in the associative memory is generated by the module's own current parameters rather than a fixed projection — making the update rule itself a function of the current state. This creates a fully sequential, causal process that standard softmax attention cannot replicate. The tradeoff is reduced parallelizability, but the gain is stronger performance on tasks requiring sequential reasoning and temporal dependency tracking.
- •Multi-Language In-Context Learning as Architecture Benchmark: When models must simultaneously learn two previously unseen languages (Manchu and MTOB) from in-context grammars and then translate them, standard transformers collapse in performance. HOPE architectures with three frequency levels recover near-single-language performance on both simultaneously. This result directly measures memory management quality — the ability to partition and preserve distinct knowledge streams — rather than simple recall or perplexity, making it a more diagnostic benchmark for continual learning capability.
- •Sleep-Phase Distillation Transfers Knowledge Across Frequency Levels: During the sleep phase, knowledge moves from fast-updating MLP blocks to slower ones via policy distillation — the fast block generates synthetic data from its current state, and the slow block trains on that data. This forces a compression step that produces higher-level abstractions rather than simple parameter copying. New parameters are added to the slower block before distillation to create capacity, and periodic pruning prevents unbounded model growth over a continual learning lifetime.
- •The M3 Optimizer Applies Nested Learning to Gradient Compression: By extending the Muon optimizer with two momentum buffers updated at different frequencies — mirroring the HOPE architecture's multi-frequency MLP design — the M3 optimizer outperforms both Adam and Muon on tested benchmarks. The faster momentum buffer tracks local gradient patterns while the slower one captures global loss landscape structure. The computational overhead is offset by faster convergence, and the result demonstrates that the nested frequency principle transfers from architecture design directly into optimization algorithm design.
Notable Moment
Behrouz argues that needle-in-a-haystack recall benchmarks are structurally biased toward transformers and should not be treated as general architecture comparisons. He notes that no human could perform perfect verbatim recall from thousands of tokens, making transformer success on these tasks a reflection of architectural quirk rather than general intelligence — a reframing that challenges how the field currently ranks competing architectures.
Episode Transcript
Hello, and welcome back to the Cognitive Revolution. Today, I'm excited to share a conversation with Ali Behrouz, grad student at Cornell, researcher at Google, and author of Nested Learning. This episode was recorded a few months back. And while I normally believe that AI content does not age well, this conversation with Ali is an exception. His work is some of the most inspired and potentially transformative that I've seen anywhere in the quest for new machine learning architectures that are capable of genuine continual learning. This, of course, is one of the most important capability advances on the horizon today. Arguably, it is the main gap between today's models and a digital AGI that would be capable of joining and contributing to human teams just as humans do. And Ali is advancing the frontier with an approach that is both biologically inspired and technically elegant. His blockbuster paper, Nested Learning, which has been touted as a harbinger of a possible paradigm shift by no less than Jeff Dean, develops a simple strategy that allows models to rapidly adapt to their current context on an ongoing basis while preserving core knowledge by updating different parts of the system at different frequencies. Much like humans manage memory on multiple time scales from working memory to long term memory. His latest work Language Models Need Sleep, Learning to Self Modify and Consolidate Memories, which I actually heard about live for the first time on this recording and which has now finally become fully public, takes inspiration from how humans consolidate memories and learn from dreams while sleeping. Introducing a new offline mode in which models transfer new knowledge from their high frequency update layers to their more slowly evolving layers via distillation. And also learn new abstractions and connections between concepts by generating and training on synthetic data derived from their recent experiences. In addition to the details of these architectures, which, like so many AI innovations, I find both extremely exciting and a bit scary. We also discuss how scaling for performance may shift from stacking more layers to nesting more frequency update rates, how Ally understands all components of machine learning systems as forms of associative memory that compress a given context flow. Why this leads him to call deep learning architectures an illusion. And how he's operationalized this conceptual insight by developing expressive optimizers that learn update rules and are capable of outperforming both Adam and Muon. We also discussed how the attention mechanism can be understood as an infinite frequency update module and why Ali expects that attentional layers will therefore remain fixtures of AI systems indefinitely. We covered the empirical results showing that Ali's new architectures compete effectively with transformers on standard measures while also outperforming them on hard tasks, such as effectively recalling information from up to 10,000,000 tokens of context and also learning to translate multiple previously unseen languages at the same time. Finally, we discuss why Ally sees continual learning as both an …
Get the full transcript (26,731 words) + summary by email — free
One-time email with the complete transcript and AI summary of this episode. No account needed.
One email, no spam. We’ll also show you what SignalCast does.
You just read a 3-minute summary of a 177-minute episode.
Get Cognitive Revolution summarized like this every Monday — plus up to 2 more podcasts, free.
Pick Your Podcasts — FreeKeep Reading
More from Cognitive Revolution
Write, Change, Recall, Forget: MongoDB's Pete Johnson on How Retrieval Drives Agent Performance
Sep 1 · 96 min
10% Happier with Dan Harris
Longevity Secrets (And Controversies) From The Blue Zones | Dan Buettner
Aug 24
More from Cognitive Revolution
AI:AM Highlights: Recursive Self-Improvement, Rushed and Vibe-Coded?
Aug 28 · 131 min
The Diary of a CEO
The Scientist Who Scans Fathers' Brains: Parenthood Shrinks Your Brain, And Drops Testosterone 25%!
Aug 24
Books, tools, and gear mentioned in this episode
SignalCast may earn commission on purchases via these links.
other
- Language Models Need SleepBy guest
by Ali Behrouz
“Cornell researcher and Google scientist Ali Behrouz presents his Nested Learning framework and "Language Models Need Sleep" paper on the Cognitive Revolution podcast.”
More from Cognitive Revolution
We summarize every new episode. Want them in your inbox?
Write, Change, Recall, Forget: MongoDB's Pete Johnson on How Retrieval Drives Agent Performance
AI:AM Highlights: Recursive Self-Improvement, Rushed and Vibe-Coded?
RL's a Hell of a Drug: Metagaming, Reward Seeking & Motivated CoT Reasoning – Bronson Schoen, Apollo
AI in the AM — Weekly Highlights: Relaunch Week (Aug 17–20, 2026)
Let There Be Germicidal Light: This $500 Fixture Could Stop the Next Pandemic, from Complex Systems
Similar Episodes
Related episodes from other podcasts
10% Happier with Dan Harris
Aug 24
Longevity Secrets (And Controversies) From The Blue Zones | Dan Buettner
The Diary of a CEO
Aug 24
The Scientist Who Scans Fathers' Brains: Parenthood Shrinks Your Brain, And Drops Testosterone 25%!
Deep Questions with Cal Newport
Aug 3
Classic Episode: How Do I Learn Hard Things? | Monday Advice
The TWIML AI Podcast
Jul 27
Why Models Are AI’s Next Training Dataset with Damian Borth - #772
Modern Wisdom
Jul 27
The Painful Psychological Cost Of Becoming A Dad - Darby Saxbe - #1129
Explore Related Topics
This podcast is featured in Best AI Podcasts (2026) — ranked and reviewed with AI summaries.
Read this week's Health & Longevity Podcast Insights — cross-podcast analysis updated weekly.
You're clearly into Cognitive Revolution.
Every Monday, we deliver AI summaries of the latest episodes from Cognitive Revolution and 192+ other podcasts. Free for one show.
Start My Monday DigestNo credit card · Unsubscribe anytime