AI
LangFlow Bridges the Gap: Continuous Diffusion Now Matches Discrete Models in Language Generation
A new approach unites continuous diffusion modeling with Flow Matching, finally making diffusion-based language generation competitive with traditional discrete methods.
Continuous diffusion models have excelled at generating images, videos, and molecular structures with high quality and fine-grained control, yet they've consistently fallen short of discrete approaches in language modeling. Researchers have now closed that performance gap with LangFlow, a new framework that demonstrates continuous diffusion can finally rival discrete diffusion models for text generation.
The Challenge with Continuous Diffusion for Language#
The core problem has been one of scale and design. Prior continuous diffusion language models (DLMs) attempt to work in embedding space but lack a principled framework for noise scheduling and training. Meanwhile, categorical and simplex-based approaches struggle with the massive, sparse nature of language spaces. This fundamental mismatch is why discrete diffusion models—which operate directly on token distributions—have consistently outperformed continuous alternatives.
Three Key Technical Innovations#
The LangFlow approach introduces three critical improvements:
- ODE-based likelihood bounds: A novel derivation that enables principled evaluation of continuous flow-based language models through a well-grounded lower bound on negative log-likelihood.
- Information-uniform noise schedules: A principle for setting noise progression that motivates a learnable scheduler based on the Gumbel distribution, rather than fixed schedules used previously.
- Self-conditioning protocols: A revision of training methods that incorporates self-conditioning specifically adapted for embedding-space diffusion, enhancing both likelihood and sample quality in ways that differ from discrete diffusion applications.
Performance on Par with Discrete Methods#
LangFlow demonstrates competitive performance with leading discrete diffusion language models. On the LM1B benchmark, it achieves a generative perplexity of 92.3, and on OpenWebText, it reaches 36.5—metrics that match top discrete approaches. Notably, it also surpasses discrete models on reasoning tasks, such as Sudoku, suggesting continuous diffusion may have advantages in structured problem-solving domains.

