# LangFlow: Continuous Diffusion Rivals Discrete in Language Modeling

DevFeed: [LangFlow: Continuous Diffusion Rivals Discrete in Language Modeling](<https://devfeed.tech/articles/langflow-continuous-diffusion-rivals-discrete-in-language-modeling-123117.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2604.11748>)

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

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>)

Tags: [continuous](<https://devfeed.tech/tags/continuous.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [flow](<https://devfeed.tech/tags/flow.md>), [flow-matching](<https://devfeed.tech/tags/flow-matching.md>), [generation](<https://devfeed.tech/tags/generation.md>), [generative](<https://devfeed.tech/tags/generative.md>), [information](<https://devfeed.tech/tags/information.md>), [langflow](<https://devfeed.tech/tags/langflow.md>), [language](<https://devfeed.tech/tags/language.md>), [modeling](<https://devfeed.tech/tags/modeling.md>), [models](<https://devfeed.tech/tags/models.md>), [noise](<https://devfeed.tech/tags/noise.md>), [perplexity](<https://devfeed.tech/tags/perplexity.md>), [quality](<https://devfeed.tech/tags/quality.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [scheduler](<https://devfeed.tech/tags/scheduler.md>), [sparsity](<https://devfeed.tech/tags/sparsity.md>), [training](<https://devfeed.tech/tags/training.md>)

## AI overview

LangFlow connects embedding-space diffusion language models to Flow Matching and reports generative quality competitive with leading discrete models. It introduces an ODE-based negative log-likelihood bound for evaluation, an information-uniform noise schedule implemented with a learnable Gumbel-based scheduler, and self-conditioning that improves likelihood and sample quality in this setting. The abstract reports generative perplexities of 92.3 on LM1B and 36.5 on OpenWebText, plus better performance than discrete counterparts on reasoning tasks such as Sudoku. These claims are limited to the abstract's reported comparisons.

## Source excerpt

arXiv:2604.11748v4 Announce Type: replace-cross Abstract: Continuous diffusion has served as a foundation for high-fidelity, controllable, and few-step generation across continuous data modalities such as images, videos, and molecular structures. However, in language modeling, prior continuous diffusion language models (DLMs) lag behind discrete counterparts. Existing categorical and simplex-based approaches operate over extremely large and sparse language spaces, while prior embedding-space approaches avoid this sparsity but lack a well-selected design space. In this work, we close this gap with LangFlow by connecting embedding-space DLMs to Flow Matching, alongside three key innovations: (1) we derive a novel ODE-based NLL bound for principled evaluation of continuous flow-based language models; (2) we propose an information-uniform principle for setting the noise schedule, which motivates a learnable noise scheduler based on a Gumbel distribution; and (3) we revise prior training protocols by incorporating self-conditioning, which improves both likelihood and sample quality for embedding-space DLMs and behaves differently from its use in discrete diffusion. Putting everything together, LangFlow is competitive with top discrete DLMs on generative quality, reaching a generative perplexity of 92.3 on LM1B and 36.5 on OpenWebText. It also outperforms discrete counterparts on reasoning tasks like Sudoku. As the first continuous DLM shown to rival discrete diffusion in generative quality, LangFlow provides clear evidence that continuous diffusion is a promising paradigm for language modeling. Code: https://github.com/nealchen2003/LangFlow.