PRESTO: Prefix-Aligned Tree Drafting for Diffusion Speculative Decoding

Zheng Wang, Zhifan Ye, Qi Cheng, Yonggan Fu, Ziyan Wang, Feng Zhu, Haozhe Zhao, Humphrey Shi, Pavlo Molchanov, Minjia Zhang

TL;DR

PRESTO is a principled framework that brings tree-based drafting to diffusion-based speculative decoding, overcoming the "prefix-blindness" of diffusion models. By aligning parallel token proposals with the sequential nature of LLM verification, PRESTO achieves up to a 1.5x throughput speedup over state-of-the-art diffusion drafters.

What Problem Does This Paper Address?

Speculative Decoding (SD) is a popular technique to accelerate Large Language Model (LLM) inference. It uses a small "drafter" model to guess a sequence of tokens, which a large "target" model then verifies in a single pass. Recently, Diffusion LLMs (dLLMs) have emerged as excellent drafters because they can generate an entire block of tokens in parallel, rather than one-by-one.

However, most diffusion-based SD currently uses "linear drafting"—it only proposes a single path of tokens. In the autoregressive world, "tree-based drafting" (proposing multiple branching paths) has proven much more efficient because it gives the target model more chances to find a correct continuation.

The challenge is that diffusion models are prefix-blind. They predict tokens at each position based on a global signal, but they don't account for how a choice at position 1 might make a choice at position 2 invalid. This creates a fundamental mismatch with the target LLM, which verifies tokens sequentially (prefix-conditioned). Naively building a tree from diffusion outputs leads to poor path ranking and low acceptance rates.

Methods

The authors introduce PRESTO (PREfix-aligned Scoring and priority-based Tree search for diffusion Operations) to bridge this gap through two main innovations:

  1. Prefix-Aligned Scoring: Since diffusion models provide "marginal" probabilities (likelihood of a token at a position regardless of previous tokens), PRESTO applies a minimal correction. It combines the diffusion output with a prefix-dependent signal (in this case, a simple 3-gram model). This "product-of-experts" approach ensures the draft scores actually reflect the sequential logic the target model will use during verification.
  2. Priority-Based Tree Construction: Using these new scores, PRESTO builds a draft tree using either Best-First Search (BFS) or Beam Search with Global Retention. This allows the system to allocate its "drafting budget" to the most promising paths across the entire sequence, rather than just picking the top-1 token at every slot.

The framework is versatile: it works for dedicated drafting (a separate small diffusion model) and self-speculative drafting (where a single model acts as its own drafter and verifier).

Datasets

The authors evaluated PRESTO across a wide array of standard benchmarks:

  • Math: GSM8K, MATH-500, AIME24, and AIME25.
  • Code: HumanEval, MBPP, LiveCodeBench, and SWE-Bench.
  • General/Chat: MT-Bench and Alpaca.

They tested these on state-of-the-art models including Qwen3-4B/8B-DFlash (dedicated diffusion drafters) and Nemotron-Labs-Diffusion-8B (a self-speculative dLLM).

Key Insights and Ideas

  • The "Marginal" Trap: The most important insight is identifying why trees didn't work for diffusion before. Diffusion models are great at "global" trends but bad at "local" dependencies. A token might look highly probable in isolation but be impossible given the specific words that came before it.
  • Minimal Correction is Sufficient: Surprisingly, you don't need a complex second LLM to fix the diffusion model's prefix-blindness. A simple, lightweight n-gram model provides enough "directional correction" to significantly improve path ranking.
  • Stochastic Strength: PRESTO is particularly effective during stochastic decoding (temperature > 0). When there is uncertainty, a linear drafter is likely to guess wrong; PRESTO’s tree structure preserves multiple plausible futures, greatly increasing the odds that the target model finds a path it likes.
  • Negligible Overhead: The computational cost of building the tree and calculating the prefix-aligned scores is tiny—contributing only 0.7% to 4% of total latency—while the gains in throughput are substantial.

Key Results

  • Throughput Gains: PRESTO achieved an average of 1.5x speedup on the dFlash dedicated drafter and 1.12x on self-speculative models compared to linear drafting.
  • Acceptance Length: On the Qwen3-4B-DFlash model, the average number of accepted tokens per step jumped from ~6.0 to 8.8.
  • Consistency: The performance gains were consistent across math, code, and conversation tasks, proving the framework's robustness.
  • Efficiency: Under quadratic self-speculation (where the model verifies and drafts in one pass), PRESTO increased speedups from 2.6x to 3.5x on the NLD-8B model.

Limitations and Future Work

  • N-gram Limitations: While 3-grams work well, they have a limited "memory." Future work could explore more sophisticated but still lightweight prefix signals.
  • Batch Size Scaling: The current study focuses on a batch size of 1. Characterizing how PRESTO behaves under the large batch sizes typical of production environments (like vLLM) remains an open area for research.
  • Hyperparameter Tuning: The framework relies on a scaling factor ($\lambda_d$) to balance the diffusion signal and the prefix correction. While the authors found a stable value ($\approx 0.2$), this might require tuning for vastly different model architectures.

Summary updated

BibTeX
@inproceedings{wang2026presto,
  author = {Zheng Wang and Zhifan Ye and Qi Cheng and Yonggan Fu and Ziyan Wang and Feng Zhu and Haozhe Zhao and Humphrey Shi and Pavlo Molchanov and Minjia Zhang},
  title = {{PRESTO: Prefix-Aligned Tree Drafting for Diffusion Speculative Decoding}},
  booktitle = {Efficient Reasoning @ COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=89sGK4cJ2N},
}
Figure