arXiv(opens in a new tab)cs.CLAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.27514

Trajectory-Level Speculative Decoding for Diffusion Language Models

Tianxiang Pan, Baitao Gong, Mo Guang, Hongwei Yong, Tianpeng Jiang, Yaqian Li, Zheng Cao, Kaiwen Long

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

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

*Equal contribution ¹Li Auto Inc., Shanghai, China. Correspondence to: Yaqian Li liyaqian@lixiang.com.

Proceedings of the 43rd International Conference on Machine Learning, Seoul, South Korea. PMLR 306, 2026. Copyright 2026 by the author(s).

Figure

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.

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-kk 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-kk candidates (k≈3k \approx 3). This suggests an opportunity: rather than discarding low-confidence positions, we can speculate over multiple candidate trajectories in parallel and verify them jointly.

Why existing speculative decoding fails for dLLMs. Au-toregressive 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-kk 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×7-14\times speedup over vanilla dLLMs and 1.3×1.3\times over Fast-dLLM, with less than 1% accuracy change across reasoning and code benchmarks.

References (23)