The Biological Inspiration
Every neuron in your brain is a tiny integrator. Synaptic currents charge the cell membrane like a capacitor, while ion channel leaks slowly drain it. When the membrane voltage crosses a critical threshold — roughly -50 mV — voltage-gated sodium channels open explosively, producing an all-or-nothing action potential that propagates down the axon. The leaky integrate-and-fire model distills this complex biophysics into a single differential equation that captures the essential input–output relationship.
The LIF Equation
The model treats the neuron as an RC circuit: τ_m × dV/dt = -(V - V_rest) + R_m × I_in. The membrane time constant τ_m determines the integration timescale, while the resistance R_m sets how much a given current depolarizes the membrane. When V reaches the threshold V_th, the neuron emits a spike (a discrete event) and resets to V_reset. This simple rule reproduces the regular spiking patterns observed in cortical pyramidal cells and generates realistic firing rate curves.
From Biology to Silicon
Neuromorphic engineers implement LIF neurons in analog or mixed-signal VLSI circuits. Intel's Loihi chip packs 128,000 neurons per core, each with configurable τ_m and V_th parameters. Because computation happens only when spikes arrive — not on every clock cycle — neuromorphic chips achieve milliwatt power budgets for tasks that consume watts on conventional GPUs. This event-driven paradigm mirrors the brain's sparse, energy-efficient coding strategy.
Coding Strategies
Spiking neurons can encode information in multiple ways: rate coding (average spike count), temporal coding (precise spike timing), burst coding (spike clusters), and population coding (patterns across neuron groups). The LIF model captures rate coding naturally — firing rate increases monotonically with input current above rheobase. By adding noise or adaptive thresholds, researchers extend LIF to reproduce irregular spiking and gain modulation seen in biological recordings.