Temperature scaling raises speculative decoding acceptance length
Original title: Draft Calibration for Speculative Decoding: Accelerating LLM Serving by Matching Draft and Target Distributions
Standard temperature scaling on the draft distribution raised acceptance length by up to about 10% with almost no extra cost.
The paper studies post-hoc calibration so a lightweight draft model's token distribution better matches the target model during speculative decoding. The authors observe that open-source draft models often select the top token correctly but are underconfident relative to the target. They test temperature scaling and token-wise calibration. Standard temperature scaling improved acceptance length by up to approximately 10% across tasks with almost no added cost, and throughput analysis supported a serving-efficiency gain.
Unconfirmed: The acceptance-length gain is an author-reported approximate figure, not a named production result.
- Acceptance depends on the L1 gap between target and draft distributions.
- Open-source draft models were often underconfident versus the target.
- Token-wise calibration was compared with standard temperature scaling.
- More general calibration methods left additional improvement room.
From the original article
1 min read at arxiv.orgSpeculative 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.
By Yuxing Liu · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.