How spike timing reshapes synaptic competition and selectivity
Spike-timing-dependent plasticity (STDP) changes a synapse according to the relative timing of presynaptic and postsynaptic spikes. Presynaptic spikes that consistently precede a postsynaptic spike tend to strengthen their synapses; spikes arriving after it tend to weaken them. Because spikes and initial conditions are stochastic here, repeated runs need not finish with identical weights.
The first tab compares uncorrelated inputs, one correlated group competing with uncorrelated inputs, and two correlated groups competing with each other. Run the three conditions and compare the final normalized conductances. Correlated inputs can cooperate in driving postsynaptic spikes and thereby gain an advantage. B controls the relative strength of LTD and LTP; changing it shifts the competitive balance.
The second tab gives inputs different preferred latencies within repeated bursts. STDP strengthens inputs that reliably arrive early enough to help evoke a postsynaptic spike and weakens later inputs. Compare the initial and final weight distributions and voltage traces to see how learning sharpens the response in time.
Figure 1 follows Song & Abbott (2001), Cortical Remapping through Spike Timing-Dependent Plasticity. Figure 4 follows Song, Miller & Abbott (2000), Competitive Hebbian Learning Through Spike-Timing-Dependent Synaptic Plasticity. This teaching simulation reproduces selected principles and figures; it is not a complete reimplementation of every biological mechanism in those papers.