AI & ML Atlas
Neural NetworksalgorithmAnimated walkthrough
Hebbian Learning
Connections between neurons that fire together get stronger.
The idea
"Cells that fire together wire together." The weight between two neurons increases in proportion to the product of their activities. The plain rule grows without bound, so versions such as Oja's rule add normalisation. It learns correlations without any labels or error signal.
Δwᵢⱼ = η · xᵢ · yⱼ
Watch it run
The pipeline lights up one step at a time. Use the controls to pause or step through it.
- 1Present an input pattern.
- 2Compute the activities of the pre- and post-synaptic neurons.
- 3Increase the weight by η × pre × post.
- 4Normalise or decay the weights to keep them bounded.
Δwᵢⱼ = η · xᵢ · yⱼ
1/4
Step by step
- 1Present an input pattern.
- 2Compute the activities of the pre- and post-synaptic neurons.
- 3Increase the weight by η × pre × post.
- 4Normalise or decay the weights to keep them bounded.
Where it is used
Unsupervised feature learning, associative memories.
Watch out for
Unbounded growth and no mechanism to weaken connections without extra rules.