An ODE-based Sampler for Discrete Diffusion Models

Samson Gourevitch, Yazid Janati, Eric Moulines, Eric P. Xing, Alain Durmus +1 more
10/29/2026
cs.LGstat.ML
diffusion-flowdistillation

No confident code implementation found for this paper.

Abstract

The marginals of a continuous diffusion model can be reproduced by a deterministic ordinary differential equation (ODE), known as the probability flow ODE, which provides a foundation for accelerated sampling and consistency distillation. In this paper we address the question whether an analogous formulation exists for discrete diffusion models and answer it affirmatively by introducing exponential residual flows (ERFs).

Show full abstract

Our framework augments the discrete state with a continuous residual variable for each token and position. These residuals evolve deterministically according to piecewise-defined ODEs whose vector fields depend on the current discrete state and the forward and backward rate matrices of the prescribed diffusion model. The discrete state changes whenever a residual reaches zero. We prove that this construction preserves the marginals of the original diffusion. We derive a practical discretization of our sampler and specialize it to masked and uniform diffusion. The deterministic trajectories of ERFs support consistency distillation and yield empirical improvements over previous approaches across a variety of benchmarks including code and text generation tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gourevitch2026odebased,
  title  = {An ODE-based Sampler for Discrete Diffusion Models},
  author = {Samson Gourevitch and Yazid Janati and Eric Moulines and Eric P. Xing and Alain Durmus and Giacomo Zanella},
  year   = {2026},
  eprint = {2610.40618},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.40618v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.40618.svg)](https://codeofpaper.com/paper/2610.40618)

Discussion