Draft Calibration for Speculative Decoding:用草稿分布校准加速 LLM 推理
Draft Calibration for Speculative Decoding: Accelerating LLM Serving by Matching Draft and Target Distributions
AI 导读
一篇 arXiv 论文研究投机解码中的草稿模型校准,发现开源草稿模型虽能学对 top 候选 token,但相对目标模型普遍欠自信,导致分布失配。
正文 · 原文
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.
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.33111 [cs.LG] |
| (or arXiv:2611.33111v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2611.33111 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Yuxing Liu [view email]
[v1]
Tue, 24 Nov 2026 18:41:59 UTC (1,704 KB)
来源:arXiv cs.AI · arxiv.org