Neural plasticity · single-cell dynamics
τ dV/dt = −(V − Vrest) + RI + σ√(2τ) ξ(t)
Membrane potential. The dashed line is threshold; the vertical strokes are spikes, drawn in at the moment the threshold is crossed.
The same spikes with the voltage thrown away, which is all a downstream cell gets.
Firing rate, counted in a one-second sliding window.
The f–I curve. The line is the noiseless prediction; the dots are measured, one per second of model time. Move the current slider to fill it in.
The coefficient of variation of the interval distribution measures how irregular the spiking is. CV near 0 is clock-like; CV near 1 is Poisson-like, which is roughly what cortical cells do in vivo.
The leaky integrate-and-fire neuron is the smallest model that still behaves like a neuron. It throws away the ion channels and keeps two facts: a patch of membrane is a leaky capacitor, and there is a voltage at which the cell emits a spike and starts again. Everything on this page follows from those two sentences.
Between spikes the membrane obeys
τ dV/dt = −(V − Vrest) + R I(t)
The first term is the leak, always pulling V back towards rest at a rate set by τ. The second is
the input, pushing it away. With a constant current the two balance at
V∞ = Vrest + RI, drawn on the membrane trace as a horizontal
line. If that asymptote is below threshold the noiseless cell never fires, however long you
wait; if it is above, the cell fires regularly. The current at which the asymptote exactly touches
threshold is the rheobase, and it is the knee in the f–I curve.
Spiking is imposed rather than derived. When V reaches Vthresh the simulation records a spike, resets V to Vrest, and holds it there for the refractory period tref. The upstroke drawn on the trace is decoration: the model has no spike shape, and that is a deliberate trade. What it buys is that the interval between spikes can be written down exactly,
T = tref + τ ln[ RI / (RI − (Vthresh − Vrest)) ] f = 1000 / T Hz
which is the curve plotted in the f–I panel, and is what the predicted readout reports.
A real cortical neuron is never given a clean current step. It sits in a barrage of thousands of synaptic inputs that the experiment cannot resolve individually, and their sum looks like noise. This model adds that as a Gaussian term, making the membrane an Ornstein–Uhlenbeck process:
V ← V + (dt/τ)[−(V − Vrest) + RI] + σ √(2dt/τ) N(0,1)
The √(2dt/τ) factor is what makes σ mean something: with it, the membrane at rest has a standard deviation of exactly σ whatever timestep or time constant you choose. Noise changes the behaviour qualitatively, not just cosmetically. Set the current below rheobase, so the prediction is zero, and then raise σ: the cell starts firing anyway, driven entirely by fluctuations that occasionally carry it over threshold. The measured dots lift off the predicted curve near the knee, and the CV climbs towards 1. This is the fluctuation-driven regime, and it is the one cortex appears to operate in.
| Symbol | Range | What it does |
|---|---|---|
| τ | 5–50 ms |
Membrane time constant, R C. Sets how quickly V approaches its asymptote, and therefore how long ago an input can have arrived and still contribute. Short τ makes a coincidence detector, long τ an integrator. Cortical pyramidal cells sit around 10–30 ms. |
| Vrest | −80 to −60 mV |
Resting potential, set by the balance of leak conductances. Also the reset potential here, so raising it both makes the cell easier to drive and shortens the climb back after each spike. |
| Vthresh | −65 to −40 mV |
Spike threshold. Only the distance Vthresh − Vrest matters for the firing rate, so moving either one has the same effect. |
| R | 20–500 MΩ |
Input resistance. Turns picoamps into millivolts: R I in mV is R[MΩ] × I[pA] / 1000. Small cells have high input resistance and are driven by less current. |
| tref | 0–10 ms |
Absolute refractory period. Sets the ceiling on firing rate, 1/tref, which is the flat part at the right of the f–I curve. At tref = 0 the curve has no ceiling at all. |
| I | 0–500 pA |
Injected current. Rheobase, the current at which firing begins without noise, is (Vthresh − Vrest) × 1000/R and is marked on the f–I panel. |
| σ | 0–15 mV |
Standard deviation of the membrane fluctuation at rest. Zero gives the textbook deterministic LIF, where the measured rate should land exactly on the prediction. Raising it lets the cell fire below rheobase and makes the intervals irregular. |
| ISI window | 1–30 s |
How much recent history the mean ISI and CV are computed over. It affects the measurement, not the cell. Short windows are noisy estimates; long ones lag behind a parameter change. |
| speed | 2–120 ms/frame |
Model milliseconds simulated per animation frame. Purely how fast you watch; the integration timestep is fixed at 0.5 ms. |