Mathematical Methods for Neuroscience
M2 MVA · Semester 1 · Modelling · 5 ECTS
Contents
- Introduction and overview
- 0. Review: differential equations, Fourier analysis and probability
- 1. Neuron models
- 2. Dynamical systems
- 3. Bifurcation theory
- 4. The role of noise
- 5. The visual cortex and neural field models
- 6. Symmetry in V1: orientation tuning, cortical patterns and hallucinations
- 7. Mean-field theory I: random networks of rate neurons
- 8. Mean-field theory II: interacting particles, spiking networks and neural masses
- 9. Research directions and open problems
- Exercises
- Projects and assessment
- References
Introduction and overview
| Module | Mathematical Methods for Neuroscience |
| Official title | Méthodes mathématiques pour les neurosciences |
| Instructors | R. VELTZ, Q.CORMIER (master-mva.com, 2026–2027) |
| Period | Semester 1 · period 1 (28/09/2026 – 08/01/2027) |
| Credits and volume | 5 ECTS · 40 h (lectures 24 h, tutorials 16 h) per the Université Paris-Saclay programme table |
| Label | ModellingTrack Santé |
| Language | Not displayed on master-mva.com or on the Université Paris-Saclay page (the master-mva.com description is written in French) |
| Assessment | Exam for the first session; resit in the form of a paper reading (master-mva.com, “Mode de validation”) · Université Paris-Saclay: “Evaluation Continue non Intégrale” (partial continuous assessment) · no weighting displayed |
| Prerequisites | Mathematics at the level of L3 and M1 courses (master-mva.com, “Prè-requis”) |
Audience: a student with a good M1 in mathematics, physics or computer science who wants to see how dynamical systems, bifurcation theory and stochastic processes become quantitative models of neurons and of the cortex.
Empirical first: inject a constant current into the Hodgkin–Huxley model of the squid giant axon. Up to about 6 µA/cm² the membrane stays at rest; just above, it fires repetitively at about 55 Hz, and never at 5 Hz. Why can the firing rate not start from zero, why do many cortical neurons do the opposite, and why do the geometric hallucinations reported under mescaline so often look like tunnels, funnels, spirals and lattices?
Each of these questions has a precise mathematical answer, and this course builds the tools that give it. Single neurons are low-dimensional dynamical systems whose behaviour changes at bifurcations; noise turns them into diffusion processes with first-passage times; large networks are described by neural fields and by mean-field limits, in which symmetry dictates which spatial patterns appear. The course is taught by Romain Veltz and Quentin Cormier (INRIA, per master-mva.com). It shares its stochastic tools with Stochastic Calculus in Machine Learning and its random-matrix tools with Large Random Matrices and Applications to Machine Learning.
What you will be able to do
- Write, simulate and analyse the space-clamped Hodgkin–Huxley model and its reductions (FitzHugh–Nagumo, integrate-and-fire, quadratic integrate-and-fire).
- Draw the phase portrait of a planar system, find its equilibria, invariant manifolds and limit cycles, and decide their stability.
- State and use Hartman–Grobman, the topological classification of hyperbolic equilibria, structural stability and the centre manifold theorem.
- Recognise saddle-node, transcritical, pitchfork and Hopf bifurcations, reduce a system to its normal form and compute the first Lyapunov coefficient.
- Explain the two classical excitability classes of neurons through the bifurcation that creates firing.
- Solve linear stochastic differential equations, write the Fokker–Planck equation and compute mean first-passage times and the firing rate of a noisy integrate-and-fire neuron.
- Describe the anatomy and functional architecture of the primary visual cortex and model it with neural field equations.
- Use symmetry (O(2) and the Euclidean group) to predict orientation tuning, cortical patterns and the geometry of visual hallucinations.
- Derive the dynamic mean-field equations of random rate networks and the transition to chaos.
- Prove propagation of chaos for interacting diffusions by coupling, and derive the mean-field limits of spiking networks and of neural masses.
Official objectives and syllabus (2026–2027)
The course description on master-mva.com states the objective as presenting some mathematical tools that intervene systematically in many modelling problems in neuroscience. The description is a list of themes, not a session-by-session programme; the Université Paris-Saclay page of the course gives the volume (24 h of lectures, 16 h of tutorials) and the assessment type, but no programme. The table below takes the themes item by item, in the official order.
| Official topic (master-mva.com, “Thèmes abordés”) | Course section |
|---|---|
| Mesoscopic models of cortical structures: anatomical structure of the visual cortex (area V1) | ch. 5.1 (pathway, layers, retinotopy and the log-polar map, Proposition 5.1) |
| Mesoscopic models: functional architecture of V1 | ch. 5.2 (orientation columns, hypercolumns, pinwheels, horizontal connections; Definition 5.2) |
| Mesoscopic models: neural field models | ch. 5.3–5.5 (Wilson–Cowan and Amari equations, Definition 5.3, well-posedness Theorem 5.4, bumps Theorem 5.5, Turing instability Propositions 5.6–5.7, fronts Proposition 5.8, Example 5.9) |
| Dynamical systems: orbits and phase portraits | ch. 2.1 (Definitions 2.1–2.2, nullclines, Poincaré–Bendixson Theorem 2.3) |
| Dynamical systems: invariant manifolds | ch. 2.2 (stable and unstable manifold Theorem 2.5, thresholds as separatrices) |
| Dynamical systems: equivalence of dynamical systems | ch. 2.3 (Definition 2.6, topological equivalence and conjugacy) |
| Dynamical systems: topological classification of equilibria | ch. 2.3 (Hartman–Grobman Theorem 2.7, classification Theorem 2.8) |
| Dynamical systems: structural stability | ch. 2.4 (Definition 2.9, Andronov–Pontryagin Theorem 2.10) |
| Dynamical systems: centre manifold in finite dimension | ch. 2.5 (Theorem 2.11, reduction principle, Example 2.12) |
| Bifurcations in dimension 1: saddle-node, transcritical, pitchfork | ch. 3.2 (Theorem 3.2, Proposition 3.3, rate-model hysteresis Example 3.4) |
| Bifurcations in dimension 2: Hopf | ch. 3.3 (Theorem 3.5, Lyapunov coefficient, FitzHugh–Nagumo Example 3.6) |
| Bifurcations: centre manifold | ch. 3.4 (parameter-dependent centre manifold, reduction of the Hopf case) |
| Bifurcations: normal form | ch. 3.4 (Poincaré normal form Theorem 3.7, resonances) |
| Bifurcations: equivariant bifurcations | ch. 3.6 (Definitions 3.10–3.11, equivariant branching lemma Theorem 3.12, O(2) normal form Proposition 3.13); applied in ch. 6 |
| Applications: orientation selectivity of visual contours | ch. 6.1 (ring model, Propositions 6.1–6.2, Example 6.3) |
| Applications: formation of cortical structures | ch. 6.2 (planforms on lattices, stripes and hexagons, Proposition 6.4; note on the development of orientation maps) |
| Applications: visual hallucinations | ch. 6.3 (Ermentrout–Cowan theory, Proposition 6.5; contoured planforms of Bressloff and coauthors) |
| Neuron models: the space-clamped Hodgkin–Huxley model | ch. 1.1–1.2 (Definition 1.2, Proposition 1.3, Example 1.4) |
| Neuron models: simplified models | ch. 1.3 (Rinzel reduction, FitzHugh–Nagumo, integrate-and-fire Proposition 1.5, quadratic integrate-and-fire Proposition 1.6) |
| Neuron models: synapse models | ch. 1.4 (Definition 1.7, kinetic and alpha-function models) |
| Neuron models: spatial models | ch. 1.5 (cable equation, Proposition 1.8, compartments) |
| The role of noise: Brownian motion | ch. 4.1 (Definition 4.1, quadratic variation Proposition 4.2) |
| The role of noise: stochastic differential equations | ch. 4.2–4.4 (Itô integral, Theorem 4.4, Itô formula, Ornstein–Uhlenbeck Example 4.6, Fokker–Planck Proposition 4.7) |
| The role of noise: application to neurons | ch. 4.5 (diffusion approximation, mean first-passage time Proposition 4.8, Siegert formula Theorem 4.9) |
| Mean-field models: the Sompolinsky / Ben Arous–Guionnet theory of spin glasses | ch. 7.3–7.4 (dynamic mean-field theory, Example 7.5, Theorem 7.6 of Ben Arous and Guionnet) |
| Mean-field models: application to firing-rate neuron models | ch. 7.1–7.3 (random rate networks, circular law, transition to chaos, Propositions 7.3–7.4) |
| Mean-field models: the McKean–Tanaka–Sznitman theory of interacting particles | ch. 8.1–8.2 (McKean–Vlasov Theorem 8.2, propagation of chaos Theorem 8.4 with proof) |
| Mean-field models: application to spiking neuron models | ch. 8.3 (mean-field limit of networks with stochastic spiking, Proposition 8.6) |
| Mean-field models: application to neural masses | ch. 8.4 (Jansen–Rit, exact firing-rate equations of Montbrió, Pazó and Roxin, Theorem 8.7) |
| “Les intervenants” (last item of the list) | Not a topic: it heads the list of instructors (Romain Veltz and Quentin Cormier, INRIA), given in the fiche |
Every theme of the official list is taught on this page. Beyond the syllabus, the page adds the review chapter (ch. 0), the excitability classes of neurons (ch. 3.5) and a self-study chapter on research directions (ch. 9).
Where this course fits in the programme
Official prerequisites: mathematics at the level of L3 and M1 courses. In practice, the course uses ordinary differential equations, linear algebra, Fourier series and measure-theoretic probability.
- Preparation — the refreshers Linear Algebra, Analysis and Optimization (eigenvalues, matrix exponential, implicit function theorem), Probability and Statistics (Gaussian vectors, conditional expectation, limit theorems) and Scientific Python, NumPy and PyTorch (the simulations of this page). Chapter 0 reviews what is used.
- Related courses in the same semester — Stochastic Calculus in Machine Learning develops Itô calculus and the links between diffusions and partial differential equations in depth; Optimal Transport for Machine Learning studies the Wasserstein distances behind propagation of chaos; Theoretical Foundations of Deep Learning studies the non-convex optimisation of neural networks, to which the mean-field tools of ch. 8 apply (ch. 9.5); Medical Image Analysis Based on Generative, Geometric and Biophysical Models is another Santé-track course of the same semester.
- Courses that build on it or share its tools (semester 2) — Functional Brain Imaging and Brain–Computer Interfaces (the signals that neural masses model), Large Random Matrices and Applications to Machine Learning (the random-matrix tools behind ch. 7), Interactions: Complexity, Stochasticity, Extrema and Rare Events (interacting particle systems, chaos and rare events) and Stopping Times and Online Algorithms (stopping times, of which the first-passage times of ch. 4 are an example).
Course outline
- Review: differential equations, Fourier analysis and probability — existence and uniqueness, Grönwall, linear systems, convolution and Fourier modes, Gaussian tools.
- Neuron models — the membrane circuit, the Hodgkin–Huxley equations, their reductions, synapses and the cable equation.
- Dynamical systems — phase portraits, invariant manifolds, equivalence, Hartman–Grobman, structural stability and the centre manifold.
- Bifurcation theory — saddle-node, transcritical, pitchfork and Hopf bifurcations, normal forms, excitability classes and equivariant bifurcations.
- The role of noise — Brownian motion, Itô calculus, Fokker–Planck equations and the firing rate of noisy neurons.
- The visual cortex and neural field models — the anatomy and functional architecture of V1, the Amari equation, bumps, Turing patterns and fronts.
- Symmetry in V1 — orientation tuning in the ring model, cortical patterns on lattices and the geometry of visual hallucinations.
- Mean-field theory I — random rate networks, the circular law, dynamic mean-field theory and the transition to chaos, the Ben Arous–Guionnet theorem.
- Mean-field theory II — McKean–Vlasov processes, propagation of chaos, mean-field limits of spiking networks and neural masses.
- Research directions and open problems — mean-field models with spikes, numerical bifurcation analysis, structured random networks (self-study).
Session plan
40 h in class = 8 sessions of 5 h (3 h lecture + 2 h tutorial). The volume is the Université Paris-Saclay programme table (24 h of lectures, 16 h of tutorials). Master-mva.com organises the course on Thursdays at ENS Paris-Saclay, with a lecture from 13:30 to 16:30 followed by a tutorial from 16:30 to 18:30, which gives exactly eight such afternoons. The split of the content into sessions is a proposal.
The order differs from the official list in one respect: neuron models (official item 5) come first, because they supply the examples of dynamical systems and bifurcations, and the visual cortex (official items 1 and 4) comes after the bifurcation theory it uses. Level 1 = foundations, 2 = core results, 3 = advanced and research-level material; it never decreases.
| Session | Hours | Level | Content | Practice |
|---|---|---|---|---|
| 1 | 5 h | 1 | ch. 0 Review (0.1–0.4); ch. 1.1–1.2 the membrane circuit, the Hodgkin–Huxley model | Ex. 1; lab: Hodgkin–Huxley f–I curve (Example 1.4) |
| 2 | 5 h | 1 | ch. 1.3–1.5 simplified models, synapses, cable equation; ch. 2.1 flows, orbits, phase portraits | Ex. 2 |
| 3 | 5 h | 2 | ch. 2.2–2.5 invariant manifolds, equivalence and Hartman–Grobman, structural stability, centre manifold | Ex. 3, 6 |
| 4 | 5 h | 2 | ch. 3.1–3.4 one-dimensional bifurcations, Hopf, centre manifold reduction, normal forms | Ex. 7; lab: Example 3.6 |
| 5 | 5 h | 2 | ch. 3.5–3.6 excitability classes, equivariant bifurcations; ch. 4.1–4.3 Brownian motion, Itô calculus, Ornstein–Uhlenbeck | Ex. 4, 5 |
| 6 | 5 h | 2 | ch. 4.4–4.5 Fokker–Planck, first passage, noisy integrate-and-fire; ch. 5 V1, neural fields, bumps, Turing patterns, fronts | Ex. 8, 9, 10; lab: Examples 4.10 and 5.9 |
| 7 | 5 h | 3 | ch. 6 ring model, planforms, hallucinations; ch. 7.1–7.2 random networks, circular law | Ex. 11, 14; lab: Example 6.3 |
| 8 | 5 h | 3 | ch. 7.3–7.4 dynamic mean-field theory, Ben Arous–Guionnet; ch. 8 McKean–Vlasov, propagation of chaos, spiking networks, neural masses | Ex. 12, 13, 15 |
Self-study, outside the 40 h (about 4 h in total): ch. 9 Research directions and open problems (≈ 4 h, to be read with the paper-study projects).
How to study this module
- Read ch. 0 before the first session, even quickly: Grönwall’s lemma and the Fourier modes of convolutions return in almost every chapter.
- Run every code block. Each one checks a formula of the text against a simulation (the Hodgkin–Huxley f–I curve, the Siegert formula, the Turing wavelength, the width of the ring-model bump, the variance predicted by dynamic mean-field theory).
- After each session, do the exercises listed in the session plan before reading on: ch. 3 relies on ch. 2, ch. 6 on ch. 3 and ch. 5, ch. 8 on ch. 4.
- Keep a notebook of the normal forms of ch. 3: the same five equations organise ch. 1, ch. 5 and ch. 6.
- The Python environment is NumPy and SciPy only; every simulation runs in a few seconds on a laptop.
- The resit is a paper reading: the paper-study projects below are good training for it.
0. Review: differential equations, Fourier analysis and probability
Neuron and network models are differential equations: sometimes in finite dimension, sometimes on a space of functions, sometimes driven by noise. This chapter collects the M1-level results that the later chapters use without stopping: well-posedness, Grönwall’s lemma, linear stability, the Fourier modes of convolution operators and a few Gaussian identities.
0.1 Existence, uniqueness and Grönwall’s lemma
Theorem 0.1 — Cauchy–Lipschitz (Picard–Lindelöf) Let E be a Banach space (\mathbb{R}^n, or a space of functions as in ch. 5) and f : E \to E Lipschitz on every bounded set. In \mathbb{R}^n this is the same as locally Lipschitz. For every x_0 \in E, the problem x' = f(x), \qquad x(0) = x_0 has a unique maximal solution, defined on an interval [0, T^*).
It is the unique continuous solution of the integral equation x(t) = x_0 + \int_0^t f(x(s))\, ds .
Blow-up alternative: if T^* < \infty, then \|x(t)\| \to \infty as t \to T^*.
Proof. Existence. On the ball B of radius r around x_0, f is bounded by M and L-Lipschitz.
The Picard map \Phi(x)(t) = x_0 + \int_0^t f(x(s))\,ds sends C([0, \delta], B) into itself when \delta M \le r.
It is a contraction for the sup norm when \delta L < 1, so the Banach fixed-point theorem gives a local solution.
Uniqueness follows from Lemma 0.2 below applied to the difference of two solutions.
Blow-up alternative. The existence step gives a time \delta(R) > 0 that depends only on the bounds M and L of f on the ball of radius 2R.
So from any starting point of norm at most R, the solution lives at least for a time \delta(R).
Suppose T^* < \infty and \|x(t_k)\| \le R along a sequence t_k \to T^*. Restarting from x(t_k) with T^* - t_k < \delta(R) extends the solution beyond T^*, contradicting maximality. ∎
Lemma 0.2 — Grönwall Let u \ge 0 be continuous on [0, T] and a, b \ge 0 with u(t) \le a + b \int_0^t u(s)\,ds for all t. Then u(t) \le a\, e^{bt}, \qquad 0 \le t \le T .
Proof. Let v(t) = a + b \int_0^t u. Then v' = b u \le b v, so (v e^{-bt})' \le 0 and v(t) \le a e^{bt}. Conclude with u \le v. ∎
Applied to two solutions of x' = f(x) with f globally L-Lipschitz, it gives the continuous dependence on initial data used in ch. 4, ch. 5 and ch. 8: \|x(t) - y(t)\| \le \|x(0) - y(0)\|\, e^{Lt}.
0.2 Linear systems and linearised stability
Proposition 0.3 — Linear systems and the linearisation principle Let A be a real n \times n matrix. The solution of x' = Ax is x(t) = e^{tA} x_0.
If every eigenvalue of A has real part < -\alpha < 0, there is C \ge 1 such that \|e^{tA}\| \le C e^{-\alpha t} for t \ge 0.
In dimension 2, write \tau = \mathrm{tr}\,A and \Delta = \det A. The origin is a saddle if \Delta < 0.
If \Delta > 0, it is stable when \tau < 0 and unstable when \tau > 0; it is a focus when \tau^2 < 4\Delta and a node otherwise.
Let x^* be an equilibrium of x' = f(x) with f of class C^1.
If every eigenvalue of Df(x^*) has negative real part, x^* is locally exponentially stable. If one eigenvalue has positive real part, x^* is unstable.
Proof. (1) Put A in Jordan form: each entry of e^{tA} is a polynomial in t times e^{\lambda t}, and t^k e^{(\mathrm{Re}\,\lambda + \alpha)t} is bounded.
(2) The eigenvalues are the roots of \lambda^2 - \tau \lambda + \Delta = 0. Their product is \Delta, their sum is \tau, and they are complex exactly when \tau^2 < 4\Delta.
(3) Write x = x^* + y, so that y' = Ay + r(y) with A = Df(x^*) and \|r(y)\| \le \varepsilon \|y\| for \|y\| \le \rho(\varepsilon). Variation of constants gives y(t) = e^{tA} y_0 + \int_0^t e^{(t-s)A}\, r(y(s))\, ds .
With (1), the function u(t) = e^{\alpha t}\|y(t)\| satisfies u(t) \le C\|y_0\| + C\varepsilon \int_0^t u(s)\,ds as long as y stays in the ball.
Grönwall’s lemma gives \|y(t)\| \le C \|y_0\| e^{-(\alpha - C\varepsilon)t}, a decay as soon as \varepsilon < \alpha / C. A small enough y_0 never leaves the ball. The unstable case uses the same estimate backwards on the unstable subspace. ∎
0.3 Fourier modes of convolution operators
The neural fields of ch. 5 and the ring model of ch. 6 are built on convolution operators, and their linear stability always reduces to the following computation.
Proposition 0.4 — Convolutions are diagonal in Fourier modes Let w \in L^1(\mathbb{R}) be even and \hat w(k) = \int_{\mathbb{R}} w(x) e^{-ikx}\,dx, a real number. For every k \in \mathbb{R}, \int_{\mathbb{R}} w(x - y)\, e^{iky}\, dy = \hat w(k)\, e^{ikx}.
On the circle \mathbb{R}/2\pi\mathbb{Z} the same holds for e^{ikx} with k \in \mathbb{Z}, with \hat w_k = \int_{-\pi}^{\pi} w(x) e^{-ikx}\,dx.
Proof. Substitute z = x - y: the integral becomes e^{ikx} \int w(z) e^{-ikz}\,dz. Evenness of w makes the imaginary part \int w(z) \sin(kz)\,dz vanish. ∎
Example used throughout: the normalised Gaussian kernel and its transform, w(x) = \frac{1}{\sqrt{\pi}\,\sigma}\, e^{-x^2/\sigma^2}, \qquad \hat w(k) = e^{-\sigma^2 k^2/4}.
0.4 Probability toolkit
Chapters 4, 7 and 8 use Gaussian vectors, the law of large numbers and the central limit theorem, and the Poisson process. Two identities deserve a statement because they are the engine of the mean-field computations.
Proposition 0.5 — Gaussian integration by parts Let Z \sim \mathcal{N}(0, 1) and f be C^1 with f, f' of polynomial growth. Then (Stein’s lemma) \mathbb{E}[Z f(Z)] = \mathbb{E}[f'(Z)].
Let (X_1, X_2) be a centred Gaussian pair with variances q_1, q_2 and covariance c, and F, G smooth of polynomial growth. Then (Price’s theorem) \frac{\partial}{\partial c}\, \mathbb{E}[F(X_1) G(X_2)] = \mathbb{E}[F'(X_1)\, G'(X_2)].
Proof. Stein: integrate by parts, using \varphi'(z) = -z \varphi(z) for the standard Gaussian density \varphi.
Price: the Gaussian density p_c of (X_1, X_2) satisfies \partial_c p_c = \partial_{x_1}\partial_{x_2} p_c. One checks it on the Fourier transform \hat p_c(\xi) = \exp\Big(-\tfrac12\big(q_1\xi_1^2 + 2c\,\xi_1\xi_2 + q_2\xi_2^2\big)\Big), whose c-derivative is -\xi_1\xi_2 times itself. Two integrations by parts move the derivatives onto F and G. ∎
Definition 0.6 — Inhomogeneous Poisson process A point process on [0, \infty) with intensity \lambda(t) \ge 0 has independent counts on disjoint intervals, and the number of points in [s, t] is Poisson with mean \int_s^t \lambda. In particular the probability of no point in [s, t] is \mathbb{P}(\text{no point in } [s, t]) = \exp\Big(-\int_s^t \lambda(u)\, du\Big).
Spike trains with a voltage-dependent intensity (ch. 8) and the input of a neuron from many independent cells (ch. 4) are modelled this way.
Key takeaways — chapter 0
- Vector fields that are Lipschitz on bounded sets, on \mathbb{R}^n or on a Banach space, have unique maximal solutions; boundedness rules out blow-up.
- Grönwall’s lemma turns an integral inequality into an exponential bound; it drives every stability and convergence proof of the course.
- An equilibrium is stable when the spectrum of the Jacobian lies in the open left half-plane; in the plane, trace and determinant decide.
- Convolutions act diagonally on Fourier modes, with eigenvalue the Fourier transform of the kernel.
- Gaussian integration by parts (Stein, Price) computes the averages that appear in mean-field equations.
1. Neuron models
A neuron is a cell whose membrane potential can make a brief, stereotyped excursion, the action potential or spike, and pass it on to thousands of other cells. This chapter writes the models that reproduce this behaviour: the four equations of Hodgkin and Huxley, their two- and one-dimensional reductions, the synapses that connect neurons, and the cable equation that adds space.
1.1 The membrane as an electrical circuit
The lipid bilayer separating the inside of the cell from the outside behaves as a capacitor, with a specific capacitance of about 1 µF/cm². Ion pumps keep potassium concentrated inside the cell and sodium outside.
Ion channels are pores selective to one ion species. Each population of open channels acts as a conductance in series with a battery, whose voltage is the reversal potential of that ion.
Definition 1.1 — Membrane equation and reversal potentials The membrane potential V (inside minus outside) of an isopotential patch obeys C \frac{dV}{dt} = -\sum_{\text{ions}} g_{\text{ion}}\, (V - E_{\text{ion}}) + I_{\text{ext}}, where g_{\text{ion}} \ge 0 is the conductance per unit area and E_{\text{ion}} the reversal potential.
For an ion of valence z with concentrations c_{\text{in}} and c_{\text{out}}, E_{\text{ion}} is the Nernst potential: E = \frac{RT}{zF} \ln \frac{c_{\text{out}}}{c_{\text{in}}}.
It is the potential at which the Boltzmann factor e^{-zFV/RT} balances the concentration ratio, so that no net flux crosses the open channels.
At body temperature RT/F \approx 26.7 mV. With 140 mM of potassium inside and 5 mM outside, E_K \approx -89 mV; sodium, concentrated outside, has a positive reversal potential (Exercise 1).
1.2 The space-clamped Hodgkin–Huxley model
In 1952 Hodgkin and Huxley inserted a wire along the squid giant axon, which makes the potential uniform along the axon (the space clamp), and imposed V by feedback (the voltage clamp). From the measured sodium and potassium currents they built the following model.
Definition 1.2 — The space-clamped Hodgkin–Huxley model With V in mV, t in ms and currents in µA/cm²: C \frac{dV}{dt} = I - \bar g_{Na}\, m^3 h\, (V - E_{Na}) - \bar g_K\, n^4 (V - E_K) - g_L (V - E_L), \frac{dx}{dt} = \alpha_x(V)\,(1 - x) - \beta_x(V)\, x, \qquad x \in \{m, h, n\}.
The squid parameters are C = 1 µF/cm² and the following conductances (mS/cm²) and reversal potentials (mV): \bar g_{Na} = 120, \quad \bar g_K = 36, \quad g_L = 0.3, \qquad E_{Na} = 50, \quad E_K = -77, \quad E_L = -54.4 .
The rates, in ms⁻¹ and in the modern convention where rest is near -65 mV, are \alpha_n = \frac{0.01\,(V + 55)}{1 - e^{-(V+55)/10}}, \quad \beta_n = 0.125\, e^{-(V+65)/80}, \alpha_m = \frac{0.1\,(V + 40)}{1 - e^{-(V+40)/10}}, \quad \beta_m = 4\, e^{-(V+65)/18}, \alpha_h = 0.07\, e^{-(V+65)/20}, \quad \beta_h = \frac{1}{1 + e^{-(V+35)/10}}.
Equivalently \dot x = (x_\infty(V) - x)/\tau_x(V), with x_\infty = \frac{\alpha_x}{\alpha_x + \beta_x}, \qquad \tau_x = \frac{1}{\alpha_x + \beta_x}.
The gating variables read as fractions of open gates. The variable m activates the sodium current within a fraction of a millisecond; h inactivates it, and n activates the potassium current, both over several milliseconds.
The spike is a fast positive feedback followed by a slow negative one. A depolarisation opens sodium gates, the inward sodium current depolarises further, and V shoots towards E_{Na}.
Then h closes the sodium channels and n opens the potassium channels, which bring V back below rest. While h and n recover, a second spike is hard to trigger: this is the refractory period.
Proposition 1.3 — An invariant box; global solutions Let I \ge 0, V_- = E_K and V_+ = \max(E_{Na},\, E_L + I/g_L). The box [V_-, V_+] \times [0, 1]^3 is forward-invariant for the Hodgkin–Huxley flow.
Consequently every solution starting in the box exists for all t \ge 0.
Proof. The rates \alpha_x, \beta_x are positive. On the face x = 0 the vector field gives \dot x = \alpha_x > 0, and on x = 1 it gives \dot x = -\beta_x < 0: the flow points inwards.
On the face V = V_+, both V - E_{Na} and V - E_K are non-negative, so the two active currents are outward and C \dot V \le I - g_L (V_+ - E_L) \le 0 .
On V = E_K, the potassium term vanishes and the sodium and leak terms are inward, so C \dot V \ge I \ge 0.
The vector field is smooth (the apparent singularities of \alpha_n, \alpha_m are removable), hence locally Lipschitz. Solutions stay in a compact set, so Theorem 0.1 excludes blow-up. ∎
Example 1.4 — The f–I curve of the Hodgkin–Huxley model We inject a constant current from rest and count spikes, defined as upward crossings of 0 mV, after a 100 ms transient.
import numpy as np
from scipy.integrate import solve_ivp
C, gNa, gK, gL = 1.0, 120.0, 36.0, 0.3 # uF/cm^2, mS/cm^2
ENa, EK, EL = 50.0, -77.0, -54.387 # mV
def rates(V):
an = 0.01 * (V + 55) / (1 - np.exp(-(V + 55) / 10))
bn = 0.125 * np.exp(-(V + 65) / 80)
am = 0.1 * (V + 40) / (1 - np.exp(-(V + 40) / 10))
bm = 4.0 * np.exp(-(V + 65) / 18)
ah = 0.07 * np.exp(-(V + 65) / 20)
bh = 1.0 / (1 + np.exp(-(V + 35) / 10))
return an, bn, am, bm, ah, bh
def hh(t, y, I):
V, n, m, h = y
an, bn, am, bm, ah, bh = rates(V)
dV = (I - gNa * m**3 * h * (V - ENa) - gK * n**4 * (V - EK) - gL * (V - EL)) / C
return [dV, an * (1 - n) - bn * n, am * (1 - m) - bm * m, ah * (1 - h) - bh * h]
def rate_hz(I, T=300.0, y0=(-65.0, 0.317, 0.053, 0.596)):
sol = solve_ivp(hh, (0, T), y0, args=(I,), max_step=0.1, rtol=1e-6)
V, t = sol.y[0], sol.t
up = np.where((V[:-1] < 0) & (V[1:] >= 0))[0] # upward crossings of 0 mV
late = t[up][t[up] > 100.0] # discard the transient
return 0.0 if len(late) < 2 else 1000.0 / np.mean(np.diff(late))
for I in [0, 5, 6, 6.5, 7, 10, 20, 40]:
print(f"I = {I:5.1f} uA/cm^2 -> {rate_hz(I):6.1f} Hz")Up to 6 µA/cm² the neuron returns to rest after at most one spike. At 6.5 µA/cm² it fires at 55 Hz, then at 58, 68, 87 and 109 Hz for 7, 10, 20 and 40 µA/cm².
The f–I curve jumps from 0 to about 55 Hz: the Hodgkin–Huxley neuron cannot fire slowly.
A linear stability computation of the resting state (Proposition 0.3) shows that rest stays stable up to I \approx 9.8 µA/cm². Between about 6.3 and 9.8, rest and repetitive firing coexist. Chapter 3 explains both facts by a subcritical Hopf bifurcation.
1.3 Simplified models
Four variables are too many for a phase plane. Two observations reduce the model to two dimensions (Rinzel’s reduction).
- The sodium activation is much faster than the rest, so one may set m = m_\infty(V).
- Along trajectories, h and n are strongly anticorrelated. In the simulation of Example 1.4 at 10 µA/cm², n + h stays between 0.78 and 0.85, and a linear fit, on samples equally spaced in time, gives h \approx 0.87 - 1.07\, n.
The result is a planar system in (V, n) with a cubic-shaped V-nullcline. FitzHugh and, independently, Nagumo and coauthors kept only this geometry.
Model — FitzHugh–Nagumo With a fast voltage-like variable v, a slow recovery variable w and 0 < \varepsilon \ll 1, \dot v = v - \frac{v^3}{3} - w + I, \qquad \dot w = \varepsilon\, (v + a - b\, w).
FitzHugh’s values are a = 0.7, b = 0.8 and \varepsilon = 0.08; the phase plane is analysed in ch. 2 and its bifurcations in ch. 3.
The most drastic simplification keeps only the subthreshold dynamics and replaces the spike by a rule. This is the integrate-and-fire neuron, which goes back to Lapicque (1907).
Proposition 1.5 — Leaky integrate-and-fire: firing rate Let \tau \dot V = -(V - E_L) + RI below a threshold \theta.
When V reaches \theta, a spike is emitted, V is reset to V_r < \theta and held there during a refractory period \tau_{\text{ref}}.
For a constant current, write V_\infty = E_L + RI. If V_\infty \le \theta the neuron never fires. Otherwise it fires periodically with period T = \tau_{\text{ref}} + \tau \ln \frac{V_\infty - V_r}{V_\infty - \theta}.
Proof. After the refractory period, the solution of the linear equation is V(t) = V_\infty + (V_r - V_\infty)\, e^{-t/\tau}.
It increases to V_\infty. It reaches \theta if and only if V_\infty > \theta, at the time obtained by solving V(t) = \theta. ∎
As V_\infty \downarrow \theta, the rate 1/T tends to zero, but only logarithmically. The integrate-and-fire neuron can fire arbitrarily slowly, unlike Example 1.4.
The quadratic integrate-and-fire neuron keeps the spike initiation as a smooth instability rather than a hard threshold. It is the normal form of the saddle-node bifurcation of ch. 3, and the building block of the neural mass of ch. 8.
Proposition 1.6 — Quadratic integrate-and-fire and the theta neuron Consider \tau \dot V = V^2 + I, where V is reset from +\infty to -\infty at each spike.
- If I < 0, there are two equilibria \pm\sqrt{-I}: the negative one is the stable rest state, the positive one an unstable threshold.
- If I > 0, the neuron fires periodically with period T = \pi\tau/\sqrt{I}.
- The change of variables V = \tan(\theta/2) turns the model into the theta neuron of Ermentrout and Kopell (1986), a smooth flow on the circle: \tau \dot\theta = (1 - \cos\theta) + (1 + \cos\theta)\, I .
Proof. (1) The equilibria solve V^2 = -I, and the derivative 2V/\tau of the right-hand side is negative at -\sqrt{-I} and positive at +\sqrt{-I}.
(2) The time to go from -\infty to +\infty is T = \int_{-\infty}^{+\infty} \frac{\tau\, dV}{V^2 + I} = \frac{\tau \pi}{\sqrt{I}}.
(3) We have \dot V = \tfrac12 (1 + V^2)\, \dot\theta and 1 + V^2 = 1/\cos^2(\theta/2). Hence \tau\dot\theta = 2\sin^2(\theta/2) + 2I\cos^2(\theta/2), and the half-angle formulas conclude. The spike V = +\infty is the point \theta = \pi. ∎
The firing frequency \sqrt{I}/(\pi\tau) starts from zero with a square-root law. This is the signature of the first excitability class (class 1) discussed in ch. 3.5.
Izhikevich’s model (2003) adds a slow adaptation variable to a quadratic neuron. With four parameters it reproduces most firing patterns recorded in cortex (regular spiking, bursting, fast spiking), at the cost of one reset rule.
1.4 Synapse models
At a chemical synapse, a presynaptic spike releases neurotransmitter, which opens receptor channels on the postsynaptic membrane. The postsynaptic neuron sees a transient conductance.
Definition 1.7 — Synaptic currents The synaptic current is I_{\text{syn}}(t) = \bar g_{\text{syn}}\, s(t)\, (V - E_{\text{syn}}), where s \in [0, 1] is the fraction of open receptor channels. Three standard choices for s:
- Kinetic model (Destexhe, Mainen and Sejnowski, 1994): \dot s = \alpha\, T(t)\, (1 - s) - \beta s, where T(t) is the transmitter concentration, a pulse of about 1 ms after each presynaptic spike.
- Alpha function: s(t) = \sum_k \alpha(t - t_k), with spike times t_k and \alpha(t) = (t/\tau_s)\, e^{1 - t/\tau_s} for t \ge 0.
- Exponential synapse: \tau_s \dot s = -s + \tau_s \sum_k \delta(t - t_k), that is a jump of 1 at each spike followed by an exponential decay. Here s counts recent spikes and can exceed 1; it is then rescaled into the conductance \bar g_{\text{syn}}.
The reversal potential decides the sign. For glutamate (AMPA and NMDA receptors) E_{\text{syn}} is near 0 mV, and the synapse is excitatory. For GABA_A receptors it is near -70 mV, and the synapse is inhibitory.
In the current-based approximation, V - E_{\text{syn}} is frozen to a constant, and the input becomes a filtered spike train J \sum_k \varepsilon(t - t_k).
The exponential synapse is a linear filter. If the presynaptic train is Poisson with rate \nu, Campbell’s theorem gives the mean and variance of s in the stationary regime: \mathbb{E}[s] = \nu \tau_s, \qquad \mathrm{Var}[s] = \frac{\nu \tau_s}{2}.
These two numbers are the drift and the noise of the diffusion approximation of ch. 4.5.
1.5 Spatial models: the cable equation
Dendrites and axons are thin cylinders, and the potential varies along them. Charge conservation in a cylinder of radius a, with axial resistivity r_L and membrane capacitance c_m per unit area, gives the cable equation c_m \frac{\partial V}{\partial t} = \frac{a}{2 r_L} \frac{\partial^2 V}{\partial x^2} - i_{\text{ion}} + i_{\text{ext}}.
For a passive membrane, i_{\text{ion}} = (V - E_L)/r_m, where r_m is the specific membrane resistance. With u = V - E_L it reads \tau_m \frac{\partial u}{\partial t} = \lambda^2 \frac{\partial^2 u}{\partial x^2} - u + r_m\, i_{\text{ext}}, \qquad \tau_m = r_m c_m, \quad \lambda = \sqrt{\frac{a\, r_m}{2 r_L}} .
Proposition 1.8 — The passive cable
- On a semi-infinite cable held at u(0) = u_0, the steady state decays over the length constant: u(x) = u_0\, e^{-x/\lambda}.
- On an infinite cable, the response to a unit charge injected at x = 0, t = 0 is the Green’s function G(x, t) = \frac{1}{\sqrt{4\pi D t}}\, \exp\Big(-\frac{x^2}{4 D t} - \frac{t}{\tau_m}\Big), \qquad D = \frac{\lambda^2}{\tau_m}.
- With active Hodgkin–Huxley currents, the conduction velocity of a propagated spike scales like \sqrt{a}.
Proof. (1) The steady state solves \lambda^2 u'' = u; the solution bounded at infinity is u_0 e^{-x/\lambda}.
(2) Write u = e^{-t/\tau_m} K. Then K solves the heat equation \partial_t K = D\, \partial_{xx} K with K(\cdot, 0) = \delta_0, whose solution is the Gaussian kernel.
(3) The ionic currents are per unit area, so in the variables x/\lambda and t/\tau_m the active cable equation no longer involves a. A travelling pulse of dimensionless speed c_0 has physical speed c_0 \lambda / \tau_m, which is proportional to \sqrt{a}. ∎
Hodgkin and Huxley solved the active cable equation numerically and obtained a conduction velocity close to the measured one. In practice, a dendritic tree is cut into short compartments coupled by axial conductances, each one a copy of Definition 1.1: these compartmental models are what simulators such as NEURON integrate.
Key takeaways — chapter 1
- The membrane is a capacitor in parallel with ionic conductances, each with its own reversal potential given by the Nernst formula.
- The Hodgkin–Huxley model couples the voltage to three gating variables; fast sodium activation and slow recovery produce the spike.
- Its f–I curve jumps from zero to about 55 Hz, and rest coexists with firing over a range of currents.
- Reductions keep the geometry (FitzHugh–Nagumo) or the timing (integrate-and-fire, quadratic integrate-and-fire with period πτ/√I).
- Synapses are transient conductances, often modelled as linear filters of spike trains.
- The passive cable has a length constant λ and a Gaussian Green’s function; active cables carry pulses whose speed grows like √a.
2. Dynamical systems
The models of ch. 1 are too nonlinear to solve in closed form, but their qualitative behaviour can be read from the geometry of their solutions. This chapter gives the vocabulary of that geometry: orbits and phase portraits, invariant manifolds, the equivalence of two systems, structural stability and the centre manifold, the tool that reduces a high-dimensional system to the few directions where something happens.
2.1 Flows, orbits and phase portraits
Definition 2.1 — Flow, orbit, invariant set, limit set Let f be of class C^1 on an open set U \subset \mathbb{R}^n.
Write \varphi_t(x_0) for the solution of \dot x = f(x) at time t starting from x_0; the family (\varphi_t) is the flow.
- The orbit of x_0 is the curve \{\varphi_t(x_0)\}, over the times where it is defined.
- A set S is invariant if \varphi_t(S) \subset S for all t, and forward-invariant (or trapping) if this holds for t \ge 0.
- The \omega-limit set \omega(x_0) is the set of points y such that \varphi_{t_k}(x_0) \to y along some sequence t_k \to +\infty.
Definition 2.2 — Equilibria, cycles and phase portrait An equilibrium is a zero of f. A periodic orbit is a closed orbit that is not an equilibrium; a limit cycle is an isolated periodic orbit. The phase portrait is the partition of U into orbits, drawn with its equilibria, cycles and separatrices.
In the plane, the nullclines are the curves \{f_1 = 0\} and \{f_2 = 0\}. Equilibria lie at their intersections, and the direction of the flow is constant in each region they delimit.
In the plane, the topology of the plane severely limits what orbits can do.
Theorem 2.3 — Poincaré–Bendixson Let n = 2 and suppose the forward orbit of x_0 stays in a compact set K \subset U that contains no equilibrium. Then \omega(x_0) is a periodic orbit.
In particular, a compact trapping region without equilibria contains a periodic orbit.
Proof: see Perko (2001, §3.7). The key step: a segment transverse to the flow is crossed by the orbit at points that are monotone along the segment, because of the Jordan curve theorem; hence \omega(x_0) meets the segment at most once, and this forces it to be a closed orbit.
Example 2.4 — The phase plane of FitzHugh–Nagumo Take a = 0.7, b = 0.8, \varepsilon = 0.08.
Equilibrium. The nullclines are the cubic w = v - v^3/3 + I and the line w = (v + a)/b. The equilibrium abscissa v^* solves v - \frac{v^3}{3} - \frac{v + a}{b} + I = 0 . The left-hand side has derivative 1 - v^2 - 1/b < 0 since b < 1, so there is exactly one equilibrium for every I.
Linearisation. The Jacobian at the equilibrium and its two invariants are J = \begin{pmatrix} 1 - v^{*2} & -1 \\ \varepsilon & -\varepsilon b \end{pmatrix}, \qquad \mathrm{tr}\, J = 1 - v^{*2} - \varepsilon b, \qquad \det J = \varepsilon\,\big(1 - b(1 - v^{*2})\big).
Here \det J > 0 whenever \mathrm{tr}\,J \ge 0, so by Proposition 0.3 the equilibrium is unstable exactly when v^{*2} < 1 - \varepsilon b. This happens for I between two values I_1 and I_2, computed below.
A trapping region. Let L = \varepsilon v^2/2 + w^2/2. The cross terms cancel and \dot L = \varepsilon \Big( v^2 - \frac{v^4}{3} + I v + a w - b w^2 \Big), which is negative outside a large disc. So large sublevel sets of L are trapping regions.
For I_1 < I < I_2, remove a small neighbourhood of the repelling equilibrium. The annulus that remains is trapping and contains no equilibrium, so Theorem 2.3 gives a periodic orbit: the neuron fires repetitively.
import numpy as np
from scipy.optimize import brentq
a, b, eps = 0.7, 0.8, 0.08 # FitzHugh's classical values
def equilibrium(I):
# v - v^3/3 - (v + a)/b + I = 0 has a single root since b < 1
v = brentq(lambda v: v - v**3 / 3 - (v + a) / b + I, -3, 3)
return v, (v + a) / b
def jacobian(v):
return np.array([[1 - v**2, -1.0], [eps, -eps * b]])
for I in [0.0, 0.3, 0.33, 0.34, 0.5, 1.0, 1.4, 1.5]:
v, w = equilibrium(I)
J = jacobian(v)
tr, det = np.trace(J), np.linalg.det(J)
kind = ("focus" if tr**2 < 4 * det else "node") if det > 0 else "saddle"
print(f"I={I:4.2f} v*={v:+.4f} tr={tr:+.4f} det={det:.4f} "
f"{'unstable' if tr > 0 else 'stable'} {kind}")
# Hopf points: tr J = 0 <=> v*^2 = 1 - eps*b
vH = np.sqrt(1 - eps * b)
for v in (-vH, vH):
print(f"Hopf at v*={v:+.4f}, I_H={(v + a) / b - v + v**3 / 3:.4f}, "
f"omega={np.sqrt(np.linalg.det(jacobian(v))):.4f}")At I = 0 the equilibrium is v^* = -1.1994, a stable focus with eigenvalues -0.251 \pm 0.212\,i. The trace vanishes at I_1 \approx 0.3313, \qquad I_2 \approx 1.4187, with \sqrt{\det J} \approx 0.2755 at both points. Between them, the equilibrium is an unstable focus or node.
2.2 Invariant manifolds
An equilibrium x^* is hyperbolic if no eigenvalue of A = Df(x^*) lies on the imaginary axis. The generalised eigenspaces for eigenvalues of negative and positive real part are the stable and unstable subspaces E^s and E^u.
Theorem 2.5 — Stable and unstable manifolds Let f be of class C^k, k \ge 1, and x^* a hyperbolic equilibrium. The sets W^s(x^*) = \{x : \varphi_t(x) \to x^* \text{ as } t \to +\infty\}, \qquad W^u(x^*) = \{x : \varphi_t(x) \to x^* \text{ as } t \to -\infty\} are invariant.
Near x^* they are embedded C^k manifolds, of dimensions \dim E^s and \dim E^u. At x^* they are tangent to the stable and unstable subspaces respectively.
Proof sketch (Lyapunov–Perron): a point lies on the local stable manifold if and only if its solution stays bounded for t \ge 0. Bounded solutions are fixed points of an integral equation that integrates the unstable component backwards from +\infty; for initial data close to x^*, this equation is a contraction (Guckenheimer and Holmes, 1983, §1.3; Kuznetsov, 2004, §2.2).
Illustration. For \dot x = x, \dot y = -y + x^2, the origin is a saddle. The stable manifold is the axis \{x = 0\}. The unstable manifold is the parabola y = x^2/3: along it, \frac{d}{dt}\Big(\frac{x^2}{3}\Big) = \frac{2x^2}{3} = -\frac{x^2}{3} + x^2 , which is exactly \dot y, so the parabola is invariant, and it is tangent to E^u = the x-axis.
Invariant manifolds are the thresholds of neuroscience. In a model where rest coexists with a saddle (the Morris–Lecar model in its first-class regime, ch. 3.5), the stable manifold of the saddle separates the initial conditions that return to rest from those that produce a spike: it is a true, sharp threshold.
FitzHugh–Nagumo has no saddle at small I, and its threshold is only a narrow region of rapid change. FitzHugh called it a quasi-threshold: responses grow steeply but continuously with the stimulus.
2.3 Equivalence and the topological classification of equilibria
When are two dynamical systems “the same”? Requiring identical solutions is too strict; the right notion keeps the orbits and forgets the parametrisation.
Definition 2.6 — Topological equivalence and conjugacy Consider two flows, \varphi on U and \psi on V.
They are topologically equivalent if there is a homeomorphism h : U \to V that maps orbits of \varphi onto orbits of \psi and preserves the direction of time.
They are topologically conjugate if moreover h preserves time itself: h \circ \varphi_t = \psi_t \circ h \quad \text{for all } t .
Local versions near two points replace U and V by neighbourhoods. When h is a C^1 diffeomorphism, the equivalence is smooth.
Smooth conjugacy is too fine for classification: it preserves the eigenvalues of the linearisation, which vary continuously. Topological equivalence forgets them and keeps only signs.
Theorem 2.7 — Hartman–Grobman If x^* is a hyperbolic equilibrium of \dot x = f(x), the flow near x^* is topologically conjugate to the linear flow e^{tA} near 0, where A = Df(x^*).
Proof: see Perko (2001, §2.8). The key step: for the time-one maps T = e^A + \phi, with \phi small and Lipschitz, the conjugacy h = I + \eta solves a fixed-point equation for \eta in the space of bounded continuous maps.
Split along E^s and E^u, this equation is a contraction, because e^A contracts E^s and expands E^u.
Theorem 2.8 — Topological classification of hyperbolic equilibria Let A and B be hyperbolic n \times n matrices with n_s(A) and n_s(B) eigenvalues of negative real part.
The flows e^{tA} and e^{tB} are topologically conjugate if and only if n_s(A) = n_s(B).
Consequently a hyperbolic equilibrium is locally topologically equivalent to the standard saddle \dot x_s = -x_s, \dot x_u = x_u, with x_s \in \mathbb{R}^{n_s} and x_u \in \mathbb{R}^{n - n_s}.
Proof. Sufficiency, stable case (n_s = n). There is a positive definite quadratic form Q with \frac{d}{dt}Q(e^{tA}x) < 0 for x \ne 0, for instance Q(x) = \int_0^\infty |e^{sA}x|^2\, ds.
Hence every non-zero orbit crosses the ellipsoid \{Q = 1\} exactly once. Write x = e^{tA}\xi with Q(\xi) = 1, and set h(x) = e^{-t}\, \frac{\xi}{|\xi|}, \qquad h(0) = 0 . Then h is a homeomorphism that conjugates e^{tA} to e^{-t}\,\mathrm{Id}.
General case. Apply this separately on E^s and, reversing time, on E^u, and take the product.
Necessity. The stable set \{x : e^{tA}x \to 0\} is the subspace E^s, and a conjugacy maps it homeomorphically onto E^s(B). Invariance of domain forbids homeomorphisms between Euclidean spaces of different dimensions. ∎
In the plane there are therefore only three topological types of hyperbolic equilibria: sink, source and saddle. A stable node and a stable focus are topologically equivalent; the spiralling, visible as damped oscillations of the membrane potential, is a smooth invariant, not a topological one.
2.4 Structural stability
A model is useful only if its qualitative predictions survive small errors in its equations. Structural stability makes this precise.
Definition 2.9 — Structural stability Let D be a compact region with smooth boundary, crossed inwards by the flow of f. The system \dot x = f(x) is structurally stable on D if there is \varepsilon > 0 such that every g with \|f - g\|_{C^1(D)} < \varepsilon defines a flow topologically equivalent to that of f on D.
Theorem 2.10 — Andronov–Pontryagin A smooth planar system on a disc whose boundary is crossed inwards is structurally stable if and only if:
- it has finitely many equilibria and periodic orbits, all hyperbolic (for a cycle: the multiplier of its Poincaré return map is not 1);
- no orbit connects two saddles.
Peixoto (1962) extended the result to compact orientable surfaces and showed that structurally stable systems form an open and dense set there. In dimension three and more, density fails (Smale).
Proof: see Kuznetsov (2004, §2.5) and the references there.
The centre \dot x = -y, \dot y = x is not structurally stable. The perturbation \dot x = \varepsilon x - y, \dot y = x + \varepsilon y turns it into a focus, stable or unstable according to the sign of \varepsilon.
In a generic one-parameter family of planar models, structurally unstable systems occur at isolated parameter values. These are the bifurcation points of ch. 3, where the conclusions of a model change.
2.5 The centre manifold in finite dimension
At a non-hyperbolic equilibrium the linearisation does not decide stability, and something happens on the eigenvalues of zero real part. The centre manifold isolates these directions.
Theorem 2.11 — Centre manifold theorem and reduction principle Let \dot x = Ax + F(x) on \mathbb{R}^n, where F is of class C^k with k \ge 2 and vanishes at the origin together with its derivative.
Split \mathbb{R}^n = E^c \oplus E^s \oplus E^u according to eigenvalues of zero, negative and positive real part.
- There is a locally invariant C^k manifold W^c, the graph of a map h : E^c \to E^s \oplus E^u with h(0) = 0 and Dh(0) = 0.
- (Pliss, Shoshitaishvili) Near 0, the system is topologically equivalent to the decoupled system \dot u = A_c u + P_c F\big(u + h(u)\big), \qquad \dot y_s = -y_s, \qquad \dot y_u = y_u , with u \in E^c. In particular, when E^u = \{0\}, the origin is stable if and only if it is stable for the reduced equation in u.
The manifold need not be unique, nor C^\infty for a C^\infty field, but its Taylor expansion at 0 is unique.
Proof sketch: multiply F by a cut-off so that it becomes globally Lipschitz with a small constant. W^c is then the set of initial conditions whose solutions grow at most like e^{\eta |t|} for a small \eta. These solutions are the fixed points of an integral equation that is a contraction in a weighted space of continuous functions (Carr, 1981; Haragus and Iooss, 2011).
To compute h, write that the graph is invariant. With E^h = E^s \oplus E^u and the projections P_c, P_h: Dh(u)\,\big[A_c u + P_c F(u + h(u))\big] = A_h\, h(u) + P_h F\big(u + h(u)\big).
This equation is solved order by order in the Taylor expansion of h.
Example 2.12 — A centre manifold by hand Consider \dot x = x y, \qquad \dot y = -y - x^2 .
The linearisation has eigenvalues 0 and -1, so it decides nothing. Look for y = h(x) = \alpha x^2 + \beta x^3 + \gamma x^4 + O(x^5).
- The invariance equation reads h'(x)\, x\, h(x) = -h(x) - x^2.
- Its left-hand side is 2\alpha^2 x^4 + O(x^5).
- Matching x^2, x^3 and x^4 gives \alpha = -1, \beta = 0 and \gamma = -2\alpha^2 = -2.
The centre manifold and the reduced equation are h(x) = -x^2 - 2x^4 + O(x^5), \qquad \dot x = x\, h(x) = -x^3 + O(x^5).
By Theorem 2.11 the origin is asymptotically stable, with a slow algebraic decay x(t) \sim 1/\sqrt{2t}, invisible to the linearisation.
Setting \dot y = 0 (“adiabatic elimination”) would give y = -x^2: the correct first term, but not the next one.
Key takeaways — chapter 2
- Orbits, invariant sets and limit sets describe the qualitative behaviour; in the plane, Poincaré–Bendixson turns a trapping region without equilibria into a cycle.
- FitzHugh–Nagumo has one equilibrium, unstable for 0.3313 < I < 1.4187, where a periodic orbit exists.
- Hyperbolic equilibria have smooth stable and unstable manifolds; the stable manifold of a saddle is a sharp firing threshold.
- Hartman–Grobman and Theorem 2.8: near a hyperbolic equilibrium only the number of stable eigenvalues matters; node and focus are topologically equivalent.
- Andronov–Pontryagin: planar systems are structurally stable when everything is hyperbolic and no saddle connection exists; failures are bifurcations.
- The centre manifold carries the dynamics of the non-hyperbolic directions; it is computed from the invariance equation, order by order.
3. Bifurcation theory
When a parameter of a model (an injected current, a coupling strength) crosses a critical value, the phase portrait can change: equilibria appear or disappear, lose stability, give birth to oscillations. This chapter classifies the generic ways this happens, reduces each to a normal form, and uses them to explain the excitability of neurons and, through symmetry, the patterns of ch. 6.
3.1 What is a bifurcation?
Definition 3.1 — Bifurcation, codimension Consider a family \dot x = f(x, \mu) with x \in \mathbb{R}^n and \mu \in \mathbb{R}^p. A value \mu_0 is a bifurcation value if there are parameter values arbitrarily close to \mu_0 whose phase portraits are not topologically equivalent to the one at \mu_0.
The codimension of a bifurcation is the number of independent equality conditions that define it. A generic one-parameter family meets only codimension-one bifurcations.
A local bifurcation of an equilibrium requires a non-hyperbolic equilibrium. Indeed, if D_x f(x_0, \mu_0) is invertible, the implicit function theorem continues the equilibrium as a smooth curve x^*(\mu). Its eigenvalues move continuously, so the number of stable ones does not change, and Theorem 2.8 gives local equivalence.
For equilibria, the two codimension-one cases are therefore a zero eigenvalue (saddle-node) and a pair of purely imaginary eigenvalues (Hopf). Symmetry (ch. 3.6) or a trivial solution that persists for all parameters changes the generic picture.
3.2 One-dimensional bifurcations
Theorem 3.2 — Saddle-node (fold) bifurcation Let \dot x = f(x, \mu) with x, \mu \in \mathbb{R}, f smooth, and at (0, 0): f = 0, \qquad f_x = 0, \qquad f_{xx} \ne 0, \qquad f_\mu \ne 0 .
Near (0, 0) the equilibria form a curve \mu = m(x) with m(0) = m'(0) = 0 and m''(0) = -f_{xx}/f_\mu. There are two equilibria, one stable and one unstable, on one side of \mu = 0, and none on the other.
The family is locally topologically equivalent to the normal form \dot x = \beta \pm x^2 .
Proof. Since f_\mu \ne 0, the implicit function theorem solves f(x, \mu) = 0 as \mu = m(x).
Differentiating f(x, m(x)) = 0 once gives f_x + f_\mu m' = 0, hence m'(0) = 0. Differentiating twice gives f_{xx} + f_\mu m''(0) = 0 at the origin.
So m has a strict extremum at 0: each \mu on one side of 0 has exactly two preimages x_- < 0 < x_+, and the other side none.
On the curve, f_x(x, m(x)) = -f_\mu\, m'(x) = f_{xx}\, x + O(x^2), which has opposite signs at x_- and x_+: one equilibrium is stable, the other unstable.
Two scalar flows with the same ordered list of equilibria and the same stabilities are topologically equivalent: map equilibria to equilibria and the intervals between them monotonically onto each other. ∎
Proposition 3.3 — Transcritical and pitchfork bifurcations Suppose f(0, \mu) = 0 for all \mu, f_x(0, 0) = 0 and f_{x\mu}(0, 0) \ne 0.
If f_{xx}(0, 0) \ne 0, a second branch of equilibria crosses x = 0 transversally and the two branches exchange stability (transcritical). Normal form: \dot x = \beta x - x^2.
If f is odd in x (a \mathbb{Z}_2 symmetry x \mapsto -x) and f_{xxx}(0, 0) \ne 0, a pair of symmetric equilibria \pm x(\mu) appears on one side (pitchfork).
Normal form: \dot x = \beta x \mp x^3, supercritical with the minus sign, subcritical with the plus sign.
Proof. Write f(x, \mu) = x\, g(x, \mu), with g(0, 0) = f_x(0, 0) = 0 and g_\mu(0, 0) = f_{x\mu}(0, 0) \ne 0. The non-trivial equilibria solve g = 0, that is \mu = m(x) by the implicit function theorem.
In case 1, m'(0) = -g_x/g_\mu = -f_{xx}/(2 f_{x\mu}) \ne 0: a line crossing the trivial branch.
In case 2, g is even in x, so m is even with m''(0) \ne 0 given by f_{xxx}: a parabola.
The stabilities follow from the sign of f_x along each branch, as in Theorem 3.2. ∎
Example 3.4 — Bistability and hysteresis in a rate model A population with recurrent excitation is described by its rate r: \tau \dot r = -r + S(w r + I), \qquad S(u) = \frac{1}{1 + e^{-u}} .
Equilibria. Parametrise them by the total input u = wr + I: they satisfy r = S(u) and I = u - w S(u).
Folds. A fold occurs where w S'(u) = 1. Since S' = S(1 - S) \le 1/4, folds exist if and only if w > 4. For w = 6, they sit at S = (1 \pm 1/\sqrt{3})/2, that is u = \pm 1.3170, and the fold currents are I_- = -3.4151, \qquad I_+ = -2.5849 .
Theorem 3.2 applies there: f_{rr} = w^2 S''(u) \ne 0 because S \ne 1/2 at the folds, and f_I = S'(u) \ne 0.
Hysteresis. For I_- < I < I_+, a low-activity and a high-activity state coexist with an unstable state between them. Raising I past I_+ makes the rate jump up; it falls back only when I goes below I_-. Such bistable populations are a classical model of persistent activity in working memory.
3.3 The Hopf bifurcation
Theorem 3.5 — Andronov–Hopf bifurcation Let \dot x = f(x, \mu) in \mathbb{R}^2, with an equilibrium at 0 for all \mu and eigenvalues \alpha(\mu) \pm i\omega(\mu), where \alpha(0) = 0, \qquad \omega(0) = \omega_0 > 0, \qquad \alpha'(0) \ne 0 .
Then there are complex coordinates in which the system reads \dot z = (\alpha(\mu) + i\omega(\mu))\, z + c_1(\mu)\, |z|^2 z + O(|z|^4).
Let \ell_1 = \mathrm{Re}\, c_1(0)/\omega_0 be the first Lyapunov coefficient. If \ell_1 \ne 0, then for small \mu:
- If \ell_1 < 0 (supercritical), a unique stable limit cycle exists on the side \alpha(\mu) > 0, of radius \sqrt{-\alpha/\mathrm{Re}\,c_1}\,(1 + o(1)).
- If \ell_1 > 0 (subcritical), a unique unstable limit cycle exists on the side \alpha(\mu) < 0. When \alpha crosses 0, solutions leave the neighbourhood: the system jumps to a distant attractor.
In both cases the period of the cycle tends to 2\pi/\omega_0.
Proof. Normal form. The change of variables of Theorem 3.7 below (§3.4) removes all quadratic terms and all cubic terms except |z|^2 z.
Polar coordinates. With z = \rho e^{i\vartheta}, \dot \rho = \rho\, \big(\alpha + \mathrm{Re}\,c_1\, \rho^2\big) + O(\rho^4), \qquad \dot\vartheta = \omega + O(\rho^2).
Return map. On the half-line \vartheta = 0, the return map satisfies, up to higher-order terms in \alpha, P(\rho) - \rho = \frac{2\pi}{\omega}\, \rho\,\big(\alpha + \mathrm{Re}\,c_1\, \rho^2\big) + O(\rho^4).
A cycle is a fixed point \rho > 0. Divide by \rho and apply the implicit function theorem in the variable \rho^2: the solution exists exactly when \alpha and \mathrm{Re}\,c_1 have opposite signs, and it has the stated size.
The sign of P'(\rho) - 1 there is the sign of -\alpha, which gives the stability. ∎
For a planar system already written with linear part \begin{pmatrix} 0 & -\omega \\ \omega & 0 \end{pmatrix} and nonlinear terms f, g, the classical formula of Guckenheimer and Holmes (1983, §3.4) gives \mathrm{Re}\,c_1 = a with 16 a = f_{xxx} + f_{xyy} + g_{xxy} + g_{yyy} + \frac{1}{\omega}\big[f_{xy}(f_{xx} + f_{yy}) - g_{xy}(g_{xx} + g_{yy}) - f_{xx} g_{xx} + f_{yy} g_{yy}\big].
Kuznetsov (2004, §3.5) gives a coordinate-free formula with the right and left eigenvectors of the Jacobian. Written with the bilinear and trilinear forms of the vector field, it holds in any dimension (same book, ch. 5). It is the one used below.
Example 3.6 — FitzHugh–Nagumo: a subcritical Hopf bifurcation At the first Hopf point of Example 2.4, v^* = -\sqrt{1 - \varepsilon b} and I_1 \approx 0.3313.
Shifting the equilibrium to 0, the nonlinear part of the v-equation is -v^* x^2 - x^3/3: it defines the bilinear and trilinear forms B and C below.
import numpy as np
a, b, eps = 0.7, 0.8, 0.08
vH = -np.sqrt(1 - eps * b) # lower Hopf point
A = np.array([[1 - vH**2, -1.0], [eps, -eps * b]])
B = lambda x, y: np.array([-2 * vH * x[0] * y[0], 0.0]) # quadratic part at the equilibrium
C = lambda x, y, z: np.array([-2 * x[0] * y[0] * z[0], 0.0])
lam, Q = np.linalg.eig(A)
k = np.argmax(lam.imag); om = lam[k].imag; q = Q[:, k]
lamT, P = np.linalg.eig(A.T)
p = P[:, np.argmin(np.abs(lamT + 1j * om))] # A^T p = -i om p
p = p / np.conj(np.vdot(p, q)) # normalise <p, q> = 1 (<x,y> = conj(x).y)
dot = lambda u, v: np.vdot(u, v)
l1 = np.real(dot(p, C(q, q, q.conj()))
- 2 * dot(p, B(q, np.linalg.solve(A, B(q, q.conj()))))
+ dot(p, B(q.conj(), np.linalg.solve(2j * om * np.eye(2) - A, B(q, q))))) / (2 * om)
print(f"omega = {om:.4f}, first Lyapunov coefficient l1 = {l1:.4f}")The output is \omega_0 = 0.2755 and \ell_1 \approx 0.97 > 0 : the bifurcation is subcritical.
The value 0.97 uses Kuznetsov’s normalisation \langle q, q\rangle = \langle p, q\rangle = 1; rescaling the coordinates changes the magnitude of \ell_1, never its sign.
A simulation confirms the picture. At I = 0.33, just below I_1, the stable focus coexists with a large relaxation cycle; at I = 0.32 the large cycle no longer exists. Just above I_1, the neuron jumps to that cycle, of period about 48 time units: the oscillation starts with a finite frequency and a large amplitude.
The Hodgkin–Huxley model behaves the same way. Rinzel and Miller (1980) computed its subcritical Hopf point near I \approx 9.8 µA/cm² and the fold of cycles near 6.3 µA/cm² that ends the bistable range seen in Example 1.4.
3.4 Centre manifold reduction and normal forms
A bifurcation of an equilibrium in \mathbb{R}^n involves only the eigenvalues on the imaginary axis. The parameter-dependent centre manifold makes this exact.
Append \dot\mu = 0 to the system. The parameters become centre directions, and Theorem 2.11 gives a manifold of dimension \dim E^c + p that contains every small bounded solution for every small \mu.
For the Hopf bifurcation of the four-dimensional Hodgkin–Huxley model, the reduced system is two-dimensional, and Theorem 3.5 applies to it. For a fold, it is one-dimensional, and Theorem 3.2 applies.
On the centre manifold, polynomial changes of variables simplify the equations further.
Theorem 3.7 — Poincaré normal form Let \dot x = Ax + F_2(x) + F_3(x) + \dots, with F_k homogeneous of degree k and A = \mathrm{diag}(\lambda_1, \dots, \lambda_n) (possibly complex).
A monomial x^m e_i, with m \in \mathbb{N}^n and |m| = k, is resonant if \lambda_i = \sum_j m_j \lambda_j .
For each k \ge 2, a change of variables x = y + h_k(y), with h_k homogeneous of degree k, removes all non-resonant monomials of degree k without changing the lower-order terms.
Proof. Substituting x = y + h_k(y) and keeping the terms of degree k gives \dot y = Ay + F_2 + \dots + F_{k-1} + \big[F_k - L_A h_k\big] + O(|y|^{k+1}), where L_A h := Dh(y)\, A y - A h(y) is the homological operator.
On a monomial, L_A(y^m e_i) = (m \cdot \lambda - \lambda_i)\, y^m e_i. So L_A is diagonal on monomials, invertible on the non-resonant ones, and choosing h_k there kills those terms of F_k. ∎
For a Hopf point, use the coordinates (z, \bar z), with eigenvalues i\omega and -i\omega. A monomial z^p \bar z^q in the \dot z equation is resonant when i\omega = (p - q)\, i\omega, \quad \text{that is} \quad p = q + 1 .
The resonant terms are z|z|^2, z|z|^4, \dots: this is why the normal form of Theorem 3.5 keeps only c_1 |z|^2 z at third order.
At a fold, the single eigenvalue 0 makes every monomial resonant. The quadratic term survives, and the normal form is \dot x = \beta + x^2, after scaling by f_{xx} \ne 0.
3.5 Excitability classes of neurons
In 1948 Hodgkin sorted the axons of the crab Carcinus by their response to a constant current. Rinzel and Ermentrout (1989) explained his classes by the bifurcation through which the resting state gives way to repetitive firing.
Definition 3.8 — Hodgkin’s excitability classes A neuron is of class 1 if repetitive firing can start at arbitrarily low frequency, and of class 2 if the f–I curve jumps from 0 to a positive frequency.
Proposition 3.9 — Onset of firing at a SNIC and at a Hopf point
- Suppose rest disappears in a saddle-node bifurcation at I_c whose two equilibria lie on an invariant closed curve (a saddle-node on invariant circle, or SNIC). Then for I > I_c the curve becomes a periodic orbit, and its frequency behaves like f \simeq \frac{\sqrt{c\, d\, (I - I_c)}}{\pi}, where c and d are the coefficients of the reduced equation \dot x = c\,(I - I_c) + d x^2.
- If firing starts at a Hopf bifurcation, the frequency at onset is \omega_0/2\pi > 0, both in the supercritical and in the subcritical case.
Hence a SNIC produces class 1 excitability and a Hopf bifurcation class 2. The converse is not a theorem: a saddle-node whose equilibria do not lie on an invariant circle also gives class 2, since the neuron then jumps to a distant cycle of finite period (Izhikevich, 2007).
Proof. (1) Near the ghost of the fold, the centre manifold reduction gives the normal form. The time to cross the bottleneck is \int_{-\infty}^{\infty} \frac{dx}{c\,\delta + d x^2} = \frac{\pi}{\sqrt{c\, d\, \delta}}, \qquad \delta = I - I_c , up to O(1) corrections; the rest of the circle is crossed in a bounded time. The period diverges like \delta^{-1/2}.
(2) By Theorem 3.5, the period of the bifurcating cycle tends to 2\pi/\omega_0. In the subcritical case, the large cycle reached after the jump also has a finite period. ∎
The quadratic integrate-and-fire neuron (Proposition 1.6) is exactly the SNIC normal form, with f = \sqrt{I}/(\pi\tau). Hodgkin–Huxley and FitzHugh–Nagumo with standard parameters are class 2 (Examples 1.4 and 3.6). The Morris–Lecar model (1981) is a planar conductance-based model, with an instantaneous calcium current and a slower potassium current. It is class 1 or class 2 depending on its parameters, and many cortical pyramidal neurons behave as class 1.
A second distinction follows from the linearisation at rest. Close to a Hopf bifurcation the resting state is a stable focus: it produces damped subthreshold oscillations and responds best to inputs at its resonant frequency. Close to a saddle-node the resting state is a stable node, which simply integrates its inputs.
Izhikevich (2007) calls these neurons resonators and integrators. The difference is smooth, not topological (Theorem 2.8), yet it matters for timing.
3.6 Equivariant bifurcations
Neural fields on a ring or on the plane (ch. 5–6) are invariant under rotations, translations and reflections. Symmetry forces multiple eigenvalues, which are non-generic otherwise, and organises the solutions that bifurcate.
Definition 3.10 — Equivariance, isotropy, fixed-point subspace Let a compact group \Gamma act linearly and orthogonally on \mathbb{R}^n. The family f(\cdot, \mu) is \Gamma-equivariant if, for all \gamma \in \Gamma, f(\gamma x, \mu) = \gamma f(x, \mu).
The isotropy subgroup of x and the fixed-point subspace of a subgroup \Sigma are \Sigma_x = \{\gamma : \gamma x = x\}, \qquad \mathrm{Fix}(\Sigma) = \{x : \sigma x = x \text{ for all } \sigma \in \Sigma\}.
Two facts follow at once.
- If x^* is an equilibrium, so is every \gamma x^*: equilibria come in group orbits.
- \mathrm{Fix}(\Sigma) is flow-invariant: for x \in \mathrm{Fix}(\Sigma), f(x) = f(\sigma x) = \sigma f(x), so f(x) \in \mathrm{Fix}(\Sigma).
Definition 3.11 — Absolute irreducibility The action of \Gamma is absolutely irreducible if the only linear maps commuting with every \gamma are the multiples of the identity.
Then, at an equilibrium fixed by \Gamma, the Jacobian commutes with \Gamma, so D_x f(0, \mu) = c(\mu)\, \mathrm{Id}: all its eigenvalues are equal.
Example: \mathrm{O}(2), rotations and reflections, acting on \mathbb{R}^2 is absolutely irreducible; the rotations \mathrm{SO}(2) alone are not, since they commute with each other.
Theorem 3.12 — Equivariant branching lemma (Vanderbauwhede; Cicogna) Let \Gamma act absolutely irreducibly on \mathbb{R}^n, with f(0, \mu) = 0 and D_x f(0, \mu) = c(\mu)\,\mathrm{Id}, where c(0) = 0 and c'(0) \ne 0.
If \Sigma is an isotropy subgroup with \dim \mathrm{Fix}(\Sigma) = 1, a unique branch of equilibria with symmetry \Sigma bifurcates from (0, 0).
Proof. Restrict f to the invariant line \mathrm{Fix}(\Sigma) = \mathbb{R} e. Writing x = t e gives a scalar equation \dot t = g(t, \mu) with g(0, \mu) = 0.
Moreover g_t(0, 0) = c(0) = 0 and g_{t\mu}(0, 0) = c'(0) \ne 0.
As in Proposition 3.3, write g = t\, k(t, \mu) with k(0,0) = 0 and k_\mu(0, 0) \ne 0. The implicit function theorem solves k = 0 as \mu = m(t): this is the branch. ∎
The case used in ch. 6 is \mathrm{O}(2) acting on \mathbb{C} \simeq \mathbb{R}^2 by rotations z \mapsto e^{i\phi} z and the reflection z \mapsto \bar z.
Proposition 3.13 — O(2)-equivariant vector fields Every smooth \mathrm{O}(2)-equivariant map f : \mathbb{C} \to \mathbb{C} has the form f(z) = p(|z|^2)\, z, \qquad p \text{ real-valued and smooth} .
Consequently, when p(0, \mu) changes sign at \mu = 0 with non-zero speed and \partial_\rho p(0, 0) \ne 0, a circle of equilibria |z|^2 = \rho(\mu) bifurcates from 0 on one side of \mu = 0 (a pitchfork of revolution). Each equilibrium on it has a zero eigenvalue along the circle.
Proof. For r > 0, rotation equivariance gives f(r e^{i\phi}) = e^{i\phi} f(r), and reflection equivariance gives f(r) = f(\bar r) = \overline{f(r)}, so f(r) is real.
Rotation by \pi gives f(-r) = -f(r), so f(r)/r extends to an even smooth function of r, hence (Whitney) a smooth function p of r^2.
Then f(z) = p(|z|^2)\, z for every z.
The non-zero equilibria solve p(\rho, \mu) = 0 with \rho = |z|^2 > 0. Since \partial_\rho p(0, 0) \ne 0, the implicit function theorem gives \rho = \rho(\mu), with \rho'(0) \ne 0, which is positive on one side of \mu = 0.
The zero eigenvalue comes from differentiating the identity f(e^{i\phi} z^*) = 0 in \phi: the tangent vector i z^* to the circle is in the kernel. ∎
The isotropy subgroup of a real point z = r > 0 is the reflection, whose fixed-point subspace \mathbb{R} is one-dimensional, as Theorem 3.12 requires. Without the reflection, p may be complex, and the circle of equilibria becomes a circle of rotating waves.
Key takeaways — chapter 3
- Local bifurcations of equilibria need a non-hyperbolic equilibrium; generically a zero eigenvalue (fold) or an imaginary pair (Hopf).
- Normal forms: fold \dot x = \beta \pm x^2, transcritical \dot x = \beta x - x^2, pitchfork \dot x = \beta x \mp x^3, Hopf \dot z = (\alpha + i\omega) z + c_1|z|^2 z.
- The sign of the first Lyapunov coefficient separates soft (supercritical) from hard (subcritical) onset; FitzHugh–Nagumo and Hodgkin–Huxley are subcritical.
- Centre manifold reduction plus Poincaré normal forms reduce any dimension to the critical directions; resonances decide which terms remain.
- A saddle-node on an invariant circle gives class 1 firing (f grows like the square root of I − I_c); a Hopf bifurcation gives class 2 firing (finite frequency at onset). These are the two main routes, not the only ones.
- Symmetry forces multiple eigenvalues; one-dimensional fixed-point subspaces give branches (equivariant branching lemma); O(2) symmetry gives circles of equilibria.
4. The role of noise
Recorded in vivo, cortical neurons fire irregularly: the coefficient of variation of their interspike intervals is often close to 1, the value of a Poisson process (Softky and Koch, 1993). Channels open at random, synapses release transmitter at random, and each neuron is bombarded by thousands of inputs. This chapter builds the stochastic calculus needed to model this variability and computes the firing rate of a noisy neuron in closed form.
4.1 Brownian motion
Definition 4.1 — Brownian motion A real process (B_t)_{t \ge 0} is a standard Brownian motion if B_0 = 0, its paths are continuous, and its increments over disjoint intervals are independent, with B_t - B_s \sim \mathcal{N}(0,\, t - s), \qquad 0 \le s \le t .
It exists (Wiener, 1923), and it is the scaling limit of random walks: if S_n is a sum of n i.i.d. steps of variance 1, the process S_{\lfloor nt \rfloor}/\sqrt{n} converges in law to B (Donsker).
Proposition 4.2 — Quadratic variation Let 0 = t_0 < t_1 < \dots < t_K = t be partitions of [0, t] whose mesh tends to 0. Then, in L^2, \sum_{k} \big(B_{t_{k+1}} - B_{t_k}\big)^2 \longrightarrow t .
Proof. Each square has mean \Delta t_k and variance 2\Delta t_k^2, and the squares are independent. The sum has mean t and variance 2 \sum_k \Delta t_k^2 \le 2t \max_k \Delta t_k \to 0 .
Convergence in L^2 to t follows. ∎
A continuous path with non-zero quadratic variation has infinite total variation on every interval. Therefore \int H\, dB cannot be defined path by path as a Stieltjes integral; Itô’s construction uses the L^2 structure instead.
The heuristic rule (dB_t)^2 = dt summarises Proposition 4.2.
4.2 The Itô integral and stochastic differential equations
Definition 4.3 — Itô integral Let (\mathcal{F}_t) be the filtration of B. For a simple adapted process H = \sum_k H_k \mathbb{1}_{(t_k, t_{k+1}]}, with H_k bounded and \mathcal{F}_{t_k}-measurable, set \int_0^t H_s\, dB_s = \sum_k H_k\, \big(B_{t_{k+1} \wedge t} - B_{t_k \wedge t}\big).
It is a centred martingale and satisfies the Itô isometry \mathbb{E}\Big[\Big(\int_0^t H_s\, dB_s\Big)^2\Big] = \mathbb{E}\int_0^t H_s^2\, ds .
By density, the integral extends to all adapted H with \mathbb{E}\int_0^t H^2 < \infty, keeping both properties.
Why the isometry holds: in the square of the sum, a cross term H_j H_k \Delta B_j \Delta B_k with j < k has zero mean, because \Delta B_k is independent of \mathcal{F}_{t_k}. A diagonal term has mean \mathbb{E}[H_k^2]\, \Delta t_k.
Theorem 4.4 — Existence and uniqueness for SDEs Let b and \sigma be globally Lipschitz on \mathbb{R}^n and X_0 square-integrable, independent of B. The equation dX_t = b(X_t)\, dt + \sigma(X_t)\, dB_t has a unique continuous adapted solution, and \mathbb{E}\sup_{t \le T} |X_t|^2 < \infty for every T.
Proof. Existence: define the Picard iterates and their distances, X^{n+1}_t = X_0 + \int_0^t b(X^n_s)\, ds + \int_0^t \sigma(X^n_s)\, dB_s, \qquad D_n(t) = \mathbb{E}\sup_{s \le t}|X^{n+1}_s - X^n_s|^2 .
Doob’s maximal inequality, the Itô isometry and the Lipschitz bounds give D_n(t) \le C \int_0^t D_{n-1}(s)\, ds, \quad \text{hence} \quad D_n(t) \le D_0(T)\, \frac{(Ct)^n}{n!} .
This is summable, so X^n converges uniformly on [0, T] in L^2 to a solution.
Uniqueness: for two solutions X and Y, the same estimate applied to \delta(t) = \mathbb{E}\sup_{s \le t} |X_s - Y_s|^2 gives \delta(t) \le C \int_0^t \delta(s)\, ds , and Grönwall’s lemma (Lemma 0.2) gives \delta = 0. ∎
Simulations use the Euler–Maruyama scheme, which replaces dB by a Gaussian increment of variance \Delta t: X_{k+1} = X_k + b(X_k)\, \Delta t + \sigma(X_k)\, \sqrt{\Delta t}\; \xi_k, \qquad \xi_k \sim \mathcal{N}(0, 1) \text{ i.i.d.}
Its strong error is of order \sqrt{\Delta t} in general (Kloeden and Platen, 1992).
4.3 Itô’s formula and the Ornstein–Uhlenbeck process
Theorem 4.5 — Itô’s formula Let X solve dX = b\, dt + \sigma\, dB, and let F(t, x) be once differentiable in time and twice in space, with continuous derivatives. Then dF(t, X_t) = \Big(\partial_t F + b\, \partial_x F + \frac{\sigma^2}{2}\, \partial_{xx} F\Big)\, dt + \sigma\, \partial_x F\; dB_t .
Proof sketch: write F(t, X_t) - F(0, X_0) as a telescoping sum over a partition and expand each term to second order. The sum of \frac12 \partial_{xx}F\, (\Delta X)^2 converges to \frac12\int \partial_{xx}F\, \sigma^2\, dt by Proposition 4.2; higher-order terms vanish in the limit.
The extra term \frac12 \sigma^2 \partial_{xx} F is the whole difference with ordinary calculus. For example, d(B_t^2) = 2B_t\, dB_t + dt, so B_t^2 - t is a martingale.
Example 4.6 — The Ornstein–Uhlenbeck process The free membrane potential of a leaky neuron driven by white noise is \tau\, dX_t = (\mu - X_t)\, dt + \sigma \sqrt{\tau}\; dB_t .
Itô’s formula applied to e^{t/\tau} X_t removes the drift and gives the explicit solution X_t = \mu + (X_0 - \mu)\, e^{-t/\tau} + \frac{\sigma}{\sqrt{\tau}} \int_0^t e^{-(t-s)/\tau}\, dB_s .
- The mean relaxes to \mu with time constant \tau.
- By the Itô isometry, the variance is \frac{\sigma^2}{\tau}\int_0^t e^{-2(t-s)/\tau}\, ds.
- It tends to \sigma^2/2, and the stationary law is \mathcal{N}(\mu, \sigma^2/2).
With \tau = 20 ms and \sigma = 5 mV, the stationary standard deviation of the potential is about 3.5 mV.
4.4 The Fokker–Planck equation and first-passage times
Proposition 4.7 — Fokker–Planck equation Let X solve dX = b(X)\, dt + \sigma(X)\, dB in dimension 1, and suppose X_t has a smooth density p(t, x). Then \partial_t p = -\partial_x \big(b\, p\big) + \frac{1}{2}\, \partial_{xx}\big(\sigma^2 p\big).
Proof. For a smooth compactly supported test function \varphi, Itô’s formula and the zero mean of the stochastic integral give \frac{d}{dt}\, \mathbb{E}\varphi(X_t) = \mathbb{E}\Big[b\, \varphi'(X_t) + \frac{\sigma^2}{2}\, \varphi''(X_t)\Big].
Write both sides as integrals against p(t, \cdot) and integrate by parts on the right; since \varphi is arbitrary, the densities agree. ∎
The operator L\varphi = b\varphi' + \frac12\sigma^2\varphi'' is the generator of X. In the stationary regime with zero flux, the Fokker–Planck equation integrates once and gives p_\infty(x) \propto \frac{1}{\sigma^2(x)}\, \exp\Big(\int^x \frac{2 b(y)}{\sigma^2(y)}\, dy\Big).
For the Ornstein–Uhlenbeck process this is the Gaussian of Example 4.6.
A neuron fires when its potential first reaches the threshold. The mean time to get there solves an ordinary differential equation.
Proposition 4.8 — Mean first-passage time Let X be a one-dimensional diffusion with \sigma > 0, started at x < \theta, and T(x) = \mathbb{E}_x[\inf\{t : X_t = \theta\}]. Under growth conditions at -\infty that make the lower boundary non-attracting, T solves b\, T' + \frac{\sigma^2}{2}\, T'' = -1 \ \text{ on } (-\infty, \theta), \qquad T(\theta) = 0 .
With \psi(y) = \exp\big(\int^y 2b/\sigma^2\big), its solution is T(x) = \int_x^\theta \frac{1}{\psi(y)} \int_{-\infty}^{y} \frac{2\, \psi(z)}{\sigma^2(z)}\, dz\, dy .
Proof. Equation (Dynkin’s argument). Apply Itô’s formula to T(X_t) up to the stopped time \tau_\theta \wedge t, take expectations, and use LT = -1: \mathbb{E}_x\, T(X_{\tau_\theta \wedge t}) = T(x) - \mathbb{E}_x[\tau_\theta \wedge t]. Let t \to \infty. The right-hand side converges by monotone convergence. On the left, T(X_{\tau_\theta \wedge t}) \to T(\theta) = 0, and the growth conditions at -\infty give the uniform integrability needed to exchange limit and expectation.
Solution. The equation reads (\psi T')' = -2\psi/\sigma^2. Integrate from -\infty, where \psi T' \to 0, then from x to \theta using T(\theta) = 0. ∎
4.5 Noisy integrate-and-fire neurons
Suppose a leaky integrate-and-fire neuron receives C independent Poisson inputs of rate \nu, each making the potential jump by J. Then dV = -V\,dt/\tau + J\, dN_t, where N is Poisson with rate C\nu.
If J is small and C\nu large, the input is approximated by its mean and its Gaussian fluctuations (the diffusion approximation). The result is \tau\, dV = (\mu - V)\, dt + \sigma\sqrt{\tau}\, dB below threshold, with \mu = C J \nu \tau, \qquad \sigma^2 = C J^2 \nu \tau .
Theorem 4.9 — Firing rate of the noisy leaky integrate-and-fire neuron (Siegert formula) Let \tau\, dV = (\mu - V)\, dt + \sigma\sqrt{\tau}\, dB below the threshold \theta, with reset to V_r and refractory period \tau_{\text{ref}}. The stationary firing rate \nu_{\text{out}} is given by \frac{1}{\nu_{\text{out}}} = \tau_{\text{ref}} + \tau \sqrt{\pi} \int_{(V_r - \mu)/\sigma}^{(\theta - \mu)/\sigma} e^{u^2}\, \big(1 + \mathrm{erf}\, u\big)\, du .
Proof. The interspike intervals are i.i.d., each equal to \tau_{\text{ref}} plus a first-passage time from V_r to \theta. By the renewal theorem the rate is the inverse of the mean interval, so it suffices to compute T(V_r).
Apply Proposition 4.8 with b(v) = (\mu - v)/\tau and noise intensity \sigma^2/\tau. Then 2b/(\sigma^2/\tau) = 2(\mu - v)/\sigma^2 and \psi(y) = e^{-(y - \mu)^2/\sigma^2}.
Substituting u = (y - \mu)/\sigma and s = (z - \mu)/\sigma: T(V_r) = 2\tau \int_{(V_r - \mu)/\sigma}^{(\theta - \mu)/\sigma} e^{u^2} \int_{-\infty}^{u} e^{-s^2}\, ds\, du , and the inner integral is \frac{\sqrt{\pi}}{2}(1 + \mathrm{erf}\, u). ∎
Example 4.10 — Siegert formula against simulation We take the values of Brunel (2000): \tau = 20 ms, \theta = 20 mV, V_r = 10 mV, \tau_{\text{ref}} = 2 ms. The mean input \mu = 18 mV stays below threshold, so a noiseless neuron would never fire.
import numpy as np
from scipy.integrate import quad
from scipy.special import erfcx
tau, theta, Vr, tref = 20.0, 20.0, 10.0, 2.0 # ms, mV (values of Brunel, 2000)
mu, sigma = 18.0, 5.0 # mean input and noise amplitude (mV)
# Siegert formula; e^{u^2} (1 + erf u) = erfcx(-u) avoids overflow
integral = quad(lambda u: erfcx(-u), (Vr - mu) / sigma, (theta - mu) / sigma)[0]
nu_theory = 1000.0 / (tref + tau * np.sqrt(np.pi) * integral)
# Euler-Maruyama for tau dV = (mu - V) dt + sigma sqrt(tau) dB, N neurons in parallel
rng = np.random.default_rng(0)
N, dt, T, T0 = 1000, 0.02, 600.0, 100.0 # T0: discarded transient (ms)
V = np.full(N, Vr); ref = np.zeros(N); spikes = 0
for k in range(int(T / dt)):
active = ref <= 0
V[active] += (mu - V[active]) * dt / tau \
+ sigma * np.sqrt(dt / tau) * rng.standard_normal(active.sum())
ref -= dt
fired = V >= theta
if k * dt > T0:
spikes += fired.sum()
V[fired] = Vr; ref[fired] = tref
nu_sim = 1000 * spikes / (N * (T - T0))
print(f"Siegert: {nu_theory:.2f} Hz Euler-Maruyama: {nu_sim:.2f} Hz")The formula gives 19.62 Hz and the simulation 19.34 Hz. The residual gap of about 1.5 % comes from threshold crossings missed between two time steps; it shrinks with \Delta t.
Noise alone makes the neuron fire at about 20 Hz with a subthreshold mean input.
The density of the potential of a noisy integrate-and-fire neuron solves the Fokker–Planck equation of Proposition 4.7 on (-\infty, \theta), with an absorbing boundary at \theta. The outgoing flux at \theta is the firing rate, and it is reinjected at V_r.
When the input rate \nu is itself the output rate of the network, this becomes a nonlinear equation: the starting point of the mean-field theory of spiking networks (Brunel and Hakim, 1999; ch. 8).
Noise can also create order. In an excitable system driven by noise, the regularity of the noise-induced spikes is maximal at an intermediate noise level: this is coherence resonance (Pikovsky and Kurths, 1997).
Key takeaways — chapter 4
- Brownian motion has quadratic variation t; this forces the Itô integral, defined through the isometry, and the extra term of Itô’s formula.
- Lipschitz SDEs are well posed (Picard iteration and Grönwall); Euler–Maruyama simulates them.
- The Ornstein–Uhlenbeck process is the free potential of a noisy leaky neuron; its stationary law is Gaussian with variance σ²/2 in the normalisation used here.
- Densities obey the Fokker–Planck equation; mean first-passage times solve the backward equation LT = −1.
- The firing rate of a noisy integrate-and-fire neuron is given by the Siegert formula, which a simulation reproduces; noise produces firing even below threshold.
5. The visual cortex and neural field models
The primary visual cortex contains more than a hundred million neurons in each human hemisphere, far too many to model one by one. At the scale of a millimetre, however, its organisation is regular enough to be described by continuous fields of activity. This chapter describes that organisation, then introduces the neural field equations, their localised states (bumps), their spatial instabilities (Turing patterns) and their travelling fronts.
5.1 Anatomy of the primary visual cortex
Light is transduced in the retina, whose ganglion cells send their axons through the optic nerve to the lateral geniculate nucleus (LGN) of the thalamus. The LGN projects to the primary visual cortex V1, also called striate cortex or Brodmann area 17, at the back of the occipital lobe.
V1 is a folded sheet about 2 mm thick, organised in six layers:
- layer 4 receives most of the thalamic input;
- layers 2/3 project to other cortical areas and carry long-range horizontal connections within V1;
- layers 5 and 6 project to subcortical targets, layer 6 back to the LGN.
About four neurons in five are excitatory (pyramidal and spiny stellate cells), the others inhibitory interneurons.
The map from the visual field to V1 is retinotopic: neighbouring points of the visual field excite neighbouring points of the cortex. Each hemisphere represents the opposite half of the visual field, and the centre of gaze, the fovea, occupies a disproportionate area.
In human V1, Horton and Hoyt (1991) estimated the linear magnification at eccentricity E (degrees) as about 17.3/(E + 0.75) mm per degree. The following model captures this geometry.
Proposition 5.1 — The log-polar retinotopic map Represent a point of the visual field by the complex number z = r e^{i\phi}, with eccentricity r and polar angle \phi. Schwartz’s (1977) model of the retinotopic map is w = \log(z + \epsilon) \approx \log z = \ln r + i\phi \qquad (r \gg \epsilon), with cortical coordinates x_1 = \ln r and x_2 = \phi, up to a scale factor. Away from the fovea:
- the map is conformal: it preserves angles locally;
- the magnification is |dw/dz| = 1/r, decreasing like the inverse eccentricity;
- rotations about the fixation point and dilations of the visual field become translations of the cortex: \log\big(\lambda e^{i\alpha} z\big) = \log z + \ln\lambda + i\alpha .
Proof. The map is holomorphic with non-vanishing derivative 1/(z + \epsilon), hence conformal, with magnification |1/(z + \epsilon)| \approx 1/r. The last identity is the functional equation of the logarithm. ∎
Property 3 is the key to the hallucinations of ch. 6: a pattern invariant under some cortical translations corresponds to a visual image invariant under rotations or dilations.
5.2 Functional architecture of V1
Hubel and Wiesel (1959, 1962) found that most V1 neurons respond to bars or edges of a preferred orientation in a small region of the visual field, their receptive field. Neurons met along a vertical electrode penetration share the same preferred orientation: they form an orientation column. Along a tangential penetration, the preferred orientation rotates smoothly.
Optical imaging (Bonhoeffer and Grinvald, 1991) revealed the whole orientation preference map. It is smooth except at isolated points, the pinwheels, around which every orientation is represented exactly once.
A hypercolumn is a patch of about 1 mm² that contains all orientations, and both eyes, for one location in the visual field. Kaschube and coauthors (2010) measured a pinwheel density close to \pi per hypercolumn area in three distantly related species.
The horizontal connections of layers 2/3 extend over several millimetres. They link preferentially columns with similar orientation preference, and in the tree shrew they run preferentially along the axis, in the visual field, of the preferred orientation (Bosking and coauthors, 1997).
Definition 5.2 — Orientation map, pinwheels, feature space An orientation map is a smooth complex field z : \Omega \subset \mathbb{R}^2 \to \mathbb{C} on the cortex. The preferred orientation and the selectivity are \vartheta(x) = \tfrac{1}{2} \arg z(x) \in [0, \pi), \qquad s(x) = |z(x)| .
Pinwheels are the zeros of z. Around a simple zero, \arg z winds by \pm 2\pi, so \vartheta winds by \pm\pi: the pinwheel has topological charge \pm\tfrac12.
The feature space of V1 is \mathbb{R}^2 \times S^1, position times orientation, with S^1 = \mathbb{R}/\pi\mathbb{Z}. Activity is then a field a(x, \vartheta, t): this is the setting of ch. 6.
5.3 From populations to neural fields
Wilson and Cowan (1972) described a local population by the fractions E and I of active excitatory and inhibitory cells. In a simplified form, their equations read \tau_E \dot E = -E + S_E(w_{EE} E - w_{EI} I + h_E), \qquad \tau_I \dot I = -I + S_I(w_{IE} E - w_{II} I + h_I).
In 1973 they extended the model to a continuum of populations along the cortex. Amari (1977) analysed the one-population version that is now standard.
Definition 5.3 — The neural field equation Let \Omega \subset \mathbb{R}^d, a connectivity kernel w(x, y), a firing-rate function S (bounded, increasing, Lipschitz) and an input h(x, t). The voltage-based neural field equation is \tau\, \partial_t u(x, t) = -u(x, t) + \int_\Omega w(x, y)\, S\big(u(y, t)\big)\, dy + h(x, t).
- u(x, t) is the mean membrane potential of the population at x.
- S converts potential into rate; the Siegert function of ch. 4.5 is one justified choice.
- w(x, y) is the density of synaptic weights from y to x, often translation-invariant: w(x, y) = w(x - y).
A Mexican hat kernel, excitatory at short range and inhibitory at longer range, summarises an excitatory and an inhibitory population when inhibition is fast.
Theorem 5.4 — Well-posedness of neural fields Assume \|w\| := \sup_x \int_\Omega |w(x, y)|\, dy < \infty, |S| \le S_{\max} with Lipschitz constant L_S, and h bounded and continuous in time with values in L^\infty(\Omega).
For every u_0 \in L^\infty(\Omega) there is a unique global solution in C([0, \infty), L^\infty(\Omega)), and \|u(t)\|_\infty \le e^{-t/\tau} \|u_0\|_\infty + \|w\|\, S_{\max} + \sup_s \|h(s)\|_\infty .
Proof. The integral operator (Wv)(x) = \int w(x, y)\, v(y)\, dy has norm at most \|w\| on L^\infty. Hence the right-hand side is globally Lipschitz on L^\infty, with constant (1 + \|w\| L_S)/\tau.
Theorem 0.1, on the Banach space L^\infty(\Omega), gives a unique maximal solution; global Lipschitz continuity rules out blow-up.
The bound follows from the variation of constants formula u(t) = e^{-t/\tau} u_0 + \frac{1}{\tau} \int_0^t e^{-(t-s)/\tau}\, \big[W S(u(s)) + h(s)\big]\, ds , since \|WS(u)\|_\infty \le \|w\| S_{\max}. ∎
The ball of radius \|w\| S_{\max} + \sup\|h\|_\infty attracts every solution, so all long-term dynamics happen in a bounded set.
5.4 Bumps: localised persistent activity
Take a one-dimensional field with a Heaviside rate function S(u) = H(u - \kappa), where \kappa is a threshold, a constant input h and an even kernel w. A bump is a stationary solution that exceeds \kappa exactly on an interval.
Theorem 5.5 — Amari’s bumps Let W(x) = \int_0^x w(y)\, dy. A stationary bump active on (0, a) exists if and only if W(a) + h = \kappa , together with the profile conditions u > \kappa inside and u < \kappa outside.
Its profile is u(x) = W(x) - W(x - a) + h. In the edge dynamics described below, the bump is stable if w(a) < 0 and unstable if w(a) > 0.
Proof. Profile. A stationary solution satisfies u = \int_0^a w(x - y)\, dy + h = W(x) - W(x - a) + h, since W is odd.
Edge conditions. u(0) = u(a) = \kappa both reduce to W(a) + h = \kappa.
Stability. Let x_1(t) < x_2(t) be the edges of a slightly perturbed bump, and c > 0 the slope |u_x| at the edges, frozen at its stationary value. Differentiating u(x_2(t), t) = \kappa gives \dot x_2 = \partial_t u(x_2, t)/c.
The field equation at the edge gives \tau \partial_t u(x_2, t) = -\kappa + W(x_2 - x_1) + h. With the symmetric equation at x_1, the width \Delta = x_2 - x_1 obeys \tau c\, \dot\Delta = 2\,\big(W(\Delta) + h - \kappa\big).
Its equilibrium \Delta = a is stable exactly when W'(a) = w(a) < 0. ∎
For a Mexican hat, W rises to a maximum then falls towards its limit W(\infty). A narrow and a wide bump coexist when W(\infty) < \kappa - h < \max W; the wide one is stable (Exercise 8). Every translate of a bump is again a bump, so a family of bumps forms a continuous attractor: the bump stores a position.
Such persistent, localised activity models spatial working memory and head-direction cells.
5.5 Turing instability and travelling fronts
Proposition 5.6 — Dispersion relation of a homogeneous state Let w be even with \int |w| < \infty, and h constant. A homogeneous state u_0 solves u_0 = \hat w(0)\, S(u_0) + h. Small perturbations v = e^{ikx + \lambda t} grow or decay according to \tau\, \lambda(k) = -1 + S'(u_0)\, \hat w(k) .
The state is linearly stable if and only if S'(u_0)\, \hat w(k) < 1 for every wavenumber k.
Proof. The linearised equation is \tau\partial_t v = -v + S'(u_0)\, w * v, and Proposition 0.4 diagonalises the convolution on Fourier modes. ∎
Two cases arise when the gain S'(u_0) increases.
- If \hat w is maximal at k = 0, as for a purely excitatory kernel, the first unstable mode is homogeneous: a fold as in Example 3.4.
- If \hat w is maximal at some k_c > 0, as for a Mexican hat, a periodic pattern of wavelength 2\pi/k_c appears when the gain crosses 1/\hat w(k_c): a Turing instability.
The one-dimensional problem is invariant under translations and reflections. On the critical modes e^{\pm i k_c x} these act as \mathrm{O}(2) on \mathbb{C}, so Proposition 3.13 applies: the patterns form a circle, all translates of one another.
Proposition 5.7 — Mexican hat as a difference of Gaussians Let w(x) = \frac{a_e}{\sqrt{\pi}\,\sigma_e}\, e^{-x^2/\sigma_e^2} - \frac{a_i}{\sqrt{\pi}\,\sigma_i}\, e^{-x^2/\sigma_i^2}, \qquad \sigma_i > \sigma_e, so that, by Proposition 0.4, \hat w(k) = a_e e^{-\sigma_e^2 k^2/4} - a_i e^{-\sigma_i^2 k^2/4}. If a_i \sigma_i^2 > a_e \sigma_e^2, then \hat w is maximal at k_c > 0, with k_c^2 = \frac{4 \ln\big(a_i \sigma_i^2 / (a_e \sigma_e^2)\big)}{\sigma_i^2 - \sigma_e^2} .
Proof. As a function of s = k^2, the derivative of \hat w is \frac{d\hat w}{ds} = -\frac{a_e\sigma_e^2}{4}\, e^{-\sigma_e^2 s/4} + \frac{a_i \sigma_i^2}{4}\, e^{-\sigma_i^2 s/4} .
It is positive at s = 0 under the stated condition, negative for large s because \sigma_i > \sigma_e, and vanishes once, at the given s = k_c^2. ∎
With a_e = a_i = 1, \sigma_e = 1 and \sigma_i = 2: k_c = 1.3596, \qquad 2\pi/k_c = 4.621, \qquad \hat w(k_c) = 0.4725 , so the homogeneous state u_0 = 0 of \tau u_t = -u + w * \tanh(\beta u) loses stability at \beta_c = 1/\hat w(k_c) = 2.117.
Proposition 5.8 — Speed of a travelling front Consider the excitatory field \tau \partial_t u = -u + \int w(x - y)\, H\big(u(y, t) - \kappa\big)\, dy, \qquad w(x) = \frac{e^{-|x|/\sigma}}{2\sigma}, \qquad 0 < \kappa < \frac12 .
There is a front u(x - ct), active behind (u \to 1 as x - ct \to -\infty) and quiescent ahead (u \to 0). It moves into the quiescent region at speed c = \frac{\sigma}{\tau}\, \frac{1 - 2\kappa}{2\kappa} .
Proof. In the moving frame \xi = x - ct, with the active region \xi < 0, a front solves -c\tau\, u'(\xi) = -u(\xi) + \Phi(\xi), \qquad \Phi(\xi) = \int_\xi^\infty w(z)\, dz .
The solution bounded as \xi \to +\infty is u(\xi) = \frac{1}{c\tau} \int_\xi^\infty e^{-(s - \xi)/(c\tau)}\, \Phi(s)\, ds .
For s > 0, \Phi(s) = \tfrac12 e^{-s/\sigma}, so the threshold condition u(0) = \kappa reads u(0) = \frac{1}{2}\, \frac{\sigma}{\sigma + c\tau} = \kappa , which gives the speed. ∎
For \kappa > 1/2, the symmetry u \mapsto 1 - u, \kappa \mapsto 1 - \kappa shows that the front retreats. Travelling waves of this kind are observed in cortical slices when inhibition is blocked pharmacologically.
Example 5.9 — A Turing pattern and its wavelength We integrate the field of Proposition 5.7 on a ring of length 20\pi, with gain \beta = 2.5 > \beta_c, from a tiny random initial condition. The convolution is computed with the FFT, using the exact \hat w.
import numpy as np
ae, se, ai, si = 1.0, 1.0, 1.0, 2.0 # Mexican hat: short excitation, wide inhibition
w_hat = lambda k: ae * np.exp(-se**2 * k**2 / 4) - ai * np.exp(-si**2 * k**2 / 4)
kc = np.sqrt(4 * np.log(ai * si**2 / (ae * se**2)) / (si**2 - se**2))
beta_c = 1 / w_hat(kc)
print(f"k_c = {kc:.4f}, wavelength = {2 * np.pi / kc:.3f}, critical gain = {beta_c:.3f}")
# tau u_t = -u + w * tanh(beta u) on a ring of length L, pseudo-spectral convolution
L, n, beta, dt = 20 * np.pi, 512, 2.5, 0.05
k = 2 * np.pi * np.fft.fftfreq(n, d=L / n)
rng = np.random.default_rng(1)
u = 1e-3 * rng.standard_normal(n)
for _ in range(int(300 / dt)):
u += dt * (-u + np.real(np.fft.ifft(w_hat(k) * np.fft.fft(np.tanh(beta * u)))))
m = np.argmax(np.abs(np.fft.fft(u))[1:n // 2]) + 1 # dominant Fourier mode
print(f"pattern: {m} periods on the ring, wavenumber {2 * np.pi * m / L:.2f}, "
f"amplitude {u.max():.3f}")On this ring the allowed wavenumbers are multiples of 0.1. The pattern that emerges has 14 periods, wavenumber 1.40, the allowed value closest to k_c = 1.36, and amplitude about 0.35.
Key takeaways — chapter 5
- V1 receives the thalamic input in layer 4; it is retinotopic, and the log-polar map turns rotations and dilations of the visual field into cortical translations.
- Orientation preference is organised in columns, hypercolumns and pinwheels (zeros of a complex field); horizontal connections link similar orientations.
- Neural field equations are well posed on bounded functions and have a bounded absorbing ball.
- Amari bumps exist when W(a) + h = κ and are stable when w(a) < 0: localised persistent activity and continuous attractors.
- The dispersion relation τλ(k) = −1 + S′(u₀) ŵ(k) predicts homogeneous or Turing instabilities; a Mexican hat selects the wavelength 2π/k_c.
- Excitatory fields carry fronts whose speed is explicit for an exponential kernel.
6. Symmetry in V1: orientation tuning, cortical patterns and hallucinations
The three applications announced by the syllabus share one mechanism: a homogeneous state of a symmetric neural field loses stability, and symmetry dictates the shape of what replaces it. On a ring of orientations, the result is a tuning curve; on the cortical sheet, a periodic pattern; seen through the retinotopic map, a geometric hallucination.
6.1 The ring model of orientation selectivity
The input that a V1 neuron receives from the LGN is only weakly tuned to orientation, yet its output is sharply tuned. Moreover the width of its tuning curve barely changes with stimulus contrast. Ben-Yishai, Bar-Or and Sompolinsky (1995) proposed that recurrent connections within a hypercolumn sharpen the tuning, and analysed the following model.
The hypercolumn is a ring of populations indexed by their preferred orientation \vartheta \in [0, \pi), with rates m(\vartheta, t): \tau\, \partial_t m(\vartheta) = -m(\vartheta) + \Big[\frac{1}{\pi}\int_0^\pi \big(J_0 + J_2 \cos 2(\vartheta - \vartheta')\big)\, m(\vartheta')\, d\vartheta' + h(\vartheta)\Big]_+ .
Here [x]_+ = \max(x, 0), and the input is h(\vartheta) = c\,\big(1 - \varepsilon + \varepsilon\cos 2(\vartheta - \vartheta_0)\big), with contrast c, anisotropy \varepsilon \in [0, \tfrac12] and stimulus orientation \vartheta_0. Uniform inhibition corresponds to J_0 < 0; J_2 > 0 favours similar orientations.
The model is equivariant under the rotations \vartheta \mapsto \vartheta + \phi and the reflection \vartheta \mapsto -\vartheta when \varepsilon = 0: the group \mathrm{O}(2) of ch. 3.6.
Proposition 6.1 — The homogeneous regime and its instability Assume J_0 < 1 and J_2 < 2. As long as all rates stay positive, the stationary state is m(\vartheta) = \frac{c\,(1 - \varepsilon)}{1 - J_0} + \frac{c\, \varepsilon}{1 - J_2/2}\, \cos 2(\vartheta - \vartheta_0).
In this linear regime, the eigenvalues of the linearisation are -1 + J_0 on the uniform mode, -1 + J_2/2 (double) on the modes \cos 2\vartheta and \sin 2\vartheta, and -1 on all other modes, in units of 1/\tau.
At J_2 = 2 the double eigenvalue crosses zero. With \varepsilon = 0, Proposition 3.13 applies: a circle of tuned states, one for each preferred orientation, bifurcates from the untuned state.
Proof. On the circle of length \pi, Proposition 0.4 gives \frac{1}{\pi}\int_0^\pi \cos 2(\vartheta - \vartheta')\, \cos 2(\vartheta' - \vartheta_0)\, d\vartheta' = \frac12 \cos 2(\vartheta - \vartheta_0), while the constant mode is multiplied by J_0 and the higher modes by 0. Matching the constant and the \cos 2 components gives the two amplitudes; the same computation on perturbations gives the eigenvalues. ∎
In this regime the cortex only amplifies the input modulation, by the factor 1/(1 - J_2/2). The output stays positive at every orientation: the tuning curve is as broad as the input.
For J_2 > 2 the linear regime is unstable, and the rates vanish on part of the ring. This marginal phase is where the model explains sharp, contrast-invariant tuning.
Proposition 6.2 — Tuning width in the marginal phase Let J_2 > 2, and consider the limit \varepsilon \to 0^+, in a range of J_0 where the activity stays bounded. The stationary state is m(\vartheta) = A\,\big[\cos 2(\vartheta - \vartheta_0) - \cos 2\vartheta_c\big]_+ , with amplitude A proportional to the contrast c. The half-width \vartheta_c solves \vartheta_c - \frac{\sin 4\vartheta_c}{4} = \frac{\pi}{J_2}, so, in this limit, it depends on J_2 only and not on the contrast. For a small \varepsilon > 0 the width moves only slightly (Example 6.3).
Proof. The bracket in the model is a combination of 1, \cos 2\vartheta and \sin 2\vartheta, because the kernel and the input contain only these modes. Hence m = [B_0 + B_2 \cos 2(\vartheta - \vartheta_0)]_+, which is the stated form with \cos 2\vartheta_c = -B_0/B_2.
Matching the \cos 2 component of the recurrent input, with \varepsilon = 0 and the origin at \vartheta_0: A = \frac{J_2}{\pi}\int_{-\vartheta_c}^{\vartheta_c} \cos 2\vartheta'\, A\,\big(\cos 2\vartheta' - \cos 2\vartheta_c\big)\, d\vartheta' = \frac{A J_2}{\pi}\Big(\vartheta_c - \frac{\sin 4\vartheta_c}{4}\Big).
Dividing by A \ne 0 gives the width equation. The constant component is linear in A and in c, so it fixes A proportional to c. ∎
At J_2 = 2 the equation gives \vartheta_c = \pi/2: the whole ring, the boundary with the homogeneous regime. For J_2 = 3 it gives \vartheta_c = 52.7°.
Example 6.3 — Sharp tuning from a weakly tuned input We integrate the ring model with 180 populations and J_0 = -2, then measure the half-width of the active zone.
import numpy as np
from scipy.optimize import brentq
n = 180
th = np.arange(n) * np.pi / n # preferred orientations in [0, pi)
def ring(J0, J2, eps, c=1.0, T=200.0, dt=0.05):
W = (J0 + J2 * np.cos(2 * (th[:, None] - th[None, :]))) / n # (1/pi) * integral -> mean
h = c * (1 - eps + eps * np.cos(2 * (th - np.pi / 2))) # weakly tuned input at 90 deg
m = np.zeros(n)
for _ in range(int(T / dt)):
m += dt * (-m + np.maximum(W @ m + h, 0.0))
return m
for J2, eps in [(1.0, 0.1), (3.0, 0.1), (3.0, 0.02)]:
m = ring(J0=-2.0, J2=J2, eps=eps)
half_width = 0.5 * np.degrees(np.pi * np.mean(m > 1e-9))
print(f"J2={J2}, eps={eps}: max/min rate = {m.max():.3f}/{m.min():.3f}, "
f"half-width of the active zone = {half_width:.1f} deg")
# marginal phase: half-width theta_c solves theta - sin(4 theta)/4 = pi/J2 (eps -> 0)
tc = brentq(lambda t: t - np.sin(4 * t) / 4 - np.pi / 3.0, 0.1, np.pi / 2)
print(f"theory for J2 = 3: theta_c = {np.degrees(tc):.1f} deg")- With J_2 = 1, the rates range from 0.1 to 0.5, exactly the values 0.3 \pm 0.2 of Proposition 6.1: every population is active.
- With J_2 = 3, the active zone has a half-width of 49.5° for \varepsilon = 0.1 and 51.5° for \varepsilon = 0.02, close to the limit of Proposition 6.2: \vartheta_c = 52.7° .
A 10 % modulation of the input produces a tuning curve whose width is set by the cortex.
6.2 Cortical pattern formation and Euclidean symmetry
Consider now a neural field on the plane, \tau\partial_t u = -u + w * S(u) + h, with an isotropic kernel w(|x - y|). It is equivariant under the Euclidean group \mathrm{E}(2) of translations, rotations and reflections.
By Proposition 5.6, the homogeneous state destabilises on all wave vectors of length k_c at once: a whole circle of critical modes. To obtain a finite-dimensional problem, one looks for patterns that are periodic on a lattice.
- On a square lattice the critical modes are e^{i k_1 \cdot x} and e^{i k_2 \cdot x} with k_1 \perp k_2, |k_j| = k_c, and their conjugates: four real dimensions.
- On a hexagonal lattice they are e^{i k_j \cdot x} for three vectors at 120° with k_1 + k_2 + k_3 = 0: six real dimensions.
Write u \approx \sum_j z_j\, e^{i k_j \cdot x} + \text{c.c.}; the symmetry group of the lattice acts on the amplitudes z_j.
Proposition 6.4 — Amplitude equations on lattices Up to cubic order, every vector field on the critical amplitudes that commutes with the lattice symmetries has the following form.
- Square lattice, for j = 1, 2 and \ell \ne j: \dot z_j = z_j\,\big(\mu + a |z_j|^2 + b |z_\ell|^2\big).
- Hexagonal lattice, for (j, \ell, m) a cyclic permutation of (1, 2, 3): \dot z_j = \mu z_j + \alpha\, \bar z_\ell \bar z_m + z_j\,\big(a |z_j|^2 + b(|z_\ell|^2 + |z_m|^2)\big).
The quadratic coefficient \alpha vanishes if the field is invariant under u \mapsto -u, and is generically non-zero otherwise.
Proof. A translation by d acts by z_j \mapsto e^{i k_j \cdot d} z_j. A monomial may appear in \dot z_j only if it is multiplied by the same phase e^{i k_j \cdot d} for every d.
On the hexagonal lattice, \bar z_\ell \bar z_m is multiplied by e^{-i(k_\ell + k_m)\cdot d} = e^{i k_j \cdot d}: it is allowed. On the square lattice, no sum of two critical vectors equals k_j, so no quadratic term survives.
At cubic order, the translations allow only the terms z_j |z_\ell|^2. Rotations of the lattice permute the indices, which forces equal coefficients, and the reflection x \mapsto -x, which acts by z_j \mapsto \bar z_j, forces them to be real. ∎
Each of the following has a one-dimensional fixed-point subspace, so Theorem 3.12 gives a branch for it: stripes (one non-zero amplitude), squares (|z_1| = |z_2|) and hexagons (|z_1| = |z_2| = |z_3|). With \alpha \ne 0, hexagons bifurcate transcritically and appear first. Stability is decided by a, b and \alpha (Golubitsky, Stewart and Schaeffer, 1988).
Formation of orientation maps The same mathematics describes how the orientation map of Definition 5.2 forms during development. The complex field z(x, t) evolves by an equation of Swift–Hohenberg type, equivariant under \mathrm{E}(2) and under the phase shift z \mapsto e^{i\alpha} z.
A band of wavelengths destabilises, and the map that emerges has a typical column spacing and pinwheels. In such models, Wolf and Geisel (1998) predicted that pinwheels can annihilate in pairs during development. Kaschube and coauthors (2010) used models of this class to interpret the pinwheel density measured in V1.
6.3 Visual hallucinations
Klüver classified the geometric hallucinations reported under mescaline into four form constants: gratings and lattices (honeycombs, chessboards); cobwebs; tunnels and funnels; spirals. Similar images are reported with flickering light, on falling asleep and in migraine auras.
Ermentrout and Cowan (1979) proposed that a drug raises the excitability of V1 until its homogeneous state undergoes the Turing instability of ch. 5. The cortex then shows stripes, squares or hexagons, and the subject perceives their preimage under the retinotopic map.
Proposition 6.5 — Preimages of cortical stripes under the log-polar map In the cortical coordinates (x_1, x_2) = (\ln r, \phi) of Proposition 5.1, a stripe pattern \cos\big(k_c(x_1 \cos\alpha + x_2 \sin\alpha)\big) is constant along the curves x_1 \cos\alpha + x_2\sin\alpha = \text{const}. In the visual field these are:
- for \alpha = 0, the circles r = \text{const}: a tunnel of concentric rings;
- for \alpha = \pi/2, the rays \phi = \text{const}: a funnel;
- otherwise, the logarithmic spirals r = C\, e^{-\phi \tan\alpha}.
Proof. Substitute x_1 = \ln r and x_2 = \phi: the level curves become \cos\alpha \ln r + \sin\alpha\, \phi = c_0.
Such a curve is a circle r = \text{const} when \sin\alpha = 0, and a ray \phi = \text{const} when \cos\alpha = 0.
Otherwise it gives \ln r = (c_0 - \phi\sin\alpha)/\cos\alpha, which is a logarithmic spiral. ∎
Squares and hexagons in the cortex map to checkerboard-like and honeycomb-like patterns in log-polar geometry, which resemble the lattices of the first form constant.
Tunnels, funnels and spirals are thus three faces of one cortical object, stripes in three directions. The model explains why these shapes recur across subjects and causes: they are images of the generic planforms of a Euclidean-invariant field.
Bressloff, Cowan, Golubitsky, Thomas and Wiener (2001) added orientation. Activity lives on the feature space \mathbb{R}^2 \times S^1 of Definition 5.2. The lateral connections link similar orientations along their common axis, so the Euclidean group acts by the shift-twist action (y, \vartheta) \mapsto (R_\phi\, y + d,\ \vartheta + \phi), \qquad (y, \vartheta) \mapsto (\kappa y,\ -\vartheta), where R_\phi is a rotation and \kappa the reflection (y_1, y_2) \mapsto (y_1, -y_2).
The bifurcating planforms are then patterns of oriented contours. Their preimages reproduce the cobwebs and the contoured lattices that a theory without orientation cannot produce.
Key takeaways — chapter 6
- The ring model is O(2)-equivariant; its untuned state loses stability when J₂ = 2, through a pitchfork of revolution.
- In the marginal phase, the tuning half-width solves ϑ_c − sin(4ϑ_c)/4 = π/J₂: it is set by the recurrent connections and does not depend on contrast.
- On a lattice, Euclidean symmetry restricts the amplitude equations; stripes, squares and hexagons bifurcate, hexagons first when u ↦ −u is not a symmetry.
- Through the log-polar map, cortical stripes become tunnels, funnels and spirals, the form constants of geometric hallucinations.
- With orientation, the shift-twist action produces contoured planforms, which explain cobwebs and lattices.
7. Mean-field theory I: random networks of rate neurons
Cortical connectivity is sparse and heterogeneous, and the simplest model of a large network draws its synaptic weights at random. This chapter studies such random networks of rate neurons. Their quiescent state is governed by the circular law of random matrices; beyond it, dynamic mean-field theory, borrowed from the physics of spin glasses, predicts a transition to chaos; Ben Arous and Guionnet made that theory rigorous.
7.1 Random rate networks
Definition 7.1 — Random rate network Let N units with activations x_i(t) evolve by \dot x_i = -x_i + \sum_{j=1}^N J_{ij}\, \phi(x_j), \qquad J_{ij} \sim \mathcal{N}\Big(0, \frac{g^2}{N}\Big) \text{ i.i.d.}, with \phi = \tanh, and time in units of the membrane time constant. The couplings are not symmetric: J_{ij} and J_{ji} are independent. The parameter g measures the strength of the recurrent connections.
Sompolinsky, Crisanti and Sommers (1988) introduced this model. It is the neural counterpart of the Langevin dynamics of soft spins with random couplings studied by Sompolinsky and Zippelius (1982) for spin glasses; there, the couplings are symmetric.
7.2 The circular law and the quiescent state
The origin x = 0 is always an equilibrium, with Jacobian -I + J since \phi'(0) = 1. Its stability is a question about the spectrum of a large non-symmetric random matrix.
Theorem 7.2 — Circular law Let G be an N \times N matrix with i.i.d. entries of mean 0 and variance 1/N.
As N \to \infty, the empirical distribution of the eigenvalues of G converges almost surely to the uniform distribution on the unit disc of the complex plane.
The result goes back to Girko and Bai; Tao, Vu and Krishnapur (2010) proved it assuming only a finite variance. Under moment conditions the spectral radius also converges to 1 (Geman, 1986).
Proposition 7.3 — Stability of the quiescent state Let J = gG as in Definition 7.1.
- As N \to \infty, the eigenvalues of the Jacobian -I + J fill the disc of centre -1 and radius g. Hence the origin is linearly stable for g < 1 and unstable for g > 1, with probability tending to one.
- If the operator norm satisfies \|J\| < 1, the origin is globally exponentially stable.
Proof. (1) For g > 1, Theorem 7.2 puts a positive fraction of the eigenvalues of -I + J in the right half-plane. For g < 1, the circular law alone does not exclude a few outliers, but the spectral radius of J converges to g (Geman, 1986, for Gaussian entries), so every eigenvalue has negative real part. Conclude with Proposition 0.3.
(2) Let V = \frac12 |x|^2. Since |\tanh u| \le |u|, \dot V = -|x|^2 + x \cdot J \phi(x) \le -(1 - \|J\|)\, |x|^2 , so |x(t)| \le e^{-(1 - \|J\|)t}|x(0)|. ∎
The operator norm of gG tends to 2g, so part 2 covers g < 1/2 only; for 1/2 \le g < 1 simulations still show convergence to 0 (Example 7.5).
7.3 Dynamic mean-field theory
For g > 1 the network does not settle: each unit fluctuates irregularly forever. Dynamic mean-field theory (DMFT) describes these fluctuations exactly in the limit N \to \infty.
The heuristic. The input of unit i, \eta_i(t) = \sum_j J_{ij}\phi(x_j(t)), is a sum of N weakly dependent terms with random signs. One treats it as a centred Gaussian process, independent across units and of J_{ij}.
Its covariance follows from \mathbb{E}[J_{ij}^2] = g^2/N: C_\eta(t, s) = \sum_j \mathbb{E}[J_{ij}^2]\; \mathbb{E}\big[\phi(x_j(t))\,\phi(x_j(s))\big] = g^2\, C_\phi(t, s).
Each unit then obeys the self-consistent single-unit problem \dot x = -x + \eta, \qquad \eta \sim \mathcal{GP}\big(0,\ g^2\, C_\phi\big), \qquad C_\phi(t, s) = \mathbb{E}\big[\phi(x(t))\,\phi(x(s))\big].
The asymmetry of J is what makes the input independent of the unit’s own past. With symmetric couplings, a reaction term appears: this is the harder spin-glass case.
In a stationary regime, let \Delta(\tau) = \mathbb{E}[x(t)\, x(t + \tau)] and \Delta_0 = \Delta(0). Applying (1 + \partial_t)(1 + \partial_s) to the covariance of x gives \Delta''(\tau) = \Delta(\tau) - g^2\, C_\phi\big(\Delta(\tau); \Delta_0\big), where C_\phi(\Delta; \Delta_0) is the average of \phi(X_1)\phi(X_2) over a centred Gaussian pair with variances \Delta_0 and covariance \Delta.
Proposition 7.4 — Mean-field equations of the random network Let \Phi(x) = \ln\cosh x, so that \Phi' = \tanh.
- The equation for \Delta is Newton’s equation \Delta'' = -\partial V/\partial\Delta for a particle in the potential V(\Delta; \Delta_0) = -\frac{\Delta^2}{2} + g^2\, \mathbb{E}\big[\Phi(X_1)\, \Phi(X_2)\big].
- Static solutions. A time-independent solution \Delta \equiv q solves q = g^2\, \mathbb{E}[\tanh^2(\sqrt{q} Z)]. A solution q > 0 exists if and only if g > 1.
- Chaotic solution. A solution with \Delta(\tau) \to 0 as \tau \to \infty requires \frac{\Delta_0^2}{2} = g^2\, \mathrm{Var}\big[\Phi(\sqrt{\Delta_0}\, Z)\big], and this equation has a positive root for every g > 1.
Proof. (1) By Price’s theorem (Proposition 0.5), \partial_\Delta\, \mathbb{E}[\Phi(X_1)\Phi(X_2)] = \mathbb{E}[\tanh(X_1)\tanh(X_2)] = C_\phi . Hence -\partial_\Delta V = \Delta - g^2 C_\phi.
(2) Let F(q) = g^2\,\mathbb{E}[\tanh^2(\sqrt q Z)]. Since \tanh^2 u < u^2 for u \ne 0, we get F(q) < g^2 q.
Hence, if g \le 1, then F(q) < q for all q > 0, and no positive solution exists.
If g > 1, then F(q)/q \to g^2 > 1 as q \to 0, while F stays bounded by g^2. So the difference F(q) - q changes sign, and it vanishes somewhere on the positive half-line.
(3) Energy is conserved: \frac12 \Delta'^2 + V(\Delta) = V(\Delta_0), because \Delta'(0) = 0 for an even function. If \Delta and \Delta' tend to 0, then V(0; \Delta_0) = V(\Delta_0; \Delta_0).
For \Delta = 0 the pair is independent and \mathbb{E}[\Phi\Phi] = (\mathbb{E}\Phi)^2; for \Delta = \Delta_0 it is \mathbb{E}[\Phi^2]. This gives the equation.
For small \Delta_0, \Phi(x) \approx x^2/2 and the right-hand side is close to g^2\Delta_0^2/2, larger than the left-hand side. For large \Delta_0, \Phi(x) \approx |x| - \ln 2, so the variance grows only linearly. The intermediate value theorem concludes. ∎
The static solution of part 2 exists but is unstable for g > 1. The network instead follows the solution of part 3, whose autocorrelation decays to zero: the activity is chaotic, and Sompolinsky, Crisanti and Sommers showed that its largest Lyapunov exponent is positive.
Example 7.5 — Simulation against dynamic mean-field theory We simulate a network of 400 units and compare the population average of x_i^2 with the root \Delta_0 of Proposition 7.4 (part 3) and with the static q (part 2).
import numpy as np
from scipy.optimize import brentq
# --- simulation of dx/dt = -x + J tanh(x), J_ij ~ N(0, g^2/N) ---
rng = np.random.default_rng(0)
N, dt, T, T0 = 400, 0.1, 200.0, 100.0
G = rng.standard_normal((N, N)) / np.sqrt(N)
print(f"spectral radius of G: {np.abs(np.linalg.eigvals(G)).max():.3f} (circular law: 1)")
# --- mean-field predictions, Gauss-Hermite quadrature for E over Z ~ N(0,1) ---
z, wz = np.polynomial.hermite_e.hermegauss(80); wz = wz / wz.sum()
E = lambda f: np.sum(wz * f(z))
def static_q(g): # fixed point: q = g^2 E tanh^2(sqrt(q) Z)
return brentq(lambda q: g**2 * E(lambda z: np.tanh(np.sqrt(q) * z)**2) - q, 1e-6, 50)
def dmft_delta0(g): # chaos: Delta0^2 / 2 = g^2 Var[ln cosh(sqrt(Delta0) Z)]
Phi = lambda D: np.log(np.cosh(np.sqrt(D) * z))
return brentq(lambda D: g**2 * (np.sum(wz * Phi(D)**2) - np.sum(wz * Phi(D))**2) - D**2 / 2,
1e-3, 50)
for g in [0.5, 0.9, 1.5, 2.0]:
J, x, q = g * G, rng.standard_normal(N), []
for k in range(int(T / dt)):
x = x + dt * (-x + J @ np.tanh(x))
if k * dt > T0:
q.append(np.mean(x**2))
line = f"g = {g}: simulated mean of x_i^2 = {np.mean(q):.3f}"
if g > 1:
line += f", DMFT Delta0 = {dmft_delta0(g):.3f}, static q = {static_q(g):.3f}"
print(line)- For g = 0.5 and g = 0.9, the activity decays to 0.
- For g = 1.5, the simulation gives 0.717, DMFT 0.748 and the static solution 0.793.
- For g = 2, the simulation gives 1.945, DMFT 1.925 and the static solution 2.121.
Dynamic mean-field theory, not the static fixed point, describes the network, with finite-size deviations of a few percent at N = 400.
7.4 The rigorous theory: Ben Arous and Guionnet
The derivation of ch. 7.3 assumed that the input of a unit is Gaussian and independent of the couplings. Ben Arous and Guionnet proved the corresponding statement for the Langevin dynamics of soft spins introduced by Sompolinsky and Zippelius, with independent (asymmetric) couplings.
Theorem 7.6 — Ben Arous and Guionnet (1995) Consider, on [0, T], dx_i = -U'(x_i)\, dt + \frac{\beta}{\sqrt N}\sum_{j} J_{ij}\, x_j\, dt + dB_i, \qquad i = 1, \dots, N, with a confining potential U, i.i.d. standard Gaussian couplings J_{ij}, independent Brownian motions and i.i.d. initial conditions. Let \hat\mu_N = \frac1N\sum_i \delta_{x_i(\cdot)} be the empirical measure of the trajectories.
- Under the annealed law, averaged over the couplings, \hat\mu_N satisfies a large deviation principle on the space of probability measures on paths, with a good rate function H.
- For \beta small enough (high temperature), H vanishes at a unique law Q, which is not Markovian, and \hat\mu_N converges to Q.
- Under Q, a path solves dx = -U'(x)\, dt + \beta\,\eta(t)\, dt + dB, where \eta is a centred Gaussian process, independent of B and of x(0), with covariance \mathbb{E}_Q[x(t)\, x(s)].
Proof sketch: by Girsanov’s theorem, the law of the network has a density with respect to N independent uncoupled diffusions, the exponential of a quadratic form in the Gaussian couplings. Integrating out the couplings gives a function of \hat\mu_N alone, \exp(N\,\Gamma(\hat\mu_N)).
Sanov’s theorem for the uncoupled system and Varadhan’s lemma then give the principle, with H = I(\cdot \mid P) - \Gamma, where I(\cdot \mid P) is the relative entropy with respect to the uncoupled law P. At high temperature, the minimiser is unique and solves the self-consistent equation of part 3.
Part 3 is the dynamic mean-field equation of ch. 7.3, with a linear interaction instead of \phi. For rate networks, Moynot and Samuelides (2002) proved the analogous result in discrete time, and Faugeras, Touboul and Cessac (2009) derived the mean-field equations of multi-population networks with random weights and noisy inputs.
The symmetric case, where the reaction term appears, is harder; Ben Arous and Guionnet (1997) treated it. Symmetric spin-glass dynamics show aging, studied in physics by Cugliandolo and Kurchan (1993) and rigorously for spherical spin glasses by Ben Arous, Dembo and Guionnet (2001).
Key takeaways — chapter 7
- In a random network with couplings of variance g²/N, the Jacobian at rest fills a disc of radius g centred at −1 (circular law): rest is stable exactly for g < 1.
- Dynamic mean-field theory replaces the recurrent input by a Gaussian process whose covariance is computed self-consistently; asymmetry removes the reaction term.
- The autocorrelation obeys Newton’s equation in a potential built with Price’s theorem; for g > 1 a decaying solution exists: chaos.
- Simulations agree with the DMFT variance, not with the static fixed point.
- Ben Arous and Guionnet proved a large deviation principle for the annealed empirical measure and its convergence to the non-Markovian mean-field law at high temperature.
8. Mean-field theory II: interacting particles, spiking networks and neural masses
Ch. 7 dealt with random couplings. Here every neuron interacts with every other through an average, as in a population of statistically identical cells. The mathematics is that of interacting particles: as the number of neurons grows, each one behaves like an independent copy of a single process driven by its own law. This chapter proves this propagation of chaos, then applies it to networks of spiking neurons and to the neural masses used to model EEG signals.
8.1 McKean–Vlasov processes
Consider N neurons with states X_i \in \mathbb{R} (one dimension for simplicity) and dX_i = \Big[f(X_i) + \frac1N \sum_{j=1}^N K(X_i, X_j)\Big]\, dt + \sigma\, dB_i, \qquad X_i(0) \sim \mu_0 \text{ i.i.d.}
The interaction depends on the other neurons only through their empirical measure: the particles are exchangeable.
Definition 8.1 — McKean–Vlasov process A McKean–Vlasov process is a solution of d\bar X_t = \Big[f(\bar X_t) + \int K(\bar X_t, y)\, \mu_t(dy)\Big]\, dt + \sigma\, dB_t, \qquad \mu_t = \mathrm{Law}(\bar X_t), \quad \bar X_0 \sim \mu_0 .
The drift depends on the law of the process itself: the equation is nonlinear in McKean’s sense (McKean, 1966). By Proposition 4.7, the density of \mu_t solves the McKean–Vlasov equation \partial_t p = -\partial_x\Big[\Big(f(x) + \int K(x, y)\, p(t, y)\, dy\Big)\, p\Big] + \frac{\sigma^2}{2}\, \partial_{xx} p .
Theorem 8.2 — Well-posedness (Sznitman, 1991) Assume that f and K are globally Lipschitz, K is bounded and \mu_0 has a finite second moment. Then the McKean–Vlasov equation has a unique strong solution on [0, T].
Proof. For a probability m on the path space C([0, T]), let \Phi(m) be the law of the solution of the ordinary SDE dX = \Big[f(X_t) + \int K(X_t, y_t)\, m(dy)\Big]\, dt + \sigma\, dB_t , which exists by Theorem 4.4. Solutions of Definition 8.1 are the fixed points of \Phi.
On path laws, use the distance defined by an infimum over couplings (X, Y) of m_1 and m_2: D_t(m_1, m_2) = \inf\, \mathbb{E}\Big[\sup_{s \le t} |X_s - Y_s| \wedge 1\Big].
Drive the two SDEs by the same Brownian motion. The Lipschitz bounds and Grönwall’s lemma give D_t\big(\Phi(m_1), \Phi(m_2)\big) \le C \int_0^t D_s(m_1, m_2)\, ds .
Iterating, D_T(\Phi^k(m_1), \Phi^k(m_2)) \le (CT)^k/k!: the iterates form a Cauchy sequence in a complete space, and the fixed point is unique. ∎
8.2 Propagation of chaos
Definition 8.3 — Chaotic sequences (Kac) A sequence of exchangeable laws P_N on E^N is \mu-chaotic if, for every fixed k, the law of the first k coordinates converges weakly to \mu^{\otimes k}.
Equivalently (Sznitman), the empirical measure \frac1N\sum_i \delta_{X_i} converges in law to the deterministic measure \mu.
The initial conditions are i.i.d., hence chaotic. Propagation of chaos means that this asymptotic independence survives the interaction at every later time.
Theorem 8.4 — Propagation of chaos by synchronous coupling Let f be L-Lipschitz and K be bounded by M, with |K(x, y) - K(x', y')| \le L\,\big(|x - x'| + |y - y'|\big).
For each i, let \bar X_i be the McKean–Vlasov process driven by the same Brownian motion B_i and started from the same X_i(0). Then, for every i, \mathbb{E}\Big[\sup_{t \le T} |X_i(t) - \bar X_i(t)|\Big] \le \frac{2\sqrt{2}\, M T\, e^{3LT}}{\sqrt N} .
In particular the particle system is \mu_t-chaotic at every time, at rate 1/\sqrt N.
Proof. The noise cancels. Because the coupling is synchronous, X_i(t) - \bar X_i(t) = \int_0^t \big[f(X_i) - f(\bar X_i)\big]\, ds + \int_0^t \Big[\frac1N\sum_j K(X_i, X_j) - \int K(\bar X_i, y)\, \mu_s(dy)\Big]\, ds .
Split the interaction into a Lipschitz part and a fluctuation part: A = \frac1N\sum_j \big[K(X_i, X_j) - K(\bar X_i, \bar X_j)\big], \qquad R_i = \frac1N\sum_j \Big[K(\bar X_i, \bar X_j) - \int K(\bar X_i, y)\,\mu_s(dy)\Big].
Lipschitz part. Writing e_j = |X_j - \bar X_j|, we have |A| \le L e_i + \frac{L}{N}\sum_j e_j.
Fluctuation part. The processes \bar X_j are i.i.d. with law \mu_s, because their drift involves only the deterministic \mu_s.
Conditionally on \bar X_i, the terms j \ne i of R_i are i.i.d., centred and bounded by 2M. The term j = i is bounded by 2M/N. Hence \mathbb{E}|R_i|^2 \le 2\,\frac{(N-1)\, 4M^2}{N^2} + 2\,\frac{4M^2}{N^2} \le \frac{8M^2}{N} .
Grönwall. Let u(t) = \mathbb{E}\sup_{s \le t} e_i(s), the same for all i by exchangeability. Collecting the bounds, u(t) \le 3L \int_0^t u(s)\, ds + \frac{2\sqrt2\, M\, t}{\sqrt N}, and Lemma 0.2 gives the claim.
Chaos. For fixed k, the vector (X_1, \dots, X_k) is within O(k/\sqrt N) in L^1 of the i.i.d. vector (\bar X_1, \dots, \bar X_k), whose law is \mu^{\otimes k}. ∎
The proof is the coupling method developed by Tanaka (1978), for the Boltzmann equation of Maxwellian molecules, and by Sznitman (1991). It needs the interaction to be Lipschitz; the spiking models of §8.3 do not satisfy this, which makes them harder.
Example 8.5 — Fluctuations of the mean field decay like 1/√N We simulate the particle system with f(x) = -x + 0.2, K(x, y) = 0.8\tanh y and \sigma = 0.5, in 100 independent replicas. We measure the spread, across replicas, of the empirical mean field \frac1N\sum_j \tanh X_j(T).
import numpy as np
# dX_i = (-X_i + I + (J/N) sum_j tanh(X_j)) dt + sigma dB_i, independent N(0,1) initial data
J, I, sigma, dt, T, R = 0.8, 0.2, 0.5, 0.02, 4.0, 100 # R independent replicas
rng = np.random.default_rng(0)
for N in [50, 200, 800, 3200]:
X = rng.standard_normal((R, N))
for _ in range(int(T / dt)):
m = np.tanh(X).mean(axis=1, keepdims=True) # empirical mean field
X += (-X + I + J * m) * dt + sigma * np.sqrt(dt) * rng.standard_normal((R, N))
mN = np.tanh(X).mean(axis=1) # one value per replica
print(f"N = {N:5d}: mean field {mN.mean():.4f}, std over replicas {mN.std():.4f}, "
f"std * sqrt(N) = {mN.std() * np.sqrt(N):.3f}")The mean field is about 0.39 for every N. Its standard deviation across replicas goes from 0.072 at N = 50 to 0.008 at N = 3200, and its product with \sqrt N stays between 0.43 and 0.51: \text{std} \approx \frac{0.47}{\sqrt N} .
8.3 Mean-field limits of spiking networks
Three families of spiking models have been studied.
- Smooth conductance-based neurons. Baladron, Fasoli, Faugeras and Touboul (2012) proved mean-field limits and propagation of chaos for noisy networks of FitzHugh–Nagumo and Hodgkin–Huxley neurons, whose coefficients are only locally Lipschitz.
- Noisy integrate-and-fire neurons with mean-field coupling. The density solves the Fokker–Planck equation of ch. 4.5, with the firing rate \nu(t), the flux at threshold, added to the drift. For strong excitation, solutions can blow up in finite time (Cáceres, Carrillo and Perthame, 2011), a signature of synchronisation. For weak coupling, Delarue, Inglis, Rubenthaler and Tanré (2015) proved global solvability and the particle approximation.
- Neurons with stochastic spiking (escape noise). This is the model below.
Each neuron has a potential that follows \dot X_i = b(X_i) between spikes and spikes at the random rate f(X_i(t)). At a spike, its potential is reset to 0 and the potential of every other neuron jumps by J/N.
This model was studied by De Masi, Galves, Löcherbach and Presutti (2015), by Fournier and Löcherbach (2016), and by Cormier, Tanré and Veltz (2020, 2021). Its mean-field limit is the McKean–Vlasov equation with jumps dX_t = b(X_t)\, dt + J\, \mathbb{E}\big[f(X_t)\big]\, dt - X_{t^-} \int_0^\infty \mathbb{1}_{\{u \le f(X_{t^-})\}}\, \mathcal{N}(dt, du), where \mathcal{N} is a Poisson random measure of intensity dt\, du; the last term implements spikes at rate f(X) and the reset to 0.
Proposition 8.6 — Stationary states of the spiking mean-field model Let b(x) = I - x with I > 0, J \ge 0 and f \ge 0 continuous. For \alpha \ge 0, let x_\alpha = I + J\alpha and H_\alpha(x) = \exp\Big(-\int_0^x \frac{f(y)}{x_\alpha - y}\, dy\Big), \qquad 0 \le x < x_\alpha .
The limit equation has a stationary solution with firing rate \alpha if and only if \alpha \int_0^{x_\alpha} \frac{H_\alpha(x)}{x_\alpha - x}\, dx = 1 .
Its invariant density is then \nu_\alpha(x) = \alpha\, H_\alpha(x)/(x_\alpha - x) on [0, x_\alpha).
Proof. In a stationary state the mean field \mathbb{E}f(X_t) = \alpha is constant, so each neuron is an independent renewal process. After a reset it follows \dot x = x_\alpha - x from 0 towards x_\alpha, and it is killed (spikes) at rate f(x).
The time to reach level x is \int_0^x dy/(x_\alpha - y), so the probability of reaching x without spiking is H_\alpha(x). The mean interspike interval is \mathbb{E}[\text{ISI}] = \int_0^\infty \mathbb{P}(\text{ISI} > t)\, dt = \int_0^{x_\alpha} \frac{H_\alpha(x)}{x_\alpha - x}\, dx .
By the renewal theorem the firing rate is 1/\mathbb{E}[\text{ISI}], and consistency requires it to equal \alpha. The time spent near x per cycle, divided by the mean cycle length, gives \nu_\alpha. ∎
The scalar equation may have several roots: several stationary states. Cormier, Tanré and Veltz showed that for small J the invariant measure is unique and attracts the solutions, under assumptions on the initial law (2020), and that at larger J a Hopf bifurcation of the McKean–Vlasov equation can create periodic solutions (2021). An infinite population can then oscillate, while every finite network has a single invariant law.
8.4 Neural masses
A neural mass describes the average activity of a cortical column with a handful of ordinary differential equations. Such models are fitted to EEG and MEG recordings.
The model of Jansen and Rit (1995) couples three populations: pyramidal cells, excitatory interneurons and inhibitory interneurons. Each synapse is a second-order linear filter, \ddot y = A a\, S(\cdot) - 2a\dot y - a^2 y, whose impulse response is A a\, t\, e^{-at}. A sigmoid converts the mean potential into a rate. The resulting six equations produce rhythms in the alpha band.
Wilson–Cowan and Jansen–Rit equations are phenomenological: they are not derived from a network of spiking neurons. For one class of networks an exact derivation exists.
Theorem 8.7 — Exact firing-rate equations (Montbrió, Pazó and Roxin, 2015) Consider infinitely many quadratic integrate-and-fire neurons (Proposition 1.6), \tau \dot V_j = V_j^2 + \eta_j + J\tau\, r(t) + I(t), with resets from +\infty to -\infty and population firing rate r(t). The excitabilities \eta_j are i.i.d. with the Lorentzian (Cauchy) density of centre \bar\eta and half-width \Delta.
Assume that, for each \eta, the potentials are Lorentzian-distributed at time 0.
Then the firing rate r and the mean potential v obey exactly \tau \dot r = \frac{\Delta}{\pi\tau} + 2 r v, \qquad \tau \dot v = v^2 + \bar\eta + J\tau r + I(t) - (\pi \tau r)^2 .
Proof sketch.
- For each \eta, the density \rho(V \mid \eta, t) obeys the continuity equation \partial_t \rho + \partial_V\Big[\frac{V^2 + \eta + J\tau r + I}{\tau}\, \rho\Big] = 0 .
- A Lorentzian of centre y(\eta, t) and half-width x(\eta, t) stays Lorentzian. Substituting it shows that w = x + iy solves \tau \partial_t w = i\,(\eta + J\tau r + I - w^2).
- The firing rate is the flux at V = +\infty, where \rho\, \dot V \to x/(\pi\tau). So the rate of the neurons with excitability \eta is x(\eta, t)/(\pi\tau).
- The function w(\cdot, t) extends analytically to the lower half-plane in \eta. Averaging over the Cauchy density by the residue theorem evaluates it at the pole \eta = \bar\eta - i\Delta.
- With W = \pi\tau r + i v, the real and imaginary parts of \tau\dot W = \Delta + i(\bar\eta + J\tau r + I) - iW^2 give the two equations.
The Lorentzian assumption on the initial data can be relaxed: Ott and Antonsen (2008) showed, for oscillator networks, that such a manifold of states attracts the dynamics. Unlike Wilson–Cowan models, these equations contain the mean potential v, and they produce damped oscillations caused by transient spike synchrony.
Example 8.8 — Bistability and persistent activity in the exact neural mass With \tau = 1, \Delta = 1 and J = 15, the fixed points solve a quartic equation in r: substitute v = -\Delta/(2\pi r), from the first equation, into the second.
import numpy as np
from scipy.integrate import solve_ivp
Delta, J = 1.0, 15.0 # Lorentzian width, coupling (tau = 1)
def fixed_points(eta):
# r > 0 solves -pi^2 r^4 + J r^3 + eta r^2 + Delta^2/(4 pi^2) = 0, then v = -Delta/(2 pi r)
roots = np.roots([-np.pi**2, J, eta, 0.0, Delta**2 / (4 * np.pi**2)])
out = []
for r in sorted(roots[(abs(roots.imag) < 1e-9) & (roots.real > 0)].real):
v = -Delta / (2 * np.pi * r)
A = np.array([[2 * v, 2 * r], [J - 2 * np.pi**2 * r, 2 * v]])
out.append((r, v, np.linalg.eigvals(A)))
return out
for eta in [-6.0, -5.0, -4.0]:
for r, v, ev in fixed_points(eta):
print(f"eta = {eta}: r* = {r:.4f}, v* = {v:+.4f}, eigenvalues {np.round(ev, 3)}")
# response of the firing-rate equations to a step of input current
def mpr(t, y, eta, I):
r, v = y
return [Delta / np.pi + 2 * r * v, v**2 + eta + J * r + I(t) - (np.pi * r)**2]
sol = solve_ivp(mpr, (0, 40), [0.1, -2.0], args=(-5.0, lambda t: 3.0 if 10 < t < 30 else 0.0),
max_step=0.01)
r = sol.y[0]
print(f"rate before the step {r[sol.t < 10][-1]:.3f}, peak {r[(sol.t > 10) & (sol.t < 30)].max():.3f}, "
f"plateau {r[sol.t < 30][-1]:.3f}, after the step {r[-1]:.3f}")- At \bar\eta = -5 there are three fixed points: a stable node at r = 0.081, a saddle at r = 0.473, and a stable focus at r = 1.031, with eigenvalues -0.31 \pm 3.32\, i.
- A current step I = 3 between t = 10 and t = 30 raises the rate from 0.081 to a peak of 2.88, then to a plateau of 1.36.
- After the step the rate stays at 1.04: the network remembers the stimulus.
The focus explains the damped oscillation that follows each change of input.
Key takeaways — chapter 8
- In a McKean–Vlasov process the drift depends on the law of the process; its law solves a nonlinear Fokker–Planck equation, well posed under Lipschitz assumptions.
- Synchronous coupling proves propagation of chaos: each neuron is within 1/√N of an independent copy of the limit process; the fluctuation term is controlled by independence.
- Spiking networks need more work: Lipschitz arguments fail at resets and blow-up can occur; for stochastic spiking, stationary rates solve α · E_α[ISI] = 1, and mean-field Hopf bifurcations create collective oscillations.
- Neural masses describe columns with a few ODEs; for quadratic integrate-and-fire neurons with Lorentzian heterogeneity, the exact equations of Montbrió, Pazó and Roxin show bistability and damped oscillations.
9. Research directions and open problems
This chapter is for self-study. It points to active questions that extend each part of the course, with a few entry papers. It is a map, not a survey: the selection follows the themes of the syllabus.
9.1 Long-time behaviour of mean-field spiking models
Propagation of chaos (Theorem 8.4) holds on a fixed time interval [0, T], with constants that grow with T. What happens as t \to \infty is a different question, because the limit equation is nonlinear and may have several invariant laws or periodic solutions.
For the model with stochastic spiking of ch. 8.3, Cormier, Tanré and Veltz proved that, for small coupling J, the invariant probability is unique and attracts the solutions started from suitable initial laws (2020). They also gave conditions under which a Hopf bifurcation of the McKean–Vlasov equation produces a periodic solution (2021).
Open questions include:
- the global picture for large J;
- the relation between these mean-field cycles and the metastable oscillations of finite networks, whose law is invariant but whose trajectories oscillate for very long times;
- finite-size corrections, for which mesoscopic population equations have been proposed (Schwalger, Deger and Gerstner, 2017).
Hawkes processes offer another route from spikes to fields. Chevallier, Duarte, Löcherbach and Ost (2019) derived neural field equations as mean-field limits of spatially extended nonlinear Hawkes processes, which connects ch. 5 and ch. 8.
9.2 Blow-up and synchronisation in integrate-and-fire populations
The nonlinear Fokker–Planck equation of excitatory integrate-and-fire populations can blow up in finite time (Cáceres, Carrillo and Perthame, 2011). The blow-up corresponds to a macroscopic fraction of neurons firing at once.
Delarue, Inglis, Rubenthaler and Tanré (2015) proved that solutions exist globally when the coupling is weak. Defining and characterising the continuation of solutions after a synchronisation event, and its particle approximation, is an active topic in probability and partial differential equations.
9.3 Numerical bifurcation analysis in large dimension
Discretised neural fields and Fokker–Planck equations have 10^4 to 10^6 unknowns. Continuing their equilibria and periodic orbits requires matrix-free Newton–Krylov solvers and eigenvalue methods that exploit the structure of the problem.
Veltz and Faugeras (2010) analysed the stationary solutions of neural field equations, locally and globally. The Julia package BifurcationKit.jl, developed by Veltz, implements numerical continuation for such large systems.
Computing bifurcation diagrams of McKean–Vlasov equations, where the state is a probability density, remains a demanding test case.
9.4 Structured random networks
The i.i.d. Gaussian couplings of ch. 7 are a null model. Real circuits have cell types with signed outputs (Dale’s law), excitation balanced by inhibition, and low-dimensional structure.
- Van Vreeswijk and Sompolinsky (1996) showed that balanced excitation and inhibition produce chaotic, irregular firing.
- Kadmon and Sompolinsky (2015) extended dynamic mean-field theory to networks with several cell types.
- Mastrogiuseppe and Ostojic (2018) related low-rank connectivity to low-dimensional dynamics and computations.
- Helias and Dahmen (2020) give a field-theoretic account of these methods.
A rigorous theory of dynamic mean-field equations for nonlinear networks with symmetric, sparse or structured couplings is largely open. Trained recurrent networks, such as those obtained with the FORCE method of Sussillo and Abbott (2009), raise the same questions.
9.5 Mean-field limits of learning
The tools of ch. 8 also describe the training of wide neural networks. Mei, Montanari and Nguyen (2018) and Chizat and Bach (2018) showed that gradient descent on a two-layer network with many neurons behaves like a McKean–Vlasov dynamics on the distribution of the neurons’ parameters, a Wasserstein gradient flow. Propagation of chaos then quantifies the gap between finite and infinite width.
This is the meeting point of the course with Theoretical Foundations of Deep Learning and Optimal Transport for Machine Learning.
9.6 Cortical geometry and perception
The theory of ch. 6 predicts the form constants of hallucinations, but not which one a given subject sees, nor how patterns move. Rule, Stoffregen and Ermentrout (2011) modelled the geometric patterns induced by flickering light, where the stimulus frequency selects the pattern.
The universality of the pinwheel density (Kaschube and coauthors, 2010) raises the question of which developmental dynamics produce it. Models of the feature space \mathbb{R}^2 \times S^1 with its shift-twist symmetry also underlie geometric models of contour perception.
Key takeaways — chapter 9
- Long-time behaviour, uniqueness of invariant laws and collective oscillations of mean-field spiking models are active questions, studied in particular by the course’s instructors.
- Excitatory integrate-and-fire populations can synchronise in finite time; continuing solutions beyond blow-up is open.
- Large-scale numerical continuation (BifurcationKit.jl) brings bifurcation theory to discretised fields and Fokker–Planck equations.
- Structured random networks (cell types, balance, low rank) extend dynamic mean-field theory; their rigorous theory is largely open.
- The same McKean–Vlasov tools describe the training of wide neural networks.
Exercises
The exercises are sorted by level: ★ applies the course, ★★ combines results or asks for a short proof, ★★★ is open-ended or research-flavoured. The session plan says when to do each one.
★ Nernst potentials and the resting potential. At 37 °C, RT/F = 26.7 mV. A mammalian neuron has 140 mM of potassium inside and 5 mM outside, 15 mM of sodium inside and 145 mM outside. Compute E_K and E_{Na}. Then show from Definition 1.1 that, with constant conductances and no injected current, the membrane settles at a weighted mean of the reversal potentials, and explain why rest is close to E_K.
Solution: the Nernst formula gives E_K = 26.7 \ln\frac{5}{140} \approx -89.0 \text{ mV}, \qquad E_{Na} = 26.7 \ln\frac{145}{15} \approx +60.6 \text{ mV}.
Setting \dot V = 0 gives the conductance-weighted mean V_{\text{rest}} = \frac{\sum g_{\text{ion}} E_{\text{ion}}}{\sum g_{\text{ion}}} .
At rest the potassium (and leak) conductances are much larger than the sodium one, so the weighted mean lies near E_K, a few millivolts above it.
★ The f–I curve of the leaky integrate-and-fire neuron. Take \tau = 20 ms, E_L = V_r = -70 mV, \theta = -55 mV and \tau_{\text{ref}} = 2 ms. Compute the firing rate for RI = 20 mV, the smallest current that produces firing, and the behaviour of the rate for large I.
Solution: by Proposition 1.5, V_\infty = -50 mV and T = 2 + 20 \ln\frac{20}{5} = 29.7 \text{ ms}, \qquad f \approx 33.6 \text{ Hz}.
Firing requires RI > \theta - E_L = 15 mV. For large I, the logarithm is about (\theta - V_r)/RI, so T \approx \tau_{\text{ref}} + 300/(RI) ms, and the rate saturates at 1/\tau_{\text{ref}} = 500 Hz.
★ Planar linear systems and the resting state of FitzHugh–Nagumo. Classify the origin for A_1 = \begin{pmatrix} -1 & 2 \\ -2 & -1 \end{pmatrix}, \quad A_2 = \begin{pmatrix} 1 & 3 \\ 1 & -1 \end{pmatrix}, \quad A_3 = \begin{pmatrix} -3 & 1 \\ 0 & -1 \end{pmatrix}. Which of them are topologically equivalent? Then check, with the formulas of Example 2.4, the eigenvalues of FitzHugh–Nagumo at I = 0.
Solution: by Proposition 0.3:
- A_1 has \tau = -2, \Delta = 5 and \tau^2 < 4\Delta: a stable focus.
- A_2 has \Delta = -4 < 0: a saddle.
- A_3 has \tau = -4, \Delta = 3 and \tau^2 \ge 4\Delta: a stable node.
By Theorem 2.8, A_1 and A_3 are topologically conjugate; A_2 is not.
For FitzHugh–Nagumo, v^* = -1.1994, \mathrm{tr}\,J = -0.5026 and \det J = 0.1081, so the eigenvalues are -0.251 \pm 0.212\, i.
★ The bottleneck of a saddle-node. For \dot x = \mu + x^2 with \mu > 0, compute the time T(\mu) to go from x = -1 to x = 1, and its behaviour as \mu \to 0.
Evaluate it for \mu = 0.01, and say how the firing frequency of a class 1 neuron changes when I - I_c is divided by 4.
Solution: T(\mu) = \frac{2}{\sqrt\mu}\arctan\frac{1}{\sqrt\mu}, which behaves like \pi/\sqrt\mu. For \mu = 0.01, T = 29.42 against \pi/\sqrt\mu = 31.42.
Dividing \mu by 4 doubles the passage time: by Proposition 3.9, the frequency of a class 1 neuron is divided by 2 when I - I_c is divided by 4.
★ Itô calculus warm-up. (a) Use Itô’s formula to compute \mathbb{E}[B_t^4]. (b) Show that X_t = \exp(\sigma B_t - \sigma^2 t/2) solves dX = \sigma X\, dB. (c) For the Ornstein–Uhlenbeck process of Example 4.6 with \mu = 0, recover the stationary variance by applying Itô’s formula to X^2.
Solution:
- (a) d(B^4) = 4B^3\, dB + 6B^2\, dt, so \mathbb{E}B_t^4 = 6\int_0^t s\, ds = 3t^2.
- (b) With F(t, x) = e^{\sigma x - \sigma^2 t/2}, the dt terms -\frac{\sigma^2}{2}F + \frac{\sigma^2}{2}F cancel, leaving dX = \sigma X\, dB.
- (c) d(X^2) = 2X\, dX + \frac{\sigma^2}{\tau}\, dt. In the stationary regime the expectation of the left-hand side vanishes, so 0 = -\frac{2}{\tau}\,\mathbb{E}X^2 + \frac{\sigma^2}{\tau}, \qquad \mathbb{E}X^2 = \frac{\sigma^2}{2}.
★★ A centre manifold that reverses the naive conclusion. Study the stability of the origin for \dot x = x^2 y - x^5, \qquad \dot y = -y + x^2 . Compare with the conclusion obtained by setting y = 0.
Solution: the linearisation has eigenvalues 0 and -1. Write h(x) = \alpha x^2 + \gamma x^3 + \beta x^4 + \delta x^5 + \dots and use the invariance equation h'(x)(x^2 h - x^5) = -h + x^2.
The left-hand side is 2\alpha^2 x^5 + O(x^6). Matching the powers x^2 to x^5 gives \alpha = 1, \gamma = \beta = 0 and \delta = -2, so h(x) = x^2 - 2x^5 + O(x^6).
The reduced equation is \dot x = x^2 h(x) - x^5 = x^4 - x^5 + O(x^6).
Points with x > 0 on the centre manifold move away, so the origin is unstable (by Theorem 2.11). Setting y = 0 would give \dot x = -x^5 and the wrong conclusion, stability.
★★ First Lyapunov coefficients. (a) Apply the formula of ch. 3.3 to \dot x = \mu x - y - x(x^2 + y^2), \dot y = x + \mu y - y(x^2 + y^2), and describe the cycle. (b) Same question with the cubic terms reversed in sign. (c) Show that \dot x = -y + x^2 + xy, \dot y = x + \mu y undergoes a subcritical Hopf bifurcation at \mu = 0.
Solution:
(a) With f = -x^3 - xy^2 and g = -x^2 y - y^3, the third derivatives are f_{xxx} = -6, \quad f_{xyy} = -2, \quad g_{xxy} = -2, \quad g_{yyy} = -6, and the quadratic bracket vanishes. So 16a = -16 and a = -1: supercritical, with a stable cycle of radius \sqrt\mu for \mu > 0, since \dot\rho = \rho(\mu - \rho^2).
(b) Now a = +1: subcritical, with an unstable cycle of radius \sqrt{-\mu} for \mu < 0.
(c) At \mu = 0 the linear part is the rotation with \omega = 1. The nonlinear terms are f = x^2 + xy and g = 0, so f_{xx} = 2 and f_{xy} = 1.
Then 16a = f_{xy}(f_{xx} + f_{yy}) = 2, so a = 1/8 > 0. The eigenvalues \mu/2 \pm i\sqrt{1 - \mu^2/4} cross the axis with speed 1/2: the bifurcation is subcritical.
★★ Amari bumps for a Mexican hat. Let w(x) = (1 - |x|)\, e^{-|x|}. Compute W, find the bumps of Theorem 5.5 when \kappa - h = 0.2, check the profile conditions and decide their stability.
Solution: W(a) = a e^{-a}, which increases to its maximum 1/e at a = 1 and then decreases. Bumps exist when 0 < \kappa - h < 1/e; for \kappa - h = 0.2, a e^{-a} = 0.2 gives a_1 = 0.2592, \qquad a_2 = 2.5426 .
Stability: w(a_1) > 0, so the narrow bump is unstable, and w(a_2) < 0, so the wide bump is stable.
Profile of the wide bump: at its centre u = a_2 e^{-a_2/2} + h, which exceeds \kappa by 0.51; far away u \to h < \kappa.
★★ Turing instability of a difference of Gaussians. Take a_e = 2, \sigma_e = 1, a_i = 1.5 and \sigma_i = 3 in Proposition 5.7, and S(u) = \tanh(\beta u) around u_0 = 0.
Find k_c, the wavelength and the critical gain, and check that the instability is not homogeneous.
Solution: a_i\sigma_i^2 = 13.5 > a_e \sigma_e^2 = 2, so k_c^2 = \frac{4 \ln 6.75}{8} = 0.9548, \qquad k_c = 0.977, \qquad 2\pi/k_c = 6.43 .
Then \hat w(k_c) = 1.400 while \hat w(0) = 0.5. By Proposition 5.6, the state loses stability at \beta_c = 1/1.400 = 0.714, on the mode k_c first since \hat w(k_c) > \hat w(0): a Turing instability.
★★ Mean first-passage times. (a) Show with Proposition 4.8 that a Brownian motion \sigma B started at x < \theta reaches \theta almost surely but with infinite mean time. (b) With a reflecting barrier at 0, compute T(x) on [0, \theta].
(c) Show that for \mu far below \theta the Siegert formula gives \frac{1}{\nu} \approx \tau\sqrt\pi\; \frac{e^{U^2}}{U}, \qquad U = \frac{\theta - \mu}{\sigma}, with \tau_{\text{ref}} negligible.
Solution:
- (a) With b = 0, \psi = 1 and the inner integral \int_{-\infty}^y 2\sigma^{-2}\, dz diverges, so T = \infty; the hitting itself is almost sure by recurrence of one-dimensional Brownian motion.
- (b) Solve \frac{\sigma^2}{2}T'' = -1 with T'(0) = 0 and T(\theta) = 0: T(x) = (\theta^2 - x^2)/\sigma^2.
- (c) For large U, the integrand e^{u^2}(1 + \mathrm{erf}\,u) is dominated by the upper end, where 1 + \mathrm{erf}\,u \approx 2, and \int^U e^{u^2} du \approx e^{U^2}/(2U). The rate is exponentially small in U^2: an Arrhenius law.
★★ Breaking the O(2) symmetry. (a) Show that a smooth map f : \mathbb{C} \to \mathbb{C} that commutes only with rotations has the form p(|z|^2)\, z with p complex. (b) For \dot z = \mu z - |z|^2 z with \mu > 0, find the equilibria and the eigenvalues at z^* = \sqrt\mu.
(c) Add a small real input: \dot z = \mu z - |z|^2 z + \varepsilon with \varepsilon > 0. Show that only two equilibria remain near the circle, and decide their stability. Relate this to the ring model of ch. 6.1.
Solution:
- (a) The first step of the proof of Proposition 3.13 holds without the reflection, except that f(r) need not be real.
- (b) The circle |z| = \sqrt\mu, plus the origin. At z^* the radial eigenvalue is -2\mu and the tangential one is 0.
- (c) In polar coordinates, \dot\rho = \mu\rho - \rho^3 + \varepsilon\cos\phi and \dot\phi = -\varepsilon\sin\phi/\rho. Equilibria near the circle need \sin\phi = 0. At \phi = 0 the angular perturbation decays (stable); at \phi = \pi it grows (saddle).
In the ring model, the anisotropy \varepsilon of the input pins the bump at the stimulus orientation, and the opposite orientation is unstable.
★★ The static mean-field equation (Python). (a) Expand \mathbb{E}[\tanh^2(\sqrt q Z)] to second order in q and deduce the behaviour of the static solution of Proposition 7.4 as g \to 1^+. (b) Compute it numerically for g \in \{1.05, 1.1, 1.5, 2\}. (c) Compare with the dynamic \Delta_0 of Example 7.5 and explain why the network does not follow the static solution.
Solution: (a) \tanh^2 x = x^2 - \frac23 x^4 + O(x^6) and \mathbb{E}Z^4 = 3, so \mathbb{E}\tanh^2(\sqrt q Z) = q - 2q^2 + O(q^3). The equation q = g^2(q - 2q^2) gives q \approx \frac{g^2 - 1}{2 g^2} \approx g - 1 .
(b) The code below gives q = 0.0533, 0.1127, 0.7934 and 2.1215 for the four values of g. The expansion gives 0.0465, 0.0868, 0.278 and 0.375: it is accurate only near g = 1.
import numpy as np from scipy.optimize import brentq z, wz = np.polynomial.hermite_e.hermegauss(80) wz = wz / wz.sum() # weights of E over Z ~ N(0, 1) for g in [1.05, 1.1, 1.5, 2.0]: F = lambda q: g**2 * np.sum(wz * np.tanh(np.sqrt(q) * z)**2) - q q = brentq(F, 1e-8, 50) print(f"g = {g}: static q = {q:.4f}, expansion {(g**2 - 1) / (2 * g**2):.4f}")(c) For g = 1.5 the static value is 0.793, while the network fluctuates with variance about 0.72 to 0.75. The static solution describes a network sitting at a fixed point x^*.
Heuristically, the Jacobian -I + J\,\mathrm{diag}(\tanh'(x^*)) has its eigenvalues in a disc of centre -1 and radius \rho = g\, \big(\mathbb{E}[\tanh'(\sqrt q Z)^2]\big)^{1/2}.
Numerically \rho = 1.067 for g = 1.5 and \rho = 1.167 for g = 2. Such fixed points are therefore unstable, and the network follows the chaotic solution of Proposition 7.4 (part 3).
★★★ When the mean field is bistable (Python). In the particle system of Example 8.5, set I = 0, J = 2 and \sigma = 1.2.
(a) Show that the stationary McKean–Vlasov solutions have \mu = \mathcal{N}(Jm, \sigma^2/2) with m = \mathbb{E}\tanh(Jm + \sigma Z/\sqrt2), and that there are three of them.
(b) Simulate the particle system for N = 2, 5, 10, 20 up to T = 4000, and count the switches of the empirical mean field between the wells \pm m^*.
A switch is a passage from above m^*/2 to below -m^*/2, or back. (c) Explain why this does not contradict Theorem 8.4.
Hints and expected result:
- (a) In a stationary state the mean field is a constant m, and each particle is an Ornstein–Uhlenbeck process (Example 4.6). The slope of the right-hand side at m = 0 is J\,\mathbb{E}\big[\cosh^{-2}(\sigma Z/\sqrt2)\big] \approx 1.33 > 1, so besides m = 0 there are two symmetric solutions \pm m^* with m^* \approx 0.82.
- (b) With time step 0.02 and a fixed seed, one run gives about 230, 70 and 20 switches for N = 2, 5 and 10, and none for N = 20. With the stricter thresholds \pm m^* the counts drop to about 140, 45 and 15. The mean time between switches grows roughly exponentially with N, as for an escape over a barrier.
- (c) The bound of Theorem 8.4 grows like e^{3LT}, so it is uninformative on the switching time scales. The limits N \to \infty and t \to \infty do not commute.
★★★ Hexagons before the instability. Use the hexagonal amplitude equations of Proposition 6.4 with real coefficients, a < 0 and a + 2b < 0. (a) Compute the stripes. (b) Look for hexagons z_1 = z_2 = z_3 = R and show that they exist for some \mu < 0, before the homogeneous state loses stability. (c) What does this predict for the onset of geometric hallucinations as excitability increases, and which form constants should appear first? Discuss what a full answer would require.
Hints and expected result:
- (a) Stripes have |z_1|^2 = -\mu/a, for \mu > 0.
- (b) Hexagons solve \mu + \alpha R + (a + 2b) R^2 = 0, with real roots when \mu \ge \mu_- = \frac{\alpha^2}{4(a + 2b)} , which is negative. Hexagons therefore exist before the instability; they bifurcate subcritically, which implies hysteresis.
- (c) With \alpha \ne 0, the first patterns are hexagonal, whose log-polar images are lattice-like (first form constant), and they appear abruptly.
A full answer needs the stability of each branch (eigenvalues in the six-dimensional amplitude space, Golubitsky, Stewart and Schaeffer, 1988), the coefficients computed from a specific kernel and rate function, and the contoured version of Bressloff and coauthors (2001).
★★★ Several stationary states of a spiking mean-field model (Python). For the model of Proposition 8.6 with b(x) = 1 - x, J = 0.5 and f(x) = x^2: (a) solve the self-consistency equation; (b) simulate the particle system with N = 2000 and compare the firing rates.
(c) Then take I = 0.5 and f(x) = x^8, and explore J. Find parameters with several stationary rates, and discuss what the simulation of a finite network shows there.
Solution for (a) and (b): the code below gives \alpha^* = 0.6241 for the limit equation and a rate of 0.6227 for the particle system.
import numpy as np from scipy.integrate import quad from scipy.optimize import brentq I, J = 1.0, 0.5 f = lambda x: x**2 # spiking intensity def mean_isi(alpha): xinf = I + J * alpha # the flow -x + xinf never reaches xinf b = lambda x: xinf - x H = lambda x: np.exp(-quad(lambda y: f(y) / b(y), 0, x)[0]) # survival up to level x return quad(lambda x: H(x) / b(x), 0, xinf, limit=200)[0] alpha = brentq(lambda a: a * mean_isi(a) - 1, 1e-3, 10) print(f"self-consistent rate alpha* = {alpha:.4f}") # particle system: each spike resets the neuron to 0 and kicks every neuron by J/N rng = np.random.default_rng(0) N, dt, T, T0 = 2000, 0.005, 60.0, 10.0 X, count = np.zeros(N), 0 for k in range(int(T / dt)): fired = rng.random(N) < f(X) * dt X += (I - X) * dt + J * fired.sum() / N X[fired] = 0.0 if k * dt > T0: count += fired.sum() print(f"particle system, N = {N}: rate = {count / (N * (T - T0)):.4f}")Expected result for (c): for J = 1.5 the equation has three roots, \alpha \approx 0.0043, 0.411 and 3.46. A low state, where neurons wait near x_\alpha and fire at rate about f(x_\alpha), coexists with a high state.
Finite networks switch between them at rare random times. The middle root is expected to be unstable; proving it requires the linearisation of the McKean–Vlasov equation, as in the work of Cormier, Tanré and Veltz.
Projects and assessment
The official assessment is an exam for the first session, with a resit in the form of a paper reading (master-mva.com, “Mode de validation”). The Université Paris-Saclay page classifies the course as “Evaluation Continue non Intégrale” (partial continuous assessment), and no weighting is displayed. The proposals below are not official.
The written-exam proposal prepares the first session; the paper-study projects train the skills of the resit, reading a paper, reproducing its results and presenting them, and can serve as homework. Every project is evaluated with the rubric at the end of this section, and its success criterion is the target of the “Numerical results” line.
Solo projects
[Solo · ≈ 20 h] The bifurcation diagram of the Hodgkin–Huxley model. Paper study of Rinzel and Miller (1980). Question: where does repetitive firing appear, and why do rest and firing coexist? Implement:
- continuation of the equilibria in I, with their eigenvalues;
- the first Lyapunov coefficient at the Hopf point, with the formula of Example 3.6 in dimension 4;
- stable cycles by simulation and unstable cycles by shooting (Newton’s method on the return map), to locate the fold of cycles.
Success criterion: Hopf point at I \approx 9.78 µA/cm², \ell_1 > 0, fold of cycles near 6.3 µA/cm². Deliverables: code, a 4–6 page report, a 10-minute talk. Chapters 1, 2, 3.
[Solo · ≈ 20 h] Noise-driven firing: Siegert formula and Fokker–Planck solver. Question: how does noise shape the f–I curve and the irregularity of firing? Implement:
- Euler–Maruyama simulations of the noisy integrate-and-fire neuron for several \sigma;
- a finite-volume solver of the Fokker–Planck equation with absorbing threshold and reinjection at V_r;
- the coefficient of variation of the interspike intervals.
Success criterion: the firing rates of the simulations (with a Brownian-bridge test for crossings between two steps, or a time step halved until convergence) and of the Fokker–Planck solver agree within 2 % with Theorem 4.9 over a grid of (\mu, \sigma), and the CV tends to 1 for strongly subthreshold input. Deliverables: code, a 4–6 page report, a 10-minute talk. Chapter 4.
[Solo · ≈ 20 h] Orientation tuning in the ring model. Paper study of Ben-Yishai, Bar-Or and Sompolinsky (1995). Question: when do recurrent connections, rather than the input, set the tuning width? Reproduce the phase diagram in the plane (J_0, J_2) (homogeneous regime, marginal phase, unbounded activity), the tuning width against contrast, and the response to a rotating stimulus. Success criterion: the measured half-width matches Proposition 6.2 within 2° as \varepsilon \to 0. Deliverables: code, a 4–6 page report, a 10-minute talk. Chapters 3, 6.
Group projects
[Group of 2–3 · ≈ 30 h each] The transition to chaos in random networks. Paper study of Sompolinsky, Crisanti and Sommers (1988). The work splits as follows:
- member A simulates networks up to N = 2000 and computes the largest Lyapunov exponent (Benettin’s algorithm);
- member B solves the dynamic mean-field equation of Proposition 7.4 for the whole autocorrelation function \Delta(\tau);
- member C studies the spectra of the Jacobians, at rest and along trajectories, against the circular law.
Success criterion: \Delta_0 within 3 % of the simulations for g \in [1.2, 3] at N = 2000, and a Lyapunov exponent that changes sign near g = 1. Deliverables: shared code, an 8–10 page report, a 20-minute talk. Chapters 0, 7.
[Group of 2–3 · ≈ 30 h each] Geometric visual hallucinations. Paper studies of Ermentrout and Cowan (1979) and Bressloff and coauthors (2001). The work splits as follows:
- member A simulates a two-dimensional neural field on a torus with FFT convolutions and checks the selected wavelength;
- member B derives the amplitude equations of Proposition 6.4 for the chosen kernel and rate function, and predicts stripes or hexagons;
- member C maps the patterns back to the visual field with the inverse log-polar map and compares them with Klüver’s form constants.
Success criterion: wavelength within 5 % of 2\pi/k_c, and both stripes and hexagons obtained by changing the offset of the rate function. Deliverables: shared code, an 8–10 page report with figures, a 20-minute talk. Chapters 5, 6.
[Group of 2–3 · ≈ 30 h each] From spiking neurons to an exact neural mass. Paper study of Montbrió, Pazó and Roxin (2015). The work splits as follows:
- member A simulates 10^4 theta neurons with Lorentzian excitabilities, with a time step adapted to the fastest neurons;
- member B computes the fixed points and the folds of the firing-rate equations of Theorem 8.7 as functions of \bar\eta;
- member C compares responses to current steps and quantifies finite-size effects.
Success criterion: stationary rates within 5 % of Theorem 8.7, and the bistable range in \bar\eta located on both sides. Deliverables: shared code, an 8–10 page report, a 20-minute talk. Chapters 1, 3, 8.
Written exam (proposal)
Three hours, no documents except one handwritten A4 sheet, four exercises. The official page says only that the first session is an exam: this format is a proposal.
Question (4 points). State the centre manifold theorem (hypotheses, tangency, reduction principle). Apply it to \dot x = xy, \dot y = -y - x^2: why does the linearisation decide nothing, and what is the stability of the origin?
Expected: the statement of Theorem 2.11; the eigenvalues 0 and -1; h(x) = -x^2 + O(x^4) from the invariance equation; the reduced equation \dot x = -x^3 + O(x^5), hence asymptotic stability, with algebraic decay.
Question (5 points). Consider \dot x = \mu x - y - x^3, \dot y = x + \mu y. Find the eigenvalues at the origin, show that a Hopf bifurcation occurs at \mu = 0, compute the sign of the first Lyapunov coefficient, and give the amplitude and period of the cycle for small \mu.
Expected: eigenvalues \mu \pm i, crossing the axis with speed 1. With f = -x^3 and g = 0, the formula gives 16a = f_{xxx} = -6, so a = -3/8: supercritical.
A stable cycle of radius \sqrt{8\mu/3} exists for \mu > 0, with period close to 2\pi.
Question (5 points). Let f : \mathbb{C} \to \mathbb{C} be smooth and \mathrm{O}(2)-equivariant. Prove that f(z) = p(|z|^2)\, z with p real. Deduce that a bifurcation from z = 0 produces a circle of equilibria, each with a zero eigenvalue. Explain what this means for the ring model with an untuned input.
Expected: the proof of Proposition 3.13. Rotations give f(re^{i\phi}) = e^{i\phi}f(r), the reflection makes f(r) real, and parity gives smoothness in r^2. The equilibria form the circle p(\rho^2) = 0, and the tangent vector iz^* lies in the kernel. In the ring model, a bump can sit at any orientation and drifts neutrally.
Question (6 points). Consider, with i.i.d. initial data, dX_i = \Big(-X_i + \frac{J}{N}\sum_j \tanh X_j\Big)\, dt + \sigma\, dB_i .
(a) Write the McKean–Vlasov limit and its Fokker–Planck equation (2 points). (b) Show that the stationary laws are \mathcal{N}(Jm, \sigma^2/2), where m solves m = \mathbb{E}\tanh(Jm + \sigma Z/\sqrt2) (2 points). (c) Prove that m = 0 is the only solution when J < 1 (2 points).
Expected: (a) Definition 8.1 with K(x, y) = J\tanh y. (b) For fixed m, each particle is an Ornstein–Uhlenbeck process whose stationary law is given by Example 4.6, and consistency gives the equation. (c) The right-hand side G(m) has |G'(m)| \le J < 1, so G is a contraction with fixed point 0.
Grading rubric (proposal)
| Criterion | Weight | What earns the marks |
|---|---|---|
| Mathematical correctness | 30 % | Definitions and hypotheses stated; derivations and proofs without gaps; the theorems of the course used where they apply |
| Numerical results | 25 % | Code that runs from a fixed seed; the target number or figure reproduced; convergence checked in the time step and in N |
| Analysis and critique | 20 % | Agreement and disagreement with theory explained; limits of the model and of the paper discussed |
| Written report | 15 % | Clear structure within the page limit; figures with axes and units; honest account of what was not achieved |
| Oral presentation | 10 % | Main result stated in the first minutes; timing respected; questions answered precisely |
References
Official references (master-mva.com, 2026–2027)
- W. Gerstner and W. M. Kistler. Spiking Neuron Models: Single Neurons, Populations, Plasticity. Cambridge University Press, 2002.
- Yu. A. Kuznetsov. Elements of Applied Bifurcation Theory. Springer, Applied Mathematical Sciences 112, 1995 (3rd edition 2004, cited in the text).
- E. M. Izhikevich. Dynamical Systems in Neuroscience: The Geometry of Excitability and Bursting. MIT Press, 2006 as listed on master-mva.com (the printed edition is dated 2007).
- G. B. Ermentrout and D. H. Terman. Mathematical Foundations of Neuroscience. Springer, Interdisciplinary Applied Mathematics 35, 2010.
Textbooks
- P. Dayan and L. F. Abbott. Theoretical Neuroscience: Computational and Mathematical Modeling of Neural Systems. MIT Press, 2001.
- W. Gerstner, W. M. Kistler, R. Naud and L. Paninski. Neuronal Dynamics: From Single Neurons to Networks and Models of Cognition. Cambridge University Press, 2014.
- J. Guckenheimer and P. Holmes. Nonlinear Oscillations, Dynamical Systems, and Bifurcations of Vector Fields. Springer, Applied Mathematical Sciences 42, 1983.
- L. Perko. Differential Equations and Dynamical Systems. Springer, Texts in Applied Mathematics 7, 3rd edition, 2001.
- J. Carr. Applications of Centre Manifold Theory. Springer, Applied Mathematical Sciences 35, 1981.
- M. Haragus and G. Iooss. Local Bifurcations, Center Manifolds, and Normal Forms in Infinite-Dimensional Dynamical Systems. Springer, 2011.
- M. Golubitsky, I. Stewart and D. G. Schaeffer. Singularities and Groups in Bifurcation Theory, Volume II. Springer, Applied Mathematical Sciences 69, 1988.
- I. Karatzas and S. E. Shreve. Brownian Motion and Stochastic Calculus. Springer, Graduate Texts in Mathematics 113, 2nd edition, 1991.
- B. Øksendal. Stochastic Differential Equations: An Introduction with Applications. Springer, 6th edition, 2003.
- P. E. Kloeden and E. Platen. Numerical Solution of Stochastic Differential Equations. Springer, 1992.
- A.-S. Sznitman. Topics in propagation of chaos. In École d’Été de Probabilités de Saint-Flour XIX — 1989, Lecture Notes in Mathematics 1464, Springer, 1991.
- P. C. Bressloff. Waves in Neural Media: From Single Neurons to Neural Fields. Springer, 2014.
- S. Coombes, P. beim Graben, R. Potthast and J. Wright (eds.). Neural Fields: Theory and Applications. Springer, 2014.
- M. Helias and D. Dahmen. Statistical Field Theory for Neural Networks. Springer, Lecture Notes in Physics 970, 2020.
- H. Klüver. Mescal and Mechanisms of Hallucinations. University of Chicago Press, 1966.
Neuron and synapse models (ch. 1, 3)
- L. Lapicque. Recherches quantitatives sur l’excitation électrique des nerfs traitée comme une polarisation. Journal de Physiologie et de Pathologie Générale 9, 1907.
- A. L. Hodgkin. The local electric changes associated with repetitive action in a non-medullated axon. Journal of Physiology 107, 1948.
- A. L. Hodgkin and A. F. Huxley. A quantitative description of membrane current and its application to conduction and excitation in nerve. Journal of Physiology 117, 500–544, 1952.
- R. FitzHugh. Impulses and physiological states in theoretical models of nerve membrane. Biophysical Journal 1, 445–466, 1961.
- J. Nagumo, S. Arimoto and S. Yoshizawa. An active pulse transmission line simulating nerve axon. Proceedings of the IRE 50, 2061–2070, 1962.
- C. Morris and H. Lecar. Voltage oscillations in the barnacle giant muscle fiber. Biophysical Journal 35, 193–213, 1981.
- J. Rinzel and R. N. Miller. Numerical calculation of stable and unstable periodic solutions to the Hodgkin–Huxley equations. Mathematical Biosciences 49, 27–59, 1980.
- J. Rinzel and G. B. Ermentrout. Analysis of neural excitability and oscillations. In C. Koch and I. Segev (eds.), Methods in Neuronal Modeling, MIT Press, 1989.
- G. B. Ermentrout and N. Kopell. Parabolic bursting in an excitable system coupled with a slow oscillation. SIAM Journal on Applied Mathematics 46, 233–253, 1986.
- E. M. Izhikevich. Simple model of spiking neurons. IEEE Transactions on Neural Networks 14, 1569–1572, 2003.
- A. Destexhe, Z. F. Mainen and T. J. Sejnowski. Synthesis of models for excitable membranes, synaptic transmission and neuromodulation using a common kinetic formalism. Journal of Computational Neuroscience 1, 195–230, 1994.
- M. L. Hines and N. T. Carnevale. The NEURON simulation environment. Neural Computation 9, 1179–1209, 1997.
- M. M. Peixoto. Structural stability on two-dimensional manifolds. Topology 1, 101–120, 1962.
Noise (ch. 4)
- N. Wiener. Differential-space. Journal of Mathematics and Physics 2, 131–174, 1923.
- W. R. Softky and C. Koch. The highly irregular firing of cortical cells is inconsistent with temporal integration of random EPSPs. Journal of Neuroscience 13, 334–350, 1993.
- N. Brunel and V. Hakim. Fast global oscillations in networks of integrate-and-fire neurons with low firing rates. Neural Computation 11, 1621–1671, 1999.
- N. Brunel. Dynamics of sparsely connected networks of excitatory and inhibitory spiking neurons. Journal of Computational Neuroscience 8, 183–208, 2000.
- A. S. Pikovsky and J. Kurths. Coherence resonance in a noise-driven excitable system. Physical Review Letters 78, 775–778, 1997.
- D. J. Higham. An algorithmic introduction to numerical simulation of stochastic differential equations. SIAM Review 43, 525–546, 2001.
Visual cortex, neural fields and symmetry (ch. 5, 6)
- D. H. Hubel and T. N. Wiesel. Receptive fields of single neurones in the cat’s striate cortex. Journal of Physiology 148, 574–591, 1959.
- D. H. Hubel and T. N. Wiesel. Receptive fields, binocular interaction and functional architecture in the cat’s visual cortex. Journal of Physiology 160, 106–154, 1962.
- E. L. Schwartz. Spatial mapping in the primate sensory projection: analytic structure and relevance to perception. Biological Cybernetics 25, 181–194, 1977.
- J. C. Horton and W. F. Hoyt. The representation of the visual field in human striate cortex: a revision of the classic Holmes map. Archives of Ophthalmology 109, 816–824, 1991.
- T. Bonhoeffer and A. Grinvald. Iso-orientation domains in cat visual cortex are arranged in pinwheel-like patterns. Nature 353, 429–431, 1991.
- W. H. Bosking, Y. Zhang, B. Schofield and D. Fitzpatrick. Orientation selectivity and the arrangement of horizontal connections in tree shrew striate cortex. Journal of Neuroscience 17, 2112–2127, 1997.
- F. Wolf and T. Geisel. Spontaneous pinwheel annihilation during visual development. Nature 395, 73–78, 1998.
- M. Kaschube, M. Schnabel, S. Löwel, D. M. Coppola, L. E. White and F. Wolf. Universality in the evolution of orientation columns in the visual cortex. Science 330, 1113–1116, 2010.
- H. R. Wilson and J. D. Cowan. Excitatory and inhibitory interactions in localized populations of model neurons. Biophysical Journal 12, 1–24, 1972.
- H. R. Wilson and J. D. Cowan. A mathematical theory of the functional dynamics of cortical and thalamic nervous tissue. Kybernetik 13, 55–80, 1973.
- S. Amari. Dynamics of pattern formation in lateral-inhibition type neural fields. Biological Cybernetics 27, 77–87, 1977.
- R. Ben-Yishai, R. L. Bar-Or and H. Sompolinsky. Theory of orientation tuning in visual cortex. Proceedings of the National Academy of Sciences USA 92, 3844–3848, 1995.
- G. B. Ermentrout and J. D. Cowan. A mathematical theory of visual hallucination patterns. Biological Cybernetics 34, 137–150, 1979.
- P. C. Bressloff, J. D. Cowan, M. Golubitsky, P. J. Thomas and M. C. Wiener. Geometric visual hallucinations, Euclidean symmetry and the functional architecture of striate cortex. Philosophical Transactions of the Royal Society of London B 356, 299–330, 2001.
- M. Rule, M. Stoffregen and B. Ermentrout. A model for the origin and properties of flicker-induced geometric phosphenes. PLoS Computational Biology 7, e1002158, 2011.
- R. Veltz and O. Faugeras. Local/global analysis of the stationary solutions of some neural field equations. SIAM Journal on Applied Dynamical Systems 9, 954–998, 2010.
Random networks and spin glasses (ch. 7)
- H. Sompolinsky and A. Zippelius. Relaxational dynamics of the Edwards–Anderson model and the mean-field theory of spin-glasses. Physical Review B 25, 6860–6875, 1982.
- H. Sompolinsky, A. Crisanti and H. J. Sommers. Chaos in random neural networks. Physical Review Letters 61, 259–262, 1988.
- S. Geman. The spectral radius of large random matrices. Annals of Probability 14, 1318–1328, 1986.
- T. Tao, V. Vu and M. Krishnapur. Random matrices: universality of ESDs and the circular law. Annals of Probability 38, 2023–2065, 2010.
- G. Ben Arous and A. Guionnet. Large deviations for Langevin spin glass dynamics. Probability Theory and Related Fields 102, 455–509, 1995.
- G. Ben Arous and A. Guionnet. Symmetric Langevin spin glass dynamics. Annals of Probability 25, 1367–1422, 1997.
- L. F. Cugliandolo and J. Kurchan. Analytical solution of the off-equilibrium dynamics of a long-range spin-glass model. Physical Review Letters 71, 173–176, 1993.
- G. Ben Arous, A. Dembo and A. Guionnet. Aging of spherical spin glasses. Probability Theory and Related Fields 120, 1–67, 2001.
- O. Moynot and M. Samuelides. Large deviations and mean-field theory for asymmetric random recurrent neural networks. Probability Theory and Related Fields 123, 41–75, 2002.
- O. Faugeras, J. Touboul and B. Cessac. A constructive mean-field analysis of multi-population neural networks with random synaptic weights and stochastic inputs. Frontiers in Computational Neuroscience 3:1, 2009.
Interacting particles, spiking networks and neural masses (ch. 8, 9)
- H. P. McKean. A class of Markov processes associated with nonlinear parabolic equations. Proceedings of the National Academy of Sciences USA 56, 1907–1911, 1966.
- H. Tanaka. Probabilistic treatment of the Boltzmann equation of Maxwellian molecules. Zeitschrift für Wahrscheinlichkeitstheorie und verwandte Gebiete 46, 67–105, 1978.
- J. Baladron, D. Fasoli, O. Faugeras and J. Touboul. Mean-field description and propagation of chaos in networks of Hodgkin–Huxley and FitzHugh–Nagumo neurons. Journal of Mathematical Neuroscience 2:10, 2012.
- M. J. Cáceres, J. A. Carrillo and B. Perthame. Analysis of nonlinear noisy integrate & fire neuron models: blow-up and steady states. Journal of Mathematical Neuroscience 1:7, 2011.
- F. Delarue, J. Inglis, S. Rubenthaler and E. Tanré. Global solvability of a networked integrate-and-fire model of McKean–Vlasov type. Annals of Applied Probability 25, 2015.
- A. De Masi, A. Galves, E. Löcherbach and E. Presutti. Hydrodynamic limit for interacting neurons. Journal of Statistical Physics 158, 866–902, 2015.
- N. Fournier and E. Löcherbach. On a toy model of interacting neurons. Annales de l’Institut Henri Poincaré, Probabilités et Statistiques 52, 2016.
- Q. Cormier, E. Tanré and R. Veltz. Long time behavior of a mean-field model of interacting neurons. Stochastic Processes and their Applications 130, 2020.
- Q. Cormier, E. Tanré and R. Veltz. Hopf bifurcation in a mean-field model of spiking neurons. Electronic Journal of Probability 26, 2021.
- B. H. Jansen and V. G. Rit. Electroencephalogram and visual evoked potential generation in a mathematical model of coupled cortical columns. Biological Cybernetics 73, 357–366, 1995.
- E. Ott and T. M. Antonsen. Low dimensional behavior of large systems of globally coupled oscillators. Chaos 18, 037113, 2008.
- E. Montbrió, D. Pazó and A. Roxin. Macroscopic description for networks of spiking neurons. Physical Review X 5, 021028, 2015.
- T. Schwalger, M. Deger and W. Gerstner. Towards a theory of cortical columns: from spiking neurons to interacting neural populations of finite size. PLoS Computational Biology 13, e1005507, 2017.
- J. Chevallier, A. Duarte, E. Löcherbach and G. Ost. Mean field limits for nonlinear spatially extended Hawkes processes with exponential memory kernels. Stochastic Processes and their Applications 129, 1–27, 2019.
- R. Veltz. BifurcationKit.jl, a Julia package for numerical bifurcation analysis. Software, 2020.
- C. van Vreeswijk and H. Sompolinsky. Chaos in neuronal networks with balanced excitatory and inhibitory activity. Science 274, 1724–1726, 1996.
- J. Kadmon and H. Sompolinsky. Transition to chaos in random neuronal networks. Physical Review X 5, 041030, 2015.
- F. Mastrogiuseppe and S. Ostojic. Linking connectivity, dynamics, and computations in low-rank recurrent neural networks. Neuron 99, 609–623, 2018.
- D. Sussillo and L. F. Abbott. Generating coherent patterns of activity from chaotic neural networks. Neuron 63, 544–557, 2009.
- S. Mei, A. Montanari and P.-M. Nguyen. A mean field view of the landscape of two-layer neural networks. Proceedings of the National Academy of Sciences USA 115, E7665–E7671, 2018.
- L. Chizat and F. Bach. On the global convergence of gradient descent for over-parameterized models using optimal transport. Advances in Neural Information Processing Systems 31, 2018.