Paper deep dive
Trajectory-Level Speculative Decoding for Diffusion Language Models
Tianxiang Pan, Baitao Gong, Mo Guang, Hongwei Yong, Tianpeng Jiang, Yaqian Li, Zheng Cao, Kaiwen Long
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 93%
Last extracted: 8/31/2026, 2:56:29 AM
Summary
This paper introduces a trajectory-level speculative decoding framework for diffusion-based language models (dLLMs) to address the 'low-confidence degeneration' problem where parallel decoding collapses to single-token generation. Unlike autoregressive models, dLLMs require speculation over denoising trajectories (sequences of multi-token updates with specific positions and unmasking orders). The proposed method constructs draft trajectories via confidence-stratified tree exploration and verifies them using blockwise parallel evaluation with bidirectional attention masking. It also introduces inter-block speculation for cross-block lookahead. Built on Fast-dLLM's infrastructure, the framework reduces denoising iterations by 30-40% and increases tokens-per-step from 2.6 to 4.3, achieving a 7-14x speedup over vanilla dLLMs and 1.3x over Fast-dLLM with minimal accuracy loss.
Entities (7)
Relation Signals (6)
Trajectory-Level Speculative Decoding â buildson â Fast-dLLM
confidence 95% ¡ Building on Fast-dLLMâs dual-cache infrastructure, our framework reduces denoising iterations by 30-40%
Trajectory-Level Speculative Decoding â improves â Diffusion-based Language Models
confidence 95% ¡ Our method further introduces inter-block speculation... achieving 7-14x speedup over vanilla dLLMs
Low-Confidence Degeneration â affects â Diffusion-based Language Models
confidence 92% ¡ existing decoding strategies collapse to single-token generation under low confidence, severely limiting throughput
Blockwise Parallel Verification â partof â Trajectory-Level Speculative Decoding
confidence 90% ¡ verifies them through blockwise parallel evaluation with bidirectional attention masking
Inter-Block Speculation â partof â Trajectory-Level Speculative Decoding
confidence 90% ¡ Our method further introduces inter-block speculation
Tree-Based Draft Trajectory Generation â partof â Trajectory-Level Speculative Decoding
confidence 90% ¡ constructs draft denoising trajectories via confidence-stratified tree exploration
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Diffusion-based language models (dLLMs) enable parallel token generation through iterative denoising, but existing decoding strategies collapse to single-token generation under low confidence, severely limiting throughput. Unlike autoregressive models where speculative decoding operates on token sequences in a fixed left-to-right order, dLLMs require speculating over denoising trajectories-sequences of multi-token updates with explicit positions and unmasking orders. We develop a trajectory-level speculative framework that constructs draft denoising trajectories via confidence-stratified tree exploration and verifies them through blockwise parallel evaluation with bidirectional attention masking. Our method further introduces inter-block speculation, exploiting diffusion models' bidirectional structure to perform cross-block lookahead. We formally characterize when this approach is exact and identify trajectory drift as the fundamental cost of increased parallelism. Building on Fast-dLLM's dual-cache infrastructure, our framework reduces denoising iterations by 30-40% and increases tokens-per-step from 2.6 to 4.3, achieving 7-14x speedup over vanilla dLLMs and 1.3x over Fast-dLLM with less than 1% accuracy change across reasoning and code benchmarks.
Tags
Links
- Source: https://arxiv.org/abs/2608.27514v1
- Canonical: https://arxiv.org/abs/2608.27514v1
Trouble viewing inline? Open PDF directly â
Full Text
55,530 characters extracted from source content.
Expand or collapse full text
Trajectory-Level Speculative Decoding for Diffusion Language Models Tianxiang Pan Affiliation: Li Auto Inc., Shanghai, China Baitao Gong Affiliation: Li Auto Inc., Shanghai, China Mo Guang Affiliation: Li Auto Inc., Shanghai, China Hongwei Yong Affiliation: Li Auto Inc., Shanghai, China Tianpeng Jiang Affiliation: Li Auto Inc., Shanghai, China Yaqian Li Affiliation: Li Auto Inc., Shanghai, China Correspondence to: liyaqian@lixiang.com Zheng Cao Affiliation: Li Auto Inc., Shanghai, China Kaiwen Long Affiliation: Li Auto Inc., Shanghai, China Abstract Diffusion-based language models (dLLMs) enable parallel token generation through iterative denoising, but existing decoding strategies collapse to single-token generation under low confidence, severely limiting throughput. Unlike autoregressive models where speculative decoding operates on token sequences in a fixed left-to-right order, dLLMs require speculating over denoising trajectoriesâsequences of multi-token updates with explicit positions and unmasking orders. We develop a trajectory-level speculative framework that constructs draft denoising trajectories via confidence-stratified tree exploration and verifies them through blockwise parallel evaluation with bidirectional attention masking. Our method further introduces inter-block speculation, exploiting diffusion modelsâ bidirectional structure to perform cross-block lookahead. We formally characterize when this approach is exact and identify trajectory drift as the fundamental cost of increased parallelism. Building on Fast-dLLMâs dual-cache infrastructure, our framework reduces denoising iterations by 30-40% and increases tokens-per-step from 2.6 to 4.3, achieving 7-14Ă speedup over vanilla dLLMs and 1.3Ă over Fast-dLLM with less than 1% accuracy change across reasoning and code benchmarks. Keywords: Machine Learning, Diffusion Models, Language Models, Speculative Decoding â affiliationnotice: Equal contribution 1 Introduction Speculative decoding has emerged as a powerful technique for accelerating autoregressive language models (Leviathan et al., 2023; Chen et al., 2023), enabling multiple tokens to be generated per forward pass through draft-and-verify mechanisms. However, these methods fundamentally rely on the causal, left-to-right structure of autoregressive generation and cannot be directly applied to diffusion-based language models (dLLMs) (Nie et al., 2026; Ye et al., 2025), which generate text through iterative parallel denoising rather than sequential token prediction. Diffusion language models offer parallelism advantages: unlike autoregressive models that generate tokens sequentially, dLLMs can decode multiple tokens per denoising step. However, existing strategies (threshold-based or top-k selection) work well under high confidence but collapse to single-token generation when confidence is lowâlow-confidence degenerationâseverely limiting throughput. Motivating observation. Through empirical analysis on Fast-dLLM (Wu et al., 2025), we observe that low-confidence degeneration events occur in over 80% of decoding steps across reasoning and code-generation benchmarks. This severely limits throughput: while the model has the capacity to decode 32 tokens per step (one block), it often decodes only 1-3 tokens. Crucially, we find that even when a position has low confidence, the correct token frequently appears in the top-k candidates (kâ3kâ 3). This suggests an opportunity: rather than discarding low-confidence positions, we can speculate over multiple candidate trajectories in parallel and verify them jointly. Figure 1: Visualization of low-confidence degeneration in parallel decoding for dLLMs. When confidence drops below threshold, existing methods collapse to single-token generation, severely limiting throughput despite dLLMsâ inherent parallel capacity. Why existing speculative decoding fails for dLLMs. Autoregressive speculative decoding (Cai et al., 2024; Li et al., 2024) operates in token space: it constructs draft token sequences in a fixed left-to-right order and verifies them using causal masking. This design exploits the deterministic structure of causal generation. In contrast, diffusion models generate through trajectory spaceâiterative refinement where tokens are unmasked in arbitrary order via bidirectional attention. A âdraftâ in this setting must specify not just token identities, but also their positions and unmasking order across multiple denoising steps. This fundamental difference renders token-space speculation insufficient: diffusion models require trajectory-space speculation over sequences of multi-token updates, verified through blockwise attention that isolates competing denoising paths while preserving bidirectional dependencies. Our approach: trajectory-level speculation. We develop a framework operating in trajectory space, constructing and verifying candidate denoising trajectoriesâcomplete sequences of block-level updates with explicit ordering and positions. This requires three components absent in token-space speculation: (1) Tree-based draft trajectory construction. We construct a tree where each path encodes a complete denoising trajectory (not just token sequences). Nodes represent block-level updates, and paths capture alternative unmasking orders, exploiting the any-order generation capacity of diffusion models. (2) Blockwise parallel verification. We design a blockwise attention masking scheme that isolates trajectory branches during verification while preserving bidirectional attention to context. This enables parallel evaluation of multiple independent denoising paths in a single forward passâstructurally different from causal verification in AR models. (3) Inter-block speculation. Exploiting bidirectional visibility unique to diffusion models, we introduce cross-block lookahead: monitoring confidence in block Bt+1B_t+1 while decoding BtB_t, and triggering joint speculation when conditions allow. This segmented parallelism has no analog in left-to-right AR decoding. Relationship to infrastructure and baselines. Our work builds on Fast-dLLM (Wu et al., 2025), which introduced a dual-cache mechanism that reduces per-step computation by reusing key-value activations of prefix and suffix tokens within each block. This provides the systems-level infrastructure on which our algorithmic contribution operates. Fast-dLLMâs dual cache addresses per-step efficiency; our trajectory-level speculation addresses the number of steps required. The two optimizations are orthogonal and cumulative: Fast-dLLM reduces FLOP per step, while our method reduces steps overall. We evaluate our approach against Fast-dLLM (Dual Cache) as the baseline, demonstrating a 30% reduction in end-to-end latency and a 40% reduction in denoising iterations on top of this already-optimized system. Contributions. Our main contributions are: ⢠We identify low-confidence degeneration as a fundamental bottleneck in parallel diffusion decoding and formulate it as a trajectory-space speculation problemâshowing that correct tokens often appear in top-k candidates even under low confidence. ⢠We develop a trajectory-level speculative decoding framework for dLLMs that operates over complete denoising paths rather than token sequences, including: (1) tree-based trajectory construction with confidence-stratified expansion, (2) blockwise parallel verification that isolates trajectory branches while preserving bidirectional context, and (3) inter-block speculation exploiting cross-block lookahead unique to bidirectional models. ⢠We establish formal conditions under which trajectory-space speculation is exact (Theorem 1), characterize trajectory drift as the fundamental cost of increased parallelism, and provide acceptance rate bounds that justify our hybrid tree design. ⢠Empirically, our method reduces denoising steps by 30-40%, increases tokens-per-step from 2.6 to 4.3, and achieves 7-14Ă speedup over vanilla dLLMs and 1.3Ă over Fast-dLLM, with less than 1% accuracy change across reasoning and code benchmarks. 2 Background and Related Work 2.1 Masked Diffusion Language Models Masked Diffusion Language Models (MDLMs) (Sahoo et al., 2024; Zheng et al., 2024) formulate text generation as an iterative denoising process. Given a target sequence 0=(x1,âŚ,xn)x_0=(x_1,âŚ,x_n), the forward diffusion gradually masks tokens: q(tâŁtâ1)=âi=1n[(1âβt)δ(xt,i=xtâ1,i)+βtδ(xt,i=[MASK])], splitq(x_t _t-1)= _i=1^n [(1- _t)\,δ(x_t,i=x_t-1,i)\\ + _t\,δ(x_t,i=[MASK]) ], split (1) where βt _t is the corruption rate. The reverse process pθâ(tâ1âŁt)p_θ(x_t-1 _t) progressively denoises masked positions back to concrete tokens. Representative models include LLaDA (Nie et al., 2026), Dream (Ye et al., 2025), and Seed (Song et al., 2025). Parallel decoding strategies. Two primary approaches exist for parallel decoding in dLLMs: (1) Top-k decoding (Nie et al., 2026) selects the k most confident tokens at each step, guaranteeing fixed parallelism but risking accuracy when low-confidence tokens are included. (2) Threshold-based decoding (Wu et al., 2025) accepts all tokens exceeding confidence threshold Ď, adapting parallelism to model certainty but collapsing to top-1 when no token passes the threshold. Both strategies exhibit low-confidence degeneration: when faced with uncertain positions, they revert to single-token generation, severely limiting throughput. 2.2 Speculative Decoding in Autoregressive Models Speculative decoding (Leviathan et al., 2023; Chen et al., 2023) accelerates autoregressive LLMs by drafting candidate continuations and verifying them in parallel. Representative methods include: Multi-model approaches (Xia et al., 2023; Miao et al., 2024) use a lightweight draft model to propose candidates, which a target model then verifies. Self-speculative methods (Cai et al., 2024; Li et al., 2024) derive drafts from the target model itself using additional prediction heads or cached representations. Why autoregressive speculation does not transfer to dLLMs. Autoregressive speculative decoding relies on three properties absent in diffusion models: 1. Fixed generation order: Tokens are always generated left-to-right, so draft construction is deterministic given the prompt. 2. Causal verification: A single forward pass with causal masking suffices to verify all draft positions in parallel. 3. Exact acceptance: The verification procedure is mathematically losslessâaccepted tokens match exactly what the target model would have produced. Diffusion models violate all three: they use bidirectional attention, generate tokens in arbitrary order, and support multiple valid denoising trajectories. A âdraftâ must therefore specify not just token identities but also their positions and unmasking orderâa complete trajectory. Verification requires blockwise masking to isolate competing branches, and exactness cannot be guaranteed when altering the parallelism schedule. 2.3 Speculative Approaches for Diffusion Models Recent work has begun exploring speculative techniques for diffusion models. De Bortoli et al. (2025); Hu et al. (2025) study speculative sampling for continuous denoising diffusion (DDPM), focusing on image generation. For discrete diffusion language models, several concurrent efforts have emerged: Self-speculative decoding (Gao et al., 2025) introduces token-level speculation for diffusion LMs, where the model drafts individual token predictions that are then verified. This approach operates at token granularity and focuses on single-step speculation. Table 1: Comparison of speculative decoding methods for dLLMs. Property Self-Spec Spiffy Ours Speculation granularity Token Block Trajectory Cross-block lookahead â â â Tree-based exploration â â â Lossless verification â â âź â Calibration overhead Low High Low Speedup (7B models) âź 3.46Ă âź 7Ă âź 14Ă Spiffy (Agrawal et al., 2025) proposes block-level speculative decoding for diffusion language models using graph-based calibration to maintain lossless verification. Their method performs parallel exploration over multiple draft blocks within a decoding block (intra-block speculation) and focuses on preserving exactness under speculative execution. In contrast, our method formulates speculation at the trajectory level, jointly modeling denoising trajectories that can span consecutive blocks through inter-block speculation. Our approach differs in problem formulation and method design: (1) we identify and address low-confidence degenerationâshowing that parallelism collapses not due to incorrectness but due to fixed decoding policiesâwhereas concurrent methods focus on either token-level drafting or calibration for exactness, (2) we explore multiple trajectory alternatives via tree-structured drafts to sustain parallelism under uncertainty, enabling broader speculation than single-block or token-level approaches, (3) we introduce inter-block speculation that exploits bidirectional attention to perform cross-block lookahead, which single-block designs cannot express, and (4) our tree-based verification is simpler than graph-based calibration and achieves higher acceptance rates (3.8-4.3 tokens/step vs. Spiffyâs reported rates). Table 1 contrasts key properties across the three approaches. Self-speculative decoding operates at token granularity, while both Spiffy and our method perform block-level speculative exploration for diffusion LMs. The key distinction is that Spiffy focuses on intra-block speculation with calibrated exact verification, whereas our method additionally introduces inter-block trajectory speculation across consecutive decoding blocks. We further report end-to-end TPS, latency, denoising steps, and accuracy together, while Spiffy primarily reports NFE-based speedup (see Appendix E for detailed comparison). We note that other concurrent approaches may exist, and the landscape of diffusion LM acceleration continues to evolve. Complementarity with other acceleration techniques. Our trajectory-level speculation operates at the algorithmic level of the decoding process and is conceptually orthogonal to system-level optimizations such as KV cache management (Wu et al., 2025), architectural improvements (sparse attention, quantization), and hardware-specific optimizations. These methods target different components of the inference stack: we reduce the number of denoising iterations, while system optimizations reduce per-iteration cost. Combining these approaches is conceptually feasible and could yield cumulative benefits, though such integration is beyond the scope of this work. 3 Method 3.1 Overview Our framework operates in three stages: (1) Candidate collection: Gather top-k tokens at low-confidence positions from the previous denoising step. (2) Tree-based draft trajectory generation: Incrementally construct a tree of candidate trajectories, where each node represents a block of tokens and each path represents a possible denoising sequence. (3) Parallel verification and acceptance: Evaluate all draft blocks jointly using blockwise attention masking, then select the longest valid path via greedy or longest-path verification. These stages reuse the modelâs forward pass: the verification of step t simultaneously provides logits for drafting step t+1t+1, minimizing overhead. Figure 2: Overview of trajectory-level speculative decoding framework. The method constructs a tree of candidate denoising trajectories, verifies them in parallel using blockwise attention masking, and selects the longest valid path. 3.2 Tree-Based Draft Trajectory Generation Motivation: why low-confidence tokens matter. Existing parallel decoding strategies discard tokens below threshold Ď, treating low confidence as synonymous with incorrectness. This conflates two distinct phenomena: tokens with low confidence due to model uncertainty, and tokens excluded because they fall outside the parallelism budget. Our key observation: low confidence does not imply incorrectnessâit often reflects ambiguity among several plausible alternatives (Kim et al., 2025). Empirically, we find that even at low-confidence positions, the correct token frequently appears within the top-k candidates (kâ3kâ 3). This motivates a principled approach: rather than abandoning parallelism at uncertain positions, we explore multiple candidate trajectories in parallel and verify them jointly, thereby sustaining throughput without compromising correctness guarantees. Candidate collection. At each denoising step, we define token confidence as: câĄ(x)=maxâĄ(softmaxâ(logitstâ(x))).c(x)= (softmax(logits_t(x))). (2) We collect top-k candidates at positions where câĄ(x)<Ďc(x)<Ďâi.e., tokens that are low-confidence but potentially correct. This forms the pool for trajectory exploration. Tree construction. We organize candidates into a tree where each node corresponds to a block of tokens (e.g., 32 tokens). The root node contains all high-confidence tokens (those exceeding Ď). Children represent alternative continuations constructed from the candidate pool. To balance coverage and computational cost, we adopt a hybrid expansion strategy: ⢠Layer 1 (root): Expand with top-k candidates to maximize diversity. ⢠Deeper layers: Expand each node with only its top-1 continuation, yielding a compact tree that concentrates exploration along high-probability paths. This design keeps the tree compact (OâĄ(Dâ W)O(D¡ W) nodes for depth D and width W) while preserving high-likelihood trajectories. For example, a W2D2(3) tree has width 2, depth 2, and 3 total children blocks. Ablation studies (Section 5.3) show this hybrid strategy achieves the best acceptance-rate-to-overhead trade-off. Algorithm. Algorithm 1 implements confidence-stratified expansion: high-confidence tokens form the root block, low-confidence positions trigger branching with adaptive depth control, balancing exploration and overhead. Algorithm 1 Confidence-Stratified Trajectory Tree Construction 1: Input: Token logits âtL_t at step t, confidence threshold Ď, branching factor k, tree depth D, tree width W 2: Output: Draft trajectory tree T with root and leaf nodes 3: // Phase 1: Confidence stratification 4: ââi:maxvâĄsoftmaxâ(âtâ[i,v])>ĎHâ\i: _vsoftmax(L_t[i,v])>Ď\ âł High-confidence positions 5: ââi:maxvâĄsoftmaxâ(âtâ[i,v])â¤ĎLâ\i: _vsoftmax(L_t[i,v])â¤Ď\ âł Low-confidence positions 6: Initialize root node râ(â,argâĄmaxvââtâ[i,v]iââ)râ(H,\ _vL_t[i,v]\_i ) 7: // Phase 2: Speculative expansion 8: ârTâ\r\; frontierârfrontierâ\r\ 9: for â=1 =1 to D do 10: next_frontierââ next\_frontierâ 11: for each node nâfrontiern do 12: if â=1 =1 then 13: childrenâGenerateTopKâ(n,â,k)children (n,L,k) âł Explore top-k at root 14: else 15: childrenâGenerateTop1â(n,â)children 1(n,L) âł Greedy extension deeper 16: end if 17: next_frontierânext_frontierâŞchildrennext\_frontier \_frontier 18: end for 19: frontierâPruneByConfidenceâ(next_frontier,W)frontier (next\_frontier,W) âł Keep top-W by confidence 20: ââŞfrontierT 21: end for 22: return T Complexity analysis. A fully expanded trajectory tree would incur exponential cost in the number of branches. Our method is specifically designed to avoid this regime through the constrained tree structure described above. We adopt a hybrid expansion strategy: ⢠Only the root node branches with top-k candidates, while all deeper levels follow top-1 expansion. ⢠Top-k expansion at the root layer maximizes diversity where it matters most, while guaranteeing OâĄ(Wâ D)O(W¡ D) complexity instead of exponential scaling, where W is the tree width and D is the tree depth. ⢠The resulting candidates can then be efficiently processed via parallel blockwise verification. Concretely, with width W=3W=3 and depth D=3D=3, this yields at most WĂD=9WĂ D=9 draft sequences per step, compared to WD=27W^D=27 for a fully expanded treeâa 3Ă3Ă reduction in the number of branches due to top-1 expansion in deeper levels. Tree construction itself requires only WĂDWĂ D tensor copies of the current block (each of length L, the block size), amounting to OâĄ(Wâ Dâ L)O(W¡ D¡ L) memory operations, followed by a single concatenated forward pass over (Wâ D+1)â L(W¡ D+1)¡ L tokens. This represents a constant-factor overhead relative to a standard single-branch step. Moreover, relative to the total context length and generation length during inference, especially in long-sequence generation scenarios, the additional Wâ Dâ LW¡ D¡ L tokens introduced by tree construction constitute a lightweight overhead. This design is not merely a heuristic simplification, but is motivated by our key observation that uncertainty in dLLMs is highly concentrated at a small number of high-entropy positions, while later steps typically exhibit much higher confidence. Therefore, allocating branching capacity only at these critical positions is both efficient and sufficient. Empirically, this constrained tree achieves a strong balance between acceptance rate and computational cost, as shown in the ablation studies in Section 5.3. Given the increased overall latency and only marginal accuracy gains, we practically adopt the W3D3(6) variant rather than the full-tree variant W3D3(9). 3.3 Blockwise Parallel Verification Attention masking for trajectory isolation. Unlike autoregressive models that use causal masking, we require a blockwise attention scheme that: (i) preserves bidirectional attention between draft blocks and cached prefix/suffix tokens, and (i) isolates draft branches to prevent cross-interference. Specifically, let P and S denote prefix (already-decoded) and suffix (remaining [mask]) tokens. For each draft block BiB_i in the tree, we construct a mask where: ⢠All tokens in BiB_i attend to all tokens in P and S. ⢠Tokens in BiB_i do not attend to tokens in other draft blocks BjB_j (jâ ijâ i). This design maintains the bidirectional structure required by diffusion models while ensuring independent evaluation of each trajectory branch. Figure 3 illustrates the blockwise attention mask construction for a tree with multiple draft branches. Figure 3: Blockwise attention mask construction. Each draft block (shown in different colors) attends bidirectionally to cached prefix and suffix tokens (gray), but draft blocks remain isolated from each other to enable parallel verification of independent trajectories. Verification procedure. After concatenating all draft blocks with the input sequence, we perform a single forward pass with the blockwise attention mask. For each block, we check whether its tokens match the modelâs top predictions (or fall within top-k / exceed Ď). We traverse the tree path-by-path, accepting the first valid continuation at each level (greedy search) or the longest valid path overall (longest-path search). In practice, both strategies yield similar performance; we default to greedy search for lower overhead. 3.4 Inter-Block Speculation Motivation. The methods above accelerate decoding within a single block (intra-block speculation). However, diffusion modelsâ bidirectional attention enables a further optimization: while decoding block BtB_t, we can simultaneously monitor block Bt+1B_t+1. If early tokens in Bt+1B_t+1 become confident before BtB_t completes, we can initiate speculation for both blocks jointly. Trigger condition. Let ct(1)c_t^(1) and ct+1(1)c_t+1^(1) denote the top-1 confidence in blocks BtB_t and Bt+1B_t+1. We trigger inter-block speculation when: ct+1(1)>ct(1)orct+1(1)>Ď.c_t+1^(1)>c_t^(1) c_t+1^(1)>Ď. (3) Joint tree construction. Upon triggering, we build a compact draft tree for Bt+1B_t+1 (e.g., W1D3 with only 1-2 children blocks) and verify both trees jointly. The attention mask extends to preserve bidirectional visibility between the roots of BtB_t and Bt+1B_t+1âi.e., draft tokens in Bt+1B_t+1 attend to the root of BtB_t, and vice versa. This leverages Fast-dLLMâs observation (Wu et al., 2025) that prefix/suffix KV states remain stable across adjacent denoising steps. Figure 4 illustrates the inter-block speculation mechanism, showing how confidence in the next block can trigger joint speculative decoding across block boundaries. Figure 4: Inter-block speculation mechanism. When block Bt+1B_t+1 exhibits high early confidence, we construct compact draft trees for both BtB_t and Bt+1B_t+1 and verify them jointly, exploiting the bidirectional attention structure to enable cross-block lookahead. Inter-block speculation applies only to pairs of consecutive blocks; extending further would incur excessive verification overhead with diminishing returns. Detailed attention masks and ablation studies are provided in Appendix D. 4 Theoretical Analysis Unlike autoregressive speculative decoding, which is mathematically exact, our trajectory-level framework introduces potential trajectory drift due to altered parallelism schedules. We characterize exactness conditions, provide bounds on acceptance rates, and identify when deviations may occur. 4.1 Exactness Conditions Theorem 1 (Exactness under idealized conditions). Under cached prefix-suffix KV states, no inter-block speculation, and deterministic top-1 decoding, our method produces a denoising trajectory (i1,y1),âŚ,(iN,yN)(i_1,y_1),âŚ,(i_N,y_N) identical to Fast-dLLM (Dual Cache), where ini_n denotes the position and yny_n the token selected at step n. Proof. We prove by strong induction on the number of denoising steps. Base case (n=0n=0): Before the first denoising step, both decoders have identical initial states: all positions masked, no tokens decoded. Thus the trajectories match trivially. Inductive hypothesis: Assume that for all steps k<nk<n, both decoders have produced identical trajectories: (i1,y1),âŚ,(inâ1,ynâ1)(i_1,y_1),âŚ,(i_n-1,y_n-1). Inductive step: We show that at step n, both decoders select the same position-token pair (in,yn)(i_n,y_n). Let âłnM_n denote the set of masked positions at step n, and let n=(i1,y1),âŚ,(inâ1,ynâ1)U_n=\(i_1,y_1),âŚ,(i_n-1,y_n-1)\ be the set of unmasked tokens. By the inductive hypothesis, both decoders have identical âłnM_n and nU_n. Key observation: Under cached KV states and no inter-block speculation, both decoders evaluate identical conditional distributions at step n. Specifically, for each position iââłni _n, the probability distribution over tokens is: pâĄ(xi=tâŁn,C)=softmaxâ(fθâ(iâŁn,C)),p(x_i=t _n,C)=softmax(f_θ(i _n,C)), (4) where C denotes the cached prefix and suffix KV states, and fθf_θ is the modelâs logit function. Since both decoders use the same model θ, the same cached context C, and have identical unmasked tokens nU_n, they compute identical logits: fθoursâ(iâŁn,C)=fθFast-dLLMâ(iâŁn,C)âiââłn.f_θ^ours(i _n,C)=f_θ^Fast-dLLM(i _n,C) â i _n. (5) Under deterministic top-1 decoding, position ini_n is selected as: in=argâmaxiââłnâĄmaxtâpâ(xi=tâŁn,C),i_n= _i _n _tp(x_i=t _n,C), (6) and token yny_n is selected as: yn=argâmaxtâĄpâ(xin=tâŁn,C).y_n= _tp(x_i_n=t _n,C). (7) Since both decoders compute identical distributions, they must select identical (in,yn)(i_n,y_n). This completes the inductive step. Conclusion: By strong induction, the trajectories match at all steps, hence the full denoising sequences are identical. â Implications. Theorem 1 establishes that trajectory-space speculation can be made exact under controlled conditions, formally characterizing when our method preserves the baselineâs output distribution. This provides a principled foundation: all deviations stem exclusively from increased parallelism (trajectory drift), not from the speculation mechanism itself. The theorem identifies the exactness boundary and clarifies that any accuracy-speed trade-offs arise from choosing higher parallelism, not from algorithmic approximation. This formalization has practical consequences for algorithm design: to maximize speedup while maintaining exactness guarantees, we must (1) preserve cached KV states across speculative branches to ensure logit consistency, (2) disable inter-block speculation when exactness is required, and (3) verify that tree construction explores only positions and tokens that would be reachable under the baselineâs conditional distributions. Our implementation respects these constraints, enabling deployment modes ranging from exact (matching baseline) to high-throughput (controlled drift). Empirically, we verify this by running both decoders in top-1 mode on HumanEval and GSM8K; outputs and logits match exactly (see Appendix F, Table A3), confirming that our implementation correctly preserves the idealized behavior characterized by the theorem. 4.2 Acceptance Rate Analysis The effectiveness of our approach depends on the acceptance rate of draft trajectories. We provide a probabilistic characterization: Proposition 2 (Acceptance rate lower bound). Let T be a draft tree with depth D and let Îąâ _ denote the probability that a draft node at level â matches the verifierâs top-1 prediction. The expected number of accepted tokens is lower-bounded by: âĄ[accepted]âĽââ=1Dâj=1âÎąjâ bâ,E[accepted]⼠_ =1^D _j=1 _j¡ b_ , (8) where bâb_ is the block size at level â . Proof sketch. Consider a path from root to level â . The probability that all nodes along this path are accepted is âj=1âÎąj _j=1 _j (assuming independence). If accepted, this path contributes âj=1âbjâĽbâ _j=1 b_j⼠b_ tokens. Summing over all paths and applying linearity of expectation yields the lower bound. â Design implications. This bound shows that acceptance rates compound multiplicatively across tree depth. This motivates our hybrid expansion strategy: using top-k at the root maximizes Îą1 _1 (the most important factor), while using top-1 deeper keeps the tree compact without severely degrading Îąâ _ for â>1 >1. Empirical validation. We measure acceptance probabilities on HumanEval: Îą1â0.85 _1â 0.85 for high-confidence root blocks and Îą2â0.68 _2â 0.68 for secondary branches. With block size b=32b=32, this yields an expected acceptance of âĄ[accepted]âĽ0.85Ă32+0.85Ă0.68Ă32â45.6E[accepted]⼠0.85Ă 32+0.85Ă 0.68Ă 32â 45.6 tokens per tree, explaining our observed 3.8 tokens-per-step in Table 4 (accounting for verification overhead and rejected branches). 5 Experiments 5.1 Experimental Setup Models and baselines. We evaluate on LLaDA-Instruct-7B (Nie et al., 2026) and Dream-Instruct-7B (Ye et al., 2025). Our baseline is Fast-dLLM (Dual Cache) (Wu et al., 2025), which caches prefix and suffix KV states within each block to reduce per-step computation. We compare against vanilla dLLMs, Fast-dLLM (single cache), and concurrent work (Spiffy (Agrawal et al., 2025), DPad (Chen et al., 2025)). Benchmarks. We use mathematical reasoning (GSM8K, MATH) and code generation (HumanEval, MBPP) tasks. Generation length is fixed to 512 tokens with block size 32 to ensure fair comparison. Unless otherwise noted, we use the W2D2(3) tree structure on A800 GPUs, as it provides the best latency-efficiency trade-off (Section 5.4). This configuration represents typical deployment settings for current discrete diffusion LLMs; we analyze longer generation lengths (up to 2048 tokens) in Appendix A.9, finding consistent speedup patterns. Metrics. We report: (1) TPS (tokens per second) and latency, (2) tokens-per-step, (3) denoising steps, and (4) task accuracy. All experiments use a single A800 GPU unless specified. 5.2 Main Results Tables 2 and 3 summarize performance on LLaDA and Dream across four benchmarks. Our method consistently reduces denoising steps by 30-43% relative to Fast-dLLM (Dual Cache) and increases tokens-per-step from 2.6 to 3.8-4.3. This translates to 1.2-1.4Ă additional speedup on top of Fast-dLLMâs already-optimized baseline, achieving 7-14Ă end-to-end speedup over vanilla dLLMs. Accuracy remains within 1% of the baseline, confirming that trajectory drift is minimal. Task-specific analysis. Performance varies by task characteristics. For GSM8K (mathematical reasoning with structured outputs), our method achieves the highest speedup (13.6Ă on LLaDA) due to predictable token patterns that enable reliable tree acceptance. For HumanEval (code generation), moderate speedup (6.8Ă) reflects the challenge of speculating syntax-heavy sequences where single-token errors propagate. For MATH (complex multi-step reasoning), speedup (10.2Ă) balances between GSM8Kâs predictability and HumanEvalâs sensitivity. On MBPP (Python programming), we observe similar patterns to HumanEval, with 11.8Ă speedup and high accuracy maintenance (13.4% vs. 13.6% Fast-dLLM). Table 2: Performance on LLaDA-7B-Instruct (A800). Benchmark Method TPSâ Stepsâ Acc.â Speedup GSM8K Vanilla 4.1 512.0 76.6 1.0Ă Fast-dLLM (DC) 48.8 110.3 75.6 11.9Ă Ours 55.7 71.3 75.5 13.6Ă HumanEval Vanilla 13.8 512.0 43.9 1.0Ă Fast-dLLM (DC) 70.6 179.2 45.7 5.1Ă Ours 94.4 106.7 46.3 6.8Ă MBPP Vanilla 4.8 512.0 14.8 1.0Ă Fast-dLLM (DC) 48.5 132.8 13.6 10.1Ă Ours 56.4 81.7 13.4 11.8Ă MATH Vanilla 7.2 512.0 36.8 1.0Ă Fast-dLLM (DC) 60.7 167.1 35.7 8.4Ă Ours 73.5 96.8 36.0 10.2Ă Table 3: Performance on Dream-7B-Instruct (A800). Benchmark Method TPSâ Stepsâ Acc.â Speedup GSM8K Vanilla 9.0 512.0 76.8 1.0Ă Fast-dLLM (DC) 50.6 280.6 74.6 5.6Ă Ours 62.2 164.9 73.7 6.9Ă HumanEval Vanilla 16.9 512.0 54.2 1.0Ă Fast-dLLM (DC) 52.3 295.0 51.2 3.1Ă Ours 78.1 180.7 54.3 4.6Ă 5.3 Ablation: Tree Structure and Inter-Block Table 4 ablates tree configurations and inter-block speculation on HumanEval. Larger trees (W3D3) provide higher acceptance rates but incur heavier per-step verification cost, resulting in worse latency on A800. Inter-block speculation further reduces steps by âź 12% and increases tokens-per-step to 4.28, demonstrating the value of cross-block lookahead. Table 4: Ablation on LLaDA-7B (HumanEval, A800). Configuration Tokens/Step Steps Latency (s) Fast-dLLM (DC) 2.61 179.2 6.6 + Intra W1D1(1) 3.51 134.5 5.6 + Intra W2D2(3) 3.83 124.0 5.3 + Intra W3D3(6) 3.95 120.1 5.5 + Inter W2D2(3) 4.28 106.7 5.0 + Inter W3D3(6) 4.52 105.1 5.6 5.4 Computational Overhead Analysis Figure 5 analyzes per-step latency as a function of the number of draft blocks. On A800, exploring up to 4 draft blocks keeps overhead acceptable (<<30%), aligning with our observed 30-40% step reduction. On H800, higher compute headroom enables larger structures (W3D3) to achieve better end-to-end latency. This roofline-style analysis confirms that the optimal tree size depends on hardware capability and the step-reduction benefit. Figure 5: Computational overhead analysis. Per-step latency increases with the number of draft blocks, but the reduction in total steps yields net speedup. Dashed line indicates cumulative step reduction. Optimal tree size depends on hardware capability and the overhead-reduction trade-off. Tree construction overhead. To quantify the non-model cost of tree construction, we measure the normalized overhead ratio (as a percentage of total forward pass time) on A100 across tree configurations and sequence lengths (Table 5). Tree construction time was measured using PyTorch CUDA Events and normalized against model forward passes. Model forward latency was profiled with Nsight Systems. For our default W2D2 configuration, overhead stays below 2% at sequence length 512 and decreases further at 2048. Overhead grows with tree size but remains consistently lightweight, confirming that constrained tree construction adds negligible cost beyond the model forward pass. Table 5: Tree construction overhead ratio (%) on A100 across sequence lengths. Sequence Length Configuration 32 128 512 2048 w1d1 2.52 3.50 1.27 0.86 w2d1 7.57 6.94 1.69 1.15 w3d1 6.50 5.80 1.54 1.08 w2d2 8.25 6.72 1.86 1.29 w2d3 7.64 4.97 1.80 1.35 w3d3 8.22 5.15 1.99 1.39 w7d1 7.87 4.83 2.04 1.48 w8d1 6.01 4.05 1.84 1.28 w9d1 6.07 4.10 1.92 1.38 Attention kernel latency. For block-level inference, the chipâs roofline characteristics provide redundant space, which allows to add more computational load within the same time cost until reaching the compute bound. Table 6 reports absolute fused multi-head attention kernel latency (in Îź ) on A100 and H100. Compact configurations (W1D1 through W2D2) incur only marginal overhead relative to the single-block baseline (W1D1: âź 60 Îź on A100), while larger trees approach the roofline limit. The roofline critical points of A100 and H100 are around 200 and 300 concurrent tokens respectively, corresponding to approximately 6 and 9 additional draft blocks with block size 32âwell above our default W2D2(3) configuration, leaving ample headroom before compute saturation. This analysis explains why larger trees such as W3D3 yield diminishing latency returns on A800 but remain beneficial on H800, as shown in Figure 5. Table 6: Fused multi-head attention latency (in Îź ) on A100 and H100. Configuration A100 (Îź ) H100 (Îź ) w1d1 60.38 37.22 w2d1 60.22 36.03 w3d1 63.14 37.76 w2d2 63.23 37.82 w2d3 74.18 43.23 w3d3 97.95 41.95 w7d1 99.26 44.24 w8d1 111.46 69.34 w9d1 114.50 71.30 6 Discussion and Future Directions Trajectory drift and exactness. Unlike autoregressive speculative decoding, our method introduces small trajectory deviations when increasing parallelism. Theorem 1 establishes that the method is exact under top-1 decoding, but higher parallelism can cause drift. Empirically, accuracy loss remains under 1%, and failures concentrate on problems requiring precise multi-step reasoning (Appendix G). Developing provably lossless verification for diffusion models remains an open challenge. Potential approaches include: (1) confidence-aware verification that adaptively reduces parallelism when trajectory drift risk is high, (2) rollback mechanisms that detect and correct divergence mid-generation, and (3) joint optimization of the diffusion schedule and speculation strategy to minimize drift while maintaining speedup. Adaptive tree construction. The acceptance rate of draft trajectories depends on model confidence, task difficulty, and tree structure. Currently, we rely on heuristic tree designs (e.g., W2D2). Learned acceptance predictors could dynamically adjust tree depth and width based on: (1) historical acceptance rates on similar prompts, (2) confidence distributions at the current step, and (3) task-specific patterns (e.g., code generation benefits from narrower trees). This would enable instance-adaptive speculation that maximizes efficiency per prompt. 7 Conclusion We introduced trajectory-level speculative decoding, the first speculative framework designed specifically for diffusion language models. By constructing tree-structured draft trajectories, performing blockwise parallel verification, and introducing inter-block speculation, our method addresses the fundamental challenges that prevent autoregressive speculative techniques from transferring to dLLMs. Theoretical analysis establishes exactness conditions and identifies trajectory drift as the primary source of deviation. Empirically, we achieve 7-14Ă speedup over vanilla dLLMs and 1.3Ă over the Fast-dLLM baseline, with minimal accuracy loss. Acknowledgements We would like to sincerely thank the anonymous reviewers for their valuable comments and constructive suggestions, which have greatly helped us improve the quality and presentation of this paper. We also appreciate our colleagues for their insightful discussions and valuable feedback throughout the research work. We would like to thank Li Auto Inc. for providing financial support and research resources to this work. Impact Statement This paper presents work whose goal is to advance the field of machine learning by improving inference efficiency for diffusion-based language models. The acceleration techniques we propose could reduce computational costs and energy consumption for deploying these models. There are no specific ethical concerns unique to this work beyond those inherent to large language model deployment in general. References Agrawal et al. (2025) Agrawal, S., Garrepalli, R., Goel, R., Lee, M., Lott, C., and Porikli, F. Spiffy: Multiplying diffusion llm acceleration via lossless speculative decoding. arXiv preprint arXiv:2509.18085, 2025. Cai et al. (2024) Cai, T., Li, Y., Geng, Z., Peng, H., Lee, J. D., Chen, D., and Dao, T. Medusa: Simple LLM inference acceleration framework with multiple decoding heads. In Salakhutdinov, R., Kolter, Z., Heller, K., Weller, A., Oliver, N., Scarlett, J., and Berkenkamp, F. (eds.), Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, p. 5209â5235. PMLR, 21â27 Jul 2024. Chen et al. (2023) Chen, C., Borgeaud, S., Irving, G., Lespiau, J.-B., Sifre, L., and Jumper, J. Accelerating large language model decoding with speculative sampling. arXiv preprint arXiv:2302.01318, 2023. Chen et al. (2025) Chen, X., Huang, S., Guo, C., Wei, C., He, Y., Zhang, J., Li, H., Chen, Y., et al. Dpad: Efficient diffusion language models with suffix dropout. arXiv preprint arXiv:2508.14148, 2025. De Bortoli et al. (2025) De Bortoli, V., Galashov, A., Gretton, A., and Doucet, A. Accelerated diffusion models via speculative sampling. arXiv preprint arXiv:2501.05370, 2025. Gao et al. (2025) Gao, Y., Ji, Z., Wang, Y., Qi, B., Xu, H., and Zhang, L. Self speculative decoding for diffusion large language models. arXiv preprint arXiv:2510.04147, 2025. Hu et al. (2025) Hu, H., Das, A., Sadigh, D., and Anari, N. Diffusion models are secretly exchangeable: Parallelizing DDPMs via auto speculation. In Singh, A., Fazel, M., Hsu, D., Lacoste-Julien, S., Berkenkamp, F., Maharaj, T., Wagstaff, K., and Zhu, J. (eds.), Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, p. 24270â24289. PMLR, 13â19 Jul 2025. Kim et al. (2025) Kim, J., Shah, K., Kontonis, V., Kakade, S. M., and Chen, S. Train for the worst, plan for the best: Understanding token ordering in masked diffusions. In Forty-second International Conference on Machine Learning, 2025. Leviathan et al. (2023) Leviathan, Y., Kalman, M., and Matias, Y. Fast inference from transformers via speculative decoding. In International Conference on Machine Learning, p. 19274â19286. PMLR, 2023. Li et al. (2024) Li, Y., Wei, F., Zhang, C., and Zhang, H. EAGLE: Speculative sampling requires rethinking feature uncertainty. In International Conference on Machine Learning, 2024. Miao et al. (2024) Miao, X., Oliaro, G., Zhang, Z., Cheng, X., Wang, Z., Zhang, Z., Wong, R. Y. Y., Zhu, A., Yang, L., Shi, X., et al. Specinfer: Accelerating large language model serving with tree-based speculative inference and verification. In Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3, p. 932â949, 2024. Nie et al. (2026) Nie, S., Zhu, F., You, Z., Zhang, X., Ou, J., Hu, J., Zhou, J., Lin, Y., Wen, J.-R., and Li, C. Large language diffusion models. Advances in Neural Information Processing Systems, 38:50608â50646, 2026. Sahoo et al. (2024) Sahoo, S., Arriola, M., Schiff, Y., Gokaslan, A., Marroquin, E., Chiu, J., Rush, A., and Kuleshov, V. Simple and effective masked diffusion language models. Advances in Neural Information Processing Systems, 37:130136â130184, 2024. Song et al. (2025) Song, Y., Zhang, Z., Luo, C., Gao, P., Xia, F., Luo, H., Li, Z., Yang, Y., Yu, H., Qu, X., et al. Seed diffusion: A large-scale diffusion language model with high-speed inference. arXiv preprint arXiv:2508.02193, 2025. Wu et al. (2025) Wu, C., Zhang, H., Xue, S., Liu, Z., Diao, S., Zhu, L., Luo, P., Han, S., and Xie, E. Fast-dllm: Training-free acceleration of diffusion llm by enabling kv cache and parallel decoding. arXiv preprint arXiv:2505.22618, 2025. Xia et al. (2023) Xia, H., Ge, T., Wang, P., Chen, S.-Q., Wei, F., and Sui, Z. Speculative decoding: Exploiting speculative execution for accelerating seq2seq generation. In The 2023 Conference on Empirical Methods in Natural Language Processing, 2023. Ye et al. (2025) Ye, J., Xie, Z., Zheng, L., Gao, J., Wu, Z., Jiang, X., Li, Z., and Kong, L. Dream 7b: Diffusion large language models. arXiv preprint arXiv:2508.15487, 2025. Zheng et al. (2024) Zheng, L., Yuan, J., Yu, L., and Kong, L. A reparameterized discrete diffusion model for text generation. In First Conference on Language Modeling, 2024. Zhou et al. (2023) Zhou, J., Lu, T., Mishra, S., Brahma, S., Basu, S., Luan, Y., Zhou, D., and Hou, L. Instruction-following evaluation for large language models. arXiv preprint arXiv:2311.07911, 2023. Appendix A Detailed Experimental Configurations All experiments use LLaDA-Instruct-7B and Dream-Instruct-7B with xFormers attention to support non-causal masks. Hardware: 8Ă NVIDIA A800 GPUs (CUDA 12.6.3). We fix generation length to 512 tokens and block size to 32 for all main experiments. The dual-cache mechanism follows Fast-dLLM: at each block boundary, we compute full KV states for prefix, suffix, and block root, then cache prefix/suffix KV for the entire block while updating only block-level KV during speculation. Appendix B Tree Construction Example Figure 6 provides a concrete example of tree-based draft trajectory construction. The root block contains high-confidence tokens at positions 0-31. Child blocks explore alternative predictions at low-confidence positions (e.g., positions 12, 18, 24). Each path from root to leaf represents a complete denoising trajectory that can be verified in parallel. Figure 6: Example of tree-based draft trajectory construction. The root block contains high-confidence tokens (positions 0-31). Child blocks explore alternative predictions at low-confidence positions 12, 18, 24. Each path represents a complete denoising trajectory verified in parallel. Appendix C Tree Expansion Strategies We explored multiple tree expansion policies: (a) Hybrid (ours): top-k at root, top-1 deeper. (b) Full top-2: expand all layers with top-2. (c) Full tree: symmetric expansion. (d) Duplicate-allowed: sibling nodes may share candidates. Table 7 shows that hybrid achieves the best latency-accuracy trade-off, as larger trees increase overhead without proportional step reduction. Table 7: Ablation of tree expansion strategies (HumanEval, A800). Strategy Steps Latency/Step (s) Total Latency (s) Hybrid W2D2(3) 124.0 0.043 5.3 + top-2 W2D2(4) 123.9 0.045 5.6 + full tree W2D2(4) 124.9 0.045 5.6 + duplicated W2D2(4) 125.0 0.043 5.3 Hybrid W3D3(6) 120.1 0.046 5.5 + top-2 W4D3(8) 119.3 0.054 6.4 + full tree W3D3(9) 120.3 0.055 6.6 Appendix D Inter-Block Speculation Details Inter-block speculation triggers when ct+1(1)>ct(1)c_t+1^(1)>c_t^(1) or ct+1(1)>Ďc_t+1^(1)>Ď. We build a compact tree for Bt+1B_t+1 (W1D3) and verify both trees jointly. The attention mask preserves bidirectional visibility between the roots of BtB_t and Bt+1B_t+1, while draft tokens within each block remain mutually invisible. Table 8 shows that adding 1-2 inter-block draft blocks provides optimal speedup. Table 8: Inter-block ablation (LLaDA, HumanEval, A800). Inter-Block Setting Tokens/Step Steps Latency (s) No inter-block 3.83 124.0 5.3 + 1 draft block 4.29 109.1 5.0 + 2 draft blocks 4.38 106.7 5.0 + 3 draft blocks 4.53 103.0 5.1 Appendix E Comparison with Concurrent Work Spiffy (Agrawal et al., 2025) is concurrent work that also explores speculative decoding for diffusion language models through intra-block speculative execution with graph-based calibration. In contrast, our method focuses on trajectory-level speculation and additionally introduces inter-block speculation across consecutive decoding blocks. Another key difference lies in evaluation protocol. Spiffy mainly reports NFE-based speedup, while we report end-to-end TPS, latency, denoising steps, and task accuracy together. Using the reported numbers from Spiffy and our reported decoding steps on LLaDA-Instruct-7B, we obtain the following reference comparison: Table 9: Reference comparison with Spiffy on LLaDA-Instruct-7B. Benchmark Spiffy Ours GSM8K 3.04Ă 7.18Ă HumanEval 2.88Ă 4.87Ă MBPP 2.93Ă 4.42Ă MATH 2.89Ă 5.29Ă Our values are computed directly from the denoising steps reported in Table 9 using the same normalization convention, while Spiffyâs numbers are taken from its reported main results. Since Spiffy is not publicly open-sourced to the best of our knowledge, this comparison should be interpreted as a reported/reference comparison rather than a controlled reproduction study. Appendix F Exactness Proof and Empirical Verification Theorem 1 (full statement). Under cached prefix-suffix KV, no inter-block speculation, and deterministic top-1 decoding, our method and Fast-dLLM (Dual Cache) produce identical token trajectories (in,yn)(i_n,y_n) for all n. Proof. By induction on speculative steps. Base case: before step 1, both have empty history. Induction: if trajectories match through step kâ1k-1, both evaluate the same distribution pâĄ(xi=tâŁC,history)p(x_i=t C,history) at step k (since C is cached and unchanged). Thus, top-1 selections match, and trajectories remain identical. â Empirical verification (Table 10). We run both decoders in top-1 mode on HumanEval and GSM8K; outputs and logits match exactly. Table 10: Empirical exactness verification. Dataset Token Match Logit Error HumanEval 100% 0.00 GSM8K 100% 0.00 Appendix G Failure Case Analysis We analyze failures on MATH (levels 1-5). Overall accuracy drop is âź 1%, concentrated on level-4 problems (Table 11). Inspection reveals that failures occur when early trajectory drift propagates through multi-step reasoning. Levels 1-3 show no degradation; level-5 (hardest) also shows minimal loss because both methods collapse to low parallelism on very hard problems. Table 11: Accuracy by MATH difficulty level. Model L1 L2 L3 L4 L5 Avg Fast-dLLM (DC) 61.2 51.4 38.6 30.4 10.4 38.4 Ours 61.3 52.2 38.7 25.1 9.2 37.4 Appendix H Long-Sequence Evaluation Table 12 evaluates generation lengths 128-2048. Our method provides consistent speedup, though relative gains decrease at longer lengths due to early [eos] emission causing both methods to revert to single-step-per-block decoding. Table 12: Latency (s) across generation lengths (HumanEval). Length Fast-dLLM (DC) Ours 128 1.5 1.0 256 3.2 2.3 512 6.6 5.0 1024 10.2 8.7 2048 22.4 21.2 Appendix I Analysis of Incremental Speedup over Fast-dLLM The speedup over Fast-dLLM (Wu et al., 2025) is directly governed by the prevalence of low-confidence tokens during inference. Fast-dLLM (Dual Cache) is already a highly optimized baseline with strong parallel decoding capability; achieving an additional â 1.3Ă speedup on top of it is therefore non-trivial. Concretely, our method delivers â 30â40% reduction in denoising steps, â 30% reduction in end-to-end latency, and an increase in tokens-per-step from 2.6 to 4.3 (â+65%) on top of this already-optimized system. The role of low-confidence tokens. The two approaches address orthogonal bottlenecks: Fast-dLLM reduces per-step computation cost through dual-cache reuse and parallel execution of easy (high-confidence) tokens, while our method reduces the total number of denoising steps by addressing low-confidence degeneration through trajectory-level speculation. Consequently, our relative gains are strongest precisely when the task induces a high proportion of low-confidence tokensâthe regime where threshold-based decoding collapses to near-single-token generation. Formally, let Ď denote the fraction of decoding steps in which fewer than k tokens exceed the confidence threshold Ď. As Ďâ1Ďâ 1 (all steps are low-confidence), the step-count under Fast-dLLM approaches the sequence length, while our method maintains multi-token acceptance via speculative branching. As Ďâ0Ďâ 0 (all steps are high-confidence), both methods converge and the incremental benefit of speculation vanishes. Supplementary evaluation on IFEval. To illustrate the above effect in a concrete low-confidence setting, we evaluate on IFEval (Zhou et al., 2023), a benchmark known for long-form instruction-following outputs that exhibit substantially lower model confidence than mathematical or code-generation tasks. All experiments are conducted on an H800 GPU with confidence threshold Ď=0.9Ď=0.9. As reported in Table 13, Fast-dLLM generates an average of only 1.3 tokens per step on this task (average generation length 277.2, 210.8 steps), confirming severe low-confidence degeneration. Our method (W2D2) reduces inference steps to 118.8âa 44% reductionâand achieves nearly 2Ă2Ă improvement in TPS (36.8 â 69.1), while maintaining comparable accuracy (53.97 â 54.71). This represents a substantially larger gain than the 1.2â1.4Ă observed on GSM8K and HumanEval, directly corroborating the prediction that our speedup scales with Ď. Table 13: Performance on IFEval (LLaDA-7B-Instruct, H800, Ď=0.9Ď=0.9). Fast-dLLM exhibits severe low-confidence degeneration (avg. 1.3 tokens/step), enabling our method to achieve nearly 2Ă2Ă speedup. Method TPSâ Stepsâ Accuracy Speedup Fast-dLLM (DC) 36.8 210.8 53.97Âą 0.02 1.0Ă Ours (W2D2) 69.1 118.8 54.71Âą 0.02 1.9Ă Implementation note. Our current implementation operates at the Python execution level, without hardware-specific kernel fusion or CUDA-level parallelization of branch verification. We reduce decoding steps by â 40%, yet the per-step overhead from parallel branch verification is not yet fully amortized at the systems level. Further gains are achievable through more efficient implementations (e.g., fused CUDA kernels for blockwise attention masking), which we view as an engineering opportunity complementary to the algorithmic contributions presented in this work.