protologue

Language Model Sleep vs Sleep-time Compute

Language model sleep and sleep-time compute both use a model's offline time, but only language model sleep changes the model itself. Language model sleep consolidates what the model saw in its context into its parameters, through distillation and a self-generated curriculum, to support continual learning, while sleep-time compute reasons over a context before queries arrive and stores precomputed inferences, leaving the weights unchanged.

Definitions

Language Model Sleep PTL-0267
Language model sleep is an approach to continual learning in which a model alternates between an active phase, when it processes inputs and holds new information in short-term memory such as its context, and an offline sleep phase, when it takes no new input and consolidates that information into its parameters.
Sleep-time Compute PTL-0215
Sleep-time compute is computation a language model performs on a context before any query arrives, anticipating likely questions and precomputing useful inferences so that less computation, and lower latency, is needed when queries come.

Differences

Language Model SleepSleep-time Compute
Changes model weightsYesNo
ProducesUpdated parameters that hold new knowledgePrecomputed inferences about a context
Main goalContinual learning without forgettingLower latency and test-time compute per query
Introduced byBehrouz et al. (2025, publicized by Google Research in 2026)Lin et al. (2025)

Which to use

  • Language model sleep is aimed at models that must keep absorbing new knowledge over time rather than holding it only in context.
  • Sleep-time compute suits a stable context that will be asked many predictable questions, where per-query latency matters.

Sources

  1. Behrouz et al. (2026). Language Models Need Sleep: Learning to Self-Modify and Consolidate Memories.
  2. Behrouz and Mirrokni (Google Research) (2026). The sleep framework: A new way for LLMs to retain knowledge in continual learning.
  3. Lee et al. (2026). Do Language Models Need Sleep? Offline Recurrence for Improved Online Inference.
  4. Lin et al. (2025). Sleep-time Compute: Beyond Inference Scaling at Test-time.

Cite this page

Protologue. (2026). Language Model Sleep vs Sleep-time Compute. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1). https://protologue.com/compare/language-model-sleep-vs-sleep-time-compute/

Markdown