NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

S2D2: Fast Decoding for Diffusion LLMs via Training-Free Self-Speculation

Ligong Han, Hao Wang, Han Gao, Kai Xu, Akash SrivastavaarXiv 2026

TL;DR

S2D2 (Self-Speculative Diffusion Decoding) accelerates block-diffusion language models without requiring any extra training, distillation, or auxiliary models. By recognizing that a block-diffusion model inherently behaves as an autoregressive verifier when its block size is reduced to one, S2D2 introduces a training-free self-speculation framework that delivers up to a 4.7× speedup over autoregressive decoding while simultaneously improving generation accuracy.

What Problem Does This Paper Address?

While standard autoregressive (AR) language models generate text strictly left-to-right (token-by-token), diffusion-based language models offer a highly parallel alternative. A popular recent paradigm is block-diffusion, which combines block-wise AR generation (enabling efficient KV cache reuse) with parallel denoising within each block.

However, to achieve practical speedups, these models must decode text in very few denoising steps. In this few-step regime, standard confidence-thresholded decoding becomes brittle. If the model uses an aggressive threshold to accept tokens quickly, generation quality degrades due to error accumulation. Conversely, a conservative threshold preserves quality but wastes compute on unnecessary denoising steps. Existing solutions to this trade-off either require training separate energy/draft models or incur heavy computational overhead at test time.

Methods

The authors introduce S2D2, a training-free self-speculative decoding framework. The core breakthrough relies on a simple observation: if you reduce the block size of a block-diffusion model to 1, it becomes a standard autoregressive model.

This allows the exact same pretrained model to play two distinct roles simultaneously:

  1. The Drafter: Standard block-diffusion decoding proposes a block of candidate tokens in parallel.
  2. The Verifier: The model switches to a block size of 1, acting as an autoregressive sequence-level critic to verify the proposed tokens via rejection sampling.
Figure 1: Overview of S2D2. (a) Standard block-diffusion decoding accepts drafted tokens by confidence thresholding. (b) S2D2 inserts a self-speculative verification step: the same model under block-size-1 autoregressive masking verifies the first contiguous masked span, accepts tokens by rejection sampling, and falls back to standard diffusion decoding when verification is not invoked or terminates early. (c) Verification-mode attention masks for right-shifted and standard position-aligned diffusion LLMs; we draw the full-block mask for illustration, though in practice only Ct is verified. (d) Lightweight routing policies decide when verification is worth its additional cost.

To make this computationally viable, S2D2 incorporates two key mechanisms:

  • Parallel Self-Verification Masking: For position-aligned diffusion models, the authors utilize a "2L trick" attention mask matrix. This allows the model to compute all autoregressive verifier probabilities for the drafted tokens in a single parallel forward pass.
  • Lightweight Routing Policies: Because verification adds an extra forward pass, it isn't always efficient to run (e.g., if the drafted span is too short). S2D2 uses lightweight routing policies—such as Minimum-span, Score-threshold, and Hysteresis—to dynamically predict the expected accepted prefix length and only trigger verification when it is computationally advantageous.

Datasets

The framework was evaluated across five models from three major block-diffusion families (SDAR, Fast-dLLM v2, and LLaDA2.1) using the following standard benchmarks:

  • GSM8K: Mathematical reasoning tasks.
  • MBPP & HumanEval: Python code generation.
  • IFEval: Detailed instruction-following capabilities.

Key Insights and Ideas

  • The "Free" Verifier: The realization that a block-size-1 mode acts as a built-in AR verifier means self-speculation can be plugged into existing block-diffusion models completely out-of-the-box.
  • Sequence-Level Correction: Standard diffusion decoding treats token confidences independently (a mean-field approximation), which drops sequence-level dependencies. S2D2's AR verification acts as a local sequence critic, correcting joint token errors before they propagate.
  • Stochastic Energy Minimization: Mathematically, S2D2 connects to energy-based residual correction models (like EDLM). Rejection sampling based on the verifier-to-drafter probability ratio acts as an online, greedy local preference for lower residual energy—achieving quality corrections without the typical training overhead.

Key Results

S2D2 consistently improves the accuracy-speed frontier across all evaluated model families, particularly in large-block regimes where standard diffusion decoding normally becomes unstable.

  • SDAR Performance: S2D2 achieved up to a 4.7× speedup over pure autoregressive decoding and up to a 1.57× speedup over a highly tuned dynamic confidence baseline. Crucially, it did this while boosting average accuracy by up to 4.5 points.
  • LLaDA2.1-Mini Performance: S2D2 proved entirely complementary to LLaDA's built-in token editing mechanism. In a conservative decoding configuration, S2D2 ran 4.4× faster than the static baseline while yielding slightly higher accuracy.

Limitations and Future Work

The authors note a few limitations that pave the way for future research:

  • Local Verification Span: S2D2 currently only verifies the first contiguous masked span within a block, meaning it does not optimize non-contiguous parallel token proposals.
  • Dependence on AR Training Quality: S2D2 assumes that the block-diffusion model maintains a reliable block-size-1 AR conditional mode. If a model variant is poorly optimized or untrained for this specific edge case, S2D2's residual resampling can actually degrade performance.

Future work includes extending the framework to handle multi-span verification and combining S2D2 with batching-based speculative decoding methods.

Summary updated

BibTeX
@misc{han2026s,
  author = {Ligong Han and Hao Wang and Han Gao and Kai Xu and Akash Srivastava},
  title = {{S2D2: Fast Decoding for Diffusion LLMs via Training-Free Self-Speculation}},
  year = {2026},
  eprint = {2603.25702},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.25702},
}
Figure