Take a coin and two hypotheses about it: heads with probability 0.50, or heads with probability 0.51. Then a second pair, 0.98 against 0.99. Both pairs sit one percentage point apart on the parameter axis, and yet no statistician would call them equally far apart. To separate 0.50 from 0.51 by two standard errors you need about ten thousand tosses. For 0.98 against 0.99 you need fewer than six hundred, because near 0.99 a tail is rare and each one you see carries a lot of evidence. The parameter axis is a poor ruler for the thing we usually care about, which is how hard two models are to tell apart from data.
Information geometry starts by taking that complaint seriously. Give a family of probability distributions the ruler that data provides, and ask what geometry comes out. Rao wrote the ruler down in 1945. Most of what makes the subject useful came later, much of it from Shun-ichi Amari in the 1980s, and it is stranger than a ruler. A statistical model carries two distinct notions of straight line, dual to each other, and a version of Pythagoras' theorem holds in which the squared lengths are Kullback–Leibler divergences. Maximum likelihood, maximum entropy, the EM algorithm and the natural gradient all turn out to be projections or descents in this geometry.
I'll keep the differential geometry as light as it can go. The words metric and geodesic appear and very little that is heavier; where Amari writes down an affine connection, I draw two families of curves and say which ones count as straight. The last part sets this geometry next to optimal transport, the other big way of putting geometry on probability distributions. I wrote about transport in an earlier essay, and about the Fokker–Planck equation before that. Neither is needed here, and whatever gets used is recapped. The two subjects tend to be introduced as rivals, and the comparisons between them are usually loose. I want to pin down where they disagree (on what a small change of a distribution is), where they agree exactly, and which of the apparent agreements are shared names and nothing more.
As in the other essays, underlined terms open into definitions and derivations, and most figures respond to dragging.
Write a statistical model as a family of distributions \(p_\theta(x)\) indexed by a parameter vector \(\theta\). The question from the introduction becomes local: if the truth is \(p_\theta\) and I nudge the parameter to \(\theta+\mathrm d\theta\), how much does the data notice? The relevant quantity is the , \(\partial_i \log p_\theta(x)\), the rate at which the log-likelihood of an observation \(x\) changes as you move the \(i\)-th parameter. Its average under the model is zero. Its covariance is the Fisher information matrix,
\(\mathbb E_\theta[\partial_i\log p_\theta] = \int p_\theta\,\frac{\partial_i p_\theta}{p_\theta} = \partial_i\!\int p_\theta = \partial_i 1 = 0.\) At the true parameter the log-likelihood is flat on average, which is the reason maximum likelihood works at all: the expected log-likelihood \(\mathbb E_\theta[\log p_{\theta'}(x)]\) is maximized at \(\theta'=\theta\), and the score is its gradient there.
What the Fisher matrix measures is the spread of the score around zero. A model whose score swings a lot from sample to sample is one where single observations move the likelihood a lot, so the parameter is easy to pin down. Differentiating the zero-mean identity once more gives the other common form, \(g_{ij} = -\mathbb E_\theta[\partial_i\partial_j\log p_\theta]\): the expected curvature of the log-likelihood, sharp peaks meaning lots of information.
$$g_{ij}(\theta) \;=\; \mathbb E_\theta\big[\,\partial_i \log p_\theta(x)\;\partial_j \log p_\theta(x)\,\big],$$
and Rao's proposal was to use it as a Riemannian metric, so that the squared length of a small step is \(\mathrm ds^2 = \sum_{ij} g_{ij}(\theta)\,\mathrm d\theta_i\,\mathrm d\theta_j\). Three facts back the choice up, and each stands on its own.
The first is that the Fisher matrix is the curvature of the KL divergence at the diagonal. For a small step, gives
Write \(s\) for the score and \(H\) for the Hessian of \(\log p_\theta\). Then \(\log p_{\theta+\mathrm d\theta} = \log p_\theta + \mathrm d\theta\cdot s + \tfrac12\mathrm d\theta^{\mathsf T}H\,\mathrm d\theta + \dots\), so
$$\mathrm{KL}(p_\theta\,\|\,p_{\theta+\mathrm d\theta}) \;=\; -\,\mathbb E_\theta\big[\mathrm d\theta\cdot s\big] \;-\; \tfrac12\,\mathrm d\theta^{\mathsf T}\,\mathbb E_\theta[H]\,\mathrm d\theta \;+\; O(|\mathrm d\theta|^3).$$
The first term vanishes because the score has mean zero, and \(-\mathbb E[H]=g\) by the previous box. The expansion is the same with the arguments swapped, so the metric cannot see that KL is asymmetric. The asymmetry first appears at third order, and Part II is largely about where it comes from.
$$\mathrm{KL}\big(p_\theta\,\big\|\,p_{\theta+\mathrm d\theta}\big) \;=\; \tfrac12 \sum_{ij} g_{ij}(\theta)\,\mathrm d\theta_i\,\mathrm d\theta_j \;+\; O(|\mathrm d\theta|^3).$$
KL is the expected log-likelihood ratio, the average evidence per sample that the data came from \(p_\theta\) and not from its neighbour, and the metric is what that becomes when the neighbour is close. The second fact is the : no unbiased estimator built from \(n\) samples has a covariance smaller than \(g(\theta)^{-1}/n\), and maximum likelihood reaches the bound as \(n\) grows. A Fisher distance \(d\) between two nearby models is therefore worth \(\sqrt n\,d\) standard errors after \(n\) samples. The third fact is : up to a constant factor, Fisher's is the only metric that stays the same when you relabel outcomes or pass the data through a sufficient statistic. Any other choice would let the distance between two models depend on bookkeeping that the data cannot see.
Take a scalar parameter and an unbiased estimator \(\hat\theta\). Differentiating \(\mathbb E_\theta[\hat\theta]=\theta\) under the integral gives \(\mathrm{Cov}(\hat\theta, s) = 1\). Cauchy–Schwarz then says \(1 \le \mathrm{Var}(\hat\theta)\,\mathrm{Var}(s) = \mathrm{Var}(\hat\theta)\,g\), so \(\mathrm{Var}(\hat\theta)\ge 1/g\) for one sample, and \(1/(ng)\) for \(n\) independent samples because Fisher information adds over independent observations. The matrix version is the same argument with a vector of scores.
Two qualifications. Biased estimators can beat the bound, which is the content of Stein's paradox and the reason shrinkage works, so the bound describes a class of estimators. And reaching it at finite \(n\) is special to exponential families (Part II); in general only the asymptotic statement holds, and only for regular models, a qualifier the coda returns to.
The setting is finite sample spaces and the maps between them that lose no information: merging outcomes into a coarser description, or more generally the Markov embeddings of a small simplex into a bigger one that can be undone. Chentsov proved in 1972 that a family of Riemannian metrics, one on every simplex, that is invariant under all such maps must be a constant multiple of the Fisher metric. Ay, Jost, Lê and Schwachhöfer extended this to general sample spaces under sufficient statistics, and Bauer, Bruveris and Michor (2016) showed that on smooth densities over a compact manifold, invariance under all diffeomorphisms of the sample space already forces Fisher–Rao. Keep that last version in mind for Part V, because invariance under rearranging \(x\) is exactly the property optimal transport refuses to have.
Don't confuse this with the much weaker invariance that every Riemannian metric has, independence from how you parametrize the model. That one is about \(\theta\). Chentsov's is about \(x\).
For a coin with bias \(p\), the score of one toss is \(1/p\) on heads and \(-1/(1-p)\) on tails, and its variance is \(g(p) = 1/\big(p(1-p)\big)\). The metric blows up at both ends, which is the formal version of the remark about rare tails. Now substitute \(p=\sin^2\varphi\). Then \(\mathrm dp = 2\sin\varphi\cos\varphi\,\mathrm d\varphi\), and
$$\mathrm ds^2 \;=\; \frac{\mathrm dp^2}{p(1-p)} \;=\; 4\,\mathrm d\varphi^2 ,$$
so the angle \(\varphi\) is arc length up to a factor of two. The family of all coins, measured by distinguishability, is a quarter circle of radius 2 and total length \(\pi\), traced by the points \((2\sqrt p,\, 2\sqrt{1-p})\). Equal steps along the arc bunch up near \(p=0\) and \(p=1\) on the parameter axis. The two pairs from the introduction sit at Fisher distances 0.020 and 0.083.
The circle comes with a bonus that is exact, with no asymptotics anywhere. The of two distributions, \(\sum_x\sqrt{p(x)\,q(x)}\), measures how much they overlap, and it controls how well any test can separate them. For the head counts of \(n\) tosses of two coins at Fisher distance \(d\),
For two distributions \(P\) and \(Q\) and the best possible test between them at even prior odds, the error probability \(P_e\) satisfies \(\tfrac12\big(1-\sqrt{1-\mathrm{BC}^2}\big)\le P_e\le\tfrac12\,\mathrm{BC}\). So the overlap pins the error down to within a factor that does not depend on the problem.
The count formula is a one-line binomial expansion: \(\sum_k \binom nk \sqrt{p^k(1-p)^{n-k}q^k(1-q)^{n-k}} = \big(\sqrt{pq}+\sqrt{(1-p)(1-q)}\big)^n\). The same number comes out if you compute the overlap of the full sequences of tosses instead of the head counts, because the count is a sufficient statistic, which is Chentsov's invariance in miniature. And \(\sqrt{pq}+\sqrt{(1-p)(1-q)}\) is the inner product of the unit vectors \((\sqrt p,\sqrt{1-p})\) and \((\sqrt q,\sqrt{1-q})\), the cosine of the angle between them on the circle.
$$\mathrm{BC} \;=\; \Big(\sqrt{pq}+\sqrt{(1-p)(1-q)}\Big)^{n} \;=\; \cos(d/2)^{n},$$
because the bracket is the cosine of the angle between the two points on the circle. How much the two sampling distributions overlap depends on \(p\) and \(q\) only through their distance along the arc. Figure 1 lets you check this by dragging a pair of hypotheses along the axis.
Drag anywhere along the axis or the arc to move the pair. With the Fisher distance held fixed, the overlap of the two head-count histograms stays at \(\cos(d/2)^n\) to every digit shown, and the error of the best test barely moves. Switch to holding \(|p-q|\) fixed and drag toward either end: the histograms pull apart and the error collapses.
Nothing about the coin was special. A distribution on \(k\) outcomes is a vector \(p\) with nonnegative entries summing to one. The score of outcome \(i\) in the direction \(\dot p\) is \(\dot p_i/p_i\), and the Fisher metric is
$$\mathrm ds^2 \;=\; \sum_i \frac{\mathrm dp_i^2}{p_i}.$$
The substitution that straightened the coin works in every dimension. Put \(s_i = 2\sqrt{p_i}\). Then \(\mathrm ds_i = \mathrm dp_i/\sqrt{p_i}\), the metric becomes \(\sum_i \mathrm ds_i^2\), which is plain Euclidean length, and the constraint \(\sum p_i = 1\) becomes \(\sum s_i^2 = 4\). The probability simplex with the Fisher metric is the part of the sphere of radius 2 where all coordinates are nonnegative, and the Fisher distance between two distributions is a great-circle distance,
$$d_F(p,q) \;=\; 2\arccos \sum_i \sqrt{p_i\,q_i}.$$
Statisticians met the chord of this arc before the arc, as the . On the sphere, statistical resolution is uniform: from any point, the empirical frequencies of \(n\) samples scatter in an approximately round cloud whose standard deviation is \(1/\sqrt n\) in every direction, the same everywhere. On the flat simplex the same clouds are ellipses that flatten against the edges. Figure 2 shows both pictures at once.
Write \(H(p,q)=\|\sqrt p-\sqrt q\|\) (conventions differ by a factor of \(\sqrt2\)). It is the straight-line distance between the points \(\sqrt p\) and \(\sqrt q\) on the unit sphere, cutting through the inside, while the Fisher distance walks along the surface. The two agree to leading order for nearby distributions and part ways for distant ones. On the unit sphere the chord tops out at \(\sqrt2\) and the arc at \(\pi/2\); the Fisher metric lives on the sphere of radius 2, which gives it a maximum of \(\pi\), reached exactly when the two distributions have disjoint supports.
The cloud claim is the delta method. The empirical frequencies \(\hat p\) have covariance \((\mathrm{diag}\,p - pp^{\mathsf T})/n\), which is \(g^{-1}/n\) on the simplex. Pushed through \(p\mapsto2\sqrt p\), whose Jacobian is \(\mathrm{diag}(1/\sqrt p)\), that covariance becomes \((I - \sqrt p\sqrt p^{\mathsf T})/n\): the identity on the tangent plane of the sphere, divided by \(n\).
Left: distributions on three outcomes, with circles of equal Fisher radius. Drag the dark point. The green dots are empirical frequencies from repeated batches of \(n\) draws, and the ring around the point has Fisher radius \(2/\sqrt n\), so it should hold about 86% of them wherever you put it. Right: the same objects carried onto the sphere by \(p\mapsto2\sqrt p\). Drag to rotate. On the sphere every circle has the same size, and so does every cloud.
A metric comes with shortest paths, and on the sphere of Part I they are great circles. Statisticians interpolate between distributions in two other ways far more often, and both are natural enough that it is worth seeing why neither is the shortest path.
The first is the mixture \((1-t)\,p + t\,q\). To sample from it, flip a coin with bias \(t\) and draw from \(q\) or \(p\) accordingly. Averaging over a latent variable, marginalizing and pooling populations all produce mixtures. The second is the geometric mixture \(p^{1-t}q^{t}/Z_t\), with \(Z_t\) the normalizer: multiply the two densities with weights and renormalize. Bayesian updating does this, since a posterior is prior times likelihood, and so do tempering, products of experts, and the Boltzmann distribution \(e^{-V/T}/Z\) as the temperature changes. On a histogram the two look very different. A mixture of two bumps is two bumps. A geometric mixture of two Gaussian bumps is a single Gaussian bump in between, and a geometric mixture of two bumps that don't overlap is close to nothing at all, because a product of densities vanishes wherever either factor does.
Each kind of interpolation has families of distributions it never leaves. Mixtures stay inside mixture families, the convex hulls of a few fixed distributions. Geometric mixtures stay inside exponential families,
$$p_\theta(x) \;=\; h(x)\,\exp\!\big(\theta\cdot T(x) \;-\; \psi(\theta)\big),$$
where \(T(x)\) is a vector of statistics, \(\theta\) are the natural parameters, and \(\psi(\theta) = \log\int h\,e^{\theta\cdot T}\) is the log-normalizer, which physicists call the log partition function. Gaussians, Bernoulli, Poisson, Gamma and categorical distributions belong here, and so do Ising models and every Boltzmann distribution with a fixed energy function. A geometric mixture of \(p_{\theta_0}\) and \(p_{\theta_1}\) is \(p_{(1-t)\theta_0+t\theta_1}\), a straight line in \(\theta\).
All the structure of an exponential family sits in the one function \(\psi\). It is , its gradient is the mean of the statistics and its Hessian is their covariance:
Differentiate \(\psi(\theta)=\log\int h\,e^{\theta\cdot T}\): \(\partial_i\psi = \int T_i\,h\,e^{\theta\cdot T}\big/\!\int h\,e^{\theta\cdot T} = \mathbb E_\theta[T_i]\). Differentiate again and you get \(\mathbb E[T_iT_j]-\mathbb E[T_i]\,\mathbb E[T_j]\), a covariance. Covariance matrices are positive semidefinite, so \(\psi\) is convex, and strictly convex unless some combination of the statistics is constant, in which case one statistic is redundant and you drop it.
The score of an exponential family is \(T(x)-\eta\), so the Fisher matrix, being the covariance of the score, is \(\mathrm{Cov}(T)\) once more. Physicists know the same identities with a single statistic, the energy, and \(\theta=-\beta\): the first derivative of \(\log Z\) in \(\beta\) is minus the mean energy, and the second is the variance of the energy, which sets the heat capacity.
$$\nabla\psi(\theta) \;=\; \mathbb E_\theta[T] \;=:\; \eta, \qquad \nabla^2\psi(\theta) \;=\; \mathrm{Cov}_\theta(T) \;=\; g(\theta).$$
The second identity says that the Fisher metric of an exponential family is the Hessian of its log-normalizer. The first defines a second coordinate system, the expectation parameters \(\eta\). For a Gaussian, \(\theta=(\mu/\sigma^2,\,-1/2\sigma^2)\) and \(\eta=(\mu,\,\mu^2+\sigma^2)\); for a categorical distribution, \(\theta_i=\log(p_i/p_k)\) and \(\eta_i=p_i\). Since \(\psi\) is strictly convex, the map \(\theta\mapsto\eta\) is invertible, and its inverse is the gradient of the \(\varphi(\eta)=\sup_\theta\,[\,\theta\cdot\eta-\psi(\theta)\,]\), which turns out to be the negative entropy. So one model has two coordinate systems, each the gradient of a convex function, the two functions Legendre duals of each other, and the Fisher metric is the Hessian of whichever one you are using: \(\nabla^2\psi\) in \(\theta\), and \(\nabla^2\varphi=(\nabla^2\psi)^{-1}\) in \(\eta\).
The supremum in \(\varphi(\eta)=\sup_\theta[\theta\cdot\eta-\psi(\theta)]\) is attained where \(\nabla\psi(\theta)=\eta\), at the parameter whose mean statistics are \(\eta\). There, \(\varphi(\eta)=\theta\cdot\eta-\psi(\theta)=\mathbb E_\theta[\theta\cdot T-\psi(\theta)]=\mathbb E_\theta[\log(p_\theta/h)]\), minus the entropy of \(p_\theta\) relative to the base measure \(h\). In thermodynamics this is the step from a free energy to an entropy by trading a temperature for an energy.
Legendre pairs have inverse gradient maps, \(\nabla\varphi=(\nabla\psi)^{-1}\), and so their Hessians at corresponding points are inverse matrices. That is where \(\nabla^2\varphi=g^{-1}\) comes from, and it is the same fact as \(\mathrm d\eta = g\,\mathrm d\theta\).
Give the two straight lines names. An e-geodesic (e for exponential) is a straight line in \(\theta\), a geometric mixture. An m-geodesic (m for mixture) is a straight line in \(\eta\). Inside an exponential family that means the members whose mean statistics interpolate the endpoints' mean statistics, and on the full simplex, where \(\eta\) is the probability vector itself, it means the mixtures. A family is called e-flat if it has coordinates in which all its e-geodesics are straight lines, and m-flat likewise. An exponential family is e-flat by construction, and m-flat because \(\eta\) is also a global coordinate system. Amari's word for this is dually flat.
The simplex of Part I is a categorical family, so it is flat in two different ways, and it is also a patch of a sphere, which is curved everywhere. The two statements are compatible because Amari's flatness is a property of the chosen straight lines, and these straight lines are not the shortest paths. Three notions of straight line live on the same simplex: mixtures, geometric mixtures, and the great circles of the Fisher metric. In Euclidean space all three would coincide. On the simplex only the great circles are shortest, and the other two bend away from them on opposite sides. In a the Fisher geodesics sit halfway between the other two. Figure 3 draws all three between two distributions of your choice and measures each curve's Fisher length.
The object that decides which curves have zero acceleration is called a connection. A metric determines one connection, the Levi-Civita connection, whose straight curves are the locally shortest ones. A manifold can carry other connections too, and nothing forces them to be compatible with the metric. Amari's e- and m-connections are two such. Neither is compatible with the Fisher metric on its own, but they are compatible as a pair: transport one tangent vector along a curve with the e-rule and another with the m-rule, and their Fisher inner product stays constant. This duality is the structural core of the subject.
Interpolating, \(\nabla^{(\alpha)}=\frac{1+\alpha}2\nabla^{(e)}+\frac{1-\alpha}2\nabla^{(m)}\) gives Amari's \(\alpha\)-connections, and \(\alpha=0\) is the Levi-Civita connection of the Fisher metric. Averaging connections averages the rules for carrying directions along a curve, and the curves themselves need not average along with them, so the great circle is not the pointwise mean of the mixture and the geometric mixture. The figure shows it lying between them anyway.
Drag either endpoint. The bars on the right show the three interpolants at the current \(t\), one group per outcome. The readout gives each path's Fisher length, and the great circle always wins. Push an endpoint toward an edge and the geometric path hugs that edge, because a geometric mixture with one near-zero entry keeps it near zero for most of the way.
Inside an exponential family the KL divergence has a closed form, and the form shows where its asymmetry comes from. A gives
\(\log(p_\theta/p_{\theta'}) = (\theta-\theta')\cdot T - \psi(\theta)+\psi(\theta')\). Take the expectation under \(p_\theta\): \(\mathrm{KL} = (\theta-\theta')\cdot\eta-\psi(\theta)+\psi(\theta')\). The group \(\theta\cdot\eta-\psi(\theta)\) is \(\varphi(\eta)\), because the Legendre supremum is attained there, and what remains is \(\psi(\theta')+\varphi(\eta)-\theta'\cdot\eta\).
Rearranged once more, \(\mathrm{KL}(p_\theta\|p_{\theta'}) = \psi(\theta')-\psi(\theta)-\nabla\psi(\theta)\cdot(\theta'-\theta)\): the height by which the convex function \(\psi\) lies above its tangent plane at \(\theta\), measured at \(\theta'\). That is the Bregman divergence of \(\psi\), and it makes Part I's second-order expansion immediate, since the gap between a convex function and its tangent plane is, to leading order, half the Hessian.
$$\mathrm{KL}\big(p_\theta\,\big\|\,p_{\theta'}\big) \;=\; \psi(\theta') \;+\; \varphi(\eta) \;-\; \theta'\cdot\eta,$$
with \(\eta\) the expectation parameters of the first argument. The first argument enters through its \(\eta\) coordinates and the second through its \(\theta\) coordinates. The right side is the gap in the Fenchel inequality \(\psi(\theta')+\varphi(\eta)\ge\theta'\cdot\eta\), which closes exactly when \(\eta=\nabla\psi(\theta')\), i.e. when the two distributions coincide. Divergences of this shape are called Bregman divergences, and the asymmetry of KL is the asymmetry of its two slots, each written in its own coordinate system.
The payoff is a three-point identity. Take any distribution \(p\), not necessarily in the family, and two members \(q\) and \(r\) of an exponential family. Then shows
\(\mathrm{KL}(p\|r)-\mathrm{KL}(p\|q)-\mathrm{KL}(q\|r) = \sum p\log\frac pr-\sum p\log\frac pq-\sum q\log\frac qr = \sum\,(p-q)\log\frac qr.\)
Because \(q\) and \(r\) belong to the same exponential family, \(\log(q/r) = (\theta_q-\theta_r)\cdot T(x)-\psi(\theta_q)+\psi(\theta_r)\). The constant part integrates to zero against \(p-q\), since both are probability distributions, and the \(T\) part gives \((\theta_q-\theta_r)\cdot(\mathbb E_pT-\mathbb E_qT)\). Nothing about \(p\) was used except that these expectations exist. That is why \(p\) can be any distribution at all, including the empirical distribution of a data set.
$$\mathrm{KL}(p\,\|\,r) \;=\; \mathrm{KL}(p\,\|\,q) \;+\; \mathrm{KL}(q\,\|\,r) \;+\; (\theta_q-\theta_r)\cdot(\eta_p-\eta_q),$$
where \(\eta_p=\mathbb E_p[T]\). The cross term pairs an m-direction (from \(q\) toward \(p\), measured in \(\eta\)) with an e-direction (from \(q\) toward \(r\), measured in \(\theta\)), and with one direction in each coordinate system . So the cross term vanishes exactly when the m-geodesic from \(q\) to \(p\) meets the e-geodesic from \(q\) to \(r\) at a right angle in the Fisher metric, and then
A tangent direction at \(q\) can be described by how it changes \(\theta\) or by how it changes \(\eta\), and the two descriptions are related by \(\mathrm d\eta = g\,\mathrm d\theta\). The Fisher inner product of directions \(u\) and \(v\) is \(\mathrm d\theta_u^{\mathsf T}\,g\,\mathrm d\theta_v = \mathrm d\theta_u\cdot\mathrm d\eta_v\). Describe one direction in natural coordinates and the other in expectation coordinates and the metric drops out of the formula.
When \(p\) lies outside the family the same holds with the m-direction taken in the space of all distributions: the Fisher inner product of the mixture direction \(p-q\) with a direction whose score is \((\theta_r-\theta_q)\cdot(T-\eta_q)\) is \(\sum(p-q)\,(\theta_r-\theta_q)\cdot(T-\eta_q) = (\theta_r-\theta_q)\cdot(\eta_p-\eta_q)\).
$$\boxed{\;\mathrm{KL}(p\,\|\,r) \;=\; \mathrm{KL}(p\,\|\,q) \;+\; \mathrm{KL}(q\,\|\,r)\;}$$
This is Amari's generalized Pythagorean theorem. The sides are divergences instead of squared lengths, and the right angle is a Fisher right angle between one geodesic of each kind. Two classical results fall out of it.
Fix the family \(\mathcal E\) and a distribution \(p\) outside it, and look for the member of \(\mathcal E\) closest to \(p\) in the sense of \(\min_{q\in\mathcal E}\mathrm{KL}(p\,\|\,q)\). The cross term vanishes for every \(r\in\mathcal E\) at once if \(\eta_q=\eta_p\), that is, if \(q\) has the same mean statistics as \(p\). For that \(q^*\), Pythagoras gives \(\mathrm{KL}(p\|r) = \mathrm{KL}(p\|q^*)+\mathrm{KL}(q^*\|r)\ge\mathrm{KL}(p\|q^*)\) for every \(r\) in the family. So \(q^*\) is the minimizer, it is unique, and you find it by matching moments. Amari calls it the m-projection of \(p\) onto \(\mathcal E\), since the m-geodesic from \(p\) meets the family at a right angle.
Now let \(p=\hat p\) be the empirical distribution of a data set. Then \(\mathrm{KL}(\hat p\,\|\,q) = -\frac1n\sum_i\log q(x_i)+\text{const}\), and minimizing it is maximum likelihood. Fitting an exponential family by maximum likelihood comes down to matching sample moments, which is why fitting a Gaussian means computing a sample mean and a sample variance and stopping there. Pythagoras also says how much worse any other member \(r\) of the family is: by exactly \(\mathrm{KL}(q^*\|r)\), a quantity in which the data appear only through their moments.
Swap the roles. Fix a reference distribution \(r\), uniform say, and a set of moment constraints \(\mathcal L=\{q:\mathbb E_q[T]=t\}\). This set is m-flat, since mixtures of distributions that satisfy the constraints satisfy them too. Now minimize over the first argument, \(\min_{q\in\mathcal L}\mathrm{KL}(q\,\|\,r)\). The same identity, read with \(p\in\mathcal L\), shows that the minimizer is the member of \(\mathcal L\) that lies in the exponential family through \(r\) with statistics \(T\), so \(q^*\propto r\,e^{\theta\cdot T}\), and that Pythagoras holds for every \(p\in\mathcal L\). With \(r\) uniform, minimizing \(\mathrm{KL}(q\|r)\) is maximizing entropy, and the result is Jaynes' maximum entropy principle: the least committal distribution with prescribed averages is exponential in the constrained statistics. Constrain the mean energy and the Boltzmann distribution comes out. Csiszár worked out this geometry in 1975 and called the minimizer the I-projection; Amari calls it the e-projection.
The two projections mirror each other. The m-projection minimizes over the second argument of KL, onto an e-flat family. The e-projection minimizes over the first argument, onto an m-flat set. Alternate the two between a model and the set of distributions consistent with partially observed data and you get the .
With latent variables \(z\), the data constrain only the marginal over \(x\). The set \(\mathcal D\) of joint distributions over \((x,z)\) whose \(x\)-marginal equals the empirical one is m-flat. The model \(\mathcal M=\{p_\theta(x,z)\}\) is often an exponential family in the joint variables, hence e-flat. Minimizing \(\mathrm{KL}(q\|p_\theta)\) over \(q\in\mathcal D\) with \(\theta\) fixed is an e-projection onto \(\mathcal D\), and its solution sets \(q(z\,|\,x)=p_\theta(z\,|\,x)\): the E-step. Minimizing over \(\theta\) with \(q\) fixed is an m-projection onto \(\mathcal M\), moment matching on the completed data: the M-step.
Csiszár and Tusnády (1984) wrote EM as this alternating minimization, and Amari (1995) gave the projection reading and pointed out where the geometric version and the statistical one can differ. Every step lowers the same KL, so the algorithm never goes uphill. Convergence to the global minimum would need both sets to be convex in the mixture sense, and an e-flat model usually isn't, which is how EM ends up in local optima.
One combination is left over: minimizing \(\mathrm{KL}(q\,\|\,p)\) over \(q\) in an exponential family, with \(p\) fixed outside it. This is the objective of variational inference. The family now sits in the first slot, where the theorem wants an m-flat set, and an exponential family is not m-flat inside the space of all distributions (mixtures of Gaussians are not Gaussian). No Pythagorean identity applies, the minimizer need not be unique, and you find it by search, since there is nothing to match. Its behaviour is the familiar mode-seeking one. If \(p\) has two bumps, the best \(q\) sits on one of them, because \(\mathrm{KL}(q\|p)\) punishes \(q\) for putting mass where \(p\) has little and does not care what \(q\) misses. The forward direction \(\mathrm{KL}(p\|q)\) punishes the opposite failure, and its moment-matched fit spreads over both bumps and sits on neither. Figure 4 has both, and its readout tests Pythagoras for the forward fit while you drag a third Gaussian around.
Left: a target \(p\) and its Gaussian fits on a grid, the forward fit by moment matching and the reverse fit by search. Right: the plane of Gaussians \((\mu,\sigma)\), with \(\sigma\) on a log scale, shaded by \(\mathrm{KL}(p\|q)\). Drag the grey point \(r\) anywhere. The readout compares \(\mathrm{KL}(p\|r)\) with \(\mathrm{KL}(p\|q^*)+\mathrm{KL}(q^*\|r)\), and the two agree to rounding error. Switch the shading to the reverse direction: for a two-bump target there is a valley on each bump, and here a third, shallower one for a wide Gaussian straddling both.
A ruler on parameter space changes what downhill means. Ordinary gradient descent, \(\theta\leftarrow\theta-h\,\nabla L\), takes the steepest step as measured by the Euclidean metric of whatever coordinates you wrote the model in. Write a Gaussian in terms of \((\mu,\sigma)\), \((\mu,\log\sigma)\) or \((\mu,\sigma^2)\) and you get three different algorithms with three different paths, although the model and the loss are the same. Amari's natural gradient uses the Fisher metric instead,
$$\theta \;\leftarrow\; \theta \;-\; h\,g(\theta)^{-1}\,\nabla L(\theta).$$
The step is the steepest descent direction when length is measured in Fisher units, which is the same as steepest descent . And in the limit of small steps the path no longer depends on the parametrization at all, because the Fisher metric under a change of coordinates.
Minimize the linearized loss \(L(\theta)+\nabla L\cdot\delta\) subject to \(\mathrm{KL}(p_\theta\|p_{\theta+\delta})\le\varepsilon\). By Part I the constraint is \(\tfrac12\delta^{\mathsf T}g\,\delta\le\varepsilon\) to leading order, and a Lagrange multiplier gives \(\delta\propto-g^{-1}\nabla L\). The natural gradient answers the question: among all models equally distinguishable from the current one, which lowers the loss most?
Policy optimization in reinforcement learning asks this with a KL constraint on the policy. Kakade's natural policy gradient (2001) is the natural gradient of the expected return, TRPO enforces the KL ball explicitly, and PPO's clipped objective is a cheaper surrogate for the same constraint.
Change coordinates \(\theta=\theta(\xi)\) with Jacobian \(J=\partial\theta/\partial\xi\). The gradient picks up one factor, \(\nabla_\xi L = J^{\mathsf T}\nabla_\theta L\). The Fisher metric picks up two, \(g_\xi = J^{\mathsf T}g_\theta J\), because it is a covariance of scores and each score picks up a \(J^{\mathsf T}\). Then \(g_\xi^{-1}\nabla_\xi L = J^{-1}g_\theta^{-1}\nabla_\theta L\), which is exactly how a velocity in \(\theta\) looks in \(\xi\) coordinates. The flows \(\dot\theta=-g^{-1}\nabla L\) written in different coordinates trace the same curve. Ordinary gradient descent fails this test because the Euclidean metric in \(\xi\) is not the Euclidean metric in \(\theta\) carried over.
Discrete steps are another matter. Two natural gradient methods in different coordinates agree to first order in the step size and differ after that, and from a bad starting point "after that" can be a lot, as the figure shows when you raise the step size.
For exponential families something cleaner happens. The maximum likelihood loss is \(L(\theta)=\mathrm{KL}(\hat p\,\|\,p_\theta)\) up to a constant, its gradient in natural parameters is \(\eta(\theta)-\hat\eta\), and the natural gradient flow \(\dot\theta=-g^{-1}(\eta-\hat\eta)\) becomes, after one use of the chain rule \(\dot\eta=g\,\dot\theta\),
$$\dot\eta \;=\; -\,(\eta-\hat\eta).$$
In expectation coordinates the flow runs in a straight line to the answer at exponential speed. The natural gradient flow of maximum likelihood travels the m-geodesic from the starting model to the fitted one. Two more identities come with it. In natural parameters the Hessian of the loss is \(\nabla^2\psi=g\), so natural gradient descent there is Newton's method. And mirror descent with \(\psi\) as the mirror map, \(\eta_{k+1}=\eta_k-h\,\nabla_\theta L\), is natural gradient descent carried out in the \(\eta\) coordinates, step for step; Raskutti and Mukherjee proved the general version. Figure 5 fits a Gaussian from a bad starting point and draws four paths: plain gradient descent in two parametrizations, and natural gradient descent in the same two.
Drag the open circle (the starting Gaussian) or the filled one (the data's mean and standard deviation). Shading is the negative log-likelihood. At the default step size the two blue paths lie on top of each other and on the green line, while the two grey paths disagree with each other about the route and need nearly twice as many steps. Raise the step size: plain gradient descent from a narrow start blows up first, because its step in \(\mu\) scales like \(1/\sigma^2\).
A few remarks on natural gradients in machine learning, since that is where most people meet the subject. Amari proved in 1998 that online natural gradient learning with step size \(1/t\) is Fisher efficient: it attains the Cramér–Rao bound asymptotically, which plain stochastic gradient descent does not in general. For networks with millions of parameters \(g\) cannot be stored, let alone inverted, and practical methods approximate it; K-FAC (Martens and Grosse, 2015) uses a Kronecker factorization per layer. Two cautions apply. The "empirical Fisher", built from gradients at the observed labels instead of labels sampled from the model, is a different matrix, and Kunstner, Balles and Hennig showed it can precondition badly even on simple problems. And Adam divides each coordinate by the square root of a running mean of squared gradients. That resemblance to a diagonal Fisher is often cited, and it doesn't make Adam a natural gradient method: the square root changes the scaling, and the statistic is the empirical one.
So far everything lived in finite-dimensional families: a coin, a die, Gaussians. The Fisher metric also makes sense on the space of all densities on \(\mathbb R^d\), where it is usually called the Fisher–Rao metric, and that space carries a second well-known geometry, the Wasserstein geometry of optimal transport. The two get compared often and usually loosely. In this section I try to say exactly what is shared and what isn't.
A tangent vector at a density \(\rho\) is an infinitesimal change \(\dot\rho\), a function that integrates to zero, and a metric has to assign it a length. Both geometries do this the same way. They represent \(\dot\rho\) through a potential and measure the potential with a norm weighted by \(\rho\). What differs is how a potential produces a change.
Fisher–Rao reweights. A potential \(a\) changes the density by multiplication, \(\dot\rho=\rho\,(a-\mathbb E_\rho a)\), the subtraction keeping the total mass fixed. Mass grows where \(a\) is above average and shrinks where it is below, in place, without going anywhere. The squared length is
$$\|\dot\rho\|^2_{\mathrm{FR}} \;=\; \int\rho\,(a-\mathbb E_\rho a)^2\,\mathrm dx \;=\; \int\frac{\dot\rho^2}{\rho}\,\mathrm dx .$$
Wasserstein moves. A potential \(\phi\) changes the density by pushing mass along its gradient, \(\dot\rho=-\nabla\!\cdot(\rho\nabla\phi)\), which is the continuity equation, and the squared length is the kinetic energy of the push:
$$\|\dot\rho\|^2_{\mathrm W} \;=\; \int\rho\,|\nabla\phi|^2\,\mathrm dx .$$
Side by side, these are one construction with one ingredient swapped. Each geometry has an operator \(K_\rho\) that takes a potential to a change of density, \(K^{\mathrm{FR}}_\rho a=\rho(a-\mathbb E_\rho a)\) and \(K^{\mathrm W}_\rho\phi=-\nabla\!\cdot(\rho\nabla\phi)\), and in both the squared length of \(\dot\rho=K_\rho u\) is \(\langle u,K_\rho u\rangle\). Following Mielke these are called , and the gradient flow of a functional \(\mathcal F\) in either geometry is
In the gradient-flow description of dissipative systems, an evolution is written \(\dot\rho=-K_\rho\,\mathrm D\mathcal F(\rho)\) with \(K_\rho\) symmetric and positive semidefinite, and the inverse of \(K_\rho\) is the metric. Diffusion corresponds to the Wasserstein operator and chemical reactions to operators of Fisher–Rao type; adding the two gives reaction–diffusion. Liero, Mielke and Savaré describe the Hellinger–Kantorovich distance below in exactly these terms. The useful point for us is that choosing a geometry on densities and choosing an Onsager operator are the same decision.
$$\partial_t\rho \;=\; -\,K_\rho\,\frac{\delta\mathcal F}{\delta\rho}.$$
The swap from multiplication to a weighted Laplacian decides everything that follows. \(K^{\mathrm{FR}}\) contains nothing about the space the density lives on: shuffle the points of \(\mathbb R^d\) and it would not notice. \(K^{\mathrm W}\) contains a gradient, and a gradient needs a notion of distance on \(\mathbb R^d\) to exist.
Run one functional down both geometries and the difference becomes dynamics. Take \(\mathcal F(\rho)=\mathrm{KL}(\rho\,\|\,\pi)\) with \(\pi\propto e^{-V}\). In the Wasserstein geometry its gradient flow is the Fokker–Planck equation \(\partial_t\rho=\nabla\!\cdot(\rho\nabla V)+\Delta\rho\), the theorem of Jordan, Kinderlehrer and Otto that the Fokker–Planck essay was built around. In the Fisher–Rao geometry the flow ,
For \(\mathcal F=\mathrm{KL}(\rho\|\pi)\), \(\delta\mathcal F/\delta\rho=\log(\rho/\pi)+1\), and the flow is \(\partial_t\rho=-\rho\big(\log\tfrac\rho\pi-\mathbb E_\rho\log\tfrac\rho\pi\big)\). Divide by \(\rho\): with \(\ell=\log(\rho/\pi)\) this reads \(\dot\ell=-\ell+c(t)\), where \(c(t)\) only renormalizes. So \(\ell_t=e^{-t}\ell_0\) plus a function of \(t\) alone, which is the displayed formula. It is the geometric path between \(\rho_0\) and \(\pi\) that annealed importance sampling and tempering schemes use, run on an exponential clock.
For \(\mathcal F=\mathrm{KL}(p\|\rho)\), \(\delta\mathcal F/\delta\rho=-p/\rho\) and \(\mathbb E_\rho[p/\rho]=1\), so \(\partial_t\rho=-\rho(-p/\rho+1)=p-\rho\), a linear equation solved by the mixture path.
$$\rho_t \;\propto\; \rho_0^{\,e^{-t}}\;\pi^{\,1-e^{-t}},$$
a geometric mixture: the e-geodesic from \(\rho_0\) to \(\pi\), traversed at exponential speed. Descend the other direction, \(\mathrm{KL}(p\,\|\,\rho)\), and the Fisher–Rao flow is \(\rho_t=e^{-t}\rho_0+(1-e^{-t})\,p\), the m-geodesic. Under Fisher–Rao both KL flows travel straight lines from Part II, one of each kind, and neither moves mass anywhere. If \(\rho_0\) vanishes on some region, the e-flow keeps it at zero forever, and the m-flow fills it by fading \(p\) in everywhere at once. The Wasserstein flow is the only one of the three in which mass travels.
The same construction works inside a parametric family. A model \(\rho_\theta\) has tangent vectors \(\partial_i\rho_\theta\), and each can be produced either by a Fisher–Rao potential (the score, since \(\partial_i\rho=\rho\,\partial_i\log\rho\)) or by a Wasserstein potential \(\phi_i\) solving \(-\nabla\!\cdot(\rho\nabla\phi_i)=\partial_i\rho\). The two Gram matrices are
$$g^{\mathrm F}_{ij} \;=\; \int\rho\;\partial_i\log\rho\;\partial_j\log\rho\,\mathrm dx, \qquad g^{\mathrm W}_{ij} \;=\; \int\rho\;\nabla\phi_i\cdot\nabla\phi_j\,\mathrm dx,$$
the Fisher information matrix and the Wasserstein information matrix, which is what Li and Montúfar's Wasserstein natural gradient preconditions with. For the Gaussian family \(\mathcal N(\mu,\sigma^2)\) on the line both are explicit, and they disagree completely:
$$\mathrm ds^2_{\mathrm F} \;=\; \frac{\mathrm d\mu^2+2\,\mathrm d\sigma^2}{\sigma^2}, \qquad \mathrm ds^2_{\mathrm W} \;=\; \mathrm d\mu^2+\mathrm d\sigma^2 .$$
The Wasserstein metric on Gaussians is flat, plain Euclidean distance in \((\mu,\sigma)\). The Fisher metric is the , with constant curvature \(-1/2\). In Fisher's geometry a narrow Gaussian is far from everything else, because a narrow Gaussian is easy to tell apart from everything else. To get from one narrow Gaussian to another, the shortest path widens first, slides while wide, and narrows at the end. In Wasserstein's geometry the shortest path slides. Figure 6 draws both.
Substitute \(u=\mu/\sqrt2\) and the Fisher metric becomes \(2(\mathrm du^2+\mathrm d\sigma^2)/\sigma^2\), twice the metric of the Poincaré half-plane. Half-plane geodesics are vertical lines and semicircles centred on the boundary \(\sigma=0\), so the Fisher geodesics between Gaussians are those semicircles, stretched horizontally by \(\sqrt2\). The distance has a closed form,
$$d_F \;=\; \sqrt2\,\operatorname{arccosh}\!\Big(1+\frac{(\mu_1-\mu_2)^2/2+(\sigma_1-\sigma_2)^2}{2\,\sigma_1\sigma_2}\Big),$$
and as both widths shrink to \(\sigma\) at fixed means it grows like \(2\sqrt2\log(1/\sigma)\), while the Wasserstein distance stays at \(|\mu_1-\mu_2|\). The Wasserstein formula is the Gaussian formula from the transport essay in one dimension, where its covariance term reduces to \((\sigma_1-\sigma_2)^2\).
Compare the simplex of Part I, a piece of a sphere. Fisher geometry has no preferred sign of curvature: categorical families are positively curved, the Gaussian family is negatively curved, and both are dually flat in Amari's sense regardless.
Top: the half-plane of Gaussians \(\mathcal N(\mu,\sigma^2)\), drawn with equal scales so that Wasserstein distance is ordinary distance on the screen. The faint ellipses are balls of equal Fisher radius, and they shrink toward \(\sigma=0\). Drag the two points. Bottom: the density at time \(t\) along each path. Drag both points down to small \(\sigma\) and apart, and the Fisher path inflates, slides and deflates while the Wasserstein path slides.
The swap of operators has a blunt consequence. Fisher–Rao distances are invariant under any rearrangement of the sample space. That is Chentsov's property from Part I, and on smooth densities Bauer, Bruveris and Michor showed that invariance under all diffeomorphisms of the underlying space characterizes Fisher–Rao up to a constant. Wasserstein distances are built from the distance on the sample space and change under almost any rearrangement. Figure 7 makes the point as literally as possible, with two histograms on a line and a button that applies the same random permutation to the bins of both.
Two bumps on 40 bins. Shuffling applies one random permutation to the bins of both histograms. Fisher–Rao, Hellinger and KL are sums over bins, and none of them changes in any digit. The Wasserstein distance depends on where each bin sits, and jumps. Unshuffle and slide: \(W_2\) grows in proportion to the shift, while Fisher–Rao saturates near its maximum \(\pi\) once the bumps stop overlapping.
Each geometry is blind to what the other sees. Two narrow spikes a millimetre apart are close in Wasserstein distance and maximally far in Fisher–Rao, because a single sample tells them apart. Move one percent of the mass from one end of a long interval to the other: the Wasserstein distance scales with the length of the interval, while the Fisher–Rao distance doesn't depend on it and stays at a size that takes on the order of a hundred samples to detect. Fisher–Rao measures distinguishability and ignores where things are. Wasserstein measures displacement and ignores how many samples you would need. Which one you want depends on which of those questions you are asking, and that choice is part of the model.
In four places the relation is an identity. I'll go from the most concrete to the most structural.
Entropic transport is an information projection. The entropically regularized transport problem, \(\min_\pi\,\langle c,\pi\rangle+\varepsilon\,\mathrm{KL}(\pi\,\|\,\mu\otimes\nu)\) over couplings with marginals \(\mu\) and \(\nu\), can be rewritten as
$$\min_{\pi\in\Pi(\mu,\nu)}\;\mathrm{KL}(\pi\,\|\,G), \qquad G \;\propto\; e^{-c/\varepsilon}\,\mu\otimes\nu,$$
the e-projection of the Gibbs kernel \(G\) onto the set of couplings. That set is m-flat, since mixtures of couplings are couplings, so Part III applies word for word. The minimizer lies in the exponential family through \(G\) whose statistics are the row and column indicators, which is the familiar form \(\pi=\mathrm{diag}(a)\,G\,\mathrm{diag}(b)\), and Pythagoras holds for every coupling: \(\mathrm{KL}(\pi\|G)=\mathrm{KL}(\pi\|\pi_\varepsilon)+\mathrm{KL}(\pi_\varepsilon\|G)\). Sinkhorn's algorithm alternates e-projections onto the two m-flat sets "rows sum to \(\mu\)" and "columns sum to \(\nu\)", each a single division, and . Amari, Karakida and Oizumi built a full dually flat geometry on top of this observation.
Let \(C_1\) be the couplings with the right row sums and \(\pi_k\) the current iterate. The row step returns \(\pi_{k+1}\), the e-projection of \(\pi_k\) onto \(C_1\). The solution \(\pi_\varepsilon\) lies in \(C_1\), so Pythagoras gives
$$\mathrm{KL}(\pi_\varepsilon\|\pi_k) \;=\; \mathrm{KL}(\pi_\varepsilon\|\pi_{k+1}) \;+\; \mathrm{KL}(\pi_{k+1}\|\pi_k),$$
and the column step does the same with \(C_2\). The divergence from the solution to the iterate drops at every half step by exactly the divergence between successive iterates. It is bounded below, so those decrements are summable, successive iterates converge together, and a compactness argument finishes the proof. This is Csiszár's 1975 argument for iterative proportional fitting, which is the same algorithm under its statisticians' name, and a case of Bregman's 1967 method of cyclic projections.
The rewriting itself: \(\langle c,\pi\rangle+\varepsilon\sum\pi\log\frac{\pi}{\mu\otimes\nu} = \varepsilon\sum\pi\log\frac{\pi}{e^{-c/\varepsilon}\mu\otimes\nu}\), which is \(\varepsilon\,\mathrm{KL}(\pi\|G)\) up to the constant \(\varepsilon\log Z\) from normalizing \(G\).
Legendre duality is a shared ancestor. Both subjects are built on a convex function and its Legendre transform. In transport with quadratic cost, the Brenier potential \(u\) and its transform \(u^*\) satisfy \(u(x)+u^*(y)\ge x\cdot y\), with equality exactly on the support of the optimal plan. In an exponential family, \(\psi\) and \(\varphi\) satisfy the same inequality, and Part III showed that the gap is the KL divergence. So the KL divergence between members of an exponential family is the dual slack of a quadratic-cost transport problem whose Brenier map is \(\theta\mapsto\nabla\psi(\theta)=\eta\). The statement is : that transport problem moves mass between parameter space and its dual, and has nothing to do with moving the distributions \(p_\theta\) themselves. Wong and Yang turned the general version into a theorem. For a transport problem with a general cost, the pseudo-Riemannian geometry that Kim and McCann put on the product space encodes a dual pair of connections, and dually flat information geometry is the quadratic-cost case.
Pick any probability measure \(m\) on \(\theta\)-space. Because \(\nabla\psi\) is the gradient of a convex function, Brenier's theorem says it is the optimal map from \(m\) to its image \((\nabla\psi)_\#m\), for the cost \(-\theta\cdot\eta\) or equivalently \(\tfrac12|\theta-\eta|^2\), whatever \(m\) is. The dual slack of a pair \((\theta',\eta)\) is \(\psi(\theta')+\varphi(\eta)-\theta'\cdot\eta=\mathrm{KL}(p_\theta\|p_{\theta'})\), where \(p_\theta\) is the member with mean statistics \(\eta\). So KL measures how far the pair \((\theta',\eta)\) is from being matched by the optimal map.
The arbitrariness of \(m\) is where the statement stops. Nothing in the transport problem depends on which measure is being transported, and the identity says more about Legendre duality than about either subject.
One inequality contains both, by name. For \(\pi\propto e^{-V}\) with \(\nabla^2V\succeq\kappa I\), Otto and Villani proved the HWI inequality
$$\mathrm{KL}(\rho\,\|\,\pi) \;\le\; W_2(\rho,\pi)\,\sqrt{I(\rho\,\|\,\pi)} \;-\; \frac\kappa2\,W_2(\rho,\pi)^2,$$
where \(I(\rho\|\pi)=\int\rho\,|\nabla\log(\rho/\pi)|^2\) is the relative Fisher information. Maximize the right side over \(W_2\) and you get the logarithmic Sobolev inequality \(\mathrm{KL}\le I/2\kappa\); Otto and Villani's argument along the Fokker–Planck flow then gives Talagrand's \(W_2^2\le2\,\mathrm{KL}/\kappa\). It is tempting to read HWI as information geometry and transport meeting in one line, and that reading needs correcting. \(I\) is called Fisher information because \(\int\rho|\nabla\log\rho|^2\) is the Fisher information of the translation family \(\rho(x-\theta)\), where a derivative in the parameter equals minus a derivative in space. Inside HWI it plays a different role: it is the squared Wasserstein length of the gradient of KL, the rate at which KL dissipates along the Fokker–Planck flow. All three letters are Wasserstein quantities. The overlap with Fisher's matrix is real for translation families, and information theory uses it (de Bruijn's identity, which says entropy grows along the heat flow at a rate equal to this Fisher information, drives Stam's proof of the entropy power inequality), but it does not extend to the Fisher metric on a general model.
The two metrics add. If reweighting and moving are both Onsager operators, so is their sum, and the resulting distance lets mass travel and also appear or vanish: \(\dot\rho=-\nabla\!\cdot(\rho v)+\rho\,a\), at cost \(\int\rho\,(|v|^2+\delta^2a^2)\), with constants that vary between papers. This is the Wasserstein–Fisher–Rao or Hellinger–Kantorovich distance, found around 2015 by three groups independently: Chizat, Peyré, Schmitzer and Vialard; Liero, Mielke and Savaré; Kondratyev, Monsaingeon and Vorotnikov. The length scale \(\delta\) sets the exchange rate. Mass is moved over distances that are short compared with \(\delta\), and beyond a fixed multiple of \(\delta\) it is cheaper to destroy it at one end and create it at the other. Unbalanced transport, used for growing cell populations and for images with missing parts, runs on this.
| Fisher–Rao | Wasserstein | |
|---|---|---|
| a small change of density | reweighting in place, \(\dot\rho=\rho(a-\mathbb E_\rho a)\) | moving mass, \(\dot\rho=-\nabla\!\cdot(\rho\nabla\phi)\) |
| its squared length | \(\int\dot\rho^2/\rho\) | \(\int\rho|\nabla\phi|^2\) |
| needs a distance on \(x\) | no | yes |
| invariant under relabelling \(x\) | yes, and characterized by it | no |
| two disjoint narrow spikes | maximally far, \(\pi\) | as far apart as the spikes are |
| natural divergence | KL, a Bregman divergence | \(W_2^2\), a squared distance |
| Gaussians on the line | hyperbolic plane | Euclidean half-plane |
| gradient flow of \(\mathrm{KL}(\rho\|\pi)\) | geometric mixture toward \(\pi\) | Fokker–Planck equation |
| flat coordinates | \(\theta\) and \(\eta\), dually, on exponential families | quantile functions, in one dimension only |
| what the distance answers | how many samples to tell them apart | how much work to move one onto the other |
Compressed into one sentence: both geometries put a \(\rho\)-weighted norm on a potential, Fisher–Rao lets the potential act by multiplication and Wasserstein lets it act through the divergence of a flux, and every row of the table follows from that choice.
Three caveats, from the most practical to the most structural.
Singular models. Everything above assumed the Fisher matrix is invertible, so that the model is a smooth manifold and its parameters are locally identifiable. Mixtures, hidden Markov models and neural networks fail this badly. Set a hidden unit's outgoing weight to zero and its incoming weights stop mattering, so whole regions of parameter space map to one distribution and the Fisher matrix degenerates there, which is where fitted models tend to end up. On those sets the Cramér–Rao bound, the asymptotic normality of maximum likelihood and the BIC penalty all break, and Watanabe's singular learning theory replaces the metric with tools from algebraic geometry. The manifold picture of this essay is the regular case, and the models people care most about right now are not regular.
Infinite dimensions. On the space of all densities, the Fisher–Rao "manifold" of Part V is a formal object, in the same way that Otto's Wasserstein manifold is. Making either one rigorous takes real work (Pistone and Sempi's exponential Orlicz manifolds on the information side, metric-space gradient flows on the transport side), and the formal calculations should be read as good guides that still need checking.
KL is a choice. The Fisher metric is canonical by Chentsov's theorem, and the divergence is not. A whole family of \(\alpha\)-divergences has the Fisher metric as its second-order part, each with its own pair of dual connections, and KL is the member at \(\alpha=\pm1\). What singles it out is its link to likelihood and to large deviations through Sanov's theorem; the metric alone would not pick it. Every dually flat structure has its own Bregman divergence and its own Pythagorean theorem.
The road onward branches early. The Jeffreys prior is the volume form \(\sqrt{\det g}\) of the Fisher metric, so for categorical models it is the uniform distribution on Part I's sphere; for the coin it is the arcsine law, and the ticks of Figure 1 are its quantiles. Efron's statistical curvature measures how far a curved family bends away from being exponential and controls second-order efficiency of estimators. Quantum information geometry has no unique monotone metric, and the smallest one leads to the , a formula that turns up on both sides of Part V. And the natural gradient keeps returning in machine learning under other names, as preconditioning, mirror descent and trust regions.
On positive definite matrices, \(d(A,B)^2=\operatorname{tr}A+\operatorname{tr}B-2\operatorname{tr}\big(A^{1/2}BA^{1/2}\big)^{1/2}\). Between covariance matrices it is the Wasserstein distance between \(\mathcal N(0,A)\) and \(\mathcal N(0,B)\). Between density matrices it is the Bures distance of quantum information, whose infinitesimal form is a quarter of the quantum Fisher information of the symmetric logarithmic derivative (Braunstein and Caves, 1994). When \(A\) and \(B\) commute it reduces to \(\|\sqrt a-\sqrt b\|^2\) on their eigenvalues, the squared Hellinger chord of Part I.
So one formula is transport between Gaussians, quantum Fisher information, and classical Hellinger distance. The partial explanation is that all three come from writing a positive matrix as \(A=XX^{\mathsf T}\) and minimizing \(\|X-YU\|\) over orthogonal (or unitary) \(U\), a square root taken modulo rotations. Whether there is more to it than that construction I don't know.
Rao's ruler started from a modest question, how many samples it takes to tell two hypotheses apart. Taking the answer seriously as geometry produced a sphere, two flat structures that disagree with it, a Pythagorean theorem whose sides are divergences, and a single account of maximum likelihood, maximum entropy, EM and the natural gradient. Set next to optimal transport, it differs in one operator, and that operator is the difference between asking what can be told apart and asking what has to move.