Deep belief network

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Schematic overview of a deep belief net. Arrows represent directed connections in the graphical model that the net represents.

In machine learning, a deep belief network (DBN) is a generative graphical model, or alternatively a class of deep neural network, composed of multiple layers of latent variables ("hidden units"), with connections between the layers but not between units within each layer.[1]

When trained on a set of examples without supervision, a DBN can learn to probabilistically reconstruct its inputs. The layers then act as feature detectors.[1] After this learning step, a DBN can be further trained with supervision to perform classification.[2]

DBNs can be viewed as a composition of simple, unsupervised networks such as restricted Boltzmann machines (RBMs)[1] or autoencoders,[3] where each sub-network's hidden layer serves as the visible layer for the next. An RBM is an undirected, generative energy-based model with a "visible" input layer and a hidden layer and connections between but not within layers. This composition leads to a fast, layer-by-layer unsupervised training procedure, where contrastive divergence is applied to each sub-network in turn, starting from the "lowest" pair of layers (the lowest visible layer is a training set).

Teh's observation[2] that DBNs can be trained greedily, one layer at a time, led to one of the first effective deep learning algorithms.[4]:6 Overall, there are many attractive implementations and uses of DBNs in real-life applications and scenarios (e.g., electroencephalography[5], drug discovery[6]).


A restricted Boltzmann machine (RBM) with fully connected visible and hidden units. Note there are no hidden-hidden or visible-visible connections.

The training method for RBMs proposed by Geoffrey Hinton for use with training "Product of Expert" models is called contrastive divergence (CD).[7] CD provides an approximation to the maximum likelihood method that would ideally be applied for learning the weights.[8][9] In training a single RBM, weight updates are performed with gradient descent via the following equation:

where, is the probability of a visible vector, which is given by . is the partition function (used for normalizing) and is the energy function assigned to the state of the network. A lower energy indicates the network is in a more "desirable" configuration. The gradient has the simple form where represent averages with respect to distribution . The issue arises in sampling because this requires extended alternating Gibbs sampling. CD replaces this step by running alternating Gibbs sampling for steps (values of perform well). After steps, the data are sampled and that sample is used in place of . The CD procedure works as follows:[8]

  1. Initialize the visible units to a training vector.
  2. Update the hidden units in parallel given the visible units: . is the sigmoid function and is the bias of .
  3. Update the visible units in parallel given the hidden units: . is the bias of . This is called the "reconstruction" step.
  4. Re-update the hidden units in parallel given the reconstructed visible units using the same equation as in step 2.
  5. Perform the weight update: .

Once an RBM is trained, another RBM is "stacked" atop it, taking its input from the final trained layer. The new visible layer is initialized to a training vector, and values for the units in the already-trained layers are assigned using the current weights and biases. The new RBM is then trained with the procedure above. This whole process is repeated until the desired stopping criterion is met.[10]

Although the approximation of CD to maximum likelihood is crude (does not follow the gradient of any function), it is empirically effective.[8]

See also[edit]


  1. ^ a b c Hinton, G. (2009). "Deep belief networks". Scholarpedia. 4 (5): 5947. doi:10.4249/scholarpedia.5947. 
  2. ^ a b Hinton, G. E.; Osindero, S.; Teh, Y. W. (2006). "A Fast Learning Algorithm for Deep Belief Nets" (PDF). Neural Computation. 18 (7): 1527–1554. doi:10.1162/neco.2006.18.7.1527. PMID 16764513. 
  3. ^ Yoshua Bengio; Pascal Lamblin; Dan Popovici; Hugh Larochelle (2007). Greedy Layer-Wise Training of Deep Networks (PDF). NIPS. 
  4. ^ Bengio, Y. (2009). "Learning Deep Architectures for AI" (PDF). Foundations and Trends in Machine Learning. 2. doi:10.1561/2200000006. 
  5. ^ Movahedi, F.; Coyle, J. L.; Sejdić, E. (2017). "Deep belief networks for electroencephalography: A review of recent contributions and future outlooks". IEEE Journal of Biomedical and Health Informatics. PP (99): 1–1. doi:10.1109/JBHI.2017.2727218. ISSN 2168-2194. 
  6. ^ Ghasemi, F.; Fassihi, A.; Perez-Sanchez, H.; Mehr idehnavi, A. (2017). "The role of different sampling methods in improving biological activity prediction using deep belief network". Journal of Computational Chemistry. 38 (4): 195–203. doi:10.1002/jcc.24671. 
  7. ^ G. E. Hinton., "Training Product of Experts by Minimizing Contrastive Divergence," Neural Computation, 14, pp. 1771–1800, 2002.
  8. ^ a b c Hinton, G. E. (2010). "A Practical Guide to Training Restricted Boltzmann Machines". Tech. Rep. UTML TR 2010-003,. 
  9. ^ Fischer, A.; Igel, C. (2014). "Training Restricted Boltzmann Machines: An Introduction" (PDF). Pattern Recognition. 47: 25–39. doi:10.1016/j.patcog.2013.05.025. 
  10. ^ Bengio, Yoshua (2009). "Learning Deep Architectures for AI" (PDF). Foundations and Trends in Machine Learning. 2 (1): 1–127. doi:10.1561/2200000006. 

External links[edit]