The oldest learning rule β biologically grounded, unsupervised, and unstable without correction.
π Where this lives: Hebb's 1949 rule is the only learning rule in this section with direct experimental support in neuroscience. Long-term potentiation β synapses genuinely strengthening when pre- and post-synaptic activity coincide β was observed in the hippocampus in 1973 and is now standard textbook physiology. So this is the one place where "neural networks learn like the brain" is defensible, and it is worth knowing exactly how far that goes. Search "Hebbian learning long-term potentiation spike timing dependent plasticity".
The rule
HEBB'S POSTULATE (1949), in his own framing:
"When an axon of cell A is near enough to excite a cell B and
repeatedly or persistently takes part in firing it, some growth
process or metabolic change takes place in one or both cells
such that A's efficiency, as one of the cells firing B, is
increased."
THE POPULAR SUMMARY: "CELLS THAT FIRE TOGETHER, WIRE TOGETHER."
THE MATHEMATICAL FORM β and it is the simplest rule in the
section:
Ξwα΅’ = Ξ· Β· xα΅’ Β· y
where xα΅’ is the input, y the unit's output, and Ξ· the learning
rate.
WHAT IS NOT IN THAT FORMULA IS THE POINT:
THERE IS NO TARGET t, AND THEREFORE NO ERROR TERM.
Compare the delta rule, Ξwα΅’ = Ξ·(t β y)xα΅’. Hebbian learning is
UNSUPERVISED β it needs no correct answer, only the
correlation between input and output. That is what makes it
biologically plausible: a synapse has access to the activity at
its two ends and to nothing else, certainly not to a global
error signal.
THE THREE CASES:
xα΅’ and y both active β the weight INCREASES
one active, one not β no change (with binary 0/1 units)
both inactive β no change
WITH BIPOLAR UNITS (β1 / +1) the rule is more expressive,
because the product is negative when the two disagree:
xα΅’ = +1, y = +1 β Ξw = +Ξ· strengthen
xα΅’ = β1, y = β1 β Ξw = +Ξ· strengthen (both "agree")
xα΅’ = +1, y = β1 β Ξw = βΞ· WEAKEN
THIS IS WHY ASSOCIATIVE MEMORIES USE BIPOLAR ENCODING β with
0/1 units, a rule that can only increase weights is far less
useful.
A WORKED EXAMPLE, storing an association with Ξ· = 1 and bipolar
units. Weights start at zero.
pattern 1: x = (1, β1), y = +1
Ξwβ = 1(1)(1) = +1 w = (1, β1)
Ξwβ = 1(β1)(1) = β1
pattern 2: x = (β1, 1), y = β1
Ξwβ = 1(β1)(β1) = +1 w = (2, β2)
Ξwβ = 1(1)(β1) = β1
RECALL, presenting x = (1, β1):
net = 2(1) + (β2)(β1) = 4 β positive β y = +1 β
The association was stored, and note that the two patterns
REINFORCED the same weight direction because they are
consistent with each other.
The stability problem and its fixes
THE FATAL FLAW OF THE BASIC RULE: WEIGHTS GROW WITHOUT BOUND.
With Ξw = Ξ·Β·xΒ·y and a linear unit where y = wx, presenting the
same input repeatedly gives
Ξw = Ξ·Β·xΒ·(wx) = Ξ·Β·wΒ·xΒ²
so the change is PROPORTIONAL TO THE CURRENT WEIGHT. That is
exponential growth β the weight increases, which increases the
output, which increases the next weight change.
WORKED, with x = 1, Ξ· = 0.1, w starting at 1:
w = 1.000 β 1.100 β 1.210 β 1.331 β 1.464 β 1.611 β β¦
after 20 steps: 1.1Β²β° β 6.7
after 100 steps: 1.1ΒΉβ°β° β 13,781
after 200 steps: β 1.9 Γ 10βΈ
THERE IS NO EQUILIBRIUM. The rule has no mechanism for
weakening a connection, so it cannot forget, cannot
discriminate, and eventually saturates or overflows.
AND A SECOND PROBLEM: IT CANNOT LEARN TO DISCRIMINATE. Every
input that produces an output strengthens its own pathway, so
the unit becomes increasingly responsive to everything it has
seen rather than selectively responsive to one pattern.
THE FIXES β each adds the missing decay:
1. WEIGHT DECAY (forgetting term)
Ξwα΅’ = Ξ·Β·xα΅’Β·y β Ξ³Β·wα΅’
A constant leak toward zero. Growth stops when the
strengthening balances the decay, so the weight settles at a
finite value determined by the input's statistics.
2. OJA'S RULE β the principled version
Ξwα΅’ = Ξ·Β·yΒ·(xα΅’ β yΒ·wα΅’)
The subtracted term grows with yΒ², so it automatically
normalises the weight vector to unit length.
AND THE RESULT IS REMARKABLE: A SINGLE OJA UNIT CONVERGES TO
THE FIRST PRINCIPAL COMPONENT of the input data. So an
unsupervised, biologically motivated, purely local rule
performs PCA β which connects Hebbian learning directly to
the dimensionality reduction of the machine learning topic.
3. GENERALISED HEBBIAN / SANGER'S RULE
Extends Oja's rule to several units so that they extract
successive principal components rather than all converging on
the first.
4. BCM RULE (BienenstockβCooperβMunro)
Introduces a sliding THRESHOLD on the output: activity above
it strengthens the synapse and activity below it weakens it.
This models the experimentally observed LONG-TERM DEPRESSION
as well as potentiation.
5. ANTI-HEBBIAN LEARNING
Ξwα΅’ = βΞ·Β·xα΅’Β·y
Used for lateral connections between units, so that units
DECORRELATE and learn different features instead of
duplicating each other.
THE PATTERN ACROSS ALL FIVE: HEBB'S RULE SUPPLIES THE
STRENGTHENING AND SOMETHING ELSE MUST SUPPLY THE WEAKENING. A
learning rule that can only increase is not a learning rule.
Uses, and the comparison with supervised rules
WHERE HEBBIAN LEARNING IS ACTUALLY USED:
ASSOCIATIVE MEMORY β its principal application.
To store a set of patterns in a fully connected network, set
wα΅’β±Ό = Ξ£β xα΅’α΅ xβ±Όα΅
summing the outer product over the patterns. This is the
HEBBIAN one-shot storage rule, and it is exactly how a
HOPFIELD NETWORK is programmed β the final topic of this
section. NOTE THAT NO ITERATION IS REQUIRED: the weights are
computed directly from the patterns in one pass, which is
unusual among learning rules.
BIDIRECTIONAL ASSOCIATIVE MEMORY (BAM) β the same outer-product
construction over pattern PAIRS, so either pattern recalls
the other.
PRINCIPAL COMPONENT ANALYSIS, via Oja's rule, as above.
COMPETITIVE LEARNING AND SELF-ORGANISING MAPS β the winning
unit's weights move toward the input, which is a Hebbian
update restricted to the winner. This is how a Kohonen map
from the architectures topic is trained.
FEATURE DISCOVERY β unsupervised detection of correlated inputs,
which is what the early layers of a sensory system appear to
do.
THE COMPARISON THAT MATTERS β Hebbian against the supervised rules
of the previous topics:
HEBBIAN PERCEPTRON /
DELTA RULE
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
supervision UNSUPERVISED SUPERVISED β needs a target
what drives the CORRELATION the ERROR (t β y)
the update of x and y
biological STRONG β local WEAK for perceptron; NONE for
plausibility information backpropagation
only
stability UNSTABLE stable
without decay
what it learns the statistical a mapping from input to a
structure of specified output
the input
can it NO β it has no YES
discriminate notion of a
classes? desired output
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
THE DECISIVE DIFFERENCE IS THE THIRD ROW COMBINED WITH THE
SIXTH. Hebbian learning is biologically defensible precisely
BECAUSE it uses only local information β and it cannot solve a
classification task for the same reason, since no local signal
can tell a synapse what the network as a whole should have
output.
THAT IS THE TRADE-OFF AT THE HEART OF THE TOPIC: LOCALITY BUYS
BIOLOGICAL PLAUSIBILITY AND COSTS THE ABILITY TO BE TOLD WHAT
TO DO. Backpropagation makes the opposite choice, which is why
it works and why it is not biological.
A NOTE ON THE MODERN POSITION, since the rule is old but not
obsolete:
Β· SPIKE-TIMING-DEPENDENT PLASTICITY (STDP) is the
contemporary refinement, in which the ORDER of the spikes
matters: if the input fires shortly BEFORE the output, the
synapse strengthens; if shortly after, it weakens. That
directionality gives the rule a notion of CAUSATION that
plain Hebbian correlation lacks, and it is what spiking
networks use.
Β· CONTRASTIVE and SELF-SUPERVISED methods, which learn by
making representations of related inputs agree, are
Hebbian in spirit β no labels, learning from
co-occurrence β and are among the most active areas of
current research. THE 1949 IDEA THAT CO-OCCURRENCE IS
ITSELF A TRAINING SIGNAL HAS PROVED DURABLE, even as the
specific rule was superseded.
The trade-off in one line: Hebbian learning is biologically defensible because it uses only local information, and cannot classify for the same reason β no signal available at a synapse can say what the whole network should have output. Backpropagation makes the opposite bargain, which is why it works and why it is not biological.
π Go further: Oja's result deserves more attention than it usually gets, because it is a genuine bridge between neuroscience and statistics: a single unit obeying a purely local, unsupervised update converges on the first principal component of its input distribution. That means a biologically plausible synapse can perform an optimal linear dimensionality reduction without anyone computing a covariance matrix or an eigenvector. It suggests that some of what early sensory cortex does may be exactly this β discovering the directions of greatest variance in its input β and it is why Hebbian learning is still studied rather than merely cited. Search "Oja's rule principal component analysis neural".
π‘ Exam angle: quote Hebb's postulate and give the rule Ξwα΅’ = Ξ·Β·xα΅’Β·y, stressing that there is no target and no error term, so it is unsupervised and biologically plausible. Work the three cases, and show why bipolar encoding is needed for the rule to weaken as well as strengthen. Explain the instability β Ξw is proportional to w, giving exponential growth with no equilibrium β and name the fixes: weight decay, Oja's rule (which normalises and extracts the first principal component), BCM, and anti-Hebbian learning. Give the applications, especially the outer-product storage rule wα΅’β±Ό = Ξ£ xα΅’α΅xβ±Όα΅ for associative memory. The standard comparison question is Hebbian versus the delta rule: unsupervised correlation against supervised error.
Syllabus points
Hebb rule; weight update (numerical)
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.