Continuous Diffusion Scales Competitively with Discrete Diffusion for Language

Zhihan Yang, Wei Guo, Shuibai Zhang, Subham Sekhar Sahoo, Yongxin Chen, Arash Vahdat, Morteza Mardani, John Thickstun

TL;DR

This paper challenges the common belief that continuous diffusion language models (DLMs) cannot scale as effectively as discrete ones. By aligning the architecture of a likelihood-based continuous model (Plaid) with modern discrete DLM standards, the authors introduce RePlaid, which narrows the compute gap with autoregressive models to just $20\times$ and achieves a state-of-the-art perplexity of 22.1 on OpenWebText.

What Problem Does This Paper Address?

While diffusion models have revolutionized image generation, applying them to text has proven difficult due to the discrete nature of language. Discrete diffusion models (which manipulate tokens directly) have recently shown strong scaling behavior. In contrast, continuous diffusion models (which map tokens into a continuous embedding space and add Gaussian noise) have historically suffered from a massive training scalability gap.

For instance, previous studies reported that continuous models required up to $64\times$ more compute than autoregressive (AR) baselines to achieve matching likelihoods. This paper investigates whether this performance penalty is an inherent flaw of continuous space diffusion or simply an artifact of outdated architectures and inconsistent evaluation protocols.

Methods

The authors revisit Plaid, a likelihood-based continuous Variational Diffusion Model (VDM), and upgrade it into RePlaid by making several critical architectural alignments with modern discrete DLMs:

  • Transformer Modernization: They replace Plaid's original backbone with a Diffusion Transformer (DiT) utilizing bidirectional attention, Rotary Position Embeddings (RoPE), LayerNorm, and AdaLN-Zero modulation.
  • Low-Dimensional Embeddings: RePlaid maps tokens into a compact, 16-dimensional sphere-normalized learnable embedding space before applying Gaussian noise. This drastically reduces the FLOPs required for embedding projections compared to high-dimensional or one-hot alternatives.
  • Likelihood-Based Training: Unlike recent continuous models that use heuristic cross-entropy or flow-matching losses, RePlaid optimizes the Negative Evidence Lower Bound (NELBO).
  • Learnable Noise Schedule: The noise schedule is parameterized by a neural network and trained specifically to minimize the variance of the ELBO.
  • Self-Conditioning: During training, 25% of the batch utilizes a gradient-free initial pass to estimate clean data, which is then fed back as a conditioning signal for the final prediction.

Datasets

  • SlimPajama: Used for the large-scale IsoFLOP scaling law analysis to ensure a rich, deduplicated data distribution.
  • OpenWebText (OWT): Used for standard 0.1B parameter model benchmarking and perplexity evaluation.
  • LM1B (One Billion Word Benchmark): Used as a secondary evaluation dataset for cross-model perplexity comparisons.

Key Insights and Ideas

  • The Power of the ELBO Variance: The authors mathematically demonstrate that minimizing the variance of the ELBO naturally forces the per-timestep diffusion loss to be constant and the cross-entropy loss to be near-linear over time. This automatically distributes denoising difficulty evenly across the generation trajectory, eliminating the need for hand-engineered, heuristic time reparameterizations.
  • Structured Embedding Geometry: Jointly optimizing token embeddings directly via the ELBO acts as a powerful regularizer. It forces the model to learn a low-rank, linguistically structured latent space where tokens cluster naturally by their part-of-speech (POS) tags.
  • The Danger of Auxiliary Cross-Entropy: Counter-intuitively, adding a standard cross-entropy loss during training disrupts this delicate embedding geometry, flattening the principal components and degrading the model's overall perplexity.
Visualizing geometry of learned embeddings of RePlaid showing POS-structured clustering and low-rank concentration.

Key Results

  • Competitive Scaling Laws: RePlaid demonstrates clean power-law scaling. The compute gap to AR models narrows from $64\times$ down to $20\times$ (with self-conditioning) or $27\times$ (without). This puts it on par with or ahead of top discrete diffusion models like Duo ($22\times$).
Figure 2: Scaling laws. (a) The compute-optimal REPLAID loss exhibits power-law scaling, decreasing at a rate comparable to AR, MDLM, and Duo. MDLM requires 14× FLOPs to match AR; Duo needs 22×; REPLAID consumes 20× with self-conditioning (s.c.) and 27× without it. (b) The compute-optimal REPLAID (s.c.) uses 1.8× fewer parameters than MDLM and Duo – while outperforming Duo’s loss in (a) – and uses 3.4× fewer than AR. For a given (non-embedding) model size, MDLM and REPLAID (s.c.) match loss at the green line.
  • State-of-the-Art Perplexity: At the 0.1B parameter scale on OpenWebText, RePlaid achieves a new state-of-the-art perplexity bound of 22.1 among continuous DLMs, outperforming the discrete MDLM baseline (23.1) and concurrent continuous models like LangFlow (32.2).
  • Parameter Efficiency: To reach its compute-optimal frontier, RePlaid requires $3.4\times$ fewer parameters than an AR baseline and $1.8\times$ fewer parameters than MDLM or Duo.
  • Over-Training Superiority: When models are over-trained (trained past their compute-optimal point to minimize inference costs), RePlaid predictably crosses over to outperform discrete models like MDLM in validation loss.

Limitations and Future Work

  • Remaining Compute Gap: Although narrowed significantly, a $20\times$ compute overhead compared to autoregressive models still remains a barrier for practical raw training efficiency.
  • Extreme Scale Verification: The unified scaling laws were evaluated up to the 1e20 FLOP regime (~1B parameters). Testing whether these trends hold true in multi-billion parameter large language models (LLMs) remains an open question.
  • Contextual Embeddings: RePlaid currently relies on static token embeddings. Integrating richer, contextual encoders that condition on the entire sequence could yield further performance gains.

Summary updated

BibTeX
@inproceedings{yang2026continuous,
  author = {Zhihan Yang and Wei Guo and Shuibai Zhang and Subham Sekhar Sahoo and Yongxin Chen and Arash Vahdat and Morteza Mardani and John Thickstun},
  title = {{Continuous Diffusion Scales Competitively with Discrete Diffusion for Language}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ViiyKzhLpA},
}
Figure