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

Discrete Flow Maps

Peter Potaptchik, Jason Yim, Adhi Saravanan, Peter Holderrieth, Eric Vanden-Eijnden, Michael S. AlbergoarXiv 2026

TL;DR

Large language models are fundamentally bottlenecked by the slow, token-by-token nature of autoregressive generation, while parallel alternatives like diffusion models require too many iterative steps to be practical. This paper introduces Discrete Flow Maps (DFMs), a framework that compresses multi-step generative trajectories into a single forward pass while strictly respecting the discrete geometry of text. By aligning the model's architecture and training losses with the probability simplex, DFMs achieve state-of-the-art text generation quality in just a few steps.

What Problem Does This Paper Address?

Standard Large Language Models (LLMs) generate text autoregressively—predicting one token at a time. While highly effective, this serial process imposes a linear computational cost that makes long-form text generation slow and expensive.

To break this bottleneck, researchers have turned to non-autoregressive alternatives like continuous flow matching and diffusion models, which generate entire sequences in parallel by transforming random noise into structured data. To make these models fast, "flow maps" are used to compress the multi-step generation trajectory into a single step.

However, standard flow maps are designed for continuous domains (like images) and rely on Euclidean space ($\mathbb{R}^K$) and $L^2$ regression losses. Text data is inherently discrete; its probabilities live on a bounded probability simplex. Forcing simplex data into a Euclidean framework creates a fundamental geometric misalignment, leading to suboptimal performance. This paper resolves this conflict by redesigning flow maps specifically for discrete data.

Geometry of the discrete flow map

Methods

The core innovation of this paper is the Mean Denoiser Parametrization. Instead of predicting an unconstrained velocity vector in Euclidean space, the authors reparameterize the flow map using a "mean denoiser" ($\psi_{s,t}$) that is mathematically guaranteed to lie on the probability simplex.

This geometric alignment unlocks the ability to replace ill-suited $L^2$ regression losses with mathematically exact, likelihood-based objectives:

  • Diagonal Loss: Uses standard cross-entropy to anchor the model's predictions to the true data distribution.
  • Consistency Losses: To ensure the model learns a valid global trajectory across different time steps, the authors translate continuous consistency constraints—specifically Semigroup (PSD), Lagrangian (LSD), and Eulerian (ESD) formulations—into discrete-aligned versions using Kullback-Leibler (KL) divergence.

To ensure training stability, the authors derive these consistency targets directly in logit space, which cancels out numerical instabilities that typically occur near the boundaries of the trajectory (as time $t \to 1$).

Datasets

The authors evaluated Discrete Flow Maps on two standard language modeling benchmarks:

  • One Billion Word (LM1B): Tokenized using bert-base-uncased with a sequence length of 128.
  • OpenWebText (OWT): Tokenized using the GPT-2 tokenizer with a sequence length of 1024.

The models were evaluated against several recent non-autoregressive and accelerated discrete diffusion baselines, including Duo, MDLM, FMLM, and CFM.

Key Insights and Ideas

  • The Simplex is Non-Negotiable: Treating probability distributions as unconstrained coordinates in Euclidean space severely harms text generation. Forcing the model's outputs to natively reside on the simplex via a Softmax layer and a convex combination formulation is what allows flow maps to succeed on text.
  • Logit-Space Stability Matters: Directly implementing consistency losses can cause gradients to explode near trajectory endpoints. Rewriting the mathematical teachers in logit space bypasses this issue entirely.
  • The Power of the Eulerian Perspective: While most prior work in flow distillation focuses on the Semigroup/PSD formulation, this paper highlights the Eulerian perspective (ESD), demonstrating that it frequently yields superior text quality in few-step generation regimes.

Key Results

Discrete Flow Maps significantly outperformed existing accelerated discrete diffusion and flow baselines in the few-step regime (1 to 8 sampling steps) across both datasets.

Generative perplexity vs sampling steps on LM1B
  • Perplexity Leap: On the LM1B dataset, DFM (ESD) achieved a generative perplexity of 68.11 in just a single step (NFE = 1). In comparison, competitive baselines like Duo + DCD scored over 1224 under the same conditions.
  • Guidance Capabilities: The framework naturally supports Classifier-Free Guidance (CFG) at test time. As the guidance strength ($\omega$) increased from 0.0 to 2.0, the generative perplexity on OWT improved from 56.31 to 30.98, mirroring the sample-fidelity gains typically seen in continuous image diffusion models.

Limitations and Future Work

  • One-Step Mode Collapse: While the Eulerian (ESD) variant performs exceptionally well at 2 and 4 steps, it suffers from mode collapse when pushed to a strict 1-step generation limit (NFE = 1), where its unigram entropy drops significantly. The PSD variant remains more stable at 1 step but has slightly worse perplexity at higher steps.
  • Scale: The authors validated their approach using a 170-million parameter diffusion transformer backbone. Scaling Discrete Flow Maps to multi-billion parameter models to see if the performance gains hold true at LLM scale remains an open and crucial direction for future research.

Summary updated

BibTeX
@misc{potaptchik2026discrete,
  author = {Peter Potaptchik and Jason Yim and Adhi Saravanan and Peter Holderrieth and Eric Vanden-Eijnden and Michael S. Albergo},
  title = {{Discrete Flow Maps}},
  year = {2026},
  eprint = {2604.09784},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.09784},
}
Figure