NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Continuous Diffusion Model for Language Modeling

Jaehyeong Jo, Sung Ju Hwang

Overview

Researchers have bridged the gap between discrete and continuous diffusion for language modeling by treating categorical data as points on a hypersphere. By leveraging the geometry of the statistical manifold, the Riemannian Diffusion Language Model (RDLM) enables the smooth, iterative refinement of text. This approach outperforms previous discrete diffusion methods and rivals state-of-the-art autoregressive models.

The Discrete vs. Continuous Gap

Diffusion models have revolutionized image and video generation because they operate in continuous space, allowing for "iterative refinement"—the gradual transformation of noise into a crisp output. However, language is fundamentally discrete, composed of distinct words, characters, or tokens.

Traditional "discrete diffusion" models use Markov chains to jump between states. The problem with this approach is that these jumps are "all-or-nothing," causing informative signals to be lost during the transition process. While some researchers have attempted to project text into continuous space, these methods often ignore the underlying geometry of probability distributions, leading to poor performance and numerical instability. Until now, there has been a missing link: a mathematically sound way to apply the power of continuous diffusion to the discrete world of linguistics.

Methods: Bridging the Gap

The authors introduce the Riemannian Diffusion Language Model (RDLM) to solve this problem through several key innovations:

  1. The Hypersphere Mapping: Instead of working with raw tokens, the model maps categorical distributions onto the positive orthant of a hypersphere ($S^{d-1}_+$). This "statistical manifold" preserves the natural geometry of how probabilities change.
Mapping discrete distributions to a continuous hypersphere manifold
  1. Continuous Flow Analogy: The authors prove that discrete diffusion (such as masking or uniform noise) can be viewed as a specific type of continuous flow on this manifold. This insight allows them to design a generative process that generalizes existing discrete models while operating smoothly.
  2. Dimension Splitting: Large vocabularies (e.g., the 30k+ tokens in modern LLMs) create massive, high-dimensional manifolds that are difficult to learn. RDLM uses "dimension splitting"—representing a large index in a different base (e.g., base $b$) and mapping it to a product of smaller, more manageable manifolds.
  3. Simulation-Free Training: Typically, training on manifolds requires computationally expensive simulations. RDLM introduces a "Riemannian normal" approximation and leverages radial symmetry to create a training objective that is roughly 50x faster than simulation-based methods.

Key Insights

  • Iterative Refinement is Essential: The performance lag in previous discrete models isn't strictly about the data; it's about the process. By allowing the model to move through a "fuzzy" continuous space of distributions before settling on a token, it can correct its own mistakes during generation.
  • Geometry Matters: Previous continuous relaxations failed because they treated the probability simplex like a flat Euclidean space. By using the Fisher-Rao metric and the hypersphere, RDLM respects the fact that moving from a 1% to 2% probability represents a more significant shift than moving from 50% to 51%.
  • Unifying the Field: The paper provides a formal mathematical connection showing that discrete masked diffusion is simply a specific path on a Riemannian manifold, unifying two previously separate sub-fields of generative AI.

Evaluation and Results

The model was evaluated across diverse domains, including language modeling (Text8, LM1B), image modeling (CIFAR-10 treated as discrete pixels), and biological sequences (Promoter DNA).

  • State-of-the-Art for Diffusion: On the Text8 benchmark, RDLM achieved a Bits Per Character (BPC) of 1.32, outperforming all previous discrete and continuous diffusion models (such as SEDD and MDLM).
  • Competitive with Autoregressive Models: On the LM1B dataset, RDLM reached a perplexity of 28.44. This is significantly better than previous continuous-to-discrete attempts (like Diffusion-LM at 118.62) and approaches the performance of standard Transformers.
  • Cross-Modal Success: In pixel-level image modeling, RDLM achieved the lowest Bits Per Dimension (2.73) on CIFAR-10 among all compared discrete and autoregressive baselines.
  • Efficiency: The proposed training framework offers a 50x speedup over naive manifold simulation, making it highly practical.

Limitations and Future Work

Despite this progress, the authors note a few remaining hurdles:

  • The Autoregressive Gap: While RDLM is the best-performing diffusion model for language, it still slightly lags behind the absolute best autoregressive models in specific metrics. This is likely because autoregressive models use their capacity more efficiently by focusing on a fixed ordering.
  • Sequence Length Constraints: The current framework generates sequences of a predefined maximum length. Future work could incorporate a "semi-autoregressive" approach to generate text block-by-block for longer documents.
  • Position-Dependent Scheduling: A noise scheduler that converges "left-to-right" (mimicking human reading and writing) might further improve performance.

Summary updated

BibTeX
@inproceedings{jo2025continuous,
  author = {Jaehyeong Jo and Sung Ju Hwang},
  title = {{Continuous Diffusion Model for Language Modeling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=VGv5y60sXC},
}
Figure