DSpark: Confidence-Scheduled Speculative Decoding with Semi-Autoregressive Generation
AuthorsXin Cheng, Xingkai Yu, Chenze Shao, Jiashi Li, Yunfan Xiong, Yi Qian, Jiaqi Zhu, Shirong Ma, Xiaokang Zhang, Jiasheng Ye, Qinyu Chen, Chengqi Deng, Jiping Yu, Damai Dai, Zhengyan Zhang, Yixuan Wei, Yixuan Tan, Wenkai Yang, Runxin Xu, Yu Wu, Zhean Xu, Xuanyu Wang, Muyang Chen, Rui Tian, Xiao Bi, Zhewen Hao, Shaoyuan Chen, Huanqi Cao, Wentao Zhang, Anyi Xu, Huishuai Zhang, Dongyan Zhao, Wenfeng Liang
Resources
DSpark speeds up LLM inference by generating draft tokens in a more structured way and verifying them adaptively, delivering major serving throughput gains in real production traffic.
Key results
Macro-average accepted length improvement on offline benchmarks
Macro-average accepted length improvement on offline benchmarks
Macro-average accepted length improvement on offline benchmarks
Per-user generation speed improvement at matched throughput in production
Per-user generation speed improvement at matched throughput in production
What the paper found
DSpark, from DeepSeek-AI and Peking University, is a speculative decoding framework that combines a semi-autoregressive drafter with confidence-scheduled verification to solve two production bottlenecks at once: suffix decay in parallel draft generation and wasted verification capacity under high concurrency. Instead of relying on a fully independent parallel block like DFlash or a fully sequential drafter like Eagle3, DSpark keeps a heavy parallel backbone and adds a lightweight sequential Markov or RNN head to inject local token dependence while preserving single-pass draft latency. It then trains a confidence head to estimate prefix survival probabilities and calibrates those scores with Sequential Temperature Scaling so they can drive a hardware-aware prefix scheduler that maximizes expected throughput using real engine load profiles. On offline benchmarks across Qwen3-4B, 8B, 14B, and Gemma4-12B, evaluated on GSM8K, MATH500, AIME25, MBPP, HumanEval, Live-CodeBench, MT-Bench, Alpaca, and Arena-Hard, DSpark raises accepted length over Eagle3 by 30.9%, 26.7%, and 30.0% on the three Qwen3 scales, and over DFlash by 16.3%, 18.4%, and 18.3%. In DeepSeek-V4 production traffic, compared with the MTP-1 baseline, DSpark improves per-user generation speed by 60%–85% on V4-Flash and 57%–78% on V4-Pro at matched throughput, while under strict SLAs it preserves usable capacity where the baseline collapses, shifting the serving Pareto frontier.
Original abstract
Speculative decoding accelerates Large Language Model (LLM) inference by decoupling draft generation from target verification. While recent parallel drafters efficiently propose long token sequences in a single forward pass, they suffer from rapid acceptance decay due to a lack of inter-token dependencies. Furthermore, indiscriminately verifying these extended blocks wastes critical batch capacity on tokens with high rejection risks, severely degrading throughput in high-concurrency serving systems. We introduce DSpark, a speculative decoding framework that unifies high-throughput parallel generation with adaptive, load-aware verification. To maintain draft quality, DSpark utilizes a semi-autoregressive architecture, coupling a parallel backbone with a lightweight sequential module, to introduce intra-block dependency modeling and mitigate suffix decay. To optimize system efficiency, DSpark employs confidence-scheduled verification, dynamically tailoring the verification length for each request based on estimated prefix survival probabilities and engine-specific throughput profiles. On offline benchmarks across diverse domains, DSpark substantially improves the accepted length over state-of-the-art autoregressive and parallel drafters. When deployed within the DeepSeek-V4 serving system under live user traffic, DSpark successfully mitigates verification waste. Compared to the established production baseline (MTP-1), DSpark accelerates per-user generation speeds by 60 to 85 percent at matched throughput levels. More importantly, by preventing severe throughput degradation under strict interactivity constraints, it enables performance tiers that were previously unattainable, shifting the Pareto frontier of our serving system.
Read the original paperMore in Efficient AI
Browse all 79 papers →Latent Feedback Is a Compute and Data Amplifier
Benhao Huang, Chaitanya Dwivedi, Xuezhe Ma, Alexander Moreno, Hector Liu
Latent feedback may let language models get more value from each training token and FLOP than simply repeating the data.
MACaQ: Fast, Model Agnostic Calibrated Quantization for Low-Precision Weights and Activations
Lorenz K. Muller, Philippe Bich, Chiara Boretti, Hyun-Min Chang, Jiawei Zhuang, Lukas Cavigelli
MACaQ aims to make large neural networks cheaper to run by quantizing their weights and activations quickly, with little added inference overhead.
Mobile AI Factory: Building Specialized Language Models for Your Mobile Device
Evan Li, Krishna Deshpande, Wen Cheng, Shyamnath Gollakota
Mobile AI Factory automatically builds and tunes a small language model for a specific task and phone, aiming to deliver strong performance with less compute.