Barriers and Dynamical Paths in Alternating Gibbs Sampling of Restricted Boltzmann Machines

Clément Roussel, Simona Cocco, Rémi Monasson
7/13/2021
cond-mat.dis-nncond-mat.stat-mechcs.LG

Official code: jertubiana/PGM (24 stars, Python, BSD-3-Clause, last commit 2025-06-04).

Abstract

Restricted Boltzmann Machines (RBM) are bi-layer neural networks used for the unsupervised learning of model distributions from data. The bipartite architecture of RBM naturally defines an elegant sampling procedure, called Alternating Gibbs Sampling (AGS), where the configurations of the latent-variable layer are sampled conditional to the data-variable layer, and vice versa.

Show full abstract

We study here the performance of AGS on several analytically tractable models borrowed from statistical mechanics. We show that standard AGS is not more efficient than classical Metropolis-Hastings (MH) sampling of the effective energy landscape defined on the data layer. However, RBM can identify meaningful representations of training data in their latent space. Furthermore, using these representations and combining Gibbs sampling with the MH algorithm in the latent space can enhance the sampling performance of the RBM when the hidden units encode weakly dependent features of the data. We illustrate our findings on three datasets: Bars and Stripes and MNIST, well known in machine learning, and the so-called Lattice Proteins, introduced in theoretical biology to study the sequence-to-structure mapping in proteins.

View on arXivView PDF

Code Implementations(1)

jertubiana/PGMOfficial100%
BSD-3-Clause

Probabilistic Graphical Models in Python3.

246PythonJun 3, 20201 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{roussel2021barriers,
  title  = {Barriers and Dynamical Paths in Alternating Gibbs Sampling of Restricted Boltzmann Machines},
  author = {Clément Roussel and Simona Cocco and Rémi Monasson},
  year   = {2021},
  eprint = {2107.06013},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.06013}
}

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

Discussion