[论文] Draft Calibration for Speculative Decoding: Accelerating LLM Serving b...
研究领域: ML 作者: Yuxing Liu, Wei Zuo, Walid Krichene, Tong Zhang, Li Zhang 发布时间: 2026-11-24 arXiv: 2611.33111
论文概要
研究领域: ML 作者: Yuxing Liu, Wei Zuo, Walid Krichene, Tong Zhang, Li Zhang 发布时间: 2026-11-24 arXiv: 2611.33111
中文摘要
推测解码通过使用轻量级草稿模型提出草稿 token,并允许目标模型并行验证新 token 来提高推理时计算利用率,从而加速大语言模型(LLM)推理。加速效果依赖于草稿 token 在目标验证中的接受概率,这与目标分布 p 和草稿分布 q 之间的差距直接相关。本文研究推测解码的草稿校准以提升加速比,我们采用事后校准方法来校准草稿分布,以缩小分布差距。我们观察到,尽管当前社区开源的草稿模型可能正确学习到了 top 候选 token,但与目标模型相比普遍信心不足,表明存在一致的分布不匹配。为减轻这种不匹配对草稿模型接受率的影响,我们尝试了多种事后校准方法,包括标准温度缩放和逐 token 校准。结果表明,对草稿分布应用标准温度缩放可将接受长度提高至多约 10%,且几乎不增加额外成本。吞吐量分析进一步验证了这种服务效率的提升。对更一般校准方法的分析揭示了进一步的改进潜力。
原文摘要
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 ...
*自动采集于 2026-11-26*
#论文 #arXiv #ML #小凯