The AdEx Mean-Field Model: Bridging Spikes to Mesoscale
In the Mean Field Approximation Tutorial, we learned the core idea: replace microscopic interactions with macroscopic averages and demand self-consistency. We saw this in binary neurons (La Camera) and variational inference.
| Topic | Key Concept | Why It Matters |
|---|---|---|
| LIF Neurons | Voltage dynamics with threshold | Bridge from binary to realistic spiking |
| AdEx Model | Exponential spike + adaptation | Captures RS/FS cell types accurately |
| Adaptation | Spike-frequency adaptation (SFA) | Critical for sleep/wake dynamics |
| Transfer Function | F(νₑ, νᵢ) → νₒᵤₜ | Maps input rates to output rate |
| Semi-Analytical | Analytical stats + fitted Vₑff | When exact threshold solutions don't exist |
| Fluctuations | μᵥ, σᵥ, τᵥ (membrane potential!) | Subthreshold voltage statistics (NOT firing rate!) |
| Population Dynamics | Markovian formalism + cₑₑ, cᵢᵢ, cₑᵢ | The ACTUAL mean-field approximation |
| Whole-Brain | TVB + DTI spatial coupling | NOT another mean-field — just connecting nodes |
A common misconception is that this model has "two nested mean-field approximations." This is not quite right. Here's the actual structure:
Layer 1: Single Neurons → Transfer Function (SEMI-ANALYTICAL) - AdEx neuron dynamics → F(νₑ, νᵢ) - Analytical: membrane stats (μᵥ, σᵥ, τᵥ) from input rates - Fitted: effective threshold Vₑff via polynomial (numerical) - This is NOT a mean-field approximation — it's deriving the transfer function Layer 2: Neuronal Population → Mean-Field (THIS IS THE MEAN-FIELD) - 10,000 AdEx neurons → E/I population rates (νₑ, νᵢ) - Uses the Markovian Master Equation formalism - Tracks means AND variances (cₑₑ, cᵢᵢ, cₑᵢ) - El Boustani & Destexhe (2009) Layer 3: Many Regions → Spatial Coupling (NOT ANOTHER MEAN-FIELD) - 68 cortical regions connected by DTI tractography - Simple weighted sum: νₑᵢₙ(k) = νₑ(k) + G Σⱼ Cₖⱼ νₑ(j, t-Dₖⱼ) - This is just adding terms to the ODE — no additional approximation!
La Camera's binary neurons are a beautiful abstraction—each neuron is just 0 or 1, spiking with probability σ(I). But real neurons have:
ABSTRACTION
High ←─────────────────────────→ Low
Binary Neuron → LIF → AdEx → Hodgkin-Huxley
xᵢ ∈ {0,1} dV/dt + exp spike full ion channels
P = σ(I) + reset + adaptation + detailed kinetics
↓ ↓ ↓ ↓
Mean Field: Easy Harder Semi-Analytical Very Hard
(La Camera) (Brunel) (Zerlaut) (rare)The Adaptive Exponential Integrate-and-Fire (AdEx) model hits a sweet spot:
| Feature | Biological Relevance | Mathematical Tractability |
|---|---|---|
| Exponential Spike | Captures Na⁺ channel dynamics | Still integrable |
| Adaptation Current | RS vs FS cell types | One extra ODE |
| Conductance-Based | Realistic synapses | Slightly harder but doable |
Before AdEx, let's understand its simpler ancestor: the Leaky Integrate-and-Fire model. This bridges binary neurons to continuous voltage dynamics.
Membrane potential dynamics:
τₘ dV/dt = -(V - Eₗ) + Rₘ × I(t)
Spike mechanism:
if V ≥ Vₜₕᵣₑₛₕ:
emit spike
V → Vᵣₑₛₑₜ for duration τᵣₑf
Parameters:
τₘ = Cₘ/gₗ membrane time constant (~15-20 ms)
Eₗ leak reversal potential (~-65 mV)
Vₜₕᵣₑₛₕ spike threshold (~-50 mV)
Vᵣₑₛₑₜ reset voltage (~-65 mV)
Rₘ = 1/gₗ membrane resistance| Symbol | Name | Typical Value |
|---|---|---|
| V(t) | Membrane potential | -80 to -40 mV |
| τₘ | Membrane time constant | 15-20 ms |
| Cₘ | Membrane capacitance | 150-200 pF |
| gₗ | Leak conductance | 10 nS |
| Eₗ | Leak reversal | -65 mV |
| Vₜₕ | Spike threshold | -50 mV |
The relationship between input current I and firing rate f is the neuron's transfer function. For LIF with constant input:
This is a closed-form solution! But for AdEx with fluctuating input... we won't be so lucky.
The Adaptive Exponential Integrate-and-Fire extends LIF with two key features: an exponential spike mechanism and an adaptation current.
Membrane potential:
Cₘ dV/dt = gₗ(Eₗ - V) + gₗΔₜ exp((V - Vₜ)/Δₜ) + Iₛᵧₙ(V,t) - Iw
Adaptation current:
τw dIw/dt = a(V - Eₗ) - Iw + Σₛₚᵢₖₑₛ b δ(t - tₛ)
Spike mechanism:
when V → Vₜ + 5Δₜ (runaway):
V → Eₗ (reset)
Iw → Iw + b (adaptation increment)
refractory for τᵣₑf| Feature | LIF | AdEx |
|---|---|---|
| Spike initiation | Sharp threshold (V ≥ Vₜₕ) | Exponential runaway (smooth) |
| Adaptation | None | Current Iw that builds up |
| Cell types | One type | RS, FS, IB, CH, ... many! |
| Symbol | Name | RS | FS |
|---|---|---|---|
| Δₜ | Spike sharpness | 2 mV | 0.5 mV |
| a | Subthreshold adaptation | 4 nS | 0 nS |
| b | Spike-triggered adaptation | 20-100 pA | 0 pA |
| τw | Adaptation time constant | 500 ms | — |
The adaptation current Iw is not just a detail—it's central to brain state dynamics. Different adaptation levels produce dramatically different network behavior.
Each spike increments Iw by b: Iw → Iw + b (after spike) Iw then decays with time constant τw: τw dIw/dt = -Iw + a(V - Eₗ) Result: More spikes → larger Iw → harder to spike → rate decreases
| Mechanism | Time Scale | Effect |
|---|---|---|
| Ca²⁺-activated K⁺ channels | 100-1000 ms | Hyperpolarizing current after spikes |
| Na⁺ channel inactivation | 10-100 ms | Reduced excitability |
| Slow K⁺ currents (M-current) | 100s of ms | Voltage-dependent dampening |
In the whole-brain model (TVB), the parameter b is varied to simulate different states:
| Brain State | Adaptation (b) | Network Dynamics |
|---|---|---|
| Wake | Low (~40 pA) | Asynchronous, high-frequency |
| REM | Moderate (~60 pA) | Desynchronized, irregular |
| N2 | Higher (~80 pA) | Spindles, K-complexes |
| N3 (Deep Sleep) | High (~95 pA) | Slow oscillations, synchronized |
In reality, acetylcholine (ACh), norepinephrine, and other neuromodulators control adaptation:
The model captures this by varying b as a proxy for neuromodulatory tone.
The transfer function F(νₑ, νᵢ) maps presynaptic firing rates to output firing rate. It's the core ingredient for any mean-field model.
Given excitatory input rate νₑ, inhibitory input rate νᵢ, and adaptation level W, what is the neuron's output firing rate?
For binary neurons (La Camera), we had a simple sigmoid: P = σ(I). For LIF with constant input, we had the exact f-I curve.
For AdEx with fluctuating conductance-based input? The membrane potential statistics (μᵥ, σᵥ, τᵥ) can be computed analytically, but the effective threshold Vₑff cannot. Why?
| Aspect | Analytical? | Method |
|---|---|---|
| μᵥ, σᵥ, τᵥ, μG from (νₑ, νᵢ) | ✓ Yes | Campbell's theorem, power spectrum |
| Transfer function formula | ✓ Yes | erfc formula from diffusion approximation |
| Effective threshold Vₑff | ✗ No | Fitted polynomial from simulations |
The "semi" comes from Vₑff: Zerlaut et al. ran thousands of numerical simulations at different (νₑ, νᵢ) combinations, measured the output firing rates, and fitted a polynomial to capture how Vₑff depends on (μᵥ, σᵥ, τᵥ, μG).
F(νₑ, νᵢ) = 1/(2τᵥ) × erfc((Vₜₕᵣᵉᶠᶠ - μᵥ) / (√2 σᵥ))
where:
erfc(x) = complementary error function
μᵥ = mean membrane potential
σᵥ = standard deviation of V fluctuations
τᵥ = autocorrelation time of fluctuations
Vₜₕᵣᵉᶠᶠ = effective (phenomenological) thresholdThis formula comes from the diffusion approximation: treating synaptic input as Gaussian noise and computing first-passage time to threshold.
The transfer function depends on the statistics of membrane potential fluctuations. These can be computed analytically from the input rates!
| Symbol | What It Is | Units | Physical Interpretation |
|---|---|---|---|
| μᵥ | Mean membrane potential | mV | Average voltage under synaptic bombardment (~-60 mV) |
| σᵥ | Std dev of membrane potential | mV | Size of voltage fluctuations (~4-8 mV) |
| τᵥ | Autocorrelation time of V fluctuations | ms | How quickly voltage correlations decay (~5-20 ms) |
| μG | Mean total conductance | nS | Total synaptic + leak conductance |
INPUT → INTERMEDIATE (Analytical) → OUTPUT (νₑ, νᵢ) Hz (μᵥ, σᵥ, τᵥ, μG) νₒᵤₜ Hz Input firing rates Membrane potential stats Output firing rate
Step 1: Conductance statistics (from Campbell's theorem) μGₑ = νₑ × Kₑ × τₑ × Qₑ (mean excitatory conductance, in nS) μGᵢ = νᵢ × Kᵢ × τᵢ × Qᵢ (mean inhibitory conductance, in nS) μG = μGₑ + μGᵢ + gₗ (total conductance) Step 2: Mean membrane potential (weighted average of reversal potentials) μᵥ = (μGₑ×Eₑ + μGᵢ×Eᵢ + gₗ×Eₗ) / μG (in mV) Step 3: Variance (from power spectrum integration) σᵥ² = Σₛ Kₛνₛ(Uₛτₛ)² / (2(τₘᵉᶠᶠ + τₛ)) where Uₛ = Qₛ(Eₛ - μᵥ)/μG is the driving force per synapse Step 4: Autocorrelation time τᵥ = [Σₛ Kₛνₛ(Uₛτₛ)²] / [Σₛ Kₛνₛ(Uₛτₛ)²/(τₘᵉᶠᶠ + τₛ)]
Real cortical neurons operate in the fluctuation-driven regime:
The transfer function formula uses an effective threshold Vₜₕᵣᵉᶠᶠ rather than the biophysical threshold Vₜₕ. Why?
The simple formula F = erfc((Vₜₕ - μᵥ)/(√2 σᵥ))/(2τᵥ) assumes:
AdEx violates all of these! The exponential spike, reset, and adaptation all affect the apparent firing rate.
Instead of trying to account for each effect analytically, we let the data speak:
Vₜₕᵣᵉᶠᶠ(μᵥ, σᵥ, τᵥᴺ, μG) = P₀
+ Σₓ Pₓ × (x - x₀)/δx₀
+ PμG × log(μG/gₗ)
+ Σₓ,ᵧ Pₓᵧ × (x-x₀)/δx₀ × (y-y₀)/δy₀
where x, y ∈ {μᵥ, σᵥ, τᵥᴺ}| Coefficient | RS (mV) | FS (mV) |
|---|---|---|
| P₀ | -51.4 | -54.6 |
| PμV | 6.1e-3 | 4.6e-3 |
| PσV | 7.4e-3 | -1.8e-3 |
| PτV | 5.8e-5 | 6.6e-4 |
| PμG | -1.5e-4 | -3.0e-4 |
| Limitation | Why It Happens | Consequence |
|---|---|---|
| No memory of past activity | Vₑff only knows current (μᵥ, σᵥ, τᵥ), not history | Misses post-stimulus hyperpolarization from adaptation buildup |
| State-dependent, not history-dependent | Assumes stationary input (Poisson processes) | Less accurate for rapidly changing inputs |
| Polynomial approximation | Second-order fit, not exact | Works best in fluctuation-driven regime, may err at extremes |
Now we can build a population-level mean-field model. Instead of 10,000 individual neurons, we track just a few variables: the excitatory rate νₑ, the inhibitory rate νᵢ, and the adaptation Wₑ.
First-order (rate) dynamics:
T dνₑ/dt = Fₑ(νₑ, νᵢ, Wₑ) - νₑ
T dνᵢ/dt = Fᵢ(νₑ, νᵢ, Wᵢ) - νᵢ
Population adaptation:
dWₑ/dt = (-Wₑ + bₑνₑ + aₑ(μᵥ - Eₗ)) / τw
where:
T ≈ 5 ms (characteristic time scale)
Fμ = transfer function for population μ
Wₑ = mean adaptation current in E populationThe model assumes a random sparse network:
The first-order equations (just rates) miss something important: finite-size fluctuations. With only 10,000 neurons, there's significant noise in population activity.
The Markovian formalism tracks not just means but also variances and covariances:
Five quantities (not six — see explanation below):
νₑ(t), νᵢ(t) - mean population rates
cₑₑ(t), cᵢᵢ(t) - variances of E and I population activity
cₑᵢ(t) - covariance between E and I
Evolution:
T ∂νμ/∂t = (Fμ - νμ) + ½ cλη ∂²Fμ/∂νλ∂νη
T ∂cλη/∂t = Aλη + (Fλ - νλ)(Fη - νη)
+ cλμ ∂Fη/∂νμ + cμη ∂Fλ/∂νμ - 2cλη
where Aλη = Fλ(1/T - Fλ)/Nλ (finite-size noise)| Symbol | What It Is | Physical Meaning |
|---|---|---|
| cₑₑ | Var(νₑ) | How much the E population rate fluctuates around its mean |
| cᵢᵢ | Var(νᵢ) | How much the I population rate fluctuates around its mean |
| cₑᵢ | Cov(νₑ, νᵢ) | How E and I fluctuations correlate (usually positive: they track each other) |
⎛ cₑₑ cₑᵢ ⎞ ⎝ cₑᵢ cᵢᵢ ⎠
| First Order | Second Order |
|---|---|
| Tracks mean rates only | Tracks rates + fluctuations |
| Assumes N → ∞ | Finite-size effects included |
| Deterministic dynamics | Stochastic-like variability |
| Misses some transitions | Captures noise-induced switching |
The final layer: embedding mean-field nodes in a spatial network based on real human brain connectivity.
For each brain region k:
νₑᵢₙ(k,t) = νₑ(k,t) + νᵃᶠᶠ(k,t) + G Σⱼ Cₖⱼ νₑ(j, t-Dₖⱼ)
T dνₑ(k)/dt = Fₑ(νₑᵢₙ, νᵢ, Wₑ) - νₑ(k)
T dνᵢ(k)/dt = Fᵢ(νₑᵢₙ, νᵢ, Wᵢ) - νᵢ(k)
where:
Cₖⱼ = connection strength from region j to k (from DTI)
Dₖⱼ = propagation delay (from tract length)
G = global coupling strength
νᵃᶠᶠ = afferent input (external drive + noise)| Component | Source | Purpose |
|---|---|---|
| Local dynamics | AdEx mean-field | E/I population activity per region |
| Connectivity Cₖⱼ | Diffusion Tensor Imaging (DTI) | White matter tract strength |
| Delays Dₖⱼ | Tract lengths ÷ speed | Realistic signal propagation |
| Parcellation | Desikan-Killiany atlas | 68 cortical regions |
The Virtual Brain is an open-source platform that implements this whole-brain modeling framework. It provides:
By varying the adaptation parameter b across regions, researchers can simulate:
Sleep Stage → Adaptation b → Network Dynamics ─────────────────────────────────────────────────────── Wake → ~40 pA → Desynchronized, high entropy REM → ~60 pA → Irregular, dream-like N2 → ~80 pA → Spindles, K-complexes N3 → ~95 pA → Slow oscillations, low entropy
The Chennu dataset provides iEEG recordings during sleep. The whole-brain model can generate synthetic signals that match the complexity-entropy characteristics of different sleep stages. By fitting the adaptation parameter, researchers can:
| Concept | Equation |
|---|---|
| AdEx Membrane | Cₘ dV/dt = gₗ(Eₗ-V) + gₗΔₜ exp((V-Vₜ)/Δₜ) + Iₛᵧₙ - Iw |
| Adaptation | τw dIw/dt = a(V-Eₗ) - Iw + Σ b δ(t-tₛ) |
| Transfer Function | F = erfc((Vₑff - μᵥ)/(√2 σᵥ)) / (2τᵥ) |
| Mean Potential | μᵥ = (μGₑEₑ + μGᵢEᵢ + gₗEₗ) / (μGₑ + μGᵢ + gₗ) |
| Population Rate | T dνₑ/dt = Fₑ(νₑ,νᵢ,W) - νₑ |
| Whole-Brain | νₑᵢₙ = νₑ + νᵃᶠᶠ + G Σⱼ Cₖⱼ νₑ(j, t-Dₖⱼ) |
| Parameter | Symbol | Value |
|---|---|---|
| Membrane capacitance | Cₘ | 150-200 pF |
| Leak conductance | gₗ | 10 nS |
| Leak reversal | Eₗ | -65 mV |
| Threshold | Vₜₕ | -50 mV |
| Spike sharpness (RS) | Δₜ | 2 mV |
| Spike sharpness (FS) | Δₜ | 0.5 mV |
| Adaptation increment (RS) | b | 20-100 pA |
| Adaptation time | τw | 500 ms |
| Network size | N | 10,000 |
| Connection probability | ε | 5% |
| Layer | What It Does | Method | Is It Mean-Field? |
|---|---|---|---|
| 1. Transfer Function | AdEx neuron → F(νₑ, νᵢ) | Semi-analytical (analytical stats + fitted Vₑff) | No — it's deriving the transfer function |
| 2. Population Dynamics | 10,000 neurons → rate equations | Markovian Master Equation | Yes — this is THE mean-field! |
| 3. Whole-Brain | Connect regions via DTI | Weighted sum / spatial coupling | No — just connecting nodes |