What is spike-timing-dependent plasticity (STDP)? The timing rule behind neural learning
Spike-timing-dependent plasticity (STDP) strengthens or weakens synapses based on millisecond spike order. Learn how it works, its history and biocomputing role.
Definition
Spike-timing-dependent plasticity: Spike-timing-dependent plasticity (STDP) is a learning rule in which the change in a synapse's strength depends on the precise timing between presynaptic and postsynaptic spikes. If the input neuron fires shortly before the output neuron, the synapse usually strengthens; if it fires shortly after, the synapse usually weakens.
Also known as: STDP, timing-dependent plasticity, spike-timing-dependent synaptic plasticity
Spike-timing-dependent plasticity (STDP) is a learning rule in which a synapse’s strength changes according to the precise timing of spikes on either side of it. When the presynaptic neuron fires a few milliseconds before the postsynaptic neuron, the connection usually strengthens. When it fires just after, the connection usually weakens. STDP is a timing-sensitive form of Hebbian learning.
Key takeaways
- STDP links learning to causality: inputs that help trigger a spike are reinforced, inputs that arrive too late are weakened.
- The timing window is narrow. Bi and Poo (1998) found effects for spike pairs separated by roughly 20 milliseconds or less in cultured hippocampal neurons.
- Markram et al. (1997) showed in cortical neurons that reversing spike order could reverse the direction of change.
- STDP is a specific case of synaptic plasticity and a refinement of Hebbian learning.
- It is a common learning rule in spiking neural networks and neuromorphic chips, and a candidate mechanism for training living neural cultures.
How does spike-timing-dependent plasticity work?
Every synapse connects a sending (presynaptic) neuron to a receiving (postsynaptic) neuron. Under STDP, what matters is the time difference between the presynaptic spike and the postsynaptic action potential.
- Pre before post (positive timing). The input spike arrives, then the output neuron fires shortly afterward. The input plausibly contributed, so the synapse undergoes long-term potentiation.
- Post before pre (negative timing). The output neuron fires first and the input arrives afterward. The input could not have caused the spike, so the synapse undergoes long-term depression.
- Large gaps. If the spikes are far apart in time, little or no change happens.
The amount of change typically shrinks as the time gap grows, and modelers often describe it with two exponential curves, one for each side of zero. Caporale and Dan’s 2008 review in the Annual Review of Neuroscience notes that the exact shape varies between brain regions, synapse types and experimental conditions.
What is happening at the molecular level?
At many excitatory synapses, the NMDA receptor acts as a coincidence detector. When the postsynaptic neuron fires, its spike travels back into the dendrites. If this back-propagating spike coincides with recent glutamate release at the synapse, calcium influx is large, favoring potentiation. Different timing produces different calcium signals, which can favor depression instead. Other mechanisms, including endocannabinoid signaling, also contribute at some synapses.
Where did STDP come from?
The core idea goes back to Donald Hebb’s 1949 proposal that a cell which repeatedly helps fire another should strengthen its connection to it. Hebb did not specify timing in milliseconds; experiments in the 1990s did.
- Markram, Lübke, Frotscher and Sakmann (1997, Science) recorded from pairs of connected cortical neurons. They found that postsynaptic spikes occurring just after synaptic input produced strengthening, while the reverse order produced weakening.
- Bi and Poo (1998, The Journal of Neuroscience) systematically varied spike timing in cultured hippocampal neurons and mapped the timing window, which showed a sharp switch between potentiation and depression around zero.
- Song, Miller and Abbott (2000, Nature Neuroscience) showed in models that STDP makes synapses compete with each other, so that inputs which reliably predict output spikes win out. This helped explain how STDP could produce stable, selective learning.
STDP vs classic Hebbian learning vs rate-based rules
| Rule | What it depends on | Can weaken synapses? | Sensitive to order? |
|---|---|---|---|
| Classic Hebbian rule | Co-activity of two neurons | Not in its simplest form | No |
| Rate-based rules (e.g. BCM) | Average firing rates | Yes, via a threshold | No |
| STDP | Millisecond spike timing | Yes | Yes |
| Backpropagation | Global error gradient | Yes | Not applicable |
The key difference is that STDP is local and causal. A synapse only needs to know when its own input spikes and its own neuron’s output spikes occurred. This makes it attractive for hardware and for biology, where global error signals are not available.
Why does STDP matter for biocomputing?
In organoid intelligence and other forms of biocomputing, researchers cannot set synaptic weights directly. They can only control the timing of stimulation. STDP suggests that timing is a lever.
- Paired stimulation. Stimulating one electrode site shortly before another, many times, could in principle strengthen pathways between those regions.
- Feedback timing. In closed-loop stimulation, feedback delivered within milliseconds of a network response may be more effective than feedback delivered later.
- Hardware latency. Because the STDP window is so short, the recording and stimulation pipeline on a microelectrode array needs low, predictable delays.
These ideas connect directly to experiments described in our article on how neurons learn in a dish, where the timing and structure of feedback appear to shape what cultures learn.
STDP also matters on the silicon side. Neuromorphic computing chips such as Intel’s Loihi, described by Davies et al. (2018, IEEE Micro), were designed to support programmable on-chip learning rules, including spike-timing-based ones. This makes STDP a shared concept across living and artificial spiking systems.
What are the limitations of STDP?
- Pairing is not the whole story. Real plasticity also depends on firing rate, dendritic location, neuromodulators such as dopamine, and the history of the synapse.
- Variability. The timing window differs between cell types and can even flip sign at some synapses.
- Unsupervised by default. Pure STDP learns correlations, not goals. To solve tasks, it usually needs to be combined with a reward or error signal, sometimes called reward-modulated STDP.
- Hard to control in tissue. Electrical stimulation in a 3D brain organoid activates many cells at once, so precise pairwise timing is difficult to impose.
Building tools that time stimulation precisely relative to recorded spikes, and log every parameter for reproducibility, is part of what we are working on at Organoid Programming.
Conclusion
Spike-timing-dependent plasticity turns millisecond spike order into lasting changes in connection strength. It gives a concrete, local and causal version of Hebb’s idea, and it is used in both neuromorphic hardware and theories of how living networks learn. For organoid biocomputing, STDP is a reminder that when you stimulate can matter as much as what you stimulate.
Frequently asked questions
What is spike-timing-dependent plasticity in simple terms?
Spike-timing-dependent plasticity is a rule for how connections between neurons change. If neuron A fires just before neuron B, the connection from A to B gets stronger, because A may have helped cause B’s spike. If A fires just after B, the connection gets weaker. The effect is strongest when the two spikes are only a few milliseconds apart.
How is STDP related to Hebbian learning?
STDP is often described as a refined, time-sensitive version of Hebbian learning. Hebb proposed that connections strengthen when one cell repeatedly takes part in firing another. STDP adds the detail that order matters: only inputs that arrive just before the output spike, and so could have contributed to it, are strengthened. Inputs that arrive after are weakened.
Who discovered spike-timing-dependent plasticity?
Several groups contributed. Markram and colleagues reported in Science in 1997 that the relative timing of pre- and postsynaptic activity in cortical neurons determined whether synapses strengthened or weakened. Bi and Poo described the timing window in detail in cultured hippocampal neurons in The Journal of Neuroscience in 1998. The term STDP became common shortly after.
Is STDP used in artificial neural networks?
STDP is used mainly in spiking neural networks and neuromorphic hardware, where neurons communicate with discrete spikes. Some neuromorphic chips support local, STDP-like learning rules on the chip itself. Standard deep learning does not use STDP; it relies on backpropagation, which tends to achieve higher accuracy on benchmark tasks but requires global error signals.
Can STDP be used to train brain organoids?
In principle, carefully timed stimulation could exploit STDP to strengthen chosen pathways in a living culture. In practice it is hard, because electrical stimulation activates many neurons at once and organoid circuits are complex and variable. Researchers are exploring paired and closed-loop stimulation protocols, but reliable STDP-based training of organoids has not yet been established.
Sources
- Markram, Lübke, Frotscher & Sakmann (1997). Regulation of synaptic efficacy by coincidence of postsynaptic APs and EPSPs. Science.
- Bi & Poo (1998). Synaptic modifications in cultured hippocampal neurons: dependence on spike timing, synaptic strength, and postsynaptic cell type. The Journal of Neuroscience.
- Song, Miller & Abbott (2000). Competitive Hebbian learning through spike-timing-dependent synaptic plasticity. Nature Neuroscience.
- Caporale & Dan (2008). Spike timing-dependent plasticity: a Hebbian learning rule. Annual Review of Neuroscience.
- Hebb (1949). The Organization of Behavior: A Neuropsychological Theory. Wiley. Reissued by Psychology Press.
- Bienenstock, Cooper & Munro (1982). Theory for the development of neuron selectivity: orientation specificity and binocular interaction in visual cortex. The Journal of Neuroscience.
- Davies et al. (2018). Loihi: a neuromorphic manycore processor with on-chip learning. IEEE Micro.

