# Hebbian learning

Hebbian theory is a theory in neuroscience which proposes an explanation for the adaptation of neurons in the brain during the learning process. It describes a basic mechanism for synaptic plasticity, where an increase in synaptic efficacy arises from the presynaptic cell’s repeated and persistent stimulation of the postsynaptic cell. Introduced by Donald Hebb in his 1949 book The Organization of Behavior,[1] the theory is also called Hebb’s ruleHebb’s postulate, and cell assembly theory. Hebb states it as follows:

“Let us assume that the persistence or repetition of a reverberatory activity (or “trace”) tends to induce lasting cellular changes that add to its stability.… When anaxon 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.”[1]

The theory is often summarized as “Cells that fire together, wire together”.[2] However, this summary should not be taken literally. Hebb emphasized that cell A needs to ‘take part in firing’ cell B, and such causality can only occur if cell A fires just before, not at the same time as, cell B. This important aspect of causation in Hebb’s work foreshadowed what we now know about spike-timing-dependent plasticity, which requires temporal precedence.[3] The theory attempts to explain associative or Hebbian learning, in which simultaneous activation of cells leads to pronounced increases in synaptic strength between those cells, and provides a biological basis for errorless learning methods for education and memory rehabilitation.

Hebbian theory concerns how neurons might connect themselves to become engrams. Hebb’s theories on the form and function of cell assemblies can be understood from the following:

“The general idea is an old one, that any two cells or systems of cells that are repeatedly active at the same time will tend to become ‘associated’, so that activity in one facilitates activity in the other.” (Hebb 1949, p. 70)
“When one cell repeatedly assists in firing another, the axon of the first cell develops synaptic knobs (or enlarges them if they already exist) in contact with the soma of the second cell.” (Hebb 1949, p. 63)

Gordon Allport posits additional ideas regarding cell assembly theory and its role in forming engrams, along the lines of the concept of auto-association, described as follows:

“If the inputs to a system cause the same pattern of activity to occur repeatedly, the set of active elements constituting that pattern will become increasingly strongly interassociated. That is, each element will tend to turn on every other element and (with negative weights) to turn off the elements that do not form part of the pattern. To put it another way, the pattern as a whole will become ‘auto-associated’. We may call a learned (auto-associated) pattern an engram.” (Allport 1985, p. 44)

Hebbian theory has been the primary basis for the conventional view that when analyzed from a holistic level, engrams are neuronal nets or neural networks.

Work in the laboratory of Eric Kandel has provided evidence for the involvement of Hebbian learning mechanisms at synapses in the marine gastropod Aplysia californica.

Experiments on Hebbian synapse modification mechanisms at the central nervous system synapses of vertebrates are much more difficult to control than are experiments with the relatively simple peripheral nervous system synapses studied in marine invertebrates. Much of the work on long-lasting synaptic changes between vertebrate neurons (such aslong-term potentiation) involves the use of non-physiological experimental stimulation of brain cells. However, some of the physiologically relevant synapse modification mechanisms that have been studied in vertebrate brains do seem to be examples of Hebbian processes. One such study reviews results from experiments that indicate that long-lasting changes in synaptic strengths can be induced by physiologically relevant synaptic activity working through both Hebbian and non-Hebbian mechanisms.

## Principles

From the point of view of artificial neurons and artificial neural networks, Hebb’s principle can be described as a method of determining how to alter the weights between model neurons. The weight between two neurons increases if the two neurons activate simultaneously—and reduces if they activate separately. Nodes that tend to be either both positive or both negative at the same time have strong positive weights, while those that tend to be opposite have strong negative weights.

The following is a formulaic description of Hebbian learning: (note that many other descriptions are possible)

$\,w_{ij}=x_ix_j$

where $w_{ij}$ is the weight of the connection from neuron $j$ to neuron $i$ and $x_i$ the input for neuron $i$. Note that this is pattern learning (weights updated after every training example). In a Hopfield network, connections $w_{ij}$ are set to zero if $i=j$ (no reflexive connections allowed). With binary neurons (activations either 0 or 1), connections would be set to 1 if the connected neurons have the same activation for a pattern.

Another formulaic description is:

$w_{ij} = \frac{1}{p} \sum_{k=1}^p x_i^k x_j^k\,$ ,

where $w_{ij}$ is the weight of the connection from neuron $j$ to neuron $i$$p$ is the number of training patterns, and $x_{i}^k$ the $k$th input for neuron $i$. This is learning by epoch (weights updated after all the training examples are presented). Again, in a Hopfield network, connections $w_{ij}$ are set to zero if $i=j$ (no reflexive connections).

A variation of Hebbian learning that takes into account phenomena such as blocking and many other neural learning phenomena is the mathematical model of Harry KlopfKlopf’s model reproduces a great many biological phenomena, and is also simple to implement.

## Generalization and stability

Hebb’s Rule is often generalized as

$\,\Delta w_i = \eta x_i y,$

or the change in the $i$th synaptic weight $w_i$ is equal to a learning rate $\eta$ times the $i$th input $x_i$ times the postsynaptic response $y$. Often cited is the case of a linear neuron,

$\,y = \sum_j w_j x_j,$

and the previous section’s simplification takes both the learning rate and the input weights to be 1. This version of the rule is clearly unstable, as in any network with a dominant signal the synaptic weights will increase or decrease exponentially. However, it can be shown that for any neuron model, Hebb’s rule is unstable.[citation needed] Therefore, network models of neurons usually employ other learning theories such as BCM theoryOja’s rule,[4] or the Generalized Hebbian Algorithm.

## Exceptions

Despite the common use of Hebbian models for LTP, there exists several exceptions to Hebb’s principles and examples that demonstrate some aspects of the theory are oversimplified. One of the most well-documented of these exceptions pertains to how synaptic modification may not simply occur only between activated neurons A and B, but to neighboring neurons as well.[5] This is due to how Hebbian modification depends on retrograde signaling in order to modify the presynaptic neuron.[6] The compound most commonly identified as fulfilling this retrograde transmitter role is nitric oxide, which, due to its high solubility and diffusibility, often exerts effects on nearby neurons.[7] This type of diffuse synaptic modification, known as volume learning, counters, or at least supplements, the traditional Hebbian model.[8]

## Hebbian learning account of mirror neurons

Hebbian learning and what we know about spike timing dependent plasticity has also been used in an influential theory of how mirror neurons emerge.[9][10] Mirror neurons are neurons in that fire both when an individual performs an action and when the individual sees[11] or hears [12] another perform a similar action. The discovery of these neurons has been very influential in explaining how individuals make sense of the actions of others, by showing that when we perceive the actions of others, we activate the motor programs we would use to perform similar actions. The activation of these motor programs then adds information to the perception and help predict what the person will do next based on the perceiver’s own motor program. A challenge has been to explain how individuals come to have neurons that respond both while performing an action and while hearing or seeing another perform similar actions. Christian Keysers and David Perrett suggested that while an individual performs a particular action, the individual will see, hear and feel himself perform the action. These re-afferent sensory signals will trigger activity in neurons responding to the sight, sound and feel of the action. Because the activity of these sensory neurons will consistently overlap in time with those of the motor neurons that caused the action, Hebbian learning would predict that the synapses connecting neurons responding to the sight, sound and feel of an action and those of the neurons triggering the action should be potentiated. The same is true while people look at themselves in the mirror, hear themselves babble or are imitated by others. After repeated experience of this re-afference, the synapses connecting the sensory and motor representations of an action would be so strong, that the motor neurons would start firing to the sound or the vision of the action, and a mirror neuron would have been created. Evidence for that perspective comes from many experiments that show that motor programs can be triggered by novel auditory or visual stimuli after repeated pairing of the stimulus with the execution of the motor program (see [13] for a review of the evidence). For instance, people that have never played the piano do not activate brain regions involved in playing the piano when listening to piano music. Five hours of piano lesson, in which the participant is exposed to the sound of the piano each time he presses a key, suffices to later trigger activity in motor regions of the brain upon listening to piano music.[14] Consistent with the fact that spike timing dependent plasticity occurs only if the presynaptic neuron’s firing predicts the post-synaptic neuron’s firing,[15] the link between sensory stimuli and motor programs also only seem to be potentiated if the stimulus is contingent on the motor program.