Accelerating Speculative Decoding with Block Diffusion Draft Trees
Authors: Liran Ringel, Yaniv Romano
Organizations: Department of Computer Science, Technion – Israel Institute of Technology. · Department of Electrical and Computer Engineering, Technion – Israel Institute of Technology.
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.
Figures & tables
Figure 1: Speedups relative to autoregressive decoding at temperature 0.0 across datasets and target models. DDTree bars use the best tree-node budget for each dataset-model pair.
Figure 2: Illustration of one DDTree decoding round. The bonus token a from the previous round is carried into the current round and serves as the tree root. One block diffusion drafter pass produces per-position marginals for the next three draft positions, from which DDTree selects a draft tree. During verification, the target model follows its own decoding rule, and the walk continues whenever the selected token appears as a child in the tree. In this example, two speculative nodes are matched (green), the matched path is added to the output, and the first unmatched target token a′ becomes the bonus token for the next round.
Qwen3-4B
Qwen3-8B
Qwen3-Coder-30B-A3B-Instruct
Dataset
DFlash
DFlash+DDTree
DFlash
DFlash+DDTree
DFlash
DFlash+DDTree
Speedup
τ
Speedup
τ
Speedup
τ
Speedup
τ
Speedup
τ
Speedup
τ
Temperature = 0.0
AIME 2024
5.56 ×
7.54
7.27 ×
10.37
5.38 ×
7.46
7.35 ×
10.42
3.95 ×
5.16
5.93 ×
7.87
AIME 2025
5.33 ×
7.37
7.23 ×
10.23
5.32 ×
7.39
6.99 ×
9.86
3.98 ×
5.13
5.88 ×
7.63
Alpaca
2.03 ×
3.11
3.32 ×
5.35
2.07 ×
3.12
3.36 ×
5.09
1.53 ×
2.22
2.46 ×
3.55
Table 1: Speedup over autoregressive decoding and mean acceptance length ( τ ). Results are reported separately for temperature 0.0 and temperature 1.0. For each dataset, model, and temperature, the DDTree entry uses the best node budget from {16,32,64,128,256,512,1024} .
Figure 3: Budget tradeoff on MATH-500 with Qwen3-8B at temperature 0.0. Acceptance length increases steadily with the DDTree node budget, while speedup peaks at an intermediate budget once verifier cost becomes dominant.
Figure 4: Acceptance length distribution on MATH-500 with Qwen3-8B at temperature 0.0. The DDTree histogram uses the best speedup budget, B=512 , and shifts mass toward longer accepted prefixes, especially full block acceptances.
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Dataset
Examples
AIME 2024
30
AIME 2025
30
Alpaca
128
GSM8K
128
HumanEval
164
LiveCodeBench
128
Appendix
Table 2: Number of evaluated examples per dataset in the benchmark suite.
One-shot block drafters for speculative decoding generate the full draft in a single forward pass, achieving strong throughput by eliminating sequential token generation. However, they predict each draft token conditioned only on the prefix context, with no dependence on previously drafted tokens. This non-autoregressive conditioning causes the drafter's distribution to diverge from the verifier's true autoregressive distribution as draft depth grows. This problem becomes more severe in tree-based drafting, where distinct branches are forced to share the same marginal distribution for subsequent tokens. We propose TreeFlash, which addresses this by incorporating an MLP layer conditioned on the drafter's hidden state and the previous token to approximate an autoregressive distribution. TreeFlash retains the O(1) decoding time complexity of one-shot drafters by employing a two-stage approximation mechanism. TreeFlash achieves state-of-the-art performance across a variety of tasks and models, improving over marginal tree drafting by 12% higher block efficiency and 9% higher speedup.
Peer Rheinboldt, Frédéric Berdoz, Roger Wattenhofer
Speculative decoding losslessly accelerates autoregressive language models by verifying multiple draft tokens in parallel. Diffusion-based drafters further reduce proposal latency by predicting an entire token block in parallel, but their position-wise distributions are marginal rather than conditioned on tokens selected along each draft path. Existing recurrent correction incorporates causal information along a single draft chain, whereas diffusion-based tree construction broadens candidate coverage without carrying this correction along individual branches. We introduce DARTree, a training-free speculative decoding method that extends a pretrained AR correction head from chains to trees. DARTree first constructs a fixed-width candidate tree by expanding and scoring all nodes at each depth in a single batch, and then only applies best-first pruning to select the verification tree, decoupling AR-head inference from sequential heap operations. Across seven math, code, and chat benchmarks, DARTree achieves the highest average acceptance length and speedup in all four model--temperature configurations, accepting up to 12.97 tokens per verification round, 98.6% more than DFlash and 27.9% more than Domino in the same setting, and reaching up to 9.73× lossless speedup over locally measured autoregressive decoding.
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