Just on Time: Token-Level Early Stopping for Diffusion Language Models
Zahar Kohut, Severyn Shykula, Dmytro Khamula, Mykola Vysotskyi, Taras Rumezhak, Volodymyr Karpiv
TL;DR
Jot tackles decoding inefficiency in diffusion language models by introducing a training-free, per-token early stopping mechanism. It uses a per-position confidence ratio $r^i = p_1^i/(p_2^i + \epsilon)$ and a spatially modulated threshold $\tau^i = \tau_{\max} - (\tau_{\max} - \tau_{\min})\cdot \phi^i$, where $\phi^i$ reflects proximity to already-resolved tokens and $w^i$ aggregates local context with a decay $\gamma$. Across Dream-7B-Instruct and LLaDA-8B-Instruct on GSM8K, MMLU, HellaSwag, and HumanEval, Jot delivers up to $19.6\times$ speedups with minimal quality loss, and ablations show the value of threshold tuning and spatial modulation. The method is training-free, orthogonal to other acceleration techniques, and demonstrates strong practical potential for speeding up diffusion-based text generation in diverse tasks.
Abstract
Diffusion language models generate text through iterative refinement, a process that is often computationally inefficient because many tokens reach stability long before the final denoising step. We introduce a training-free, token-level early stopping approach that identifies convergence independently at each position. Our method leverages lightweight signals derived from the model's predictions and local context to dynamically determine when individual tokens can be finalized. This yields adaptive per-token freezing without task-specific fine-tuning, substantially reducing the total number of diffusion steps required. Across diverse benchmarks, spanning mathematical reasoning, general question answering, and scientific understanding, our approach achieves state-of-the-art efficiency gains while preserving generation quality.
