AI
New decoding method speeds up diffusion language models by exploiting token stability patterns
Researchers introduce STDec, a training-free approach that leverages spatial and temporal consistency to accelerate inference in diffusion-based large language models.
Diffusion Large Language Models (dLLMs) represent an emerging alternative to traditional autoregressive language models, but their decoding process has room for optimization. A new technique called STDec (Spatio-Temporal Stability Guided Decoding) aims to improve inference speed without sacrificing quality by capitalizing on predictable patterns in how tokens are generated.
The core insight#
The researchers observed that dLLM decoding exhibits strong spatio-temporal stability—meaning newly decoded tokens cluster near their neighbors in representation space, and their predicted token identities often remain consistent across multiple denoising steps. Rather than applying a uniform confidence threshold to all tokens, STDec exploits these regularities through two complementary mechanisms.
How spatial and temporal awareness work#
Spatial-aware decoding generates thresholds that adapt to individual tokens by aggregating information from nearby decoded states. This context-sensitive approach replaces the global threshold with token-specific confidence boundaries that reflect local patterns in the sequence.
Temporal-aware decoding relaxes thresholds for tokens whose predicted identities remain stable across denoising iterations. Tokens that "agree" with themselves over multiple steps warrant less stringent filtering, speeding up their acceptance.
Key advantages#
STDec requires no training and integrates seamlessly with existing cache-based acceleration methods. Across both textual reasoning and multimodal benchmarks, the approach maintains comparable output quality while improving throughput. Most striking: on the MBPP code generation benchmark with the LLaDA model, STDec achieved up to 14.17× speedup while preserving performance parity.
The method opens a practical path toward faster diffusion-based decoding without architectural changes or fine-tuning, making it immediately applicable to deployed dLLM systems.

