Abstract Diffusion Language models (DLMs) are a promising avenue for text generation due to their practical properties on tractable controllable generation. They also have the advantage of not having to predict text autoregressively. However, despite these notable features, DLMs have not yet reached the performance levels of their autoregressive counterparts. One of the ways to reduce the performance gap between these two types of language models is to speed up the generation of DLMs. Therefore, we propose a novel methodology to address this issue in this work. It enables the execution of more generation steps within a given time frame, leading to higher-quality outputs. Specifically, our methods estimate DLMs completeness of text generation and allow adaptive halting of the generation process. We evaluate our methods on Plaid, SSD, and CDCD DLMs and create a cohesive perspective on their generation workflows. Finally, we confirm that our methods allow halting these models and decrease the generation time by 10-40% without a drop in the quality of model samples.
Introduction
While Large Language Models (LLMs) are currently dominated by autoregressive (AR) architectures that predict tokens sequentially, Diffusion Language Models (DLMs) offer a compelling non-causal alternative. By iteratively denoising a signal from pure noise into coherent text, DLMs allow for superior global control and non-autoregressive generation. However, a significant bottleneck remains: DLMs typically require a fixed, high number of denoising steps (often 1,000), making them computationally expensive compared to AR models. This research investigates whether this fixed budget is necessary and proposes adaptive criteria to halt generation early when the model has reached a stable output.
Adaptive Early Exiting Methodology
To optimize generation efficiency, we introduced several Adaptive Early Exiting criteria designed to detect when a model has "settled" on its final prediction:
- Entropy Criterion: Halts when the model's confidence in its token predictions reaches a high threshold (low entropy).
- KL Divergence Criterion: Monitors the statistical difference between the current and previous step's distributions, halting when the change falls below a threshold.
- Patience-based Criterion: Stops generation if the predicted tokens remain unchanged for a set number of consecutive steps.
- Fixed Step Baseline: A control method that stops at a pre-determined point regardless of internal state.
These methods were evaluated across three major DLM architectures: SSD (Simplex-based Diffusion), Plaid, and DDLM (our reproduction of the Continuous Diffusion for Categorical Data, or CDCD, framework).
Analysis of Generation Dynamics
A key insight of this work is the observation of "token stabilization." In models like DDLM, the number of token switches—where the model changes its mind about a specific token between steps—often drops to zero well before the final denoising step.
As shown in the figure above, the model reaches a consensus midway through the process. This suggests that the remaining steps are redundant, providing a clear opportunity for adaptive halting without sacrificing output quality.
Embedding Trajectory and Directional Alignment
Further analysis of the embedding space reveals that the model does not simply traverse the surface of the embedding sphere. Instead, it travels through the interior, settling on a final directional vector long before the denoising process is officially complete.
By tracking the L2 norm of embeddings and the cosine similarity between current and final states, we observed that the model's trajectory stabilizes early. This directional alignment confirms that the core semantic content is established early in the denoising chain.
Results and Quality Preservation
Our experiments on the C4 dataset demonstrate that adaptive halting significantly improves efficiency:
- Speedups: We achieved a 40% reduction in generation time for DDLM, 10–15% for SSD, and 10% for Plaid.
- Quality: Using metrics such as AR-NLL and GPT-Score (GPT-4 as a judge), we confirmed that early exiting does not degrade linguistic coherence.
- Diversity: Metrics like Dist-n and Self-BLEU showed that diversity is maintained, proving that early halting does not lead to mode collapse or repetitive outputs.
Among the tested methods, the KL Divergence criterion proved most effective, allowing DDLM to exit up to 50 steps earlier than other adaptive methods while maintaining peak performance.
Conclusion
This study demonstrates that the fixed-step requirement in DLMs is often an artifact of design rather than a functional necessity. By employing adaptive halting, we can reduce computation time by up to 40% while maintaining high-quality text generation. These findings suggest that current DLMs may have inherent design inefficiencies, and the ability to halt early serves as a valuable diagnostic tool for developing the next generation of efficient diffusion architectures.
Summary updated