033 — Mean field model

Abstract

nb025 characterised the PING rate floor empirically: a recruitment cliff where the I-loop engages, gamma at ≈25 Hz. Both are bifurcation behaviours, and this entry pins them down in a mean-field model — with three goals and no more: locate the Hopf, predict its frequency, and classify it super- or subcritical. The right object is the 4D conductance mean-field (E,I,geI,giE)(E, I, g_e^I, g_i^E): the Hopf is a linear fact about its 4×44\times4 Jacobian (giving f24.5f^\star \approx 24.5 Hz, in the spiking network’s gamma band and tracking its dependence on τGABA\tau_\text{GABA}), and direct simulation classifies it supercritical. The tempting 2D rate model cannot host the rhythm at all — provably, by Bendixson–Dulac, and because the reduction that produces it is not even asymptotically valid — so the analysis stays in 4D throughout.

Methods

Why a 2D model is the wrong object

The textbook tool for a bifurcation in an E/I circuit is a 2D Wilson-Cowan rate model: two population rates (E,I)(E, I) with sigmoid gains ΦE,I\Phi_{E,I} and instantaneous E↔I coupling. The PING architecture carries no recurrent E→E or I→I synapse (WEE=WII=0W^{EE} = W^{II} = 0), so the model is

τEE˙=E+ΦE ⁣(IextWIEI),τII˙=I+ΦI ⁣(WEIE).(1)\tau_E\,\dot E = -E + \Phi_E\!\left(I_\text{ext} - W^{IE} I\right), \qquad \tau_I\,\dot I = -I + \Phi_I\!\left(W^{EI} E\right). \tag{1}

It is the wrong object, for two reasons.

The reduction isn’t valid. Collapsing the full conductance-based dynamics to (1) means adiabatically eliminating the synaptic conductances — legitimate only if they relax fast relative to the rhythm. They do not: τGABA5\tau_\text{GABA} \approx 51010 ms is the same order as the gamma period itself (25\approx 25 ms at 40 Hz). The inhibitory decay is not a slaved fast variable, it is the clock that sets the period. With no timescale separation to exploit, the elimination that produces (1) is unjustified — (1) is not a simplification of PING, it is a different system.

And even if you force it, it cannot oscillate. The divergence of the planar field (1) is pinned to a strictly negative constant,

EE˙+II˙=1τE1τI,(2)\partial_E \dot E + \partial_I \dot I = -\frac{1}{\tau_E} - \frac{1}{\tau_I}, \tag{2}

because ΦE\Phi_E‘s argument carries no EE and ΦI\Phi_I‘s carries no II — with no E→E or I→I synapse the gain Φ\Phi' multiplies only the off-diagonal cross-terms (it sets the rotation rate, never the divergence). By the Bendixson–Dulac theorem a planar flow whose divergence holds one sign on a simply connected region encloses no periodic orbit; so (1) sustains no limit cycle for any drive, coupling strength, gain shape, or amplitude — not merely no Hopf, but no oscillation anywhere in phase space. (The local face of the same fact: the Jacobian trace of (1) equals (2) everywhere, so it never reaches the tr(J)=0\mathrm{tr}(J) = 0 a Hopf requires.) Consequently any 2D rate model that does oscillate has to import a destabiliser PING lacks — recurrent excitation in Wilson-Cowan, a cubic self-gain in FitzHugh-Nagumo — so it reproduces the rhythm through a fictional mechanism rather than approximating the real one.

What’s missing is the delay. What actually destabilises the silent state is the round-trip phase lag of the loop — E excites I after τAMPA\tau_\text{AMPA}, I shunts E after τGABA\tau_\text{GABA} — and (1), with instantaneous coupling, has discarded exactly it: inhibition that tracks EE with zero delay can only damp, never overshoot. Holding the lag is irreducibly more than two-dimensional — either keep the two synaptic conductances (geI,giE)(g_e^I, g_i^E) as first-order states (the 4D model below, whose synaptic poles rotate a complex pair across the imaginary axis at a Hopf), or write the delay explicitly (a delay-differential equation, whose transcendental characteristic quasi-polynomial carries infinitely many roots). So the analysis stays in 4D. “Local analysis near the Hopf” is done in the 4D coordinates — the Jacobian crossing below, and the amplitude law of §3.2 — never by swapping in a planar system.

Figure 1. Same drive, same kick — only the 4D model oscillates
Time series of E (deviation from equilibrium) over 300 ms at a fixed supra-threshold drive. The 2D Wilson-Cowan trace (red) oscillates briefly then decays to a flat line at zero. The 4D conductance trace (black) grows from the same initial perturbation into a sustained, constant-amplitude oscillation.

Bendixson made visible. Started from the same small kick at the same supra-threshold drive (Iext=I+3I_\text{ext} = I^\star + 3), the 2D Wilson-Cowan field (1) (red) rings down to equilibrium, while the full 4D conductance model (black) settles into a sustained gamma cycle. The synaptic delay the 2D model eliminated is the entire difference.

The 4D mean-field model

We start with NE+NIN_E + N_I coupled conductance-based spiking neurons and reduce them, step by step, to four coupled ODEs for the population-mean rates E(t),I(t)E(t), I(t) and the population-mean conductances geI(t),giE(t)g_e^I(t), g_i^E(t). Each step replaces one degree of freedom with a smoother, lower-dimensional approximation; the cost of each is recorded at the end. The full chain is:

NN-cell spiking COBA → homogeneous-coupling spike-train integrals → population-mean rates and conductances → driving-force linearisation → relaxational rate dynamics with f-I gain Φ\Phi → final 4D system in (E,I,geI,giE)(E, I, g_e^I, g_i^E).

Step 1. Single-cell COBA equations. Index E cells by j{1,,NE}j \in \{1, \ldots, N_E\} and I cells by k{1,,NI}k \in \{1, \ldots, N_I\}. From the methods paper ar009 eq. (1) with the architecture constraints WEE=WII=0W^{EE} = W^{II} = 0 (no recurrent E→E, no I→I) and an external drive Iext,jI_{\text{ext},j} added on E:

CmEV˙jE  =  gLE(VjEEL)    gi,jE(VjEEI)  +  Iext,j(D1a)C_m^E\,\dot V_j^E \;=\; -g_L^E(V_j^E - E_L) \;-\; g_{i,j}^E(V_j^E - E_I) \;+\; I_{\text{ext},j} \tag{D1a} CmIV˙kI  =  gLI(VkIEL)    ge,kI(VkIEE)(D1b)C_m^I\,\dot V_k^I \;=\; -g_L^I(V_k^I - E_L) \;-\; g_{e,k}^I(V_k^I - E_E) \tag{D1b}

The E cell has no geEg_e^E term because the only excitation it receives in this analysis is IextI_\text{ext} (the feedforward drive); the I cell has no giIg_i^I because there is no I→I coupling. The conductances gi,jE,ge,kIg_{i,j}^E, g_{e,k}^I are themselves driven by presynaptic spikes through first-order linear filters:

τAMPAg˙e,kI  =  ge,kI  +  τAMPAjWkjEIsjE(t)(D2a)\tau_\text{AMPA}\,\dot g_{e,k}^I \;=\; -g_{e,k}^I \;+\; \tau_\text{AMPA}\,\sum_j W^{EI}_{kj}\,s_j^E(t) \tag{D2a} τGABAg˙i,jE  =  gi,jE  +  τGABAkWjkIEskI(t)(D2b)\tau_\text{GABA}\,\dot g_{i,j}^E \;=\; -g_{i,j}^E \;+\; \tau_\text{GABA}\,\sum_k W^{IE}_{jk}\,s_k^I(t) \tag{D2b}

with sjE(t)=nδ(ttj,nE)s_j^E(t) = \sum_n \delta(t - t_{j,n}^E) the spike train of E-cell jj as a sum of Dirac pulses at its firing times (similarly for skIs_k^I). (D2a–b) are the continuous-time forms of eq. (8) and (7) in the methods backbone — exponential synapses with per-spike weight WW and decay τ\tau.

Step 2. Homogeneous coupling. The weight matrices in the simulator are random with finite variance. Replace each entry by its population mean: WkjEIwEIW^{EI}_{kj} \to w^{EI} and WjkIEwIEW^{IE}_{jk} \to w^{IE} for all j,kj, k. The presynaptic-summation terms in (D2a–b) become

jWkjEIsjE    wEIjsjE  =  wEINEE(t)(D3a)\sum_j W^{EI}_{kj}\,s_j^E \;\longrightarrow\; w^{EI} \sum_j s_j^E \;=\; w^{EI}\, N_E\, E(t) \tag{D3a} kWjkIEskI    wIEkskI  =  wIENII(t)(D3b)\sum_k W^{IE}_{jk}\,s_k^I \;\longrightarrow\; w^{IE} \sum_k s_k^I \;=\; w^{IE}\, N_I\, I(t) \tag{D3b}

where we introduce the population-mean firing rates

E(t)    1NEj=1NEsjE(t),I(t)    1NIk=1NIskI(t).(D3c)E(t) \;\equiv\; \frac{1}{N_E}\sum_{j=1}^{N_E} s_j^E(t), \qquad I(t) \;\equiv\; \frac{1}{N_I}\sum_{k=1}^{N_I} s_k^I(t). \tag{D3c}

Strictly, E(t)E(t) and I(t)I(t) as defined are sums of deltas. The mean-field interpretation is that under a smooth-rate ansatz — averaging over a short window or assuming a continuous spiking density — we treat E,IE, I as smooth functions, so wEINEE(t)w^{EI} N_E E(t) becomes an ordinary continuous source term. (D3) drops two things: weight heterogeneity, and finite-size fluctuations. The latter is the stochastic noise that survives in any actual finite population: even with all weights at their mean values, the population rate E(t)=NE1jsjE(t)E(t) = N_E^{-1}\sum_j s_j^E(t) is a sum of NEN_E independent point-process samples, so it has shot-noise variance Var[E(t)]E(t)/NE\mathrm{Var}[E(t)] \propto E(t)/N_E over a short window. The mean-field limit takes NE,NIN_E, N_I \to \infty at fixed W~EI,W~IE\tilde W^{EI}, \tilde W^{IE}, in which the law of large numbers makes E(t),I(t)E(t), I(t) converge to their expected values and the variance vanishes. At finite NE=1024,NI=256N_E = 1024, N_I = 256 the residual O(N1/2)O(N^{-1/2}) fluctuations act as a noise term on (D4), which (a) smears the Hopf bifurcation — instead of a sharp A2(IextIext)A^2 \propto (I_\text{ext} - I_\text{ext}^\star) onset, the spiking simulator shows a rounded shoulder with sub-threshold variance — and (b) maintains a low-amplitude noisy gamma oscillation just below criticality where the linearised mean-field predicts strict silence. Both effects reappear in the spiking simulations, with magnitude controlled by 1/N1/\sqrt{N}.

Because the source terms (D3a) and (D3b) no longer carry a cell index, every E cell sees the same giEg_i^E and every I cell sees the same geIg_e^I. The per-cell conductance equations collapse to two population-mean equations. Defining lumped couplings

W~EI    wEINE,W~IE    wIENI(D3d)\tilde W^{EI} \;\equiv\; w^{EI} N_E, \qquad \tilde W^{IE} \;\equiv\; w^{IE} N_I \tag{D3d}

(carries-the-fan-in: each E spike contributes the per-edge weight, and there are NEN_E presynaptic E cells), the conductance dynamics become

τAMPAg˙eI  =  geI  +  W~EIE(D4a)\tau_\text{AMPA}\,\dot g_e^I \;=\; -g_e^I \;+\; \tilde W^{EI}\,E \tag{D4a} τGABAg˙iE  =  giE  +  W~IEI(D4b)\tau_\text{GABA}\,\dot g_i^E \;=\; -g_i^E \;+\; \tilde W^{IE}\,I \tag{D4b}

Two equations down from NE+NIN_E + N_I. (Note: the absolute scale of W~EI,W~IE\tilde W^{EI}, \tilde W^{IE} folds into WEI,WIEW^{EI}, W^{IE} used in the final 4D system after Step 5.)

Step 3. Driving-force linearisation. The synaptic terms in (D1) still depend on VV through factors (VEI)(V - E_I) and (VEE)(V - E_E). Take VV to its resting value in the synaptic terms only (not in the leak or the threshold-crossing, which we’ll handle separately via the f-I curve). With Vrest=65V_\text{rest} = -65 mV and the reversal potentials from ar009,

ΔVinh    VrestEI  =  65(80)  =  15 mV(D5a)\Delta V_\text{inh} \;\equiv\; V_\text{rest} - E_I \;=\; -65 - (-80) \;=\; 15~\text{mV} \tag{D5a} ΔVexc    VrestEE  =  650  =  65 mV\Delta V_\text{exc} \;\equiv\; V_\text{rest} - E_E \;=\; -65 - 0 \;=\; -65~\text{mV}

(so (VEE)ΔVexc=+65-(V - E_E) \approx -\Delta V_\text{exc} = +65 mV — depolarising drive on I). The synaptic currents in (D1a–b) become

giE(VjEEI)    giEΔVinh(D5b)-g_i^E (V_j^E - E_I) \;\approx\; -g_i^E\,\Delta V_\text{inh} \tag{D5b} geI(VkIEE)    geIΔVexc  =  +geIEEVrest(D5c)-g_e^I (V_k^I - E_E) \;\approx\; -g_e^I\,\Delta V_\text{exc} \;=\; +g_e^I \cdot |E_E - V_\text{rest}| \tag{D5c}

— each synaptic input is now linear in conductance, with the cell-population-independent prefactor folded into a constant. This is the crucial reduction: it kills the multiplicative coupling between membrane potential and synaptic conductance that makes COBA so different from CUBA, but only in the driving force. Shunting (the effect of gg on τeff\tau_\text{eff} and gtotg_\text{tot}) is dropped at this step; this is what the table at the end records.

Step 4. Population rate from an f-I curve. Under (D5) the membrane equations (D1a–b) have the form CmV˙=gL(VEL)+IsynC_m \dot V = -g_L (V - E_L) + I_\text{syn} — exactly LIF with a synaptic current. A LIF cell receiving constant net input current II fires at rate ϕ(I)\phi(I) where ϕ\phi is its f-I curve. Replacing each cell’s spike output by its rate response gives

E(t)    ϕE ⁣(IeffE(t)),I(t)    ϕI ⁣(IeffI(t))(D6a)E(t) \;\approx\; \phi_E\!\big(I_\text{eff}^E(t)\big), \qquad I(t) \;\approx\; \phi_I\!\big(I_\text{eff}^I(t)\big) \tag{D6a}

with effective input currents (from D1 with D5 substituted)

IeffE(t)  =  Iext(t)    giE(t)ΔVinh(D6b)I_\text{eff}^E(t) \;=\; I_\text{ext}(t) \;-\; g_i^E(t)\,\Delta V_\text{inh} \tag{D6b} IeffI(t)  =  geI(t)ΔVexc(D6c)I_\text{eff}^I(t) \;=\; g_e^I(t)\,|\Delta V_\text{exc}| \tag{D6c}

(I cells receive only excitation in this architecture; E cells receive external drive minus the GABA shunt.) The instantaneous-rate replacement (D6a) is only valid when input changes are slow compared to the membrane integration time. In reality, E(t)E(t) relaxes toward the f-I-curve fixed point on its membrane time constant τE\tau_E. Encode this with an explicit relaxation:

τEE˙  =  E  +  ΦE ⁣(IextgiEΔVinh)(D7a)\tau_E\,\dot E \;=\; -E \;+\; \Phi_E\!\big(I_\text{ext} - g_i^E\,\Delta V_\text{inh}\big) \tag{D7a} τII˙  =  I  +  ΦI ⁣(geIΔVexc)(D7b)\tau_I\,\dot I \;=\; -I \;+\; \Phi_I\!\big(g_e^I\,|\Delta V_\text{exc}|\big) \tag{D7b}

where ΦE,ΦI\Phi_E, \Phi_I are the smooth steady-state gain functions (sigmoids in the numerics). Drives that change faster than τE,τI\tau_E, \tau_I are filtered; the rate doesn’t snap to the f-I curve instantaneously. Two more equations down — together with (D4a–b) we now have four equations in (E,I,geI,giE)(E, I, g_e^I, g_i^E).

Step 5. Absorb the driving-force constants. The fixed prefactors ΔVinh,ΔVexc\Delta V_\text{inh}, |\Delta V_\text{exc}| in (D7) and the fan-in scalings in (D4) are just multiplicative constants — they don’t carry dynamical information. Fold them into the couplings:

WEI    W~EIΔVexc,WIE    W~IEΔVinh(D8)W^{EI} \;\equiv\; \tilde W^{EI} \cdot |\Delta V_\text{exc}|, \qquad W^{IE} \;\equiv\; \tilde W^{IE} \cdot \Delta V_\text{inh} \tag{D8}

and likewise absorb the ΔVexc|\Delta V_\text{exc}| inside the I-cell argument by redefining geIgeIΔVexcg_e^I \mapsto g_e^I \cdot |\Delta V_\text{exc}| (similarly for giEg_i^E). The conductances now have units of input current rather than µS; the f-I curves take their argument directly. This change of variables is pure bookkeeping — no dynamics are lost.

The four equations after (D4) + (D7) + (D8) are exactly the 4D system shown next.

StepApproximationWhat’s lost
D3homogeneous coupling, smooth-rate densityweight heterogeneity, finite-size noise
D5VVrestV \approx V_\text{rest} in driving forceshunting, threshold-crossing nonlinearity
D7single relaxational mode at τE,τI\tau_E, \tau_Isub-membrane dynamics, refractoriness
D8absorb constants into WW and ggnothing (bookkeeping only)

The 4D system

After Steps 1–5, the mean-field equations are

τEE˙=E+ΦE(IextgiE),τII˙=I+ΦI(geI)(3)\tau_E\,\dot E = -E + \Phi_E(I_\text{ext} - g_i^E), \qquad \tau_I\,\dot I = -I + \Phi_I(g_e^I) \tag{3} τAMPAg˙eI=geI+WEIE,τGABAg˙iE=giE+WIEI(4)\tau_\text{AMPA}\,\dot g_e^I = -g_e^I + W^{EI}\,E, \qquad \tau_\text{GABA}\,\dot g_i^E = -g_i^E + W^{IE}\,I \tag{4}

in state (E,I,geI,giE)(E, I, g_e^I, g_i^E). Whether this 4D state is minimal — or a 2D reduction would do — was settled in Why 2D reductions fail: the synaptic phase delays τAMPA,τGABA\tau_\text{AMPA}, \tau_\text{GABA} are load-bearing, and a planar model that eliminates them cannot oscillate. The 4D state keeps them.

4D Jacobian

At a fixed point (E,I,geI,giE)(E^\star, I^\star, g_e^{I\star}, g_i^{E\star}):

J=(1/τE00ΦE/τE01/τIΦI/τI0WEI/τAMPA01/τAMPA00WIE/τGABA01/τGABA)(5)J = \begin{pmatrix} -1/\tau_E & 0 & 0 & -\Phi'_E/\tau_E \\ 0 & -1/\tau_I & \Phi'_I/\tau_I & 0 \\ W^{EI}/\tau_\text{AMPA} & 0 & -1/\tau_\text{AMPA} & 0 \\ 0 & W^{IE}/\tau_\text{GABA} & 0 & -1/\tau_\text{GABA} \end{pmatrix} \tag{5}

with ΦE,ΦI\Phi'_E, \Phi'_I evaluated at the fixed-point arguments.

Results

Of the three goals, two are linear — locating the Hopf and reading off its frequency are facts about the 4×44\times4 Jacobian — and one is nonlinear — whether the bifurcation is super- or subcritical. We take them in that order.

Frequency

We locate the bifurcation numerically: sweep IextI_\text{ext}, track the fixed point (near-silent until the loop engages), and diagonalise JJ at each step. The recruitment cliff is a Hopf bifurcation — the smallest IextI_\text{ext}^\star at which a complex-conjugate eigenvalue pair reaches the imaginary axis (Re(λ)=0\mathrm{Re}(\lambda) = 0, Im(λ)0\mathrm{Im}(\lambda) \neq 0), so the silent fixed point loses stability to a growing oscillation rather than to a static shift. The crossing frequency ω=Im(λ)\omega^\star = \mathrm{Im}(\lambda) is the gamma frequency, f=ω/2πf^\star = \omega^\star / 2\pi.

For the canonical parameters (τE=20\tau_E = 20, τI=5\tau_I = 5, τAMPA=2\tau_\text{AMPA} = 2, τGABA=9\tau_\text{GABA} = 9 ms; WEI=80W^{EI} = 80, WIE=60W^{IE} = 60):

Iext=1.30,ω=0.154 rad/ms,f=ω2π24.5 Hz.I_\text{ext}^\star = 1.30, \qquad \omega^\star = 0.154~\text{rad/ms}, \qquad f^\star = \frac{\omega^\star}{2\pi} \approx 24.5~\text{Hz}.

That f24.5f^\star \approx 24.5 Hz sits squarely in the PING gamma band. It is not a parameter-free number — the mean-field’s abstract coupling units set the overall scale — but the dependence on the synaptic timescales is the predictive content, and across a τGABA\tau_\text{GABA} sweep it tracks the spiking network’s gamma (Figure 3 below).

Tracking all four eigenvalues does double duty. At onset exactly one complex pair reaches the imaginary axis while the other modes stay well damped, so this is a simple, generic Hopf — not a double-Hopf where two pairs cross together (which would spawn tori the linear frequency cannot capture). That is precisely the condition under which a local near-onset analysis is valid. The complex plane shows the crossing and reads off the frequency at once:

Figure 2. 4D eigenvalues in the complex plane
Scatter of the four 4D eigenvalues in the complex (Re, Im) plane, each point coloured by the drive I_ext along the sweep. One conjugate pair migrates rightward and crosses the imaginary axis at ±iω*, circled in cyan; the other modes remain in the left half-plane at onset.

The four eigenvalues as IextI_\text{ext} sweeps (colour = drive). One conjugate pair marches right and crosses the imaginary axis at ±iω\pm i\omega^\star (cyan circles) at Iext=1.30I_\text{ext}^\star = 1.30, reading off f24.5f^\star \approx 24.5 Hz directly as the crossing height; at onset the other modes sit safely in the left half-plane — the simple-Hopf certificate, seen geometrically. (A second pair only reaches the axis at far higher drive, well above the recruitment cliff.)

Does the frequency track the synaptic clock? The mechanistic claim is that τGABA\tau_\text{GABA} sets the period. Re-finding the Hopf at each τGABA\tau_\text{GABA} in nb041’s retrained sweep and overlaying the spiking network’s measured fγf_\gamma:

Figure 3. Frequency vs inhibitory decay — mean-field vs spiking
Two curves of gamma frequency (Hz) versus τ_GABA from 4.5 to 27 ms. The 4D mean-field f* (black circles) falls from ≈31 Hz to ≈18 Hz. The nb041 spiking f_gamma (red squares) falls more steeply, from ≈54 Hz to ≈14 Hz, crossing the mean-field curve near τ_GABA ≈ 20 ms.

Both fall monotonically with τGABA\tau_\text{GABA} — the inhibitory decay is the clock in both. The match is qualitative, not quantitative: the mean-field is flatter, under-predicting at short τGABA\tau_\text{GABA} (24.5 vs 37 Hz at 9 ms) and slightly over-predicting at long τGABA\tau_\text{GABA}, with the curves crossing near 20 ms. The reduction captures the mechanism but not the full sensitivity — expected, since it drops the spike-synchrony of the E-volley that sharpens the cycle most at short τGABA\tau_\text{GABA}.

Which coupling moves the cliff? Sweeping the recruitment threshold IextI_\text{ext}^\star across the (WEI,WIE)(W^{EI}, W^{IE}) plane recovers nb025’s empirical asymmetry from the equations:

Figure 4. Recruitment threshold across the coupling plane
Heatmap of the Hopf recruitment threshold I* over the (W^EI, W^IE) plane, magma colormap. I* varies strongly along the W^EI axis (E→I drive) and is nearly constant along the W^IE axis (I→E feedback), giving near-vertical contours.

The Hopf threshold IextI_\text{ext}^\star over the coupling plane. It varies 4×\approx 4\times more strongly along WEIW^{EI} (E→I drive) than along WIEW^{IE} (I→E feedback): the mean-field makes WEIW^{EI} the dominant knob on the recruitment cliff — consistent with nb025’s ”WEIW^{EI} moves the cliff” — with only a weak secondary WIEW^{IE} dependence (the faint diagonal). Ties to nb036’s coupling-plane basins.

Super or subcritical

The eigenvalue crossing says a limit cycle is born at IextI_\text{ext}^\star but not whether it appears with zero amplitude (supercritical, soft onset) or with a finite jump and hysteresis (subcritical, hard onset). That is a nonlinear question, classically the sign of the first Lyapunov coefficient of the Hopf normal form. We read it off the full 4D field by direct simulation instead: integrate (3)–(4) from a small perturbation of the fixed point across a grid of IextI_\text{ext} straddling IextI_\text{ext}^\star and measure the steady-state peak-to-peak EE amplitude — the full top-to-bottom swing of the population rate once settled, A=maxtE(t)mintE(t)A = \max_t E(t) - \min_t E(t), which is exactly zero at a fixed point and positive the instant a limit cycle exists (no period-fitting or cycle-centre needed, the appeal of the direct measure). This needs no center-manifold reduction and no assumption that the local picture is 2D — and it is self-checking, since a hidden degeneracy would show up as beating or quasiperiodicity in the amplitude trace rather than the clean law below. Below IextI_\text{ext}^\star the perturbation decays to zero; above it the amplitude grows continuously from zero, with A2(IextIext)A^2 \propto (I_\text{ext} - I_\text{ext}^\star) (linear fit slope 3.2×1043.2 \times 10^{-4}, R2=0.997R^2 = 0.997). The square-root amplitude law and the absence of any jump or hysteresis mark a supercritical Hopf — the network slides smoothly from silence into a small-amplitude gamma cycle as drive crosses threshold, exactly the soft recruitment cliff of nb025.

Figure 5. Supercritical Hopf — amplitude onset by direct simulation
Two panels. Left: steady-state peak-to-peak E amplitude versus I_ext, flat at zero below I* = 1.30 (amber dotted vertical line) then rising continuously to ≈ 0.013. Right: E amplitude squared versus (I_ext − I*), a straight line passing through the origin — the supercritical A² ∝ (I − I*) signature.

Amplitude is zero below IextI_\text{ext}^\star and grows continuously above it (left); A2A^2 is linear in (IextIext)(I_\text{ext} - I_\text{ext}^\star) (right, slope 3.2×1043.2 \times 10^{-4}, R2=0.997R^2 = 0.997). No jump, no hysteresis — a soft onset.

Why that shape is supercriticality. The square-root law is not a fit — it is forced by the Hopf normal form, which is what lets the measured curve stand in for the Lyapunov coefficient we declined to compute. Near the crossing the oscillation amplitude rr obeys a radial flow r˙=λr+1r3+\dot r = \lambda\,r + \ell_1\,r^3 + \dots, with λ(IextIext)\lambda \propto (I_\text{ext} - I_\text{ext}^\star) the growth rate of the now-unstable pair and 1\ell_1 the first Lyapunov coefficient. The limit cycle is the balance r˙=0\dot r = 0, i.e. r2=λ/1r^2 = -\lambda/\ell_1: a stabilising cubic (1<0\ell_1 < 0) gives a real cycle of radius r=λ/1IextIextr = \sqrt{-\lambda/\ell_1} \propto \sqrt{I_\text{ext} - I_\text{ext}^\star} — the linear instability pushes the amplitude out, the cubic reins it in, and they settle at a small finite radius. So ”A2A^2 linear in (IextIext)(I_\text{ext} - I_\text{ext}^\star)” is equivalent to 1<0\ell_1 < 0, which is the definition of supercritical; a subcritical Hopf (1>0\ell_1 > 0) has a destabilising cubic, no small stable cycle, and an amplitude that appears with a jump and hysteresis — neither in the sweep. (It is the dynamical twin of a second-order phase transition: the gamma amplitude is the order parameter and the exponent 12\tfrac12 the mean-field critical exponent.)

The slope carries one more reading. Since AIextIextA \propto \sqrt{I_\text{ext} - I_\text{ext}^\star}, the sensitivity dA/dIext(IextIext)1/2dA/dI_\text{ext} \propto (I_\text{ext} - I_\text{ext}^\star)^{-1/2} diverges at threshold: the amplitude rises with a vertical tangent, so the rhythm switches on smoothly (no jump) yet steeply — most of its amplitude appears in a thin sliver of drive just past IextI_\text{ext}^\star. Soft, but sharp: the dynamical content of nb025’s recruitment cliff.

The cycle the onset produces, just above threshold:

Figure 6. The 4D limit cycle near onset — E leads I
Time series of the E rate (black, left axis) and I rate (red, right axis) over three periods of the 4D limit cycle just above onset. Both are near-sinusoidal; the E peak leads the I peak by a few milliseconds each cycle.

EE (black) and II (red) over the limit cycle at Iext=I+1I_\text{ext} = I^\star + 1. The E burst leads the I burst by ≈ 5 ms — the loop delay made visible: E recruits I, I shunts E a few milliseconds later, and the cycle turns over. This is the round-trip phase lag the 2D reduction throws away.

Discussion

The 4D Hopf (Figure 2) locates the recruitment threshold IextI_\text{ext}^\star and a gamma frequency f24.5f^\star \approx 24.5 Hz from the synaptic timescales and coupling matrices — in the spiking band, reproducing its τGABA\tau_\text{GABA}-dependence (Figure 3) and nb025’s ”WEIW^{EI} moves the cliff” asymmetry (Figure 4), though flatter in absolute Hz than the spiking network. The 2D reduction shows why the full 4D state is needed: with WEE=0W^{EE} = 0 it cannot destabilise the silent fixed point (Bendixson–Dulac, Figure 1), because the oscillation is driven by the synaptic phase delays the reduction throws away. The mean-field thus pins the mechanism of the fγf_\gamma factor in nb041’s affine law rE=pfγr_E = p \cdot f_\gamma (the per-cycle participation pp being the separate, spike-resolved result of nb046); the quantitative frequency calibration is approximate and left to the spiking network.

A note on the “use a 2D model” instinct, since it is the natural one: it is right about the analysis and wrong about the object. All three results here are local near the Hopf — the Jacobian crossing, the frequency, the amplitude scaling — and a Hopf is generically a 2D phenomenon. But the legitimate 2D-ness is the center-manifold normal form derived from the 4D field, not a Wilson-Cowan or FitzHugh-Nagumo system substituted for it. The appendix carries out exactly that reduction — Kuznetsov’s first Lyapunov coefficient computed from the 4D Jacobian and gain derivatives — and it agrees with the direct simulation on the sign (1<0\ell_1 < 0), the frequency, and the amplitude slope to ≈ 4%. Working in 4D coordinates throughout keeps the local analysis honest and keeps the parameters mapped onto things the circuit actually has (τGABA\tau_\text{GABA}, WEIW^{EI}) rather than onto a fictional recovery variable. “Reduce locally for the analysis, keep 4D as the object” is one position, not two.

Appendix — the normal form, derived from the 4D field

§3.2 settled super- vs subcriticality by simulation, with no theory required. This appendix does it the textbook way as well — the first Lyapunov coefficient — and checks the two agree. It also makes concrete what “go locally 2D near the Hopf” actually means, since that phrase is easy to misread.

The idea, in words. Near the Hopf the 4D system has four modes (eigen-directions of the Jacobian): one oscillating pair, barely stable, that is about to become the gamma rhythm, and two others that decay fast. “Fast” relative to the barely-stable gamma mode means that whatever state you start in, those two collapse almost immediately, and the long-run behaviour — the limit cycle and whether it switches on softly or with a jump — plays out on a 2D surface carrying the gamma mode. That surface is the center manifold; the equation for the dynamics on it is the normal form. So near onset the essential dynamics genuinely are 2D.

Two things to keep straight, because they are exactly where the “2D” word causes trouble:

  • Those 2D coordinates are not the rates (E,I)(E, I). They are the amplitude and phase of the gamma mode — a direction that mixes all four variables.
  • This is therefore not the Wilson-Cowan / FitzHugh-Nagumo rate model §2.1 rejected. That model eliminates the conductances (wrong — they carry the delay); the center manifold keeps the full 4D field and merely drops the directions that decay fast, so the delay — hence the frequency ω0\omega_0 — stays in. The center manifold is the legitimate “go 2D,” derived from the 4D field rather than substituted for it.

What we need. Three things, all read off the 4D Jacobian AA at the Hopf:

  • the frequency ω0\omega_0 — the imaginary part of the critical (purely imaginary) eigenvalue, ±iω0\pm i\omega_0;
  • the critical eigenvectors qq and pp: qq points along the gamma mode (Aq=iω0qAq = i\omega_0 q), and pp is its dual partner (A ⁣p=iω0pA^{\!\top}p = -i\omega_0 p, normalised so p,q=1\langle p,q\rangle = 1), used to measure “how much gamma mode” a given state contains;
  • how the field’s curvature — its quadratic and cubic terms — bends the gamma mode back on itself.

On the center manifold the dynamics become z˙=(iω0+λ)z+c1zz2\dot z = (i\omega_0 + \lambda)\,z + c_1\,z|z|^2, where zz is the complex gamma amplitude, λλ(Iext)(IextIext)\lambda \approx \lambda'(I_\text{ext}^\star)(I_\text{ext} - I_\text{ext}^\star) is the growth rate past threshold, and c1c_1 is the cubic term that saturates it. One number decides everything, 1=Re(c1)/ω0\ell_1 = \mathrm{Re}(c_1)/\omega_0: negative, the cubic pushes back → supercritical (soft onset); positive, it pushes out → subcritical (hard onset). This is the same r2=λ/Re(c1)r^2 = -\lambda/\mathrm{Re}(c_1) balance behind §3.2’s square-root law — 1\ell_1 is just its sign, computed rather than measured.

The curvature is almost all zero. The only nonlinear parts of the 4D field (3)–(4) are the two gain curves: the E-equation bends through ΦE(IextgiE)\Phi_E(I_\text{ext} - g_i^E), the I-equation through ΦI(geI)\Phi_I(g_e^I), and the conductance equations are perfectly straight lines. So the quadratic form BB (the second derivatives) and cubic form CC (the third derivatives) each have a single non-zero slot — with state order (E,I,geI,giE)=(x1,x2,x3,x4)(E, I, g_e^I, g_i^E) = (x_1, x_2, x_3, x_4),

B(x,y)=(1τEΦEx4y41τIΦIx3y300),C(x,y,z)=(1τEΦEx4y4z41τIΦIx3y3z300),B(\mathbf{x},\mathbf{y}) = \begin{pmatrix} \tfrac{1}{\tau_E}\,\Phi''_E\, x_4 y_4 \\[2pt] \tfrac{1}{\tau_I}\,\Phi''_I\, x_3 y_3 \\[2pt] 0 \\ 0 \end{pmatrix}, \qquad C(\mathbf{x},\mathbf{y},\mathbf{z}) = \begin{pmatrix} -\tfrac{1}{\tau_E}\,\Phi'''_E\, x_4 y_4 z_4 \\[2pt] \tfrac{1}{\tau_I}\,\Phi'''_I\, x_3 y_3 z_3 \\[2pt] 0 \\ 0 \end{pmatrix},

with Φ\Phi'' (the gain’s curvature) and Φ\Phi''' (its rate of change of curvature) evaluated at each gain’s fixed-point drive — IextgiEI_\text{ext}^\star - g_i^{E\star} for E, geIg_e^{I\star} for I.

The formula. Feeding these into Kuznetsov’s projection formula — the standard recipe for reading 1\ell_1 off a vector field of any dimension (Elements of Applied Bifurcation Theory, eq. 10.59):

1=12ω0Re[p,C(q,q,qˉ)2p,B(q,A1B(q,qˉ))+p,B(qˉ,(2iω0IA)1B(q,q))].\ell_1 = \frac{1}{2\omega_0}\,\mathrm{Re}\Big[\langle p, C(q,q,\bar q)\rangle - 2\langle p, B(q,\,A^{-1}B(q,\bar q))\rangle + \langle p, B(\bar q,\,(2i\omega_0 I - A)^{-1}B(q,q))\rangle\Big].

It looks forbidding but it is pure bookkeeping: project the cubic curvature onto the gamma mode, then subtract the two ways the quadratic curvature feeds back through the off-mode directions (the matrix solves A1A^{-1} and (2iω0IA)1(2i\omega_0 I - A)^{-1} route those quadratic “overtones” back onto the mode), and take the real part. Two linear solves and three dot products, evaluated once at the fixed point.

The result. Refining the Hopf to where the pair is exactly imaginary (Iext=1.288I_\text{ext}^\star = 1.288, ω0=0.152\omega_0 = 0.152 rad/ms, i.e. f=24.3f = 24.3 Hz — matching the sweep’s 24.5 Hz) and evaluating:

  1=1.41<0.  \boxed{\;\ell_1 = -1.41 < 0.\;}

Negative, so the analytic verdict is supercritical — exactly §3.2’s, now with the center-manifold-validity assumption made explicit rather than implicit (the “only one mode crosses” condition that licenses the whole reduction was certified back in Figure 2).

Does it match the simulation? Quantitatively. The normal form predicts more than a sign. The cycle radius is r2=λ/Re(c1)r^2 = -\lambda/\mathrm{Re}(c_1), and at leading order the measured peak-to-peak E amplitude is A=4qErA = 4\,|q_E|\,r (with qEq_E the E-component of the gamma mode qq), so

A216qE2λ(Iext)ω01(IextIext).A^2 \approx \frac{-16\,|q_E|^2\,\lambda'(I_\text{ext}^\star)}{\omega_0\,\ell_1}\,(I_\text{ext} - I_\text{ext}^\star).

With λ(Iext)=0.085\lambda'(I_\text{ext}^\star) = 0.085 and the eigenvector, this predicts an onset slope of 3.36×1043.36 \times 10^{-4} — against the 3.21×1043.21 \times 10^{-4} measured by direct simulation (Figure 5): a ≈ 4% match. The small gap is leading-order truncation — the simulation runs at finite amplitude out to I+0.5I^\star + 0.5, where the higher-order (r5r^5) terms the normal form drops start to matter.

The verdict. Sign, frequency, and amplitude slope all agree between the analytic normal form and the direct 4D simulation. So “go locally 2D near the Hopf” is real and legitimate here — and it is this center-manifold reduction of the 4D field (its eigenvectors q,pq, p, its curvature forms B,CB, C), not the rate model §2.1 ruled out.