Equilibrium and non-Equilibrium regimes in the learning of Restricted Boltzmann Machines
arXiv:2105.13889 · doi:10.1088/1742-5468/ac98a7
Abstract
Training Restricted Boltzmann Machines (RBMs) has been challenging for a long time due to the difficulty of computing precisely the log-likelihood gradient. Over the past decades, many works have proposed more or less successful training recipes but without studying the crucial quantity of the problem: the mixing time, i.e. the number of Monte Carlo iterations needed to sample new configurations from a model. In this work, we show that this mixing time plays a crucial role in the dynamics and stability of the trained model, and that RBMs operate in two well-defined regimes, namely equilibrium and out-of-equilibrium, depending on the interplay between this mixing time of the model and the number of steps, , used to approximate the gradient. We further show empirically that this mixing time increases with the learning, which often implies a transition from one regime to another as soon as becomes smaller than this time. In particular, we show that using the popular (persistent) contrastive divergence approaches, with small, the dynamics of the learned model are extremely slow and often dominated by strong out-of-equilibrium effects. On the contrary, RBMs trained in equilibrium display faster dynamics, and a smooth convergence to dataset-like configurations during the sampling. Finally we discuss how to exploit in practice both regimes depending on the task one aims to fulfill: (i) short can be used to generate convincing samples in short learning times, (ii) large (or increasingly large) is needed to learn the correct equilibrium distribution of the RBM. Finally, the existence of these two operational regimes seems to be a general property of energy based models trained via likelihood maximization.
12 page, 4 figures. accepted to Neurips 2021 Supplementary Material
References in corpus (6)
- PyTorch: An Imperative Style, High-Performance Deep Learning Library
- Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
- GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium
- Restricted Boltzmann Machines for the Long Range Ising Models
- Accurate and Conservative Estimates of MRF Log-likelihood using Reverse Annealing
- Measuring complexity with zippers
Cited by in corpus (12)
- Learning a Restricted Boltzmann Machine using biased Monte Carlo sampling
- Disentangling representations in Restricted Boltzmann Machines without adversaries
- Inferring effective couplings with Restricted Boltzmann Machines
- Phase transitions in the mini-batch size for sparse and dense two-layer neural networks
- The unbearable lightness of Restricted Boltzmann Machines: Theoretical Insights and Biological Applications
- Daydreaming Hopfield Networks and their surprising effectiveness on correlated data
- Interpretable machine learning of amino acid patterns in proteins: a statistical ensemble approach
- Inferring Higher-Order Couplings with Neural Networks
- Explaining the effects of non-convergent sampling in the training of Energy-Based Models
- On the role of non-linear latent features in bipartite generative neural networks
- adabmDCA: Adaptive Boltzmann machine learning for biological sequences
- Emergence of Nonequilibrium Latent Cycles in Unsupervised Generative Modeling