Back to AI News
arxiv

Draft Calibration via Temperature Scaling Speeds Up Speculative Decoding

The paper studies draft calibration for speculative decoding, where a lightweight draft model proposes tokens that the target model verifies in parallel. The authors observe that open-source draft models often pick the right top token but are underconfident relative to the target model, creating a distribution gap that limits acceptance rates. Applying standard post-hoc temperature scaling to the draft distribution improves acceptance length by up to roughly **10%** across tasks at almost no additional cost, with throughput analysis confirming the serving-efficiency gain. The authors note that more general calibration methods leave further room for improvement.

AI Brief

It offers a nearly free, easy-to-implement tuning trick that can measurably raise speculative decoding speedups for anyone serving LLMs.

arXiv:2611.33111v1 Announce Type: cross Abstract: Speculative decoding accelerates large language model (LLM) inference by employing a lightweight draft model to propose draft tokens and allowing the target model to verify the new tokens in parallel to improve inference-time compute utilization. The speedup relies on the acceptance probability of draft tokens in target verification, which is directly related to the gap $\|p-q\|_1$ between the target distribution $p$ and the draft distribution $q$. In this paper, we study draft calibration of speculative decoding to improve the speedup of speculative decoding, where we employ post-hoc methods to calibrate the draft distribution to mitigate the distribution gap. We observe that though current community open-source draft models may learn the top candidate token correctly, they are generally underconfident compared to the target model, suggesting a consistent distribution mismatch. To mitigate the effect of this mismatch on the acceptance rate of the draft models, we try various post-hoc calibration methods, including standard temperature scaling and token-wise calibration. Our results suggest that a standard temperature scaling applied to the draft distribution improves the acceptance length by up to approximately 10\% with almost no additional cost across different tasks. Throughput analysis further verifies that this improvement in serving efficiency. Analysis of more general calibration methods reveals further potential room for improvement.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!