Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Distances between beliefs
Two weather forecasts say “10% chance of rain” and “11%”. Two others say “50%” and “51%”. Both pairs differ by one percentage point, but the first pair is far more different in practice: rare events are where small changes matter most. Measuring distance between distributions rather than between their parameter numbers gives a curved geometry. That is information geometry.
The ruler is the Fisher information: how much one observation tells you about a parameter. The more informative a change is, the “longer” it counts.
Every probabilistic model, from Kalman filters and Bayesian sensor fusion to neural networks trained with cross-entropy, lives on a statistical manifold. Its geometry tells you how precisely parameters can be estimated (the Cramér–Rao bound, used in tracking and navigation design), and how to optimize well: natural gradient, K-FAC and trust-region policy optimization (TRPO) in reinforcement learning all measure steps in KL.
- 1. Which change is statistically larger?
- 2. The ruler of information geometry is…
- 3. Natural gradient measures step size in…
Level 1: Beginner
★★☆☆☆ Basic⏱ 25 minSecondary-school mathematics: arithmetic and elementary algebra.Fisher information
For a model , the score is . It has mean zero, and its covariance is the Fisher information:
- Bernoulli(p): . It is large near 0 and 1.
- Gaussian in : .
- Poisson(λ): .
Cramér–Rao bound
Any unbiased estimator from n i.i.d. samples has . The MLE attains it asymptotically. For a coin, .
- 1. Fisher information of Bernoulli(0.5):
- 2. The score has expectation…
- 3. The Cramér–Rao bound for n samples is…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.The Fisher metric
Rao (1945) observed that F is a Riemannian metric on parameter space (a12-2). It is the local form of KL:
Lengths measured with F (the Fisher–Rao distance) don’t depend on the parametrization. They are a property of the distributions themselves.
- Bernoulli: the map is an isometry onto a quarter circle of radius 2, so .
- Gaussians : the metric is a hyperbolic plane with curvature −1/2. Narrow Gaussians are far apart even when their means are close.
The natural gradient
Steepest descent depends on how you measure step length. Measure it in KL, minimizing subject to , and the solution is the natural gradient (Amari, 1998):
It is invariant to reparametrization, to first order in the step size. For exponential families it is Fisher scoring, and for Gaussian likelihoods it is Gauss–Newton. Practical approximations include K-FAC (Martens and Grosse, 2015), Adam’s diagonal preconditioning (loosely related), and TRPO and PPO’s KL trust regions (Schulman et al., 2015).
- 1. For small δ, KL(p_θ ‖ p_(θ+δ)) ≈
- 2. The natural gradient is…
- 3. The Fisher–Rao distance between two Bernoulli distributions depends on…
Level 3: Advanced
★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.Two forms of the Fisher matrix
Differentiate twice. The first derivative gives . The second gives , because . ∎
KL is locally the Fisher metric
Expand to second order. The linear term vanishes since . The quadratic term is . ∎
Invariance of the natural gradient
Let with Jacobian J. Then and . So , and the update maps to . The same infinitesimal move results in either coordinates. ∎ Finite steps agree only to first order: Euler steps of the same flow.
Exponential families
For , the Fisher matrix is . The dual coordinates are linked by a Legendre transform: Amari’s dually flat geometry.
Exercise 3.1: Fisher information of a Poisson distribution
, so and . For λ = 4 this is 0.25.
- 1. For an exponential family, the Fisher matrix equals…
- 2. Under θ = θ(η) with Jacobian J, the Fisher matrix transforms as…
- 3. Fisher information of Poisson(λ):
Level 4: Expert
★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.Fitting a precise sensor’s noise model
1000 readings from a sensor with true mean 3 and noise σ = 0.05. We fit N(μ, σ²) by maximum likelihood from μ = 0, σ = 1, to 0.1% accuracy.
| Method | Steps to converge |
|---|---|
| Plain GD in (μ, σ), best of a grid of learning rates (5.6e−3) | 1364 |
| Plain GD in (μ, log σ), best learning rate (3.2e−2) | 334 |
| Natural gradient in (μ, σ), step 0.5 | 25 |
| Natural gradient in (μ, log σ), step 0.5 | 31 |
The loss curvature along μ is . That changes 400-fold between the start and the answer, so no single plain step size suits both. The natural gradient rescales by exactly that curvature.
Invariance check, at flow time 0.4: the natural-gradient paths in the two coordinate systems differ by 0.0068, 0.0032 and 0.0016 for step sizes 0.02, 0.01 and 0.005. They converge to the same path. The plain-gradient flows differ by 0.14 however small the step: they are different algorithms.
Information geometry in AI, robotics and aerospace
- Optimization: natural gradient, K-FAC and Shampoo (a6-3-6); mirror descent as natural gradient in dual coordinates.
- Reinforcement learning: the natural policy gradient (Kakade, 2001), TRPO and PPO with KL trust regions.
- Estimation: Cramér–Rao bounds for tracking, GNSS and attitude sensors; the posterior Cramér–Rao bound for filter design; the Fisher information matrix for optimal experiment and trajectory design.
- Variational inference: natural-gradient VI (Khan and Nielsen, 2018); geometry of exponential families.
References
- C. R. Rao (1945). “Information and the accuracy attainable in the estimation of statistical parameters.” Bull. Calcutta Math. Soc., 37.
- S. Amari (1998). “Natural gradient works efficiently in learning.” Neural Computation, 10.
- S. Amari (2016). Information Geometry and Its Applications. Springer.
- J. Martens (2020). “New insights and perspectives on the natural gradient method.” JMLR, 21.
- J. Martens, R. Grosse (2015). “Optimizing neural networks with Kronecker-factored approximate curvature.” ICML.
- S. Kakade (2001). “A natural policy gradient.” NeurIPS.
- J. Schulman, S. Levine, P. Abbeel, M. Jordan, P. Moritz (2015). “Trust region policy optimization.” ICML.
- F. Nielsen (2020). “An elementary introduction to information geometry.” Entropy, 22.