Discrete Markov Probabilistic Models

Le-Tuyet-Nhi Pham, Dario Shariatian, Antonio Ocello, Giovanni Conforti, Alain DurmusarXiv 2025 · DOI

TL;DR

This paper introduces Discrete Markov Probabilistic Models (DMPMs), a new framework for generating discrete data by flipping bits via continuous-time Markov chains. By deriving a discrete "score function" that mirrors the structure of continuous diffusion models, the authors achieve state-of-the-art performance on binarized MNIST with significantly better training stability and theoretical convergence guarantees.

What Problem Does This Paper Address?

Generative diffusion models have revolutionized continuous data (like images and audio), but adapting them to discrete spaces—like text or binary structures—has been surprisingly difficult.

Existing discrete diffusion methods often struggle with two main issues:

  1. Unstable Training: Many models rely on "ratio-based" estimators for transitions, which can lead to high-variance gradients and unstable training.
  2. Weak Theoretical Foundations: Unlike continuous models, which have well-understood convergence properties, discrete models often lack sharp bounds. Many existing proofs suggest that sampling error might grow exponentially with the data's dimension, making them theoretically suspect for high-dimensional tasks.

The authors aim to bridge this gap by creating a discrete framework that inherits the "principled" nature of continuous Score-based Generative Models (SGMs).

Methods

The core of the DMPM approach is a Continuous-Time Markov Chain (CTMC) operating on a $d$-dimensional hypercube $\{0, 1\}^d$.

  • Forward Process: Data is gradually turned into noise by flipping bits uniformly at random. Each bit has its own "Poisson clock," making the process easy to simulate.
  • Backward (Generative) Process: The authors prove that the time-reversal of this process is also a jump process. Crucially, they show that the intensity of these jumps is governed by a discrete score function.
  • The "Aha!" Moment: They derive an explicit form for this score as a conditional expectation. This is a huge win because it allows them to replace unstable probability ratios with a simple $L^2$ regression loss (denoising score matching).
  • Discrete Denoiser: They further reparameterize the score into a "discrete denoiser" (predicting the probability that a bit should be flipped). This moves the learning task from a space of unbounded ratios into a smooth probability space $[0, 1]$, further stabilizing training.
  • Sampling Innovations: To speed up generation, they introduce "flip-schedules" that allow multiple bits to be updated simultaneously in a single step, reducing the number of network calls needed.

Datasets

The researchers evaluated DMPMs on two primary benchmarks:

  1. Bernoulli Sawtooth Dataset: A low-dimensional (d=4 to 16) synthetic dataset where the probability of each bit being '1' follows a sawtooth pattern. This allowed for precise evaluation using Sliced Wasserstein Distance (SWD).
  2. Binarized MNIST: A high-dimensional (d=1024) version of the classic handwritten digit dataset, where pixels are thresholded to be either 0 or 1.

Key Insights and Ideas

  • Theoretical Alignment: The most significant insight is that discrete diffusion doesn't have to be a "different beast." By choosing the right forward process (independent bit-flips), the math aligns perfectly with continuous score-based models.
  • Linear Scaling: The authors provide sharp convergence bounds showing that the sampling error grows linearly with dimension, not exponentially. This provides a theoretical "green light" for using these models on very large discrete datasets.
  • Loss Synergy: They found that combining the $L^2$ regression loss with an entropy-based loss and a cross-entropy term (weighted by a time-dependent factor $w_t$) creates a highly stable training objective that outperforms any single loss component.

Key Results

DMPMs set a new bar for discrete generative modeling:

  • Superior Quality: On binarized MNIST, the DMPM (denoise variant) achieved an FID of 2.89, significantly outperforming other state-of-the-art methods like Masked Diffusion (MD4, FID 4.48) and Discrete Flow Matching (DFM, FID 7.34).
  • Efficiency: The model is remarkably efficient. It achieved a competitive FID of 4.77 using only 25 network calls, whereas competing methods often require 100 or more steps to reach similar quality.
  • Robustness: The convergence bounds were empirically validated, showing stable performance across different dimensions and time-schedules (with the cosine schedule performing best).

Limitations and Future Work

While the paper focuses on bit-level (binary) data, many real-world discrete problems involve categorical data (e.g., vocabulary in LLMs). The authors note that extending this framework to general multinomial distributions is a natural next step.

Additionally, while they suggest that time-dependent jump rates ($\lambda_t$) could further optimize the process, the current study primarily uses a constant rate. Exploring "noise schedules" for discrete jumps—similar to how variance schedules are tuned in continuous DDPMs—remains an open and promising area for future research.

Summary updated

BibTeX
@misc{pham2025discrete,
  author = {Le-Tuyet-Nhi Pham and Dario Shariatian and Antonio Ocello and Giovanni Conforti and Alain Durmus},
  title = {{Discrete Markov Probabilistic Models}},
  year = {2025},
  eprint = {2502.07939},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.07939},
}
Figure