Fast training and sampling of Restricted Boltzmann Machines
Nicolas Béreux, Aurélien Decelle, Cyril Furtlehner, Lorenzo Rosset, Beatriz Seoane
Abstract
Restricted Boltzmann Machines (RBMs) are powerful tools for modeling complex systems and extracting insights from data, but their training is hindered by the slow mixing of Markov Chain Monte Carlo (MCMC) processes, especially with highly structured datasets. In this study, we build on recent theoretical advances in RBM training and focus on the stepwise encoding of data patterns into singular vectors of the coupling matrix, significantly reducing the cost of generating new samples and evaluating the quality of the model, as well as the training cost in highly clustered datasets. The learning process is analogous to the thermodynamic continuous phase transitions observed in ferromagnetic models, where new modes in the probability measure emerge in a continuous manner. We leverage the continuous transitions in the training process to define a smooth annealing trajectory that enables reliable and computationally efficient log-likelihood estimates. This approach enables online assessment during training and introduces a novel sampling strategy called Parallel Trajectory Tempering (PTT) that outperforms previously optimized MCMC methods. To mitigate the critical slowdown effect in the early stages of training, we propose a pre-training phase. In this phase, the principal components are encoded into a low-rank RBM through a convex optimization process, facilitating efficient static Monte Carlo sampling and accurate computation of the partition function. Our results demonstrate that this pre-training strategy allows RBMs to efficiently handle highly structured datasets where conventional methods fail. Additionally, our log-likelihood estimation outperforms computationally intensive approaches in controlled scenarios, while the PTT algorithm significantly accelerates MCMC processes compared to conventional methods.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext abebf440-5acd-47dc-ac57-aa5feaca4281Cited by top-tier papers2
- Learning Boltzmann Generators via Constrained Mass TransportChristopher von Klitzing, Denis Blessing, Henrik Schopmans, Pascal Friederich et al.ICLR 2026 · 9 citations
- A Theoretical Framework For Overfitting In Energy-based ModelingGiovanni Catania, Aurélien Decelle, Cyril Furtlehner, Beatriz SeoaneICML 2025
Builds on6
- On the Anatomy of MCMC-Based Maximum Likelihood Learning of Energy-Based ModelsErik Nijkamp, Mitch Hill, Tian Han, Song-Chun Zhu et al.AAAI 2020 · 182 citations
- Equilibrium and non-Equilibrium regimes in the learning of Restricted Boltzmann MachinesAurélien Decelle, Cyril Furtlehner, Beatriz SeoaneNeurIPS 2021 · 40 citations
- MCMC Should Mix: Learning Energy-Based Model with Neural Transport Latent Space MCMCErik Nijkamp, Ruiqi Gao, Pavel Sountsov, Srinivas Vasudevan et al.ICLR 2022 · 25 citations
- Efficient Training of Energy-Based Models Using Jarzynski EqualityDavide Carbone, Mengjian Hua, Simon Coste, Eric Vanden-EijndenNeurIPS 2023 · 21 citations
- Cascade of phase transitions in the training of energy-based modelsDimitrios Bachtis, Giulio Biroli, Aurélien Decelle, Beatriz SeoaneNeurIPS 2024 · 17 citations
Related papers
- Accelerated Sampling with Stacked Restricted Boltzmann MachinesJorge Fernandez-de-Cossío-Diaz, Clément Roussel, Simona Cocco, Rémi MonassonICLR 2024 · 5 citations
- Learning with Restricted Boltzmann Machines: Asymptotics of AMP and GD in High DimensionsYizhou Xu, Florent Krzakala, Lenka ZdeborováNeurIPS 2025 · 1 citation
- Parallel tempering on optimized pathsSaifuddin Syed, Vittorio Romaniello, Trevor Campbell, Alexandre Bouchard-CôtéICML 2021 · 28 citations
- Accelerated Parallel Tempering via Neural TransportsLeo Zhang, Peter Potaptchik, Jiajun He, Yuanqi Du et al.ICLR 2026 · 14 citations
- Learning Restricted Boltzmann Machines with Sparse Latent VariablesGuy Bresler, Rares-Darius BuhaiNeurIPS 2020 · 2 citations
