Reproduce “Far, Not Just Long: What Limits Long-Context Speculative Decoding” 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
Xiaolin Lin, Kai-Chiang Wu, Freddy Gabbay, Shaoyi Huang, Bing Li, Grace Li Zhang
FreeLong improves long-context speculative decoding by using target retrieval heads to select relevant sentences and place them near a drafter, within its effective range. Distance to needed text often reduces acceptance more than input length, though length can also matter. On RULER, Qwen3-4B DFlash’s average acceptance length at 32K rises from 1.67 to 4.03; results cover target-conditioned drafters and greedy tests.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.