Reproduce “Resource-Efficient Speculative Decoding for Long-Context LLM Serving” 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
Fei Li, Song Liu, Shiqiang Nie, Jinyu Wang, Weiguo Wu
SpecStream addresses GPU-memory limits in long-context language-model serving by offloading older confirmed key-value history to CPU memory in chunks. It streams each arriving chunk into full causal-attention verification of proposed tokens, while using transfer wait time for drafting. Across three datasets, it reaches 1.41× TriForce throughput for Qwen3 and 1.32× for InternLM2.5; it can remain slower than GPU-resident decoding.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.