ArticleslgStudy

computer science

Deep belief network

Deep belief network is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Deep belief network rather than just read about it. In short: 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. When trained without supervision on a set of examples, a DBN can learn to probabilistically reconstruct its inputs.

Deep belief network — main illustration
Deep belief network — illustration

Key takeaways

  • Deep belief network belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Deep belief network to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Deep belief network from memory before moving on to harder problems.

Reference excerpt

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. When trained without supervision on a set of examples, a DBN can learn to probabilistically reconstruct its inputs. The layers then act as feature detectors. After this learning step, a DBN can be further trained with supervision to perform classification. DBNs can be viewed as a composition of simple, unsupervised networks such as restricted Boltzmann machines (RBMs) or autoencoders, 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). The observation that DBNs can be trained greedily, one layer at a time, led to one of the first effective deep learning algorithms. Overall, there are many attractive implementations and uses of DBNs in real-life applications and scenarios (e.g., electroencephalography, drug discovery).

Training The training method for RBMs proposed by Geoffrey Hinton for use with training "Product of Experts" models is called contrastive divergence (CD). CD provides an approximation to the maximum likelihood method that would ideally be applied for learning the weights. In training a single RBM, weight updates are performed with gradient descent via the following equation: wij(t+1)=wij(t)+η∂log⁡(p(v))∂wij where, p(v) is the probability of a visible vector, which is given by p(v)=1Z∑he−E(v,h). Z is the partition function (used for normalizing) and E(v,h) 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 ∂log⁡(p(v))∂wij has the simple form ⟨vihj⟩data−⟨vihj⟩model where ⟨⋯⟩p represent averages with respect to distribution p. The issue arises in sampling ⟨vihj⟩model because this requires extended alternating Gibbs sampling. CD replaces this step by running alternating Gibbs sampling for n steps (values of n=1 perform well). After n steps, the data are sampled and that sample is used in place of ⟨vihj⟩model. The CD procedure works as follows:

Initialize the visible units to a training vector. Update the hidden units in parallel given the visible units: p(hj=1∣𝐕)=σ(bj+∑iviwij). σ is the sigmoid function and bj is the bias of hj. Update the visible units in parallel given the hidden units: p(vi=1∣𝐇)=σ(ai+∑jhjwij). ai is the bias of vi. This is called the "reconstruction" step. Re-update the hidden units in parallel given the reconstructed visible units using the same equation as in step 2. Perform the weight update: Δwij∝⟨vihj⟩data−⟨vihj⟩reconstruction. 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. Although the approximation of CD to maximum likelihood is crude (does not follow the gradient of any function), it is empirically effective.

See also Bayesian network Convolutional deep belief network Deep learning Energy based model Stacked Restricted Boltzmann Machine

References

External links Hinton, Geoffrey E. (2009-05-31). "Deep belief networks". Scholarpedia. 4 (5): 5947. Bibcode:2009SchpJ...4.5947H. doi:10.4249/scholarpedia.5947. ISSN 1941-6016. "Deep Belief Networks". Deep Learning Tutorials. "Deep Belief Network Example". Deeplearning4j Tutorials. Archived from the original on 2016-10-03. Retrieved 2015-02-22.

Illustrations

Deep belief network: Schematic overview of a deep belief net. Arrows represent directed connections in the graphical model that the net represents.
Schematic overview of a deep belief net. Arrows represent directed connections in the graphical model that the net represents.
Deep belief network: A restricted Boltzmann machine (RBM) with fully connected visible and hidden units. Note there are no hidden-hidden or visible-visible connections.
A restricted Boltzmann machine (RBM) with fully connected visible and hidden units. Note there are no hidden-hidden or visible-visible connections.

Worked examples

Example 1 — a first encounter with Deep belief network

Start with the simplest possible case. Write down what Deep belief network claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Deep belief network before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Deep belief network ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Deep belief network

In research
Deep belief network appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Deep belief network in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Deep belief network is common in secondary-school and first-year university syllabi. It links to neighbouring topics Neural network architectures, Probabilistic models, so understanding it makes those chapters shorter.
In everyday life
Look for Deep belief network outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Deep belief network” →

How to study Deep belief network in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Deep belief network means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Deep belief network out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Deep belief network in simple terms?

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. When trained without supe…

Why does Deep belief network matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Deep belief network?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Deep belief network.

Tags

  • Neural network architectures
  • Probabilistic models

Keep exploring