Transformers that periodically 'sleep' replay inputs to cut in-context tokens needed by up to 2.39x
scaling01 · x · 2026-11-25
A paper by Sangyun Lee, Giulia Fanti, Xiaodong Liu et al. introduces a 'sleep' mechanism for transformers: when the context boundary is reached, the model pauses decoding and performs N extra recurrent forward passes over the current window to refine its KV cache, then resumes. Pre-training 1.2B-parameter models on up to 100B tokens with sleep yields faster in-context adaptation on multi-shot algorithmic and QA tasks; on held-out data, N=2 and N=4 match the no-sleep baseline loss with 2.10x and 2.39x fewer in-context tokens. Framed as a step toward closing the sample-efficiency gap between LLMs and humans.
More from Research
- Former xAI founders launch Epochal Time Portal: AI relives 30 years of the internet to learn prediction — bennash · 2026-11-25
- Max Planck School of Biomedical AI PhD opens applications, deadline Dec 1, 2026 — kmborgwardt · 2026-11-25
- Fignimble: a Python figure editor to fix irreproducible biology paper figures — lpachter · 2026-11-25
- Porting Stanford's Memorilla to 4-bit Gemma 4 on a Single Strix Halo—and a Shuffled-Doc Quirk — DataPhreak · 2026-11-25
- New blog series breaks down the math intuition behind popular ML algorithms — goyal__pramod · 2026-11-25
- BitRobot open-sources five large robot-learning datasets and a real-world eval platform — juanbenet · 2026-11-25