Reproduce “DFly2: Turbocharging Long-Context Speculative Decoding by Sharing the Target's Sparsity” 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

Hong Liu, Rui Cen, Junhan Shi, Lin Niu, Runzhi Fan, Zhaojing Zhou, Haodi Lei, Jiebin Zhang and 5 more

DFly2 reuses the sparse target model’s key-value cache and query-aware position selections, avoiding a separate context cache and index-scoring pass in the drafter. The authors report 62% higher throughput on CodeSpan 64K and 81% on SWE-bench 64K than DSpark at matched per-user decode speed on DeepSeek-V4.1-Flash; these are results under the reported serving setup, not universal speedups.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.