Notes

← Back to home

A collection of fragments of understanding in the pursuit of deeper questions.

Probabilistic (Generative) UL - Contrastive Divergence

Training the Restricted Boltzmann Machine (Contrastive Divergence) Paper: "Training Products of Experts by Minimizing Contrastive Divergence", "Reducing the Dimensionality of Data with Neural Networks".

image158

Is not used anymore because back-propagation works so well. Attempts were made to use RBMs as dimensionality reduction algorithm. Results were okay, compared to PCA, the clusters seem more dense and separated.

Training algorithm:

  1. Take a sample V0V_{0} and compute the hidden activation vector h0h_{0}. Call V0h0TV_{0}h_{0}^{T} (outer product) the positive gradient.
  2. Sample from h0h_{0}, compute V1V_{1}, resample from V1V_{1}, compute h1h_{1}. Call V1h1TV_{1}h_{1}^{T} the negative gradient.
  3. Update weights: w=η(v0h0Tv1h1T)\nabla w = \eta\left( v_{0}h_{0}^{T} - v_{1}h_{1}^{T} \right).
image159