Uniform-in-time convergence bounds for Persistent Contrastive Divergence Algorithms
Paul Felix Valsecchi Oliva, O. Deniz Akyildiz, Andrew Duncan
TL;DR
This work recasts persistent contrastive divergence for energy-based models as a continuous-time, two-time-scale Langevin diffusion, enabling uniform-in-time bounds between PCD iterates and the maximum likelihood solution via averaging. A Poisson-equation based corrector and a rigorous averaging framework connect the slow parameter dynamics to an averaged Langevin gradient flow, with explicit weak-error and UiT bounds. The authors develop and analyze two discretisations—Euler--Maruyama and S-ROCK—providing finite-time and UiT error guarantees, and show that the S-ROCK scheme stabilises training in stiff regimes. Experiments on synthetic data and MNIST demonstrate improved stability and sample quality with SPCD/S-ROCK relative to conventional PCD, underscoring the practical impact of stable, principled continuous-time training of EBMs.
Abstract
We propose a continuous-time formulation of persistent contrastive divergence (PCD) for maximum likelihood estimation (MLE) of unnormalised densities. Our approach expresses PCD as a coupled, multiscale system of stochastic differential equations (SDEs), which perform optimisation of the parameter and sampling of the associated parametrised density, simultaneously. From this novel formulation, we are able to derive explicit bounds for the error between the PCD iterates and the MLE solution for the model parameter. This is made possible by deriving uniform-in-time (UiT) bounds for the difference in moments between the multiscale system and the averaged regime. An efficient implementation of the continuous-time scheme is introduced, leveraging a class of explicit, stable intregators, stochastic orthogonal Runge-Kutta Chebyshev (S-ROCK), for which we provide explicit error estimates in the long-time regime. This leads to a novel method for training energy-based models (EBMs) with explicit error guarantees.
