Paper 1 of 5
Draft Calibration for Speculative Decoding: Accelerating LLM Serving by Matching Draft and Target Distributions
Problem
Speculative decoding suffers low acceptance probability because draft models are underconfident, creating a distribution gap with the target model, and this gap limits speedup.
Approach
The paper applies post‑hoc calibration to the draft distribution at inference time. It primarily uses temperature scaling to sharpen the draft probabilities, and also explores token‑wise and Dirichlet calibration. Calibration is performed with independent draft‑temperature control while keeping the target temperature fixed. The calibrated draft probabilities are then used in the standard probability‑ratio rejection sampling of speculative decoding. This simple adjustment reduces the distribution gap and increases the number of accepted tokens per verification round.
Result
Applying standard temperature scaling to the draft distribution improves the accepted length by up to roughly 10% with virtually no extra cost, and throughput analysis confirms the serving efficiency gain.
Why it matters
LLM serving platforms using speculative decoding can adopt simple temperature scaling to boost token acceptance and overall throughput without additional hardware cost.
Method details
- Evaluated nine target-draft pairs using EAGLE-3, DFlash, and DSpark checkpoints.
- Benchmarks include GSM8K, MATH-500, AIME 2025, HumanEval, MBPP, LiveCodeBench, MT-Bench, Arena-Hard v2.
- Inference runs on SpecForge/SGLang stack with generation capped at 2,048 tokens.
- Baseline is uncalibrated draft distribution; calibration methods include temperature scaling, Dirichlet calibration, token‑adaptive heads.
- Ablation includes temperature scaling sweeps over a six‑point grid and token‑wise adaptive calibration.
Numbers
- acceptance length improvement, up to approximately 10%, vs uncalibrated baseline
- top‑1 probability gap, reduced from 11.94 to 5.65 percentage points for EAGLE‑3
- top‑1 probability gap, reduced from 9.86 to 0.93 percentage points for DFlash
- top‑1 probability gap, reduced from 7.35 to 0.18 percentage points for DSpark
- entropy gap, reduced from 0.842 to 0.443 nats for EAGLE‑3
- full‑distribution TV gap, reduced from 0.664 to 0.470 for EAGLE‑3
Limitations
The paper shows limited gains for already well‑calibrated draft models such as DeepSeek‑trained checkpoints, indicating temperature scaling may not help all cases.
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.Found in the source text, word for word.
Picked because: Introduces draft calibration for speculative decoding, a practical technique to speed up LLM inference with released code that engineers can integrate into serving stacks.