Speculative decoding accelerates language-model inference by preparing candidate continuations before the target model generates them. Its efficiency depends on how well limited drafting computation anticipates the path the target will actually follow. Anticipating this path involves two sources of uncertainty: the target model's predictions and the randomness of sampling. Yet the former requires a target-model forward pass, while the latter can be fixed before drafting. Building on this observation, we introduce DICE (Draw-Informed Candidate Selection), which pre-samples and synchronizes verification randomness across drafting and verification. By combining these known draws with predictions from an existing drafter, DICE allocates computation toward continuations more likely to be used in the current sampling run. This principle guides node selection throughout draft-tree construction and extends to asynchronous prefetching, where DICE predicts which next-round drafts to prepare. Without additional drafter training or changes to the target sampling distribution, DICE achieves state-of-the-art decoding throughput across diverse settings, with speedups of up to 24.6pp over strong baselines.
Figures & tables
Figure 1: Known sampling randomness guides speculative computation. Both rows share the same proposal x with q(x)=0.5 , but differ in the verification draw u . Dark and light purple indicate the values of p(x) that would accept or reject x , respectively. The dashed arrows illustrate how the same drafting budget can be allocated toward more lookahead through x or more alternatives in case of rejection.
Figure 2: DICE uses pre-sampled randomness to guide draft-tree construction. Given the same prefix, draft model, and node budget ( N=6 ), standard EAGLE constructs its tree using draft predictions alone, while DICE combines them with known Gumbel draws to guide node selection throughout tree construction. The score insets illustrate how the known perturbations change token preferences. The target uses its true logits and the same synchronized draws to produce the realized continuation shown on the right. Colored nodes indicate accepted draft tokens, while dashed nodes indicate the next target token absent from the tree. In this example, DICE accepts three draft tokens compared with one for EAGLE.
Figure 3: Throughput across sampling temperatures. (a, b) Draft trees in SGLang on Spec-Bench, where Baseline is EAGLE-4. (c, d) Cache hit rate of asynchronous prefetching with a Llama-3.2-1B-Instruct drafter, where Baseline is SSD.
Figure 4: Throughput across concurrency levels C for Qwen3.8-27B on SPEED-Bench, in SGLang (top) and vLLM (bottom).
Figure 5: Where the gains come from. (a) Change in acceptance length over a drafter without draws, on fixed trees of 60 nodes and depth 10 (OPT-Tree, Spec-Bench). Shuffled draws are independent of the target’s draws, and children only uses the draws to pick each node’s children but allocates the budget by the draft probabilities. (b) Probability Cd that the tree covers the target’s continuation through depth d (Llama-3.1-70B with a Llama-3.1-8B drafter). (c) Acceptance length versus node budget (Qwen3.8-27B with EAGLE-4 in SGLang). (d) Cache hit rate versus cache budget (Llama-3.1-70B-Instruct with SSD).
Figure 6: SSD with Saguaro sampling, with and without DICE, for Llama-3.1-70B-Instruct with a Llama-3.2-1B-Instruct drafter. Smaller C reshapes the drafts more strongly, and C=1 is standard sampling.
Figure 7: How much modeling is needed. (a, b) Change in acceptance length over a drafter without draws for three predictors of the target’s choices, on the fixed trees of Figure 5 a (Vicuna-33B and Llama-3.1-70B). (c) Cache hit rate of prefetching with different stopping models (Llama-3.1-70B-Instruct, 24 cached outcomes).
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Figure 8: Share of the held-out likelihood gain recovered by fitting (α,σ) on a random subset of observed nodes, relative to a fit on all calibration data. Lines show the median over 20 subsets and bands the interquartile range. The dashed line marks the 2,000 nodes used in our experiments.
Department of Computer Science, Technion – Israel Institute of Technology. · Department of Electrical and Computer Engineering, Technion – Israel Institute of Technology.