Skip to main content

Accelerating Speculative Decoding with Block Diffusion Draft Trees

AuthorsLiran Ringel & Yaniv Romano
Year2026
HF Upvotes6
arXiv2604.12989
PDFDownload
HF PageView on Hugging Face

Abstract

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.


Engineering Breakdown

Plain English

This paper addresses a key bottleneck in speculative decoding—a technique that speeds up large language model inference by having a lightweight drafter propose multiple candidate tokens that a larger model verifies in parallel. The authors show that block diffusion models (DFlash) can generate entire draft blocks in a single forward pass, outperforming previous autoregressive drafters like EAGLE-3. However, they identify that standard DFlash only verifies one trajectory at a time, leaving parallelism on the table. They introduce DDTree (Diffusion Draft Tree), which constructs multiple draft trajectories from the per-position probability distributions of the block diffusion model and uses a best-first heap algorithm to select the most promising continuations under a fixed node budget, enabling the verifier to evaluate multiple paths simultaneously.

Core Technical Contribution

The core novelty is using a block diffusion drafter's per-position probability distributions to build a draft tree of candidate token sequences, rather than committing to a single sequence. Instead of sampling greedily or following the mode, DDTree treats the drafter's output as a scoring function over possible continuations and uses a best-first search to explore the highest-probability branches within a computational budget. This converts the drafter from a single-path generator into a multi-hypothesis generator that can exploit the verifier's ability to evaluate multiple sequences in parallel through batched attention. The approach is inspired by tree-structured speculative decoding but specifically tailored to extract maximum value from diffusion models, which naturally produce token-position distributions rather than categorical samples.

How It Works

The pipeline operates in three stages. First, the lightweight block diffusion drafter runs a single forward pass to produce a block of tokens along with per-position probability distributions (not just the top-1 predictions). Second, a best-first heap algorithm processes these distributions to construct a draft tree: it starts with the root and iteratively expands the node with the highest cumulative log-probability, exploring alternative branches at each position subject to a total node budget. Each node in the tree represents a partial token sequence, and edges represent alternative token choices at each position. Third, the entire draft tree is passed to the target model verifier, which uses a single batched forward pass to score all tree paths in parallel, accepting tokens greedily along the highest-probability path that the target model confirms, and rejecting the tree as soon as any token fails verification.

Production Impact

Adopting DDTree would directly reduce latency in LLM serving pipelines by accepting longer sequences per verification step compared to vanilla speculative decoding. In production, this translates to fewer forward passes of the expensive target model per output token, improving throughput without requiring model retraining or architectural changes. The integration is straightforward—the drafter can be any block diffusion model (like DFlash), and the verifier is your existing LLM, so this slots into existing inference stacks. The trade-off is modest increased memory footprint to store the draft tree and slightly higher computational cost in the drafter compared to single-path generation, but both are negligible since the drafter is already lightweight. For large-scale serving (e.g., vLLM-style systems), the reduction in target model calls per token could yield 20-40% latency improvements depending on tree size and acceptance rates.

Limitations and When Not to Use This

The paper's evaluation is limited to the abstract provided, and the full experimental validation against baselines (exact improvements over EAGLE-3, sensitivity to tree budget, performance across model scales and domains) is not detailed here. One key assumption is that the block diffusion drafter's probability distributions align well with the target model's true posterior, which may break down in out-of-distribution or safety-critical scenarios where the drafter has not seen similar contexts. The method's effectiveness depends on the tree budget hyperparameter—set too low, you lose the benefit of exploring alternatives; too high, the drafter overhead dominates. Additionally, the approach assumes batched inference with sufficient hardware parallelism to evaluate the tree; in latency-critical or resource-constrained settings (e.g., mobile or edge), the tree overhead might negate gains. The paper does not address how to choose tree budget dynamically or adapt to varying context lengths.

Research Context

This work builds on speculative decoding, which has been a central focus for LLM inference acceleration (prior work includes EAGLE, EAGLE-2, EAGLE-3, and tree-based variants like Lookahead). The key innovation is recognizing that diffusion-based drafters, a newer alternative to autoregressive drafters, naturally produce rich probability distributions that can be exploited for multi-hypothesis generation. This extends prior tree-structured speculative decoding (which relied on deterministic or narrow sampling strategies) by grounding tree construction in the drafter's learned distributions. The paper positions itself at the intersection of efficient LLM inference and generative modeling, opening a research direction on how to better leverage alternative model classes (diffusion, consistency, flow-based) as drafters. Future work likely includes adaptive tree construction, extending DDTree to longer blocks, and validating on diverse model sizes and architectures.


:::tip Subscribe Get weekly breakdowns of papers like this in AI Letters - the newsletter for engineers building production AI systems. :::


Back to Research Lab → · Subscribe to AI Letters →

© 2026 EngineersOfAI. All rights reserved.