NeurIPS 2026QuestionsPapersAreasAboutMarkdown

LangFlow: Continuous Diffusion Rivals Discrete in Language Modeling

Yuxin Chen, Chumeng Liang, Hangke Sui, Ruihan Guo, Chaoran Cheng, Jiaxuan You, Ge Liu

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: LLM Reasoning, Memory & RAG › Diffusion Language Models · Type: new method · Keywords: continuous diffusion language models, flow matching, ODE-based NLL bound, information-uniform noise schedule, self-conditioning, language modeling

Areas: Generative Models (Diffusion & Flows) › Diffusion Language Modeling › Diffusion Language Modeling

Summary

LangFlow introduces a continuous diffusion language model that rivals discrete diffusion by integrating Flow Matching, a novel ODE-based NLL bound, an information-uniform noise schedule with a learnable Gumbel scheduler, and self-conditioning, achieving competitive perplexity on LM1B and OpenWebText and zero-shot transfer gains.

Explained to a 5-year-old

We want computers to learn how to write words like a story. Instead of using the usual step-by-step method, we use a smooth flow that moves words gradually. This new way helps the computer make better stories and understand language better. It also lets the computer switch from learning one language to another more easily. Because of this, computers can now write text that is almost as good as the best ones before.

Explained to a 5-year-old, longer

Computers can learn to write sentences by looking at lots of text. The usual way is to guess one word at a time, like filling a puzzle. Another way is to think of words as points in a smooth space and move them little by little. This smooth moving is called continuous diffusion, and it works well for pictures and sounds. For language, it has been harder because there are many possible words and they are far apart. The new idea connects this smooth movement to a technique called flow matching, which helps the computer follow a clear path. It also adds a rule that keeps the noise level just right, so the computer knows when to stop. The training also uses a trick where the computer helps itself by remembering what it has already done. All these changes make the computer’s writing better and its understanding of language stronger. As a result, the computer can write sentences that look natural and get scores similar to the best existing methods. It also works well when the computer tries to use what it learned on new tasks, like answering questions or translating. This shows that smooth, continuous methods can be just as good as the old step-by-step methods for language.

For a technical reader

LangFlow adapts continuous diffusion to language modeling by linking embedding-space models to Flow Matching, which provides a principled ODE-based loss for training. It introduces an information-uniform noise schedule managed by a learnable Gumbel distribution, improving stability and sample quality. The addition of self-conditioning during training boosts both likelihood scores and generative performance, allowing the model to match or exceed discrete diffusion baselines on standard benchmarks. This approach demonstrates that continuous diffusion can be a practical alternative for text generation with controllable and efficient sampling.

Problem

Continuous diffusion language models have lagged behind discrete diffusion models in language modeling due to challenges in handling large sparse language spaces and designing effective training protocols.

Method

The approach connects embedding-space diffusion models to Flow Matching, derives an ODE-based negative log-likelihood bound for evaluation, introduces an information-uniform principle for noise scheduling with a learnable Gumbel-based scheduler, and revises training with self-conditioning to improve likelihood and sample quality.

Results

The approach achieves perplexities of 30.0 on LM1B and 24.6 on OpenWebText, and it outperforms autoregressive baselines in zero-shot transfer on 4 of 7 benchmarks.

Contributions

It provides an ODE-based NLL bound for evaluating continuous diffusion language models, an information-uniform noise schedule with a learnable Gumbel scheduler, and a self-conditioning training protocol that together enable embedding-space diffusion to rival discrete diffusion in perplexity and generative quality.

Practical relevance

It demonstrates that continuous diffusion can be a viable alternative for language modeling, opening the door to more controllable and few-step generation in text.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction