Google's "sleep" framework lets LLMs consolidate memory into weights, retaining 10M-token context

krishnan · x · 2026-10-29

Google Research (Ali Behrouz, Vahab Mirrokni) introduced a sleep framework on Oct 27: adding a sleep phase to continual learning where LLMs alternate between active interaction and offline memory consolidation, turning fragile short-term context into stable long-term parameters. This lets models continuously acquire new facts while mitigating catastrophic forgetting and static knowledge cutoffs.

The accompanying thread distinguishes two often-confused problems: an agent remembering your last conversation (retrieval puts info back into the prompt, weights unchanged) versus a model actually learning from it (parameter updates). The thread notes that sleep activates pre-allocated memory capacity and trains on generated practice examples—"dreaming" generates and selects synthetic examples—while architecture and training rules remain human-defined. The paper reports retention of long-context knowledge up to 10M tokens and improved complex reasoning.

Related event: Google Research Proposes "Sleep Framework" for Continual Learning in LLMs(8 posts)→

Original post →

More from Models

Models channel →