- Introduced by
- Louis Lapicque
- Year
- 1907
- Type
- Simplified neuronal spike model
- Family
- Computational neuroscience
What does it do?
The integrate-and-fire (IF) model is a simplified neuron model in which synaptic input is accumulated on the membrane potential until it reaches a threshold, at which point a spike is registered and the potential is reset.
Louis Lapicque's 1907 paper on the electrical excitation of nerves is generally regarded as the precursor of the scheme; the leaky variant (LIF) adds a passive decay of voltage toward rest. Because it omits most ionic detail, it is used where many neurons must be simulated at low computational cost.
The intuition behind the method
Think of the membrane as a capacitor charged by incoming current. In the leaky version, charge also drains through a passive conductance, so the voltage relaxes toward rest when no input arrives. The voltage therefore reflects a running balance between input and leak. When it reaches a fixed threshold, the model records a spike and resets the voltage, so the output is a sequence of discrete events rather than a continuous waveform. Ion channel kinetics are removed entirely, which keeps simulation cheap but means the model cannot describe the shape of an individual action potential.
History
Lapicque's 1907 paper treats the electrical excitation of nerves as a polarization process and proposed a threshold-based account of nerve excitation; it is generally regarded as the precursor of the integrate-and-fire family. The model was subsequently taken up in theoretical neuroscience. The leaky form, with passive decay of membrane voltage, is the version most often used as the reference model. Later variants add adaptation currents, stochastic input and exponential spike initiation.
When to use it
Choose integrate-and-fire when the question concerns spike times at the level of single neurons, populations or networks, such as rate coding, synchrony, or how input statistics shape firing, and when the number of simulated neurons makes detailed conductance models impractical. It also suits analytical work on firing rates. Analytical firing-rate results follow from the core assumptions of the model (a threshold-based spike rule, a subthreshold voltage that follows a linear equation, a fixed threshold, and the input statistics used in the derivation), so check these before applying a result to data with adaptation or strongly fluctuating input. Do not use the basic model when the question depends on ionic mechanisms, action-potential shape, dendritic computation, or spike-frequency adaptation, because the basic form has no adaptation current. Its refractory period is the only post-spike effect.
Limitations and considerations
- Omits spike-triggered adaptation, back-propagating action potentials and dendritic nonlinearities, so these effects cannot be represented unless the model is extended
- The threshold is fixed in the basic form, whereas measured thresholds can vary with input history and neuromodulation
- The leak and capacitance are phenomenological parameters rather than quantities tied to specific ion channels, so mapping them onto biophysics is indirect
- Precise spike timing is difficult to predict; the model is more reliable for population-level firing rates
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Computationally efficient, so networks of many neurons with explicit time dynamics can be simulated
- The subthreshold dynamics are a first-order linear equation, which permits analytical work on firing rate and input-output gain
- Places the threshold crossing, the event that defines a spike, at the centre of the model
- Widely used in network models of learning, attention and decision-making, so results can be compared across studies
Applications
- Population coding theory: analysing how neural populations represent sensory stimuli and make decisions using LIF neurons
- Spiking neural networks (SNNs): building neuromorphic hardware and brain-inspired computing using integrate-and-fire units
- Synaptic plasticity models: combining integrate-and-fire neurons with learning rules such as STDP to study memory formation
- Theoretical neuroscience: analysing synchronisation, oscillations and network dynamics in large-scale LIF networks
How it works
How it works
Obtain membrane voltage recordings from a neuron under current injection of several amplitudes, together with the spike times they produce, so that the response to input strength can be examined.
Detect spike times in the voltage traces. For a subthreshold current step, fit an exponential to the voltage relaxation: its time constant gives tau_m = C/gL, and the steady-state voltage change divided by the step amplitude gives the input resistance R_in = 1/gL. Use only subthreshold segments for these fits so that spikes do not contaminate them.
Fit the subthreshold equation to the voltage between spikes, with C and gL fixed from the preprocessing step and EL set to the resting potential. Take the threshold as the voltage at which spikes begin, read from the trace just before each spike onset and averaged across spikes. If a hard reset is used, estimate the reset value from the voltage immediately after each spike, and bound the refractory period by the shortest interspike interval observed. Judge the fit by comparing simulated and recorded spike times over the same input, not by the voltage trace alone.
Simulate the integrate-and-fire dynamics: C dV/dt = -gL(V - EL) + Iinput; fire when V >= Vthreshold and reset V to Vreset. Integrate with a time step small relative to tau_m, apply the threshold test after each update, and confirm that the simulated firing rate does not change when the step is halved. Track spike times and estimate firing rate.
Summarise the input-output relation, for example the firing rate as a function of injected current, and the threshold and time constant. To assess agreement with recordings, compare the simulated and recorded firing-rate versus injected-current curves over the recorded current range and report the discrepancy, for example as a mean absolute difference in rate. Agreement in firing rate does not validate spike timing, which should be compared separately, for instance with a spike-train distance measure.
Common pitfalls
- Keeping a fixed threshold when the data show that the threshold depends on preceding activity. Adaptive-threshold extensions exist, and their exact forms should be taken from the primary literature rather than assumed.
- Ignoring the refractory period. Without it the model can fire arbitrarily fast; with an absolute refractory period the firing rate is bounded, which changes the gain at high input.
- Treating the linear subthreshold equation as valid for the whole neuron. Dendritic saturation or nonlinear conductances can dominate the input-output relation, and a linear voltage equation will not capture them.
Frequently asked questions
What is the difference between integrate-and-fire and leaky integrate-and-fire?
The basic integrate-and-fire form has no leak term, so the voltage accumulates input without decay. The leaky version adds a passive conductance that pulls the voltage back toward rest. LIF is the more common choice because the decay is a closer description of passive membrane behaviour.
How do I choose the threshold voltage?
The threshold depends on the neuron and is set by fitting the model to recorded data, for example by measuring the membrane voltage at which spikes begin in recordings from the target neuron. Because the threshold may vary with input history, a single fitted value should be checked against the data.
Can integrate-and-fire models capture adaptation?
The basic model cannot. With constant suprathreshold input and no noise, it fires with a constant interspike interval after the first, so no adaptation appears. Adaptive variants add a spike-triggered current or conductance that builds up with each spike, so successive interspike intervals lengthen and the firing frequency adapts.
Related methods
Sources
Lapicque, L. (1907). Recherches quantitatives sur l'excitation electrique des nerfs traitee comme une polarisation. Journal de Physiologie et de Pathologie Générale, 9, 620-635.
Open publication referenceGerstner, W., Kistler, W. M., Naud, R., & Paninski, L. (2014). Neuronal Dynamics: From Single Neurons to Networks and Models of Cognition. Cambridge University Press.
Open publication reference