
RBM_BernoulliBernoulli
Historical21 ops252K params
Binary visible and hidden units joined by symmetric weights, trained by contrastive divergence.
Historical · 93 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
About this model's family
A restricted Boltzmann machine is a two-layer network in which stochastic binary pixels connect to stochastic binary feature detectors through symmetric weights. The pixels are the visible units, because their states are observed, and the feature detectors are the hidden units. Every joint configuration of visible and hidden units has an energy, and training raises the probability of a training image by lowering its energy and raising the energy of other images. Hinton's guide describes their most important use as learning modules composed to form deep belief nets.
Training is usually by contrastive divergence. One iteration of alternating Gibbs sampling updates all the hidden units in parallel, then all the visible units in parallel. Hidden units turn on with a probability given by the logistic function of their total input. The guide insists on binary hidden states during reconstruction, because a hidden unit can convey at most one bit on average and real values would violate that bottleneck. The learning rule only crudely approximates the gradient, and Sutskever and Tieleman showed it follows the gradient of no function at all, yet it works well enough for many significant applications. The notation CDn means learning with n full steps of alternating Gibbs sampling.
The captured members are PyTorch implementations with 784 visible and 320 hidden units, differing only in how many Gibbs steps they run. The code they follow uses a mixture of CD-1 and persistent CD.
Key idea. The RBM is a bipartite energy-based model of binary data, visible pixels joined to hidden feature detectors by symmetric weights, trained by contrastive divergence and stacked to form deep belief nets.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@article{rbm1986,
title = {Information Processing in Dynamical Systems: Foundations of Harmony Theory},
author = {Paul Smolensky},
year = {1986},
journal = {Parallel Distributed Processing, Volume 1, MIT Press}
}