Near-Optimality of Contrastive Divergence Algorithms

Pierre Glaser, Kevin Han Huang, Arthur Gretton
2/10/2026

No confident code implementation found for this paper.

Abstract

We perform a non-asymptotic analysis of the contrastive divergence (CD) algorithm, a training method for unnormalized models. While prior work has established that (for exponential family distributions) the CD iterates asymptotically converge at an $O(n^{-1 / 3})$ rate to the true parameter of the data distribution, we show, under some regularity assumptions, that CD can achieve the parametric rate $O(n^{-1 / 2})$. Our analysis provides results for various data batching schemes, including the fully online and minibatch ones. We additionally show that CD can be near-optimal, in the sense that its asymptotic variance is close to the Cram\'er-Rao lower bound.

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{glaser2026nearoptimality,
  title  = {Near-Optimality of Contrastive Divergence Algorithms},
  author = {Pierre Glaser and Kevin Han Huang and Arthur Gretton},
  year   = {2026},
  eprint = {2510.13438},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2510.13438},
  journal = {NEURIPS 2025 2025}
}

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/2510.13438.svg)](https://codeofpaper.com/paper/2510.13438)

Discussion