Reproduce “Sample-Efficient In-Context Adaptation via Sleep” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Sangyun Lee, Zhang Enyan, Michael Xu, Hao Tang, Zinan Lin, Weijia Xu, Chris Quirk, Jianfeng Gao and 2 more
Sleep lets Transformer models refine their key-value cache at chunk boundaries, using recurrent passes over context already read. Rather than add depth to every generated token, the model updates its attention memory periodically, then resumes ordinary decoding. On held-out code, 1.2B-parameter models matched baseline loss with 2.10× fewer context tokens at N=2 and 2.39× at N=4; this measures prefix length, not speed.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.