Skip to content
StackDecode
AI & ML Atlas
Deep LearningarchitectureAnimated walkthrough

Deep Belief Networks (DBN)

A stack of RBMs trained one layer at a time.

The idea

Each layer is a restricted Boltzmann machine that learns to model the output of the layer below. Greedy layer-wise pre-training gives sensible starting weights; the whole stack is then fine-tuned with backpropagation. DBNs helped show that deep networks could be trained, before better initialisation and ReLU made pre-training unnecessary.

Watch it run

The pipeline lights up one step at a time. Use the controls to pause or step through it.

  1. 1Train the first RBM on the data.
  2. 2Use its hidden activations as the input to the next RBM.
  3. 3Repeat for each layer.
  4. 4Add a classifier on top and fine-tune the whole network.
1/4

Step by step

  1. 1Train the first RBM on the data.
  2. 2Use its hidden activations as the input to the next RBM.
  3. 3Repeat for each layer.
  4. 4Add a classifier on top and fine-tune the whole network.

Where it is used

Historically: feature learning and initialisation.

Watch out for

Mostly replaced by ReLU networks, batch normalisation and better optimisers.

Related