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

Efficient Diffusion LLMs via Temporal-Spatial Parallel Decoding and Confidence Extrapolation

Zekai Li, Ji Liu, Yiqing Huang, Ziqiong Liu, Dong Li, Emad Barsoum

TL;DR

This paper tackles the latency issue in diffusion-based large language models (dLLMs) by introducing a novel decoding framework. Their approach, Temporal-Spatial Parallel Decoding (TSPD) and Confidence Extrapolation (CE), intelligently decides when to "fix" tokens, significantly speeding up generation without sacrificing accuracy, and even complements existing optimizations like KV caching.

What Problem Does This Paper Address?

Diffusion-based Large Language Models (dLLMs) offer an exciting alternative to traditional autoregressive models by generating text in parallel through iterative denoising. However, this parallel generation comes at a cost: inference is often slow. This is because many denoising steps are spent refining tokens whose final values are already determined, leading to redundant computations. Existing methods to speed this up rely on simple, step-local heuristics or fixed schedules, which are brittle and fail to account for the complex temporal and spatial dynamics of token convergence within a sequence. This leads to either premature stopping (hurting quality) or overly conservative decisions (limiting speedup).

Methods

The authors propose a two-pronged approach:

  • Temporal-Spatial Parallel Decoding (TSPD): This is a learned controller that analyzes per-token "trajectories" – how a token's confidence, entropy, and momentum evolve over denoising steps – along with its spatial position within a block. This richer signal allows TSPD to make more robust decisions about when a token has truly converged and can be safely "fixed" (i.e., excluded from further denoising).
  • Confidence Extrapolation (CE): This is a training-free module that acts as a "look-ahead" mechanism. It uses a state-space model to forecast future confidence trends for tokens, crucially providing uncertainty estimates. This allows the system to proactively commit to tokens that are on a stable upward trajectory, even if they haven't yet reached a predefined confidence threshold, thus avoiding unnecessary waiting.

Together, TSPD and CE form a dynamic control system that intelligently manages the denoising process.

Datasets

The primary dLLM used for experiments is LLaDA-8B-Instruct. The evaluation is conducted across four established benchmarks:

  • GSM8K: Arithmetic reasoning problems.
  • MATH: More complex mathematical problems.
  • HumanEval: Code generation tasks.
  • MBPP: Another code generation benchmark.

The TSPD controller is trained on a subset of the FLAN dataset.

Key Insights and Ideas

  • Token trajectories are key: The paper highlights that simply looking at a token's confidence at a single step is insufficient. The history of a token's confidence and its spatial context are crucial for making accurate convergence decisions.
  • Passive waiting is suboptimal: Existing methods often wait passively for confidence to rise. The authors show that proactive forecasting (CE) can identify stable convergence trends earlier, unlocking significant speedups.
  • Heuristics are brittle: Step-local heuristics and fixed thresholds struggle with the inherent variability and structured behavior of diffusion decoding across different prompts and token positions.
  • Orthogonality to KV caching: The proposed methods are shown to be compatible with and complementary to existing KV caching techniques, allowing for even greater acceleration.

Key Results

The proposed framework (TSPD + CE) achieves substantial speedups with minimal accuracy degradation:

  • On GSM8K with a generation length of 256 tokens, they achieve 5.0x speedup without KV cache and 11.2x speedup with KV cache, while maintaining accuracy.
  • For longer generations (1024 tokens), they reach 64.1 Tokens Per Second (TPS) and up to 58.3x speedup, with accuracy comparable to the vanilla model.
  • The method demonstrates generalizability across different dLLM architectures (Dream-7B, LLaDA-MoE) and tasks.
  • Ablation studies confirm that confidence is the most critical feature for TSPD, while entropy and momentum offer complementary gains.

Limitations and Future Work

  • Model Complexity: The paper explores the impact of TSPD's parameter budget, finding that a moderate-capacity two-layer LSTM strikes the best balance between speed and accuracy, suggesting that overly complex controllers might not yield further benefits.
  • Training Data Scale: TSPD's performance saturates with a moderate amount of training data, indicating its efficiency in learning from compact trajectory features.
  • Future Work: The authors suggest that their approach is controller-agnostic and can be integrated with other stopping policies, hinting at broader applicability. The compatibility with KV caching also opens avenues for further system-level optimizations.

Summary updated

BibTeX
@inproceedings{li2026efficient,
  author = {Zekai Li and Ji Liu and Yiqing Huang and Ziqiong Liu and Dong Li and Emad Barsoum},
  title = {{Efficient Diffusion LLMs via Temporal-Spatial Parallel Decoding and Confidence Extrapolation}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=VzriJqD0h7},
}
Figure