Lesson 8 of 8 9 min · 151 words
Restricted Boltzmann machines
Visible and hidden layers with no within-layer connections, trained with contrastive divergence.
A restricted Boltzmann machine (RBM) keeps the visible and hidden layers but removes all connections within a layer: the graph is bipartite. Its energy is:
The restriction makes hidden units conditionally independent given the visible ones, and vice versa: and . A whole layer can be sampled in one parallel step.
RBMs are trained with contrastive divergence (CD-k): start from a data vector, do (often 1) rounds of alternating Gibbs sampling , and update — data statistics minus model statistics.
Formula to remember
Generative model goal
Slides
Make the generated distribution match the data.
Quick check · +5 XP