Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
data_mining:neural_network:hopfield [2017/04/09 10:59] – [Hopfield nets with hidden units] phreazer | data_mining:neural_network:hopfield [2017/04/09 11:10] (current) – [Boltzman machine] phreazer | ||
---|---|---|---|
Line 60: | Line 60: | ||
===== Improve search with stochastic units ===== | ===== Improve search with stochastic units ===== | ||
+ | Hopfield net always reduces energy (trapped in local minima). | ||
+ | Random noise: | ||
+ | * Lot of noise, easy to cross barriers | ||
+ | * Slowly reduce noise so that system ends up in a deep minimum (Simulated annealing) | ||
+ | |||
+ | Stochastic binary units | ||
+ | |||
+ | * Replace binary threshold units with binary stochastic units that make biased random decisions (" | ||
+ | |||
+ | $p(s_i=1) = \frac{1}{1+e^{-\Delta E_i/T}}$ | ||
+ | |||
+ | ===== Thermal equilibrium ===== | ||
+ | Thermal equi. at temperature of 1 | ||
+ | |||
+ | Reaching thermal equilibrium is difficult concept. Probability distribution over configurations settles down to statonary distribution. | ||
+ | |||
+ | Intuitively: | ||
+ | |||
+ | Approaching equilibrium: | ||
+ | |||
+ | * Start with any distribution over all identical systems | ||
+ | * Apply stochastic update rule, to pick next configuration for each individual system | ||
+ | * May reach situation where fraction of systems in each configuration remains constant. | ||
+ | * This stationary distribution is called thermal equilibrium. | ||
+ | * Any given system keeps changing its configuration, | ||
+ | |||
+ | ===== Boltzman machine ===== | ||
+ | |||
+ | Given: Training set of binary vectors. Fit model that will assign a probability to every possible binary vector. | ||
+ | |||
+ | |||
+ | Useful for deciding if other binary vectors come from some distribution (e.g. to detect unusual behavious). |