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.
Figures & tables
Figure 1: The overlap percentage of top-k candidates in target and draft distributions on three different draft models, where k=1,2,4,8,16 .
Figure 2: Top-1 candidate probability when the top candidate agrees (first row) and entropy (second row) of draft and target distributions on three different draft models.
Figure 3: The accepted length across different models and speculative decoding algorithms when different draft temperatures are employed. The black line represents the average accepted length when the draft temperature is employed across all the tasks, and the bronze star means the optimal accepted length when we select the optimal temperature for each task. We specifically highlight their values and the baseline Td=1 for reference.
Accepted Length
Throughput (output tok/s)
Target / drafter
C
Original
Calibrated (gain)
Original
Calibrated (gain)
GPT-OSS-120B EAGLE-3
16
3.102
3.432 (10.64%)
760.9
836.2 (9.92%)
64
3.104
3.436 (10.71%)
1582.6
1756.3 (11.01%)
128
3.103
3.441 (10.89%)
2141.6
2249.7 (5.13%)
GPT-OSS-120B DFlash
16
3.657
3.996 (9.27%)
1449.5
1592.5 (9.87%)
64
3.656
3.994 (9.25%)
2765.9
3034.3 (9.68%)
Table 1: Online serving results on the held-out test split across all eight tasks, averaged over three seeds. Both metrics average tasks equally within each seed. Parentheses show mean per-seed gains over Td=1 ; C is total concurrency across two single-GPU replicas. Please refer to Table 9 for the full mean ± standard error results.
Drafter
Best Td
AL gain
Top-1 gap
EAGLE-3
0.6
2.05%
5.65
DFlash
0.8
0.10%
0.93
DSpark
1.0
0%
0.18
Table 2: DeepSeek-trained Qwen3-14B drafters. AL denotes accepted length; gains use the best shared Td over Td=1 . Top-1 gap is target minus draft probability at Td=Tt=1 on argmax agreement (percentage points). All metrics average eight tasks equally.
Figure 4: The accepted length averaged across the eight benchmarks with respect to draft temperature, with different chat templates.
Figure 5: Illustration of the trajectory replay.
Method
GPT-OSS-120B EAGLE-3
GPT-OSS-120B DFlash
Qwen3.6-35B-A3B DSpark
Td=1
3.0739
3.6345
4.0731
Temperature (validation)
3.5085
4.0751
4.4825
Diagonal Dirichlet (validation)
3.5084
4.0752
4.4815
Full-matrix Dirichlet
3.4824
4.0563
4.4192
Optimal temperature (test oracle)
3.5085
4.0751
4.4847
Optimal diagonal Dirichlet (test oracle)
3.5085
4.0753
4.4850
Table 3: Test replay accepted length Lpos averaged across tasks. Temperature and diagonal Dirichlet scaling selecting parameters per task on validation and on test are listed separately. Full-matrix Dirichlet scaling selects K and a trained checkpoint (epoch ≥1 ) on each task’s validation split. Diagonal selection includes scalar fallback.
Method
GPT-OSS-120B EAGLE-3
GPT-OSS-120B DFlash
Qwen3.6-35B-A3B DSpark
Td=1
3.0739
3.6345
4.0731
Temperature (validation, per task)
3.5085
4.0751
4.4825
Temperature head ( hd )
3.5111
4.1091
4.4765
Temperature head ( hd,ht,prev )
3.5170
4.1091
4.4726
Binary head ( hd )
3.4031
4.0045
4.3281
Binary head ( hd,ht,prev )
3.4002
3.9998
4.3234
Table 4: Test Lpos averaged equally across tasks, in the same settings as Table 3 . Scalar temperature is selected on validation, and the separately reported test oracle is selected separately for each task on the test grid and shared across its tokens; token oracles select per position. Learned heads select hyperparameters, a trained checkpoint (epoch ≥1 ), and binary thresholds on each task’s validation split.
Table 5: Target and draft checkpoints used in the experiments. Target names and draft repository IDs link to their Hugging Face pages. K is the number of draft positions, fixed within each model pair.
Domain
Benchmark
Prompts
Hugging Face dataset
Math
GSM8K [ Cobbe et al., 2021 ]
1,319
openai/gsm8k
Math
MATH-500 [ Lightman et al., 2023 ]
500
HuggingFaceH4/MATH-500
Math
AIME 2025 [ Dekoninck et al., 2026 ]
30
MathArena/aime_2025
Code
HumanEval [ Chen et al., 2021 ]
164
openai/openai_humaneval
Code
MBPP [ Austin et al., 2021 ]
257
google-research-datasets/mbpp
Code
LiveCodeBench [ Jain et al., 2024 ]
1,055
livecodebench/code_generation_lite
Appendix
Table 6: Evaluation datasets, broad task categories, and numbers of prompts used per setting. Repository links identify the Hugging Face sources; the text specifies the frozen evaluation snapshot.
Figure 6: Draft–target distribution diagnostics for the DeepSeek-trained Qwen3-14B checkpoints, following Figure 2 . All three have smaller task-mean probability and entropy gaps than the corresponding model pairs in Figure 2 .
Figure 7: Temperature scaling for the three DeepSeek-trained Qwen3-14B draft models. Each curve is the accepted length averaged equally across the eight benchmarks, with thinking disabled and target temperature fixed at Tt=1 .
Figure 8: Temperature replay versus online decoding. Top: online accepted length and replay Lpos , each averaged equally across tasks. Bottom: signed relative error 100(Lpos−Lonline)/Lonline , with colored curves for individual tasks and black curves computed from the task means. Target temperature is fixed at Tt=1 ; draft lengths are K=9,9,8 from left to right. These are full-task diagnostics, separate from the held-out calibration tables.
p50 latency (s)
p95 latency (s)
Target / drafter
C
Original
Calibrated
Original
Calibrated
GPT-OSS-120B EAGLE-3
16
7.68±0.21
6.97±0.02(9.16±2.26)%
56.02±0.65
51.00±2.09(8.99±3.10)%
64
11.44±0.24
10.01±0.10(12.43±1.19)%
76.71±0.93
69.32±0.24(9.61±0.77)%
128
13.60±0.31
12.45±0.11(8.29±2.50)%
87.33±0.81
82.22±0.72(5.84±0.21)%
GPT-OSS-120B DFlash
16
4.10±0.09
3.87±0.07(5.60±1.95)%
26.60±0.33
24.19±0.23(9.00±1.40)%
64
7.17±0.06
6.65±0.10(7.30±1.26)%
44.41±0.17
39.50±0.60(11.05±1.38)%
Appendix
Table 7: Non-streaming request latency in seconds, mean ± SE over the same three seeds as Table 1 . Parentheses show mean ± SE of per-seed percentage reductions. Quantiles pool 2,082 requests within each seed; timing includes server queuing, prefill, and generation after dispatch, excluding time waiting for a client worker.
C=16
C=64
C=128
Task
AL
Throughput
AL
Throughput
AL
Throughput
GPT-OSS-120B / EAGLE-3
GSM8K
7.95±0.24
11.42±3.51
7.59±0.57
9.14±4.67
7.31±0.99
2.04±11.08
MATH-500
11.32±0.64
13.86±2.59
11.52±0.58
13.97±4.69
12.17±0.26
11.61±4.05
AIME25
10.73±2.02
−2.10±3.63
10.73±2.02
7.92±9.91
11.01±1.77
−4.71±4.30
HumanEval
12.53±0.74
7.54±5.28
12.40±0.69
9.88±5.69
12.25±0.46
4.33±3.11
Appendix
Table 8: Per-task online accepted length (AL) and output-throughput gains (%) over Td=1 , mean ± SE across three seeds. Each seed contributes a calibrated-to-original ratio minus one. AIME25 has only 15 requests and MT-Bench 40, so their realized in-flight loads cannot reach every configured concurrency.
AL
Throughput (output tok/s)
Target / drafter
C
Original
Calibrated (gain)
Original
Calibrated (gain)
GPT-OSS-120B EAGLE-3
16
3.102±0.004
3.432±0.003(10.64±0.19)%
760.9±11.6
836.2±8.9(9.92±1.02)%
64
3.104±0.005
3.436±0.008(10.71±0.28)%
1582.6±25.9
1756.3±30.3(11.01±2.03)%
128
3.103±0.003
3.441±0.009(10.89±0.36)%
2141.6±32.5
2249.7±38.6(5.13±3.02)%
GPT-OSS-120B DFlash
16
3.657±0.009
3.996±0.011(9.27±0.45)%
1449.5±8.3
1592.5±6.0(9.87±0.29)%
64
3.656±0.011
3.994±0.004(9.25±0.44)%
2765.9±26.5
3034.3±61.8(9.68±1.29)%
Appendix
Table 9: Complete serving results for Table 1 , mean ± standard error (SE) over three sampling seeds. AL denotes accepted length. Parentheses show percentage gains, computed within each seed before averaging; their SEs are in percentage points. Both metrics average the eight tasks equally within each seed. C is total concurrency across two single-GPU replicas.
National Key Laboratory for Multimedia Information Processing, Peking University · School of Computer Science, Peking University · Microsoft Research Asia