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
The authors adapt sleep to attention-only transformers, which periodically refine a retained key-value cache by reprocessing context windows. On held-out Repo2025 code, a 1.2-billion-parameter model matches the no-sleep model’s loss on the final 256 tokens using 2.10× and 2.39× fewer preceding tokens for N=2 and N=4, respectively. This token-matched result comes with approximately N times the training compute per token.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.