Fisher information metric explained

In information geometry, the Fisher information metric[1] is a particular Riemannian metric which can be defined on a smooth statistical manifold, i.e., a smooth manifold whose points are probability measures defined on a common probability space. It can be used to calculate the informational difference between measurements.

The metric is interesting in several aspects. By Chentsov’s theorem, the Fisher information metric on statistical models is the only Riemannian metric (up to rescaling) that is invariant under sufficient statistics.[2] [3]

It can also be understood to be the infinitesimal form of the relative entropy (i.e., the Kullback–Leibler divergence); specifically, it is the Hessian of the divergence. Alternately, it can be understood as the metric induced by the flat space Euclidean metric, after appropriate changes of variable. When extended to complex projective Hilbert space, it becomes the Fubini–Study metric; when written in terms of mixed states, it is the quantum Bures metric.

Considered purely as a matrix, it is known as the Fisher information matrix. Considered as a measurement technique, where it is used to estimate hidden parameters in terms of observed random variables, it is known as the observed information.

Definition

Given a statistical manifold with coordinates

\theta=(\theta1,\theta2,\ldots,\thetan)

, one writes

p(x\mid\theta)

for the likelihood, that is the probability density of x as a function of

\theta

. Here

x

is drawn from the value space R for a (discrete or continuous) random variable X. The likelihood is normalized over

x

but not

\theta

:

\intRp(x\mid\theta)dx=1

.

The Fisher information metric then takes the form:

gjk(\theta) = -\intR

\partial2logp(x\mid\theta)
\partial\thetaj\partial\thetak

p(x\mid\theta)dx.

The integral is performed over all values x in R. The variable

\theta

is now a coordinate on a Riemann manifold. The labels j and k index the local coordinate axes on the manifold.

When the probability is derived from the Gibbs measure, as it would be for any Markovian process, then

\theta

can also be understood to be a Lagrange multiplier; Lagrange multipliers are used to enforce constraints, such as holding the expectation value of some quantity constant. If there are n constraints holding n different expectation values constant, then the dimension of the manifold is n dimensions smaller than the original space. In this case, the metric can be explicitly derived from the partition function; a derivation and discussion is presented there.

Substituting

i(x\mid\theta)=-log{}p(x\mid\theta)

from information theory, an equivalent form of the above definition is:

gjk(\theta) = \intR

\partial2i(x\mid\theta)
\partial\thetaj\partial\thetak

p(x\mid\theta)dx = E \left[

\partial2i(x\mid\theta)
\partial\thetaj\partial\thetak

\right].

To show that the equivalent form equals the above definition note that

E \left[

\partiallog{
p(x

\mid\theta)}{\partial\thetaj} \right]=0

and apply

\partial
\partial\thetak
on both sides.

Examples

The Fisher information metric is particularly simple for the exponential family, which has p(x \mid \theta) = \exp\!\bigl[\ \eta(\theta) \cdot T(x) - A(\theta) + B(x)\ \bigr] The metric is g_(\theta) = \frac- \frac\cdot \mathrm[T(x)]The metric has a particularly simple form if we are using the natural parameters. In this case,

η(\theta)=\theta

, so the metric is just
2
\nabla
\theta

A

.

Normal distribution

lN(\mu,\Sigma)

-\ln p(x | \mu, \Sigma) = \frac 12 (x - \mu)^T \Sigma^(x - \mu) + \frac 12 \ln\det(\Sigma) + C Let

T=\Sigma-1

be the precision matrix.

The metric splits to a mean part and a precision/variance part, because

g\mu,=0

. The mean part is the precision matrix:
g
\mui,\muj

=Tij

. The precision part is

gT,T=-

12
\nabla
2
T

ln\detT

.

In particular, for single variable normal distribution,

g=\begin{bmatrix}t&0\ 0&(2t2)-1\end{bmatrix}=\sigma-2\begin{bmatrix}1&0\ 0&2\end{bmatrix}

. Let

x=\mu/\sqrt2,y=\sigma

, then

ds2=2

dx2+dy2
y2

. This is the Poincaré half-plane model.

The shortest paths (geodesics) between two univariate normal distributions are either parallel to the

\sigma

axis, or half circular arcs centered on the

\mu/\sqrt2

-axis.

The geodesic connecting

\delta
\mu0

,

\delta
\mu1
has formula \phi \mapsto \mathcal N\left(\frac + \frac \cos\phi, \sigma^2 \sin^2\phi \right)where

\sigma=

\mu1-\mu0
2\sqrt2
, and the arc-length parametrization is

s=\sqrt2ln\tan(\phi/2)

.

Relation to the Kullback–Leibler divergence

Alternatively, the metric can be obtained as the second derivative of the relative entropy or Kullback–Leibler divergence.[4] To obtain this, one considers two probability distributions

P(\theta)

and

P(\theta0)

, which are infinitesimally close to one another, so that

P(\theta)=P(\theta0)+\sumj\Delta\thetaj\left.

\partialP
\partial\thetaj
\right|
\theta0

with

\Delta\thetaj

an infinitesimally small change of

\theta

in the j direction. Then, since the Kullback–Leibler divergence

DKL[P(\theta0)\|P(\theta)]

has an absolute minimum of 0 when

P(\theta)=P(\theta0)

, one has an expansion up to second order in

\theta=\theta0

of the form
f
\theta0

(\theta):=DKL[P(\theta0)\|P(\theta)]=

1
2

\sumjk\Delta\thetaj\Delta\thetakgjk(\theta0)+O(\Delta\theta3)

.

The symmetric matrix

gjk

is positive (semi) definite and is the Hessian matrix of the function
f
\theta0

(\theta)

at the extremum point

\theta0

. This can be thought of intuitively as: "The distance between two infinitesimally close points on a statistical differential manifold is the informational difference between them."

Relation to Ruppeiner geometry

The Ruppeiner metric and Weinhold metric are the Fisher information metric calculated for Gibbs distributions as the ones found in equilibrium statistical mechanics.[5] [6]

Change in free entropy

The action of a curve on a Riemannian manifold is given by

A=1
2
b
\int
a
\partial\thetaj
\partialt

gjk(\theta)

\partial\thetak
\partialt

dt

The path parameter here is time t; this action can be understood to give the change in free entropy of a system as it is moved from time a to time b.[6] Specifically, one has

\DeltaS=(b-a)A

as the change in free entropy. This observation has resulted in practical applications in chemical and processing industry: in order to minimize the change in free entropy of a system, one should follow the minimum geodesic path between the desired endpoints of the process. The geodesic minimizes the entropy, due to the Cauchy–Schwarz inequality, which states that the action is bounded below by the length of the curve, squared.

Relation to the Jensen–Shannon divergence

The Fisher metric also allows the action and the curve length to be related to the Jensen–Shannon divergence.[6] Specifically, one has

b
(b-a)\int
a
\partial\thetaj
\partialt

gjk

\partial\thetak
\partialt

dt

b
= 8\int
a

dJSD

where the integrand dJSD is understood to be the infinitesimal change in the Jensen–Shannon divergence along the path taken. Similarly, for the curve length, one has

b
\int\sqrt{
a
\partial\thetaj
\partialt

gjk

\partial\thetak
\partialt
} \,dt = \sqrt\int_a^b \sqrt

That is, the square root of the Jensen–Shannon divergence is just the Fisher metric (divided by the square root of 8).

As Euclidean metric

For a discrete probability space, that is, a probability space on a finite set of objects, the Fisher metric can be understood to simply be the Euclidean metric restricted to a positive orthant (e.g. "quadrant" in

R2

) of a unit sphere, after appropriate changes of variable.[7]

Consider a flat, Euclidean space, of dimension, parametrized by points

y=(y0,,yn)

. The metric for Euclidean space is given by
N
h=\sum
i=0

dyidyi

where the

styledyi

are 1-forms; they are the basis vectors for the cotangent space. Writing
style\partial
\partialyj
as the basis vectors for the tangent space, so that
dy
j\left(\partial
\partialyk

\right)=\deltajk

,

the Euclidean metric may be written as

flat
h
jk

=h\left(

\partial
\partialyj

,

\partial
\partialyk

\right)=\deltajk

The superscript 'flat' is there to remind that, when written in coordinate form, this metric is with respect to the flat-space coordinate

y

.

An N-dimensional unit sphere embedded in (N + 1)-dimensional Euclidean space may be defined as

N
\sum
i=0
2
y
i

=1

This embedding induces a metric on the sphere, it is inherited directly from the Euclidean metric on the ambient space. It takes exactly the same form as the above, taking care to ensure that the coordinates are constrained to lie on the surface of the sphere. This can be done, e.g. with the technique of Lagrange multipliers.

Consider now the change of variable

pi=y

2
i
. The sphere condition now becomes the probability normalization condition

\sumipi=1

while the metric becomes

\begin{align}h&=\sumidyidyi =\sumid\sqrt{pi}d\sqrt{pi}\\ &=

1
4

\sumi

dpidpi
pi

=

1
4

\sumipid(logpi)d(logpi) \end{align}

The last can be recognized as one-fourth of the Fisher information metric. To complete the process, recall that the probabilities are parametric functions of the manifold variables

\theta

, that is, one has

pi=pi(\theta)

. Thus, the above induces a metric on the parameter manifold:

\begin{align}h &=

1
4

\sumipi(\theta)d(logpi(\theta))d(logpi(\theta))\\ &=

1
4

\sumjk\sumipi(\theta)

\partiallogpi(\theta)
\partial\thetaj
\partiallogpi(\theta)
\partial\thetak

d\thetajd\thetak \end{align}

or, in coordinate form, the Fisher information metric is:

\begin{align} gjk(\theta) =

fisher &=
4h
jk

4h\left(

\partial,
\partial\thetaj
\partial
\partial\thetak

\right)\\ &=\sumipi(\theta)

\partiallogpi(\theta)
\partial\thetaj
\partiallogpi(\theta)
\partial\thetak

\\ &=E\left[

\partiallogpi(\theta)
\partial\thetaj
\partiallogpi(\theta)
\partial\thetak

\right] \end{align}

where, as before,

d\theta
j\left(\partial
\partial\thetak

\right)=\deltajk.

The superscript 'fisher' is present to remind that this expression is applicable for the coordinates

\theta

; whereas the non-coordinate form is the same as the Euclidean (flat-space) metric. That is, the Fisher information metric on a statistical manifold is simply (four times) the Euclidean metric restricted to the positive orthant of the sphere, after appropriate changes of variable.

When the random variable

p

is not discrete, but continuous, the argument still holds. This can be seen in one of two different ways. One way is to carefully recast all of the above steps in an infinite-dimensional space, being careful to define limits appropriately, etc., in order to make sure that all manipulations are well-defined, convergent, etc. The other way, as noted by Gromov,[7] is to use a category-theoretic approach; that is, to note that the above manipulations remain valid in the category of probabilities. Here, one should note that such a category would have the Radon–Nikodym property, that is, the Radon–Nikodym theorem holds in this category. This includes the Hilbert spaces; these are square-integrable, and in the manipulations above, this is sufficient to safely replace the sum over squares by an integral over squares.

As Fubini–Study metric

The above manipulations deriving the Fisher metric from the Euclidean metric can be extended to complex projective Hilbert spaces. In this case, one obtains the Fubini–Study metric.[8] This should perhaps be no surprise, as the Fubini–Study metric provides the means of measuring information in quantum mechanics. The Bures metric, also known as the Helstrom metric, is identical to the Fubini–Study metric,[8] although the latter is usually written in terms of pure states, as below, whereas the Bures metric is written for mixed states. By setting the phase of the complex coordinate to zero, one obtains exactly one-fourth of the Fisher information metric, exactly as above.

One begins with the same trick, of constructing a probability amplitude, written in polar coordinates, so:

\psi(x;\theta)=\sqrt{p(x;\theta)}ei\alpha(x;\theta)

Here,

\psi(x;\theta)

is a complex-valued probability amplitude;

p(x;\theta)

and

\alpha(x;\theta)

are strictly real. The previous calculations are obtained by setting

\alpha(x;\theta)=0

. The usual condition that probabilities lie within a simplex, namely that

\intXp(x;\theta)dx=1

is equivalently expressed by the idea the square amplitude be normalized:

\intX\vert\psi(x;\theta)\vert2dx=1

When

\psi(x;\theta)

is real, this is the surface of a sphere.

The Fubini–Study metric, written in infinitesimal form, using quantum-mechanical bra–ket notation, is

ds2=

\langle\delta\psi\mid\delta\psi\rangle
\langle\psi\mid\psi\rangle

-

\langle\delta\psi\mid\psi\rangle \langle\psi\mid\delta\psi\rangle
{\langle\psi\mid\psi\rangle

2}.

In this notation, one has that

\langlex\mid\psi\rangle=\psi(x;\theta)

and integration over the entire measure space X is written as

\langle\phi\mid\psi\rangle=\intX\phi*(x;\theta)\psi(x;\theta)dx.

The expression

\vert\delta\psi\rangle

can be understood to be an infinitesimal variation; equivalently, it can be understood to be a 1-form in the cotangent space. Using the infinitesimal notation, the polar form of the probability above is simply

\delta\psi=\left(

\deltap
2p

+i\delta\alpha\right)\psi

Inserting the above into the Fubini–Study metric gives:

\begin{align}ds2={}&

1
4

\intX(\deltalogp)2pdx\\[8pt] {}&+\intX(\delta\alpha)2pdx -\left(\intX\delta\alphapdx\right)2\\[8pt] &{}+

i
2

\intX(\deltalogp\delta\alpha-\delta\alpha\deltalogp)pdx\end{align}

Setting

\delta\alpha=0

in the above makes it clear that the first term is (one-fourth of) the Fisher information metric. The full form of the above can be made slightly clearer by changing notation to that of standard Riemannian geometry, so that the metric becomes a symmetric 2-form acting on the tangent space. The change of notation is done simply replacing

\delta\tod

and

ds2\toh

and noting that the integrals are just expectation values; so:

\begin{align}h={}&

1
4

E\left[(dlogp)2\right]+E\left[(d\alpha)2\right] -\left(E\left[d\alpha\right]\right)2\\[8pt] {}&+

i
2

E\left[dlogp\wedged\alpha\right] \end{align}

The imaginary term is a symplectic form, it is the Berry phase or geometric phase. In index notation, the metric is:

\begin{align}hjk={}& h\left(

\partial
\partial\thetaj

,

\partial
\partial\thetak

\right)\\[8pt] ={}&

1E\left[
4
\partiallogp
\partial\thetaj
\partiallogp
\partial\thetak

\right]\\[8pt] {}&+E\left[

\partial\alpha
\partial\thetaj
\partial\alpha
\partial\thetak

\right] -E\left[

\partial\alpha
\partial\thetaj

\right] E\left[

\partial\alpha
\partial\thetak

\right]\\[8pt] &{}+

iE\left[
2
\partiallogp
\partial\thetaj
\partial\alpha
\partial\thetak

-

\partial\alpha
\partial\thetaj
\partiallogp
\partial\thetak

\right] \end{align}

Again, the first term can be clearly seen to be (one fourth of) the Fisher information metric, by setting

\alpha=0

. Equivalently, the Fubini–Study metric can be understood as the metric on complex projective Hilbert space that is induced by the complex extension of the flat Euclidean metric. The difference between this, and the Bures metric, is that the Bures metric is written in terms of mixed states.

Continuously-valued probabilities

A slightly more formal, abstract definition can be given, as follows.[9]

Let X be an orientable manifold, and let

(X,\Sigma,\mu)

be a measure on X. Equivalently, let

(\Omega,l{F},P)

be a probability space on

\Omega=X

, with sigma algebra

l{F}=\Sigma

and probability

P=\mu

.

The statistical manifold S(X) of X is defined as the space of all measures

\mu

on X (with the sigma-algebra

\Sigma

held fixed). Note that this space is infinite-dimensional, and is commonly taken to be a Fréchet space. The points of S(X) are measures.

Pick a point

\mu\inS(X)

and consider the tangent space

T\muS

. The Fisher information metric is then an inner product on the tangent space. With some abuse of notation, one may write this as

g(\sigma1,\sigma2)=\intX

d\sigma1
d\mu
d\sigma2
d\mu

d\mu

Here,

\sigma1

and

\sigma2

are vectors in the tangent space; that is,

\sigma1,\sigma2\inT\muS

. The abuse of notation is to write the tangent vectors as if they are derivatives, and to insert the extraneous d in writing the integral: the integration is meant to be carried out using the measure

\mu

over the whole space X. This abuse of notation is, in fact, taken to be perfectly normal in measure theory; it is the standard notation for the Radon–Nikodym derivative.

In order for the integral to be well-defined, the space S(X) must have the Radon–Nikodym property, and more specifically, the tangent space is restricted to those vectors that are square-integrable. Square integrability is equivalent to saying that a Cauchy sequence converges to a finite value under the weak topology: the space contains its limit points. Note that Hilbert spaces possess this property.

This definition of the metric can be seen to be equivalent to the previous, in several steps. First, one selects a submanifold of S(X) by considering only those measures

\mu

that are parameterized by some smoothly varying parameter

\theta

. Then, if

\theta

is finite-dimensional, then so is the submanifold; likewise, the tangent space has the same dimension as

\theta

.

With some additional abuse of language, one notes that the exponential map provides a map from vectors in a tangent space to points in an underlying manifold. Thus, if

\sigma\inT\muS

is a vector in the tangent space, then

p=\exp(\sigma)

is the corresponding probability associated with point

p\inS(X)

(after the parallel transport of the exponential map to

\mu

.) Conversely, given a point

p\inS(X)

, the logarithm gives a point in the tangent space (roughly speaking, as again, one must transport from the origin to point

\mu

; for details, refer to original sources). Thus, one has the appearance of logarithms in the simpler definition, previously given.

See also

References

Notes and References

  1. Nielsen . Frank . 2023 . A Simple Approximation Method for the Fisher–Rao Distance between Multivariate Normal Distributions . Entropy . 25 . 4 . 654 . 10.3390/e25040654 . free . 37190442 . 10137715 . 2302.08175 . 2023Entrp..25..654N .
  2. Book: Shun-ichi . Amari . Horishi . Nagaoka . Chentsov's theorem and some historical remarks . Methods of Information Geometry . New York . Oxford University Press . 2000 . 0-8218-0531-2 . 37–40 . https://books.google.com/books?id=vc2FWSo7wLUC&pg=PA37 .
  3. Dowty . James G. . 2018 . Chentsov's theorem for exponential families . Information Geometry . 1 . 1 . 117–135 . 10.1007/s41884-018-0006-4 . 1701.08895. 5954036 .
  4. Book: Cover . Thomas M. . Joy A. . Thomas . Elements of Information Theory . 2nd . Hoboken . John Wiley & Sons . 2006 . 0-471-24195-4 .
  5. Dorje . Brody . Daniel. Hook. Information geometry in vapour-liquid equilibrium . 0809.1166 . Journal of Physics A . 2008 . 42 . 2 . 023001 . 10.1088/1751-8113/42/2/023001 . 118311636 .
  6. Gavin E. . Crooks . Measuring thermodynamic length . 0706.0559 . Physical Review Letters . 2009 . 99 . 10 . 100602 . 10.1103/PhysRevLett.99.100602 . 17930381 . 7527491 .
  7. Gromov . Misha . In a search for a structure, Part 1: On entropy . https://scholar.archive.org/work/lrveznwi5rentocivexi6ebg4e . 10.4171/120-1/4 . 978-3-03719-120-0 . Zürich . 3469115 . 51–78 . European Mathematical Society . European Congress of Mathematics . 2013.
  8. Paolo . Facchi . Ravi . Kulkarni . V. I. . Man'ko . Giuseppe . Marmo . E. C. G. . Sudarshan . Franco . Ventriglia . 1 . 1009.5219 . Classical and Quantum Fisher Information in the Geometrical Formulation of Quantum Mechanics . 2010 . Physics Letters A . 374 . 48 . 4801–4803 . 10.1016/j.physleta.2010.10.005 . 2010PhLA..374.4801F . 55558124 .
  9. Mitsuhiro . Itoh . Yuichi . Shishido . Fisher information metric and Poisson kernels . 2008 . Differential Geometry and Its Applications . 26 . 4 . 347–356 . 10.1016/j.difgeo.2007.11.027 . 2241/100265 . free .