WIPIVERSE All articles

Wake-sleep algorithm

The wake-sleep algorithm is an unsupervised learning algorithm for deep generative models, particularly Helmholtz machines. It was first proposed by Geoffrey Hinton, Peter Dayan, Brendan J. Frey, and Radford Neal in a 1995 paper published in the journal Science, titled "The Wake-Sleep Algorithm for Unsupervised Neural Networks."

Overview

The algorithm is designed to find a hierarchical representation of observed data. In its graphical representation, data enters at the bottom layer, while progressively higher layers form more abstract representations. Between each pair of layers there are two sets of weights:

  • Recognition weights, which define how representations are inferred from data (bottom-up connections).
  • Generative weights, which define how these representations relate to data (top-down connections).

Training phases

The algorithm alternates between two phases of learning:

The "wake" phase

Neurons are driven by recognition connections (from input toward output). The generative connections are then modified to increase the probability that they would recreate the correct activity in the layer below, which is closer to actual sensory input data.

The "sleep" phase

The process is reversed. Neurons are driven by generative connections while recognition connections are modified to increase the probability that they would recreate the correct activity in the layer above, which is further from the actual sensory data.

Relationship to other methods

The wake-sleep algorithm is conceptually similar to the expectation-maximization (EM) algorithm and optimizes the model likelihood for observed data. It has been proven to be convergent. Because the recognition network has limited flexibility, it may not always approximate the posterior distribution of latent variables well. To address this limitation, extensions such as importance sampling—using the recognition network as a proposal distribution—have been proposed to improve posterior approximation and overall model performance.

Extensions

A notable extension is the Reweighted Wake-Sleep algorithm proposed by Jörg Bornschein and Yoshua Bengio in 2014, which improves the approximation of the posterior distribution and enhances training performance for deep directed graphical models.

Related concepts

  • Helmholtz machine: a neural network model trained using the wake-sleep algorithm.
  • Restricted Boltzmann machine: a type of neural network trained with a conceptually similar algorithm.

The wake-sleep algorithm has also been described as biologically interesting because of its relative simplicity, and it has been applied in computational models of brain function.

Browse

More topics to explore

    Browse all articles