Thermodynamic Regulation of Finite-Time Gibbs Training in Energy-Based Models: A Restricted Boltzmann Machine Study
Organizations: Owner and Software Developer, Kuanka Publishing LLC, Turkey. · Ph.D. Student in Economics, Selçuk University, Institute of Social Sciences, Turkey.
Abstract
Restricted Boltzmann Machines (RBMs) are typically trained using finite-length Gibbs chains under a fixed sampling temperature. This practice implicitly assumes that the stochastic regime remains valid as the energy landscape evolves during learning. We argue that this assumption can become structurally fragile under finite-time training dynamics. This fragility arises because, in nonconvex energy-based models, fixed-temperature finite-time training can generate admissible trajectories with effective-field amplification and conductance collapse. As a result, the Gibbs sampler may asymptotically freeze, the negative phase may localize, and, without sufficiently strong regularization, parameters may exhibit deterministic linear drift. To address this instability, we introduce an endogenous thermodynamic regulation framework in which temperature evolves as a dynamical state variable coupled to measurable sampling statistics. Under standard local Lipschitz conditions and a two-time-scale separation regime, we establish global parameter boundedness under strictly positive L2 regularization. We further prove local exponential stability of the thermodynamic subsystem and show that the regulated regime mitigates inverse-temperature blow-up and freezing-induced degeneracy within a forward-invariant neighborhood. Experiments on MNIST demonstrate that the proposed self-regulated RBM substantially improves normalization stability and effective sample size relative to fixed-temperature baselines, while preserving reconstruction performance. Overall, the results reinterpret RBM training as a controlled non-equilibrium dynamical process rather than a static equilibrium approximation.
Figures & tables
| Work | Core contribution | Relation to the classical RBM |
| Ising (1925) [ 16 ] | Binary interacting variables described by an energy function under thermal equilibrium. | Provides the canonical mathematical form of pairwise energy interactions adopted by RBMs. |
| Metropolis et al. (1953) [ 27 ] | Markov Chain Monte Carlo sampling from Boltzmann distributions. | Defines the sampling principle underlying Gibbs updates in RBM training. |
| Little (1974) [ 26 ] | Persistent collective neural states emerge from network dynamics. | Early evidence of stable collective configurations analogous to low-energy RBM states. |
| Hopfield (1982) [ 15 ] | Neural computation formulated as energy minimization with attractors. | Introduces explicit energy landscapes that motivate stochastic generalizations such as RBMs. |
| Kirkpatrick et al. (1983) [ 21 ] | Optimization via simulated annealing. | Demonstrates the operational role of temperature in navigating complex energy landscapes. |
| Geman & Geman (1984) [ 8 ] | Gibbs distributions and stochastic relaxation for inference. | Forms the probabilistic foundation of Gibbs sampling used in RBMs. |
| Model | Test Log-Likelihood ( ) | Recon. MSE ( ) | AIS ESS ( ) |
| Fixed | -714.29 16.13 | 0.016797 | 65.23 |
| Fixed | -689.39 8.41 | 0.016093 | 65.82 |
| Adaptive | -684.56 9.22 | 0.016073 | 310.97 |
| Comparison | Test LL | Recon. MSE | Log AIS ESS |
| Adaptive | 1.47 | 12.4 | 2.11 |
| Adaptive | 0.34 | 0.21 | 1.01 |
| 1.87 | 10.1 | 0.43 |
| Metric | Adaptive | Adaptive | |
| Mean | 3.01 | 1.98 | 1.03 |
| SD | 0.50 | 0.69 | 0.85 |
| 95% HDI | [2.05, 3.94] | [0.73, 3.37] | [-0.62, 2.62] |
| 1.000 | 1.000 | 0.876 | |
| ROPE ( ) | 0.031 | 0.543 | 0.865 |
| 61 | 2.08 |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Seed | Test Log-Likelihood | Recon. MSE | AIS ESS | AIS Log-Var | |
| 1 | -675.912 | 0.015972 | 71.508 | 651.00 | 2.31 |
| 2 | -684.010 | 0.016050 | 71.522 | 97.00 | 2.29 |
| 3 | -685.915 | 0.016101 | 71.462 | 123.00 | 2.35 |
| 17 | -681.731 | 0.016088 | 71.511 | 472.00 | 2.27 |
| 128 | -705.228 | 0.016153 | 71.420 | 6.00 | 2.60 |
| 360 | -680.108 | 0.016100 | 71.391 | 541.00 | 2.24 |
| Metric | Mean | Std | 95% CI |
| Test Log-Likelihood | -684.56 | 9.22 | [-693.08, -676.04] |
| Reconstruction MSE | 0.016073 | 0.000060 | [0.016017, 0.016129] |
| Effective | 71.478 | 0.054 | [71.43, 71.53] |
| AIS ESS | 310.97 | 247.61 | [20.7, 336.5] |
| Log AIS ESS | 4.43 | 1.51 | [3.03, 5.82] |
| Seed | Test Log-Likelihood | Recon. MSE | AIS ESS | AIS Log-Var | |
| 1 | -693.716 | 0.016702 | 68.988 | 420.71 | 2.18 |
| 2 | -702.772 | 0.016771 | 69.010 | 11.52 | 2.89 |
| 3 | -716.324 | 0.016807 | 68.981 | 2.38 | 7.83 |
| 17 | -720.409 | 0.016832 | 69.050 | 7.33 | 9.51 |
| 128 | -744.530 | 0.016856 | 68.934 | 1.04 | 23.79 |
| 360 | -701.154 | 0.016820 | 68.870 | 9.55 | 2.72 |
| Metric | Mean | Std | 95% CI |
| Test Log-Likelihood | -714.29 | 16.13 | [-729.19, -699.38] |
| Reconstruction MSE | 0.016797 | 0.000050 | [0.016751, 0.016843] |
| Effective | 68.982 | 0.065 | [68.92, 69.04] |
| AIS ESS | 65.23 | 155.05 | [1.80, 63.5] |
| Log AIS ESS | 2.37 | 1.97 | [0.59, 4.15] |
| Seed | Test Log-Likelihood | Recon. MSE | AIS ESS | AIS Log-Var | |
| 1 | -682.163 | 0.016007 | 71.708 | 102.08 | 2.78 |
| 2 | -707.188 | 0.016116 | 71.744 | 1.40 | 11.22 |
| 3 | -686.139 | 0.016073 | 71.645 | 114.58 | 2.79 |
| 17 | -688.951 | 0.016093 | 71.729 | 114.17 | 2.47 |
| 128 | -687.254 | 0.016172 | 71.606 | 7.72 | 3.57 |
| 360 | -692.620 | 0.016117 | 71.599 | 3.06 | 3.44 |
| Metric | Mean | Std | 95% CI |
| Test Log-Likelihood | -689.39 | 8.41 | [-697.17, -681.61] |
| Reconstruction MSE | 0.016093 | 0.000060 | [0.016037, 0.016149] |
| Effective | 71.68 | 0.06 | [71.63, 71.73] |
| AIS ESS | 65.82 | 55.30 | [6.05, 97.6] |
| Log AIS ESS | 3.19 | 1.87 | [1.80, 4.58] |
| Setting | Seed | Pixel Entropy | Diversity | Mean |
| Adaptive | 1 | 0.2948 | 0.1974 | 2.5160 |
| Adaptive | 128 | 0.2537 | 0.1646 | 1.3146 |
| Fixed | 1 | 0.2547 | 0.1661 | 1.9007 |
| Fixed | 128 | 0.2540 | 0.1651 | 1.8280 |
| Frozen | 1 | 0.2642 | 0.1737 | 1.9898 |
| Frozen | 128 | 0.2082 | 0.1288 | 2.4859 |