Acceptance-Aware Draft Model Training for Speculative Decoding
Tianhua Xia, Mugilan Ganesan, Yifei Feng, Haiyu Wang, Maximilian Egger, Sai Qian Zhang
Abstract
Speculative decoding accelerates large language model (LLM) inference by using a lightweight draft model to generate multiple candidate tokens that are verified by the target model in a single forward pass. Its speedup is largely determined by the acceptance length, yet existing draft-model training methods mainly optimize cross-entropy or Kullback-Leibler (KL) divergence as proxies. These objectives encourage distribution matching but do not directly optimize acceptance length, and the acceptance mechanism also differs between greedy and sampling-based decoding. In this work, we propose acceptance-length-aware training losses that directly optimize the expected number of accepted tokens within a speculative window. For greedy verification, we derive an expected accepted length (EAL) loss that explicitly maximizes expected acceptance length. For sampling-based decoding, we introduce a window total variation (WTV) loss that optimizes the overlap between temperature-scaled draft and target distributions while accounting for sequential acceptance dependencies. Both objectives can be further combined with a group-relative reinforcement learning stage (GRPO) using simulated acceptance length as the reward. Experiments across different target and draft models, tasks, and decoding settings show that our losses consistently improve acceptance length over KL-based training. WTV provides particularly strong gains under sampling-based decoding, while EAL better matches greedy verification. These results show that directly optimizing the acceptance objective, with losses tailored to the decoding mode, is more effective than conventional distribution-matching objectives.
Create a lesson
Related papers
LinearSpec: Drafting from the Target's Memory for Long-Context Speculative Decoding in Hybrid Vision-Language Models
Shared title terminologycs.LGHaiyu Wang, Sai Qian Zhang, Steven Li
RIVET: Router-Informed, Verifier-Guided Expert Tailoring for MoE Self-Speculative Decoding
Shared title terminologycs.LGYunhao Wang, Hongyu Zhao, Zhenjia Mo et al.
GeoRVQ: Decoder-aware geometry for residual-token prediction in physiological signals
Shared title terminologycs.LGBo Cui, Yaowen Zhang
EMGBlend: Heterogeneity-Aware Self-Supervised Pretraining for Gesture and Force Decoding
Shared title terminologycs.LGYuwei Jia, Cheng Zhong, Jinyang Yu et al.
H-Spec: Parallel Speculative Decoding Without a Drafter-Side KV Cache
Shared title terminologycs.LGWeifan Jiang, Krishna Teja Chitty-Venkata, Megan Flynn et al.
Geometry-Screened Refit-Aware Compression of ReLU Networks
Shared title terminologycs.LGRavi Dhiman