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.
Speculative decoding accelerates large language model inference with a small drafter, whose per-guess acceptance rate determines the achievable speedup. Feature-level drafters share a design choice: every token, easy or hard, is drafted under a single forward pass. Many of the tokens the target rejects are ones the drafter is itself unsure about yet the target answers decisively. To address this, we introduce Parallel Reconsideration: guided by its own uncertainty, the drafter reconsiders its hesitant guesses with extra passes that run in parallel with the one-pass draft, adding negligible latency. A co-designed training recipe and serving-time drafting algorithm append these reconsidered guesses to the original draft tree as refined candidates. Across models and benchmarks, on average, Parallel Reconsideration improves over the baselines by 5.3% to 10.2% on acceptance length and by 3.5% to 9.2% on speedup.
Speculative decoding accelerates autoregressive large language model inference by drafting multiple tokens and verifying them in a single target-model forward pass. Recent diffusion-based drafters generate an entire block of tokens in parallel but usually commit to a single draft sequence per verification: once the first mismatch occurs, all subsequent draft tokens are discarded, resulting in a limited acceptance rate. Naively batching more draft candidate sequences only introduces a marginal improvement, as redundant or poorly placed branches increase the cost of drafting and verification without proportionally increasing the number of accepted tokens. We propose D^2SD, a dual diffusion draft speculative decoding framework that organizes candidates into a confidence-guided prefix tree, where the first diffusion drafter generates a block along with per-position confidence scores that are used to identify the most likely rejection boundary and select the top-K prefix ranges for recovery; the second variable-prefix diffusion drafter re-anchors at each selected prefix and proposes alternative continuations in one batched pass; the resulting shared-prefix candidates are jointly verified via cascade attention. Empirically, D^2SD shows clear improvements over both the underlying diffusion approach and strong autoregressive speculative decoding baselines.
Liyuan Zhang, Jiarui Zhang, Jinwei Yao +6
Peking University · Tsinghua University · HKUST +2
Speculative decoding accelerates autoregressive language models by using a lightweight drafter to propose multiple future tokens, which the target model then verifies in parallel. DFlash shows that a block diffusion drafter can generate an entire draft block in a single forward pass and achieve state-of-the-art speculative decoding performance, outperforming strong autoregressive drafters such as EAGLE-3. Vanilla DFlash, however, still verifies only a single drafted trajectory per round, potentially limiting its acceptance length. We introduce DDTree (Diffusion Draft Tree), a method that constructs a draft tree directly from the per-position distributions of a block diffusion drafter. Under a fixed node budget, DDTree uses a simple best-first heap algorithm to select the continuations that are most likely to match the target model according to a surrogate defined by the draft model's output. The resulting tree is verified efficiently in a single target model forward pass using an ancestor-only attention mask. Because DDTree builds on DFlash, a leading draft model for speculative decoding, these gains place DDTree among the leading approaches to speculative decoding.
Liran Ringel, Yaniv Romano
Department of Computer Science, Technion – Israel Institute of Technology. · Department of Electrical and Computer Engineering, Technion – Israel Institute of Technology.