Reproduce “LoopCache: Accelerating Long-Context Self-Speculative Decoding for Looped Transformers” 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
Zizhuo Fu, Haochen Huang, Shengxuan Qiu, Linye Wei, Ziyu Tang, Runsheng Wang, Meng Li
LoopCache accelerates long-context decoding in looped Transformers by scheduling one shared full-prefix key-value cache for speculative drafts, then recomputing surviving candidates with their correct loop-specific caches for exact verification. This separates approximate drafting from output verification. It achieves average decoding speedups of 10.25× over WaveFront Decoding and 14.56× over LoopSpec; the paper does not specify the averaging rule.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.