Reproduce “DSpark: Confidence-Scheduled Speculative Decoding with Semi-Autoregressive Generation” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Xin Cheng, Xingkai Yu, Chenze Shao, Jiashi Li, Yunfan Xiong, Yi Qian, Jiaqi Zhu, Shirong Ma and 25 more

DSpark improves speculative decoding by combining a parallel drafter with a lightweight sequential correction and a confidence-guided scheduler that chooses verification lengths under changing engine capacity. The drafter conditions later proposals on earlier sampled tokens, while the scheduler prioritizes likely-surviving prefixes. On DeepSeek-V4-Flash live traffic, it reports 60%–85% higher per-user generation speed than MTP-1 at matched aggregate throughput, in that setup.

Key insights

  • A semi-autoregressive design effectively mitigates suffix decay observed in purely parallel drafters by introducing minimal sequential modeling within a draft block, maintaining high initial acceptance rates from a deep parallel backbone.
  • Calibrated confidence estimates are crucial for dynamic verification, enabling a hardware-aware scheduler to intelligently prune low-value tokens and allocate target model compute only to high-probability acceptances.
  • Dynamically adapting the verification length based on both the estimated acceptance probabilities and the current system load (e.g., concurrency) significantly improves the aggregate throughput and per-user interactivity of LLM serving systems.

Summary by alphaXiv.

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