yuanjia yang

The Eigenvalue Value (in Neuroscience)

An interactive walk-through of Christodoulou & Vogels (2022) for NEU200C. Each demo below mirrors a figure from the paper — drag the eigenvalues, sliders, and initial conditions to build intuition.

Setup. A linear neuronal network evolves as

τdx(t)dt=x(t)+Wx(t)+I(t).\tau \frac{d\mathbf{x}(t)}{dt} = -\mathbf{x}(t) + \mathbf{W}\mathbf{x}(t) + \mathbf{I}(t).

We absorb the leak term, set τ=1\tau=1, and study x˙=Mx\dot{\mathbf{x}} = \mathbf{M}\mathbf{x} with M=WI\mathbf{M} = \mathbf{W} - \mathbf{I}. The eigenvalues of M\mathbf{M} tell us almost everything about how the network behaves — and the eigenvectors fill in what they hide.

Fig 2 — Toy 2-neuron systems

Drag the two eigenvalues on the complex plane. The matrix W\mathbf{W} on the right, the trajectories x1(t),x2(t)x_1(t), x_2(t) in the bottom-left, and the phase-plane vector field on the bottom-right all update live. Switch between real and complex eigenvalue modes, and use the preset buttons (A–D) to jump to the four panels in the paper.

Spectrum (drag)
Re(λ)Im(λ)-15-10-5051015-15-10-551015
presets:
W = V Λ V⁻¹
-10.000.00
0.00-2.00
W
λ₁ = -10.00
λ₂ = -2.00
Trajectories x(t)
0510152000.200.400.600.801time tx(t)x₁x₂
Phase plane (drag x₀)
-2-1012-2-1012x₁x₂slowfast

Fig 3 — What the spectrum tells us

Three lessons from the eigenspectrum alone (no eigenvector geometry yet): stability, timescales, and dominant directions.

Each panel uses the spectrum of M = W − I. Eigenvalues sit on the complex plane (top of each panel); the trajectory below is a random mixture of modes Σᵢ wᵢ e^(λᵢ t).

3A · Stability

30 eigenvalues drawn around a mean μ. The network is stable iff all eigenvalues sit left of the dashed line (Re(λ) = 0). Drag μ to flip stability.

Re(λ)Im(λ)-6-4-20246-1-0.500.501
cluster mean μ =-2.00stable
Network response024681005101520time tx(t)response Σᵢ wᵢ e^(λᵢ t)
3B · Two timescales

Two eigenvalue clusters at μ₁ and μ₂ produce two decay timescales: a fast one (~0.33) and a slow one (~3.33). The response is a sum of fast + slow exponentials.

Re(λ)Im(λ)-6-4-20246-1-0.500.501
μ₁ = -3.00
μ₂ = -0.30
Network response02468105101520time tx(t)response Σᵢ wᵢ e^(λᵢ t)
3C · Dominant direction

29 fast-decaying eigenvalues at μ ≈ −5, plus one red outlier. At late times the response is dominated by the slowest mode (the outlier). Drag the outlier across 0 to flip stability.

Re(λ)Im(λ)-6-4-20246-1-0.500.501
outlier λ =-1.00stable
Network response024681005101520time tx(t)dominated by outlier mode

Fig 4 — What the spectrum hides

Same eigenvalues, very different transient behavior. Crank the eigenvector skew slider and watch the response norm x(t)\|\mathbf{x}(t)\| spike before decaying — this is non-normality and transient amplification, invisible to the spectrum alone.

Eigenvalues fixed at −1, −2
Re(λ)Im(λ)-3-2-101-2-112
W (becomes non-normal)
-1.000.00
0.00-2.00
W
‖off-diagonal of Schur T‖ = 0.000
‖x(t)‖ over time
0510152000.501time tx(t)
As θ grows the norm spikes before decaying.
Schur form T (upper triangular)
1.00-8.00
2.00-3.00
W (Fig 2C example)
-1.00-3.46
3.46-1.00
T = U* W U
Diagonal entries are the eigenvalues; the off-diagonal block carries the feed-forward coupling that creates transient amplification.
ε-pseudospectra (pre-rendered)
B · medium non-normality
Color rings show ε-pseudospectrum bands (ε ∈ {0.01, 0.1, 1, 5, 20, ∞}). Wider rings around the eigenvalues indicate higher non-normality.

Fig 5 — Random matrix laws

When the entries of W\mathbf{W} are drawn from a distribution, the spectrum has a predictable shape. Switch between IID Gaussian (Girko’s circular law), symmetric (Wigner’s semicircle), correlated (elliptic), and E/I networks (Dale’s law).

Eigenspectrum (N = 50)click "Sample & compute" →
Re(λ)Im(λ)-3-2-10123-3-2-1123
Mode

N = 50
σ = 1

Bonus — Amplification via dominant eigenvector (Bondanelli & Ostojic 2020)

The classic “non-normality” picture says that to get transient amplification you need the eigenvectors of J\mathbf{J} to be non-orthogonal. Bondanelli & Ostojic sharpened this: the precise criterion is on the symmetric part of the connectivity,

JS=12(J+J),\mathbf{J}_S = \tfrac{1}{2}(\mathbf{J} + \mathbf{J}^\top),

and you get amplified trajectories if and only if its largest eigenvalue exceeds 1, i.e., λmax(JS)>1\lambda_{\max}(\mathbf{J}_S) > 1. This can hold even when J\mathbf{J} itself is stable (all eigenvalues of J\mathbf{J} have negative real part). The optimal input direction r0\mathbf{r}_0 that achieves the maximum amplification is precisely the eigenvector of JS\mathbf{J}_S associated with λmax(JS)\lambda_{\max}(\mathbf{J}_S).

In the demo below: drag the eigenvalues of J\mathbf{J} on the left, watch the spectrum of JS\mathbf{J}_S on the right (always real). When the indicator says “Amplifying”, click Snap r₀ to top eigenvector of J_S to maximize the transient.

Spectrum of J (drag)
Re(λ)Im(λ)-2-1012-2-112
eigenvector skew θ = 1.00 rad
0.40-0.71
0.00-0.70
J
Spectrum of J_S = (J + Jᵀ) / 2
Re(λ)Im(λ)-2-1012-1-0.500.501
λ_max(J_S) = 0.504
Monotonic decay (λ_max(J_S) ≤ 1)
Initial condition r₀ (drag)
-2-1012-2-1012x₁x₂slowfast
optimal r₀ ≈ (0.96, -0.28)
‖r(t)‖ over time
0510152000.200.400.600.801time tx(t)
peak amplification = 1.00× at t ≈ 0.0

Reference: Christodoulou, G., & Vogels, T. P. (2022). The Eigenvalue Value (in Neuroscience).