Bridging discrete and continuous state spaces: Exploring the Ehrenfest process in time-continuous diffusion models
Ludwig Winkler, Lorenz Richter, Manfred Opper
TL;DR
The paper addresses bridging discrete-state Markov jump processes with continuous-state diffusion models by focusing on the Ehrenfest process as a discrete analogue of the Ornstein–Uhlenbeck process. It derives time-reversed rates via conditional expectations and introduces a loss function to learn the reversed dynamics, elucidating a direct connection to score-based generative modeling in the OU limit. Computational strategies, including dimensional factorization and tau-leaping, enable scalable training and sampling, while numerical experiments on MNIST and CIFAR-10 demonstrate competitive performance and reveal a pathway for transferring insights between discrete and continuous diffusion frameworks. Overall, the work provides a principled theoretical link and a practical algorithm for leveraging discrete-state diffusion in contexts traditionally addressed by continuous-score methods, with potential benefits for discrete data modalities and future theoretical generalization.
Abstract
Generative modeling via stochastic processes has led to remarkable empirical results as well as to recent advances in their theoretical understanding. In principle, both space and time of the processes can be discrete or continuous. In this work, we study time-continuous Markov jump processes on discrete state spaces and investigate their correspondence to state-continuous diffusion processes given by SDEs. In particular, we revisit the $\textit{Ehrenfest process}$, which converges to an Ornstein-Uhlenbeck process in the infinite state space limit. Likewise, we can show that the time-reversal of the Ehrenfest process converges to the time-reversed Ornstein-Uhlenbeck process. This observation bridges discrete and continuous state spaces and allows to carry over methods from one to the respective other setting. Additionally, we suggest an algorithm for training the time-reversal of Markov jump processes which relies on conditional expectations and can thus be directly related to denoising score matching. We demonstrate our methods in multiple convincing numerical experiments.
