Dynamic Delayed Tree Expansion For Improved Multi-Path Speculative Decoding

Rahul Krishna Thomas, Teo Kitanovski, Micah Goldblum, Arka Pal

TL;DR

Generating text with massive LLMs is agonizingly slow, so engineers use smaller "draft" models to guess whole trees of upcoming words for the big model to verify in a single gulp. This paper uncovers a hidden flaw in how we build those trees: branching out immediately wastes compute on easy, obvious guesses, starving the deeper, harder predictions where multiple options actually help. By simply waiting a few steps before branching—and training a tiny neural network to decide when and how wide to branch on the fly—the authors boost LLM decoding throughput by up to 26% without losing a shred of accuracy.

What Problem Does This Paper Address?

Autoregressive LLMs generate text one token at a time, leaving powerful GPUs twiddling their thumbs waiting on memory bandwidth. Speculative decoding fixes this by having a tiny, fast draft model guess several tokens ahead, which the massive target model checks in parallel. Better yet, multi-path speculative decoding has the draft model propose a branching tree of possibilities, hedged against uncertainty.

To guarantee the final output is mathematically identical to what the target model would have produced alone (lossless sampling), you need a specialized verification algorithm to prune and accept branches. Researchers have invented plenty of these—mostly top-down methods based on Optimal Transport (OT), plus a bottom-up method called Traversal Verification. Yet, nobody had ever put them in a fair, controlled head-to-head race across identical models, tasks, and sampling temperatures. Which verifier actually wins, and why?

Methods

First, the authors run the first systematic benchmark of single-path and multi-path verification algorithms (like SpecInfer, SpecTr, NaiveTree, and Traversal) across Llama-3, Qwen-2.5, and Gemma-3 families.

Discovering that standard root-level branching hobbles OT-based verifiers, they introduce two novel techniques:

  1. Delayed Tree Expansion: Instead of immediately branching into $K$ parallel paths at the root context, the draft model generates a single chain of length $L_1$ first, and only then splits into $K$ independent branches of length $L_2$. Crucially, the authors prove this still preserves the exact target distribution.
  2. Neural Delayed Expansion (NDE): Because the ideal tree shape depends heavily on context—a predictable code snippet needs a different tree than creative fiction—a static $(K, L_1, L_2)$ configuration falls short. The authors train a lightweight two-layer MLP selector. Before drafting, it glances at cheap root-node features (previous hidden states, entropy, sampling settings, and hardware latency) and predicts the exact $(K, L_1, L_2)$ action that maximizes expected tokens-per-second.

Datasets

No new benchmarks are introduced, as the focus is evaluating generation speed across diverse workloads. For benchmarking and training the NDE selector (using 350 training prompts per dataset and held-out test sets), the authors use five datasets:

  • MATH500 & OlympiadBench (mathematical reasoning)
  • LiveCodeBench (code generation)
  • LitBench (creative writing)
  • Opus (translation across English, French, Spanish, and Italian)

To test out-of-distribution generalization, they also evaluate on CRAG (RAG), GovReport (summarization), and IFBench (instruction-following).

Key Insights and Ideas

  • Bottom-up verification crushes top-down OT (at first): Under standard root-branching, Traversal Verification beats every OT-based method by ~15% in both accepted tokens and throughput. Why? Top-down OT methods must survive a gauntlet of sequential coin flips from the root, making deep traversal exponentially hard, whereas Traversal evaluates paths from the leaves up.
  • Branching at the root is wasted effort: Looking at over 200,000 draft trees, the authors found that near the root (depth 0–1), the draft and target models largely agree. Around depth 2, their probability distributions sharply diverge ($L_1$ distance spikes), and token acceptance plummets. Standard multi-path drafting burns its branching budget right at the start where guesses are already ~95% accurate, rather than saving token diversity for deeper nodes where the draft model starts losing the plot.
Figure 1: We generate 200,000+ draft (Llama-3 8B-Instruct) trees from roots of target model (Llama-3 70B-Instruct) trajectories and compute both L1 target-draft distance and average OTLP acceptances across varying draft tree depths. The divergence between target and draft distributions spikes deeper in the tree, and acceptances across all OTLP methods consistently decrease with depth.
  • Big model-size gaps love dynamic trees: NDE delivers its biggest wins when the draft model is tiny compared to the target (like Gemma-3 27B paired with a 270M draft model). When proposal distributions wildly diverge depending on context difficulty, dynamically throttling or delaying tree expansion prevents massive compute waste.

Key Results

  • Baseline Benchmark: Traversal Verification leads all existing methods with an average throughput of 15.89 tokens/sec across models, beating the best OT method, SpecInfer (13.55 tokens/sec).
Table 2: Average block efficiency (tokens/call) and throughput (tokens/sec) across datasets and sampling configurations of existing verification algorithms. For more detailed data, see Section H.
  • Redeeming OT Verifiers: Adding NDE boosts existing verifiers by ~10% in block efficiency and ~25% in throughput on average (reaching up to 2.17x faster on Gemma). With NDE, SpecInfer reaches 16.69 tokens/sec, outperforming standard Traversal Verification by 5% for the first time.
  • New State-of-the-Art: Applying NDE to Traversal Verification improves its average throughput by 26% across Qwen, Gemma, Llama, and Olmo setups.
  • Strong Generalization & Low Overhead: On unseen tasks (RAG, summarization, instruction following), SpecInfer-NDE achieves 2.30x to 2.79x throughput gains over static SpecInfer. At inference time, the neural selector adds just 0.55% wall-time overhead.

Limitations and Future Work

  • Offline Setup Cost: Training NDE isn't free—collecting traces and estimating block efficiencies offline took roughly 400–480 GPU hours for Qwen (though traces can be reused across different GPUs with quick latency recalibration).
  • Diminishing Returns for Strong Drafts: On Llama-3 (70B target / 8B draft), the 8B draft model is already so capable that the optimal tree depth hits the maximum limit 55% of the time, leaving less room for dynamic switching and requiring extra regularization to prevent the selector from overfitting Llama's large hidden states (yielding smaller 2%–12% gains).
  • Future Directions: The authors suggest scaling evaluations to longer generation lengths, designing more robust block-efficiency training objectives, and combining NDE with deterministic/hybrid drafting frameworks like EAGLE.

Summary updated

Abstract

Multi-path speculative decoding accelerates lossless sampling from a target model by using a cheaper draft model to generate a draft tree of tokens, and then applies a verification algorithm that accepts a subset of these. While prior work has proposed various verification algorithms for i.i.d rollouts, their relative performance under matched settings remains unclear. In this work, we firstly present a systematic evaluation of verification strategies across model families, tasks, and sampling regimes, and find that Traversal Verification dominates consistently, with OT-based methods lagging far behind. Our analysis uncovers that this occurs because OT-based methods achieve high multi-token acceptance near the root of the draft tree, while multi-token gains are most impactful deeper in the draft tree, where draft and target distributions diverge. Based on this insight, we propose delayed tree expansion} which drafts a partial single path, delaying the i.i.d. branching point. We show that delayed tree expansion preserves the target distribution and improves on root-node i.i.d rollouts. Further, we develop a dynamic neural selector that estimates the expected block efficiency of OT-based verification methods from draft and target features, enabling context-dependent expansion decisions. Our neural selector allows OT-based methods like SpecInfer to outperform Traversal Verification for the first time, with 5\% higher average throughput across a wide range of models, datasets, and sampling settings. Finally, we extend our approach to Traversal Verification to improve its average throughput by 26\%.
BibTeX
@inproceedings{thomas2026dynamic,
  author = {Rahul Krishna Thomas and Teo Kitanovski and Micah Goldblum and Arka Pal},
  title = {{Dynamic Delayed Tree Expansion For Improved Multi-Path Speculative Decoding}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=1oCU9PKaoy},
}
Figure