D-REAL: Acceptance-Length Optimization with Unbiased Gradients for Speculative Decoding

Meng Wei, Yefei Chen, Antong Li, Yanan Gao, Xingliang Shi +5 more
11/7/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Speculative decoding efficiency depends on the number of consecutively accepted draft tokens, yet token-level training objectives do not directly optimize this quantity. We introduce D-REAL (Drafter Reinforcement of Expected Acceptance Length), a post-training method that directly optimizes expected acceptance length for a fixed decoding context.

Show full abstract

D-REAL weights position-wise draft-target distributional overlap by prefix survival probabilities along a draft-sampled prefix, faithfully capturing the sequential dependence of verification on earlier proposals. By accounting for the parameter dependence of the proposal distribution, we derive an unbiased gradient estimator for this single-round objective under stochastic verification. We evaluate D-REAL on DSpark and DFlash2 with Qwen3-8B as the target model across ten benchmarks. Starting from baselines whose mean acceptance length has plateaued, one epoch of D-REAL post-training consistently improves the benchmark-averaged mean acceptance length by up to 0.23 tokens across both architectures under greedy (T = 0.0) and stochastic (T = 1.0) sampling, translating into up to a 9.4% end-to-end serving throughput improvement.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wei2026dreal,
  title  = {D-REAL: Acceptance-Length Optimization with Unbiased Gradients for Speculative Decoding},
  author = {Meng Wei and Yefei Chen and Antong Li and Yanan Gao and Xingliang Shi and Xin Gao and Zhiling Ye and Yun Yue and Chunxiao Guo and Peng Wei},
  year   = {2026},
  eprint = {2611.10432},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.10432v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.10432.svg)](https://codeofpaper.com/paper/2611.10432)

Discussion