Related Experiment Video
Updated: Nov 27, 2025

An Analog Macroscopic Technique for Studying Molecular Hydrodynamic Processes in Dense Gases and Liquids
Published on: December 4, 2017
Entropy, Free Energy, and Work of Restricted Boltzmann Machines
Sangchul Oh1, Abdelkader Baggag2, Hyunchul Nha3
1Qatar Environment and Energy Research Institute, Hamad Bin Khalifa University, Qatar Foundation, 5825 Doha, Qatar.
This study analyzes restricted Boltzmann machine training using statistical physics. We show growing correlations during training and use Monte-Carlo simulations to calculate work, connecting it to free energy differences.
Area of Science:
- Statistical Physics
- Machine Learning
- Computational Neuroscience
Background:
- Restricted Boltzmann Machines (RBMs) are generative probabilistic models.
- RBMs utilize the Boltzmann distribution to define probabilities of network configurations.
- Network learning involves optimizing energy function parameters based on training data.
Purpose of the Study:
- To analyze the RBM training process through the lens of statistical physics.
- To illustrate thermodynamic quantities during RBM training.
- To investigate the relationship between work, free energy, and training dynamics.
Main Methods:
- Calculation of thermodynamic quantities (entropy, free energy, internal energy) as a function of training epochs.
- Monte-Carlo simulations of visible and hidden vector trajectories in configuration space.
- Analysis of the subadditivity of entropies to demonstrate layer correlations.
Main Results:
- Demonstrated growth of correlation between visible and hidden layers during training via entropy subadditivity.
- Calculated the distribution of work done on the RBM by parameter switching.
- Illustrated thermodynamic quantities like entropy and free energy evolution during training.
Conclusions:
- RBM training exhibits characteristics alignable with statistical physics principles.
- Jarzynski equality provides a link between calculated work and free energy differences.
- The study offers insights into the physical interpretation of machine learning model training.
Related Concept Videos
Entropy
When an ideal gas expands isothermally, the disorder in the gas increases. From the molecular perspective, the gas molecules have more volume to move around in.
Consider an infinitesimal step in the expansion, which...
Entropy
Third Law of Thermodynamics
Gibbs Free Energy
An Introduction to Free Energy
Entropy and the Second Law of Thermodynamics
The relation between entropy and disorder can be illustrated with the example of the phase change of ice to water. In ice, the molecules are located at specific sites giving a solid state, whereas, in a liquid form, these molecules are much freer to move. The molecular arrangement has therefore become more randomized. Although the change in average...

