How Discrete and Continuous Diffusion Meet: Comprehensive Analysis of Discrete Diffusion Models via a Stochastic Integral Framework

Yinuo Ren, Haoxuan Chen, Grant M. Rotskoff, Lexing Ying

Introduction

Diffusion models have revolutionized artificial intelligence, particularly in generating continuous data such as images. The deep theoretical understanding of these continuous models is built on a mature mathematical foundation, including Itô calculus and Girsanov’s theorem. However, when applying diffusion to discrete data—such as DNA sequences, text, or molecular graphs—researchers rely on "discrete diffusion" operating over finite states.

Historically, discrete diffusion has lacked a unified theoretical language comparable to its continuous counterpart. Previous error analyses were often algorithm-specific or relied on weaker metrics like Total Variation (TV) distance. This paper introduces a comprehensive theoretical framework that bridges this gap, utilizing Lévy-type stochastic integrals to provide rigorous error bounds for discrete diffusion models in Kullback-Leibler (KL) divergence.

A Unified Theoretical Framework

Moving away from standard Markov chain descriptions, the authors formulate discrete diffusion as stochastic integrals based on Poisson random measures with evolving intensities. Just as Brownian motion serves as the foundational noise source for continuous diffusion, the Poisson random measure acts as the natural noise source for discrete jumps.

Trajectories of discrete jump processes with evolving continuous intensities.

Key technical innovations in this framework include:

  • Evolving Intensities: The authors generalize standard Poisson processes to handle intensities that change over time and depend on the current state, accurately reflecting the dynamics of discrete diffusion.
  • Change of Measure Theorem: The paper derives a "discrete Girsanov’s theorem." In continuous diffusion, Girsanov’s theorem is essential for calculating log-likelihood ratios; this work provides the equivalent mathematical machinery needed for jump processes.
  • Error Decomposition: Total model error is systematically broken down into three distinct sources: Truncation error (stopping the process prematurely), Approximation error (imperfections in the neural network's learning), and Discretization error (loss of fidelity when translating continuous-time dynamics into discrete algorithmic steps).

Key Insights and Algorithmic Results

By establishing this framework, the authors successfully unify existing disparate theoretical results, demonstrating that they are specific cases of a broader stochastic integral theory. Furthermore, by utilizing KL divergence instead of TV distance, the paper provides much stricter guarantees of model performance, which are highly valuable for understanding the true likelihood of generated samples.

A major practical insight from this analysis is the rigorous comparison between two popular sampling algorithms: $\tau$-leaping and uniformization.

  • The First KL Bound for $\tau$-leaping: The paper establishes the first-ever error bound for the $\tau$-leaping scheme measured in KL divergence.
  • Dimensionality Scaling: The analysis reveals a critical performance gap between sampling methods. For a state space with dimension $d$, the authors prove that $\tau$-leaping suffers from a quadratic dependency, requiring $O(d^2)$ steps to achieve a specific error level. In contrast, uniformization is shown to be "exact" in its discretization (effectively having zero discretization error) and requires only $O(d)$ steps.

Limitations and Future Directions

As a purely theoretical work focused on mathematical proofs, the paper does not introduce new datasets or empirical benchmarks, though its findings directly inform applications like protein design and text generation.

Currently, the proofs assume for simplicity that the rate matrix governing state jumps is symmetric and time-homogeneous. Because real-world models often employ more complex, non-symmetric matrices, relaxing these assumptions remains an important next step. Additionally, the authors suggest exploring the "continuum limit"—analyzing the behavior of these discrete models as the number of states approaches infinity—and investigating how to accelerate these models via parallel sampling for high-speed inference.

Summary updated

BibTeX
@inproceedings{ren2025how,
  author = {Yinuo Ren and Haoxuan Chen and Grant M. Rotskoff and Lexing Ying},
  title = {{How Discrete and Continuous Diffusion Meet: Comprehensive Analysis of Discrete Diffusion Models via a Stochastic Integral Framework}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=6awxwQEI82},
}
Figure