STDD:Spatio-Temporal Dynamics-Driven Token Refinement in Diffusion Language Models
Xinhao Sun, Maoliang Li, Zihao Zheng, Jiayu Chen, Hezhao Xu, Yun Liang, Xiang Chen
TL;DR
This work tackles the inefficiency of fixed-threshold remasking in diffusion language models by introducing a per-token, step-adaptive remasking framework grounded in spatio-temporal token dynamics. By defining Temporal Variance and Spatial Deviance, the method captures each token's convergence status and inter-token correlations, enabling dynamic thresholds $ au_t^i$ that adapt as decoding progresses. The approach, STDD, also includes a feasibility optimization with Suspected Fast/Slow token mechanisms to further stabilize decoding. Empirical results show substantial speedups (up to $8.9\times$) while preserving or improving accuracy across benchmarks, and STDD remains compatible with existing acceleration methods like dKV-Cache and ICE, suggesting broad applicability in diffusion-based decoding workflows.
Abstract
Unlike autoregressive language models, diffusion language models (DLMs) generate text by iteratively denoising all token positions in parallel. At each timestep, the remasking strategy of a DLM selects low-priority tokens to defer their decoding, thereby improving both efficiency and output quality. However, mainstream remasking strategies rely on a single global confidence threshold, overlooking the temporal and spatial dynamics of individual tokens. Motivated by the redundant iterations and constrained parallelism introduced by fixed-threshold remasking, we propose a novel remasking approach that dynamically detects Temporal Variance and Spatial Deviance of each token, which reflect its convergence status and inter-token correlations. Using these signals, our method adaptively adjusts the confidence threshold for every token at every step. Empirical results show that our approach significantly improves the operational efficiency of DLMs across mainstream datasets, achieving speedups of up to 8.9 times while faithfully preserving generation quality.
