Manuscript Offprint

arXiv:2610.11750

Where Draft Trees Lose Target Mass: Exit-Guided Speculative Decoding

Shijing Hu, Xuancheng Ren, Zhihui Lu, Pan Zhou

ABSTRACT

Tree-based speculative decoding organizes draft tokens into a bounded tree so that multiple continuations can be verified in one target-model pass. However, the tree is constructed from draft-side scores while its usefulness is ultimately determined by the target model, creating a fundamental draft–target mismatch under a finite tree budget. We study two questions: once a draft tree is fixed, can a better exact verifier accept more draft tokens, and if not, how can target feedback improve the tree itself? We answer both through a target-flow view of the fixed draft tree. We identify a canonical exit law that describes where target continuations leave the tree, and prove that one plus the resulting target coverage is a sharp upper bound on the expected output-block length, including the bonus token, of any exact path verifier. Moreover, every verifier attaining this ceiling must realize the same exit and bonus-token law; representative predraw-and-follow and sequential residual verifiers already attain it. This theory directly yields Tree Exit Verification (TEV), an exact verifier that realizes the canonical law through one exit-node decision and one bonus-token decision, exposing a regular, level-parallel verification procedure. The same exit law also localizes where target probability is missing from the current tree. We use it as node-level feedback to train the drafter on its inference-time draft trees, reallocating finite tree budget toward target-relevant regions. Experiments across dialogue, code, and mathematical reasoning validate the fixed-tree equivalence, show that the Exit-Guided Draft-Tree Training (ExitTrain) improves average output-block length by 13%, and that TEV reduces verifier-stage latency by 15%, yielding 14% end-to-end speedup over DDTree. Together, our results separate the two remaining opportunities in bounded tree speculative decoding: better draft trees for higher acceptance, and more direct verification for lower latency. Code is available at https://github.com/hsj576/TEV.

1 INTRODUCTION

Large language models (LLMs) decode autoregressively, requiring an expensive target-model forward pass per token. Speculative decoding reduces this cost by using a lightweight draft model to propose future tokens that the target verifies in parallel (Leviathan et al., 2023; Chen et al., 2023). While early methods draft a single sequence, recent systems organize many draft tokens into a tree, allowing multiple possible continuations to share one target-model verification pass (Miao et al., 2024; Chen et al., 2024; Li et al., 2024b; 2025). Tree speculative decoding can therefore be viewed as three stages: the drafter proposes draft tokens and their scores; the tree builder selects and organizes a limited number of them into a draft tree; and the verifier uses the target model to determine how far generation can safely follow a path in that tree while preserving the target distribution. Existing systems implement verifier differently. DDTree's predraw-and-follow verifier samples a target token at each tree node and follows a matching drafted child (Ringel & Romano, 2026), whereas EAGLE-style sequential residual verifier tests drafted children sequentially while updating the remaining target probability (Li et al., 2025). DFlash with DDTree provides one concrete realization of this drafter-builder-verifier pipeline (Chen et al., 2026; Ringel & Romano, 2026).

∗^{*}Corresponding author.

(a) Draft-optimal tree can miss target mass

Figure

(b) Different verification mechanics non a fixed tree

Prior exact verifiers

TEV (ours)

Predraw: node-wise draws

Sequential: node-wise tests

TEV: direct exit sampling

residual bonus from exit

② walk ③ walk ④ stop and sample

① exit ② sample

(c) Exit-guided training improves coverage

same budget B: reallocate nodes

toward high-exit boundaries

Figure

Figure 1: Target-flow view of tree speculative decoding. Blue denotes selected draft prefixes, gray dashed branches omitted candidates, red target-probability flow, and green reallocated tree budget. (a) Under a finite budget, draft-score-based tree construction can miss target-important branches, causing target mass to exit the tree. (b) On a fixed tree, prior exact verifiers realize the same optimal acceptance law through node-wise draws or tests, whereas TEV realizes it by direct exit-node sampling followed by bonus-token sampling. (c) Exit-guided training reallocates budget toward high-exit boundaries, improving target-mass coverage and output-block length.

Under a fixed tree budget, the draft tree determines which future prefixes can be verified in a single target forward pass. Among exponentially many possible prefixes, only a small number can appear in the tree. Since the tree must be built before the target model evaluates it, practical builders rely on draft-model scores (e.g., confidence) to decide which branches to keep (Li et al., 2024b; 2025; Ringel & Romano, 2026). Yet the usefulness of those branches is ultimately determined by the target model. When the draft and target prefer different continuations, limited tree budget may be spent on branches that look promising to the drafter but are rarely followed by the target, while target-likely branches remain insufficiently expanded in the tree. Fig. 1(a) illustrates this draft-target tree-allocation gap. Although we use DDTree as our main instantiation, the same mismatch arises whenever draft-side information is used to construct a bounded draft tree before target verification.

This mismatch raises two fundamental questions. First, once a draft tree is fixed, how much freedom remains in exact verification? Recent work like HSD (Zhou et al., 2026) shows that improved verification can increase acceptance for a sampled draft chain. So can another exact verifier similarly accept more tokens from the same tree, or have existing exact verifiers already reached the tree's maximum achievable acceptance, leaving only execution efficiency to optimize? Second, if existing verifiers already saturate the fixed-tree ceiling, how can target-model feedback improve future draft trees? Can we identify where target probability leaves the tree and use this signal to allocate the limited tree budget more effectively? These questions reveal two opportunities in tree speculative decoding: how much target probability the tree covers, and how efficiently that support is verified.

Our approach and contributions. We answer the both questions through a unified target-flow view of the realized draft tree. First, we develop a verifier-independent theory showing that the maximum expected output-block length on a fixed tree is one plus the target probability mass covered by the selected support. This theory exposes a canonical target-exit law, from which we derive Tree Exit Verification (TEV) as a direct and implementation-friendly realization of optimal fixed-tree verification. Finally, we use the same exit law as node-resolved training feedback to improve target-mass coverage under a finite tree budget, thereby increasing draft acceptance. Fig. 1 summarizes these three contributions.

First, we characterize the acceptance limit of exact path verifiers on a fixed tree: the maximum expected output-block length equals one plus its target-mass coverage, and every verifier attaining this bound induces the same canonical exit-node and bonus-token law. DDTree's predraw-and-follow (Ringel & Romano, 2026) and EAGLE-style exact sequential residual verification (Li et al., 2025) realize this law and thus have identical accepted-path distributions on the same tree. Once verification is saturated, higher acceptance requires better tree coverage, not a different verifier.

Second, we derive Tree Exit Verification (TEV), an exact, direct realization of this optimal law. Rather than using auxiliary per-node samples or sequential residual decisions, TEV samples an exit node directly and then a bonus token from its target residual (Fig. 1(b)). It preserves the fixed-tree acceptance ceiling while enabling sibling-order-invariant, level-parallel, fixed-shape execution: statistical saturation does not imply computational saturation.

Third, we introduce Exit-guided Draft-Tree Training (ExitTrain) to improve finite-budget tree coverage. ExitTrain evaluates the draft tree with the frozen target under actual tree-parent contexts and uses exit mass to reweight draft likelihoods, guiding budget allocation toward high-impact exit boundaries (Fig. 1(c)). Unlike token- or feature-level alignment (Zhang et al., 2025; Hu et al., 2025; Li et al., 2025), position-wise distillation (Lei et al., 2026), or scalar tree-reward optimization (Hu et al., 2026), this supervision localizes uncovered target mass directly on the draft tree.

Finally, we evaluate ExitTrain + TEV across dialogue, code, and mathematical reasoning benchmarks and multiple target-model families, against DFlash (Chen et al., 2026), DDTree (Ringel & Romano, 2026), and Draft-OPD (Lei et al., 2026). Relative to DDTree with the same tree builder and budget, our system improves average output-block length (including the bonus token) by up to 13% and decode throughput by up to 14%. Separately, replacing predraw verification with TEV reduces verifier-stage latency by 15% without changing saturated expected output-block length on a fixed tree. These results support two complementary gains: better trees for higher acceptance and direct verification for lower latency.

References (58)

  • Medusa: Simple LLM inference acceleration framework with multiple decoding heads
  • Accelerating large language model decoding with speculative sampling (opens arXiv in a new tab)
  • DFlash: Block diffusion for flash speculative decoding
  • Evaluating Large Language Models Trained on Code
  • Sequoia: Scalable and robust speculative decoding
  • Recurrent drafter for fast speculative decoding in large language models (opens arXiv in a new tab)
  • Training Verifiers to Solve Math Word Problems
  • Gemma 4 Technical Report
  • The Llama 3 Herd of Models
  • Verification-Aware Training for Speculative Decoding
  • Measuring mathematical problem solving with the MATH dataset
  • GRIFFIN: Effective token alignment for faster speculative decoding
  • Bridging draft policy misalignment: Group tree optimization for speculative decoding
  • Draft-opd: On-policy distillation for speculative draft models (opens arXiv in a new tab)
  • Fast inference from transformers via speculative decoding
  • DARTree: Speculative Diffusion Decoding with Autoregressive Draft Trees
  • EAGLE: Speculative sampling requires rethinking feature uncertainty
  • EAGLE-2: Faster inference of language models with dynamic draft trees (opens the publisher in a new tab)
  • EAGLE-3: Scaling up inference acceleration of large language models via training-time test
  • Online speculative decoding
  • Specinfer: Accelerating large language model serving with tree-based speculative inference and verification (opens the publisher in a new tab)
  • Accelerating speculative decoding with block diffusion draft trees (opens arXiv in a new tab)
  • Specexec: Massively parallel speculative decoding for interactive LLM inference on consumer devices
  • Opt-tree: Speculative decoding with adaptive draft tree structure
  • The perfect blend: Redefining RLHF with mixture of judges, 2024 (opens arXiv in a new tab)
  • Qwen3 Technical Report
  • Adaptive speculative decoding with reinforcement learning
  • Learning harmonized representations for speculative sampling
  • Judging LLM-as-a-judge with MT-Bench and chatbot arena
  • Distillspec: Improving speculative decoding via knowledge distillation
  • Overcoming joint intractability with lossless hierarchical speculative decoding
  • Variational speculative decoding: Rethinking draft training from token likelihood to sequence acceptance
  • Construct the joint coupling by first drawing $\mathcal{T} \sim Q(\cdot \mid c)$, then $U \sim R(\cdot \mid c, \mathcal{T})$, and finally $(O, Z, L)$ from $\Gamma_{\mathcal{T}, U}$
  • Thus, conditional non-anticipating exactness is preserved after marginalizing over random tree construction and auxiliary randomness
  • Summing Equation 25 over the subtree rooted at a node u cancels every descendant prefix probability and gives
  • Using Equation 26 and exchanging the order of summation
  • Consequently
  • Because the draft tree is finite, these equalities hold simultaneously for all nodes outside a single null event
  • Since the verifier output satisfies $O = \pi(V) \parallel Y = Z_{1:L}$ with $L = \mathrm{d}(V) + 1$, $Y$ is the target token immediately after $\pi(V)$
  • This proves Equation 10 and the uniqueness of the accepted-path and bonus-token law at saturation
  • Starting from the root, it follows child $u \in \text{Ch}(v)$ if $R_v = x_u$; otherwise it exits at $v$ and returns $R_v$ as the bonus token
  • The procedure reaches $v$ exactly when $D_{v_{i-1}} = x_{v_i}$ for all $i = 1, \ldots, d$
  • Thus the accepted-path and bonus-token law matches the target-induced law, so predraw-and-follow is exact
  • If all children are rejected, it draws the bonus token from $g^{(k)}$
  • Multiplying the child-transition probabilities along a root-to-v path gives reach probability $P(v)$ and exit probability $w(v)$
  • Conditioned on an internal exit at $v$ with $w(v) > 0$, the next target token lies outside $\mathcal{A}(v)$ and therefore follows $p_v^{\text{res}}$; conditioned on a leaf exit, it follows $p_v$
  • Using Equation 26
  • If the draft tree is random, the same conclusion follows by conditioning on the realized tree and applying Appendix A.1
  • Write $u = (v, a)$ for the new child and $\mathcal{T}^{+} = \mathcal{T} \oplus (v, a)$ for the tree obtained by adding only this node
  • The minibatch normalization in Equation 14 is applied after this numerator is computed
  • Corollary 1 guarantees identical fixed-tree expected acceptance for Predraw and TEV at every budget
  • Averaged over tasks, the reduction grows from $12.9\%$ to $15.2\%$ to $24.3\%$ as $B$ increases from 32 to 64 to 128 at $T = 0.6$; the corresponding reductions at $T = 1.0$ are $12.0\%$, $14.0\%$, and $17.1\%$
  • The comparison reports end-to-end speedup and output-block length at $T = 1$; verifier-stage latency is isolated separately in Table 3
  • TEV nevertheless improves average $SR$ from $4.95\times$ to $4.97\times$ with the original drafter and from $5.55\times$ to $5.59\times$ with the exit-trained drafter
  • >Drafter</td><td rowspan=
  • ExitTrain is trained at $B = 64$ and evaluated at every budget without retraining
  • This separates improved tree allocation from the smaller verifier-execution gain
  • Every evaluation configuration uses one NVIDIA H20-96G GPU. We evaluate 128 GSM8K examples, all 164 HumanEval problems, 128 MATH-500 examples, and 80 MT-Bench questions; GSM8K, HumanEval, and MATH-500 are repeated three times and MT-Bench twice