Consistent Diffusion Language Models

Hasan Amin, Yuan Gao, Yaser Souri, Subhojit Som, Ming Yin, Rajiv Khanna, Xia Song

Introduction

Most modern AI text generators, such as GPT-4, rely on autoregressive (AR) architectures. While highly effective, AR models generate text sequentially—one word at a time, from left to right—which inherently limits their generation speed. Diffusion Language Models (DLMs) present an attractive, faster alternative by refining an entire sequence of noise (or masked tokens) into clear text simultaneously.

However, realizing the practical speed advantages of DLMs has been challenging. High-quality text generation typically requires hundreds of refinement steps, eroding the theoretical speedup. In continuous domains like image generation, "Consistency Models" solved this by training networks to map any point on a deterministic path back to the original data. Unfortunately, text is discrete. There is no smooth, continuous path between a masked token and a word; the process is inherently jumpy and stochastic. This lack of a deterministic trajectory has been the primary obstacle to developing fast, high-quality diffusion models for language.

Methodology: Multi-Path Discrete Consistency

To overcome the discrete barrier, the authors introduce a breakthrough training principle called Multi-Path Discrete Consistency (MPDC). Instead of searching for a non-existent deterministic path, MPDC embraces the randomness of discrete spaces.

The core of this approach relies on the exact posterior bridge—a closed-form mathematical equation that defines the probability of an intermediate state given a noisier state and the original data. Using this bridge, the model is trained to be path-invariant. In expectation, the model learns that a direct jump from a highly noisy state to the final output should yield the same result as taking a smaller hop to an intermediate state and predicting from there.

This principle is instantiated as the Consistent Diffusion Language Model (CDLM). Unlike previous "distillation" methods that require a pre-trained teacher model, CDLM is trained entirely from scratch in a single stage. To ensure stable training and prevent the model from collapsing into repetitive outputs, the authors employ several stabilization techniques:

  • Diffusion Anchor: Mixing in standard diffusion loss to ground the model.
  • Target Network: Utilizing a slow-moving average of the model to stabilize learning targets.
  • Jensen-Shannon Divergence: Keeping the training signal balanced and stable.

Datasets and Evaluation

The CDLM framework was rigorously trained and evaluated across several standard NLP benchmarks:

  • OpenWebText: Utilized for large-scale pre-training and unconditional text generation.
  • Lambada, Wikitext-103, and Penn Treebank (PTB): Used to evaluate conditional generation capabilities, such as text continuation and zero-shot fill-in-the-blank tasks.
  • 2D Moons: A toy dataset used to visually demonstrate how CDLM forms structural coherence significantly faster than standard diffusion models.

Key Insights

A major theoretical contribution of this work is proving that CDLM acts as a "grand unifier" in generative modeling. The authors mathematically demonstrate that standard masked diffusion, continuous consistency models, and progressive distillation are all analytic limits or empirical approximations of the CDLM framework.

Furthermore, the research highlights the strategic value of the few-step regime. While continuous models often target single-step generation, discrete models face a "token-factorization barrier." CDLM smartly targets 4 to 16 steps, a sweet spot where it can resolve complex cross-token dependencies that a single step would miss, turning stochasticity into an asset rather than a liability.

Results and Performance

Empirically, CDLM establishes a new state-of-the-art for discrete generative modeling:

  • Massive Speedups: CDLM achieves a 64x to 128x speedup over standard Masked Diffusion Language Models (MDLM).
  • Rivaling Autoregressive Baselines: It matches the performance of traditional AR models in just 32 to 64 steps, representing a 16x to 32x reduction in function evaluations compared to standard AR decoding.
  • Few-Step Dominance: In budgets under 16 steps, CDLM consistently outperforms both base discrete diffusion models and complex, multi-stage distilled baselines.
  • High Diversity: Unlike many distilled models that suffer from low entropy and repetitive outputs, CDLM maintains high sample diversity, generating natural and varied text.

Limitations and Future Directions

Despite these advances, one-step generation in discrete space remains an open challenge. Because tokens are predicted independently in the model's output layer, a single step from pure noise often lacks global coherence.

Future work will explore applying the CDLM framework to other discrete domains, such as biological sequences (DNA and proteins), graph structures, and program synthesis. Additionally, researchers aim to investigate advanced samplers and architectural optimizations (like KV-caching) to further reduce wall-clock latency, and explore whether CDLM can serve as a superior base model for subsequent distillation efforts.

Summary updated

BibTeX
@inproceedings{amin2026consistent,
  author = {Hasan Amin and Yuan Gao and Yaser Souri and Subhojit Som and Ming Yin and Rajiv Khanna and Xia Song},
  title = {{Consistent Diffusion Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=64HmKFCaq6},
}
Figure