Foundation reference

Fisher Information & Information Geometry

The Fisher matrix gives a family of probability distributions a notion of distance: two parameter settings are close when their distributions are hard to tell apart, however far apart the parameters themselves are (Amari, 2016).

Concept 55 of 100TheoryStudy phase 10
Key equation
Fij(θ)=E[∂ilog⁡pθ⋅∂jlog⁡pθ]F_{ij}(\theta) = \mathbb{E}\left[\partial_i \log p_\theta \cdot \partial_j \log p_\theta\right]
Reading map and next steps

Study guide

Where to start

Concept 55 of 100Fisher InformationTheory · Study phase 10: Mathematical foundations & information geometry
How to study this pagePredict · Check · Generalize · Continue
PredictSay what you expect.

Pick a concrete input and say what the equation should give before you read the math.

CheckCheck against the math and the papers.

Work through the math, then read the cited papers for the original argument.

GeneralizeName what stays the same.

Identify the part of the idea that survives a change of notation or model, so you can recognize it in another paper or system.

ContinueFollow the connections.

Use the prerequisites and related concepts at the end of the page to fill the next gap.

Why It Matters for Modern Models

  • The Fisher matrix gives a family of probability distributions a notion of distance: two parameter settings are close when their distributions are hard to tell apart, however far apart the parameters themselves are (Amari, 2016).
  • For small updates, a KL-divergence constraint or penalty, as in trust-region policy optimization (TRPO) or the KL penalty used in RLHF, is approximately the quadratic ½ dθᵀF dθ, so it limits how far the distribution moves rather than how far the weights move (Schulman et al., 2015).
  • It measures how precisely data can pin down the parameters: no unbiased estimator has a covariance smaller than (nF)⁻¹, and under regularity conditions the maximum-likelihood estimator approaches this bound as n grows.

Easy to Miss

  • The Fisher matrix is the Hessian of KL(p_θ₀ ‖ p_θ) at θ = θ₀, yet it can be computed from first derivatives alone, as the expected outer product of the score, which also makes it positive semidefinite, unlike the Hessian of a training loss.
  • The Cramér–Rao bound applies to unbiased estimators. A biased estimator, for example one shrunk toward zero, can have a smaller variance than 1/(nF).
  • The "empirical Fisher" used by some optimizers, built from gradients at the observed labels, is not the Fisher matrix, which averages over labels drawn from the model itself; the two can differ greatly, and the empirical version need not capture curvature (Kunstner et al., 2019).

Core Math

Key Equation
Fij(θ)=E[∂ilog⁡pθ⋅∂jlog⁡pθ]F_{ij}(\theta) = \mathbb{E}\left[\partial_i \log p_\theta \cdot \partial_j \log p_\theta\right]

For a regular family of distributions pθp_\theta with parameter-independent support and differentiation allowed under the integral, the Fisher information matrix is the covariance of the score ∇θlog⁡pθ(x)\nabla_\theta \log p_\theta(x), whose mean is zero:

Fij(θ)=Ex∼pθ[∂log⁡pθ(x)∂θi∂log⁡pθ(x)∂θj]F_{ij}(\theta) = \mathbb{E}_{x \sim p_\theta}\left[\frac{\partial \log p_\theta(x)}{\partial \theta_i} \frac{\partial \log p_\theta(x)}{\partial \theta_j}\right]

Under regularity conditions it also equals the expected negative Hessian of the log-likelihood:

Fij(θ)=−Ex∼pθ[∂2log⁡pθ(x)∂θi∂θj]F_{ij}(\theta) = -\mathbb{E}_{x \sim p_\theta}\left[\frac{\partial^2 \log p_\theta(x)}{\partial \theta_i \partial \theta_j}\right]

KL divergence as a local distance. For a small parameter change dθd\theta,

KL(pθ ∥ pθ+dθ)≈12 dθ⊤F(θ) dθ\text{KL}(p_\theta \,\|\, p_{\theta + d\theta}) \approx \frac{1}{2}\, d\theta^\top F(\theta)\, d\theta

so FF measures how fast the distribution changes, rather than the parameters, as θ\theta moves.

Cramér–Rao bound. Under these regularity conditions, if F(θ)F(\theta) is invertible and θ^\hat\theta is an unbiased estimator of θ\theta computed from nn independent samples from pθp_\theta, then

Cov⁡(θ^)⪰1n F(θ)−1\operatorname{Cov}(\hat\theta) \succeq \frac{1}{n}\, F(\theta)^{-1}

in the positive semidefinite order; for a single parameter, Var⁡(θ^)≥1/(nF(θ))\operatorname{Var}(\hat\theta) \ge 1/(n F(\theta)) (Cover & Thomas, 2006, §11.10).

Key Papers and Books

Information Geometry and Its Applications

Amari2016Springer
View book →

Natural Gradient Works Efficiently in Learning

Amari1998Neural Computation
Read paper →

Elements of Information Theory, Section 11.10: Fisher Information and the Cramér–Rao Inequality

Cover & Thomas2006Wiley (textbook)
View book →

Limitations of the Empirical Fisher Approximation for Natural Gradient Descent

Kunstner, Balles & Hennig2019NeurIPS
Read paper →

Connections

Where to go next

Natural Gradient builds directly on Fisher Information. The other ideas that build on this page are listed under Leads to, above.

Natural Gradient