AI Trends
Sleep as a training loop: Google Research's plan for keeping LLMs from forgetting
Google Research's sleep framework alternates a wake phase with an offline sleep phase, moving short-term context into expanded MoE parameters so a deployed LLM can keep learning without catastrophic forgetting.
Why a deployed model stops learning
An LLM earns its capability from pre-training and in-context learning, but after deployment it is effectively frozen. Anything it picks up in a session lives inside the context window and disappears when the session ends. The obvious fix — keep updating the weights — runs straight into catastrophic forgetting, where new material overwrites capabilities the model already had. Google Research published a proposal on 27 October 2026, the “sleep framework”, that attacks this old trade-off by borrowing the structure of sleep.
Two phases: consolidation and dreaming
The framework splits a model’s lifecycle into a wake phase and a sleep phase. While awake, the model takes in input and parks the results in fast, short-term memory. While asleep, it stops accepting input and redirects computation toward memory maintenance and self-improvement.
The sleep phase itself has two parts. In memory consolidation, the model expands capacity by unlocking pre-allocated low-rank expert blocks in its Mixture-of-Experts structure, then moves short-term content into them. The transfer uses on-policy distillation together with imitation learning whose reward combines semantic similarity and edit distance. Once the move is done, high-frequency temporary parameters are reset, freeing room for the next waking session.
Next comes dreaming. The router activates experts it would not normally choose, generating synthetic training samples; a gradient-based filter keeps only those with the most learning value, and the model fine-tunes on them. The authors argue this diversifies the gradient directions explored and leaves the optimization landscape better conditioned.
What the paper reports
The numbers are striking, though they are the authors’ own. On continual translation into languages the model never trained on (Manchu and Kalamang), performance barely dropped across stages, where in-context learning, Cartridges and supervised fine-tuning all degraded sharply. On the BABILong long-context benchmark, accuracy held up to 10M tokens, ahead of GPT-4 and Titans in their setup. Factual injection scored 48.9% on single-task and 46.2% under continued pre-training, versus the base model, SFT and SEAL. Mathematical reasoning reached 79.2% on AIME 24, 69.0% on AIME 25 and 46.1% on HMMT 25, above SFT, GRPO and on-policy self-distillation.
What remains open
These are single-source results without independent replication, measured against baselines the authors configured. The neuroscience vocabulary is metaphor only — everything runs inside a fixed architecture and human-defined rules. Cost is the practical unknown: a periodic sleep cycle is extra compute, and how it scales to frontier-sized models is untested. Training on self-generated data also raises the usual safety and drift questions. Nor does the paper settle how such a mechanism should coexist with retrieval, which handles fresh facts more cheaply today.
Why it is worth keeping
RAG and long context push knowledge into the prompt, where it vanishes with the session or must be re-fetched every time. Writing knowledge into parameters avoids that but has meant retraining, and retraining has meant forgetting. Reframing training and inference not as separate stages but as a recurring maintenance cycle is a useful design direction for any organisation that has to keep a model running for years. For now it is a research proposal, not a pipeline component — but it names the problem precisely.