Chapter 4 Exponential Families and the Dually Flat Structure
The Gaussian family is the prime example of an exponential family. An exponential family carries two coordinate systems, the natural parameter and the expectation parameter . In this chapter we study how these two coordinates relate to the Fisher metric. The main results are as follows.
-
•
The matrix of second partial derivatives of the potential function is the Fisher information matrix (Proposition 4.3).
-
•
The KL divergence can be written as the Bregman divergence of (Proposition 4.13).
-
•
We define e-geodesics, which are straight lines in , and m-geodesics, which are straight lines in (Definition 4.15).
-
•
A Pythagorean theorem holds for these two kinds of straight lines (Theorem 4.19).
We use the KL divergence (Definition 1.3), Riemannian metrics and gradients (Chapter 2) and the Fisher metric (Chapter 3). The formulas obtained here will be used in Chapter 6 to compute gradient flows with respect to the Fisher metric.
In this chapter we treat the dually flat structure as the pair of coordinates , together with the Fisher metric. We do not treat dual connections on general manifolds (Remark 4.11) or applications to statistical inference. For these, see the book of Amari and Nagaoka [AN00], Amari’s book [AMA16] and Fujioka’s book [FUJ21] (in Japanese).
History
Amari and Nagaoka’s Methods of Information Geometry was published in Japanese by Iwanami Shoten in 1993. Its English translation appeared in 2000 [AN00].
4.1 Exponential Families
In this chapter we write for the inner product of vectors . In place of one may use any finite-dimensional real vector space with an inner product; choosing an orthonormal basis of identifies with . The gradient and the matrix of second partial derivatives are taken with respect to this inner product.
Definition 4.1 (Exponential family).
Let . Suppose that a map and a function satisfy the following conditions.
-
1.
For and , if almost everywhere, then .
-
2.
There is a nonempty open convex set such that for every ,
For put and define
| (4.1) |
The family of probability density functions is called an exponential family. We call the natural parameter, the natural parameter space, the sufficient statistic and the potential function.
Condition (1) means that the functions are linearly independent. It implies that whenever . Indeed, if almost everywhere, then almost everywhere, so by condition (1). We write , and for the expectation, variance and covariance matrix with respect to .
The set of all with is convex. Indeed, for , Hölder’s inequality with exponents and gives . In what follows, however, we use only that is open and convex.
Example 4.2 (The Gaussian family).
First let . Expanding the density of (Definition 1.1) gives
Hence, with , , , and
| (4.2) |
the density of takes the form (4.1). The natural parameter space is the open convex set , and is a bijection from onto . Its inverse is , . The potential function is
Since the polynomial is constant only when , condition (1) also holds.
For general , equip with the inner product ; then . Let , , , and put
| (4.3) |
Then , and the density of takes the form (4.1). The potential function is
| (4.4) |
The natural parameter space is the set of all with negative definite, which is open and convex. The map is a bijection from onto , with inverse , . Condition (1) follows because is constant only when and . The natural parameter of the standard normal distribution is .
Proposition 4.3 (The potential function).
For the exponential family of Definition 4.1 the following hold.
-
1.
and are on . The partial derivatives of may be computed by differentiating under the integral sign. For every , has moments of all orders under .
-
2.
.
-
3.
, and this matrix is positive definite. In particular, is strictly convex on , and for ,
(4.5) -
4.
is regular in the coordinate in the sense of Definition 3.2. The score function is , and the Fisher information matrix is .
Proof.
(1) Fix . Since is open, for small enough the cube is contained in . We bound for with and a multi-index . For each there is a constant with , so . Also . Applying to each component and expanding the product, we obtain
Since , substituting in the right-hand side and multiplying by gives an integrable function independent of . Hence, applying the theorem on differentiation under the integral sign (via dominated convergence) by induction on , we see that is with . The same bound gives . Since , is also .
(2) By (1), .
(3) By (1) and (2),
Hence for . If equality holds, then is almost surely constant under . Since , this is the same as being constant almost everywhere, and condition (1) gives . Thus is positive definite. Next let and put . Since is convex, Taylor’s formula with integral remainder gives
This is (4.5), which expresses the strict convexity of .
(4) We have . Since and are and is by (1), (4.1) shows that is on . Each is a polynomial in the components of and the partial derivatives of , multiplied by . The partial derivatives of are bounded near , so the same bound as in (1) justifies the differentiation under the integral sign required in Definition 3.2. Differentiating shows that the score function is , which is square integrable by (1). Since by (2), the Fisher information matrix (Definition 3.3) is
By (3), is positive definite. ∎
Example 4.4 (The Fisher information matrix of the Gaussian family).
We check Proposition 4.3 (3) for . If , then , and . Differentiating the of Example 4.2 directly also gives
We transfer this to the coordinates . Let be the Jacobian matrix of (4.2). Then
By the transformation rule of Proposition 3.8, this is the Fisher information matrix in the coordinates . Indeed, it agrees with the Fisher metric of Proposition 3.10.
4.2 The Expectation Parameter and the Legendre Transform
Fix an exponential family and put .
Proposition 4.5 (The expectation parameter).
The map is a diffeomorphism from onto , and is open. We write its inverse as .
Proof.
Let and put . Since is convex, Proposition 4.3 (3) gives
Hence is injective. Its Jacobian matrix is invertible at every point, so by the inverse function theorem is an open map and its inverse is also . ∎
We call the expectation parameter of . By Proposition 4.5, is also a coordinate on the exponential family.
Definition 4.6 (Legendre transform).
For put
We call the Legendre transform of , or the dual potential.
Proposition 4.7 (The dual potential).
is on , and with ,
Proof.
Since is (Proposition 4.5), so is . Let be the Jacobian matrix of . By the chain rule and ,
Differentiating once more gives , which is the inverse of the Jacobian matrix of . ∎
Example 4.8 (The expectation parameter of the Gaussian family).
For we have . Conversely and , and . The dual potential is
One checks that and .
For general we have and . The dual potential is
4.3 The Dually Flat Structure and the Bregman Divergence
Consider a curve in an exponential family. Let and be the natural and expectation parameters of . By the chain rule, the -component and the -component of the velocity vector are related by . In -components, the Fisher metric is given by the matrix of Proposition 4.3 (4).
Lemma 4.9 (The inner product in two coordinates).
Let be tangent vectors at with -components and -components . Then
In particular, the matrix of the Fisher metric in the coordinate is .
Proof.
We have and , and is symmetric. Hence the other two equalities follow from the first. Moreover . The last equality follows from Proposition 4.7. ∎
Taking to be the th standard basis vector and the th in Lemma 4.9, we obtain . That is, the coordinate curves in the direction and in the direction are orthogonal with respect to the Fisher metric when , and their tangent vectors have inner product when .
Definition 4.10 (Dually flat structure).
The natural parameter and the expectation parameter of an exponential family are called mutually dual affine coordinates. In this book, the triple consisting of the Fisher metric and the two coordinates , is called the dually flat structure of the exponential family.
The dually flat structure in the sense of this book is a special case of the general theory.
Remark 4.11 (Dual connections).
The general theory considers a Riemannian metric on a manifold together with a pair of affine connections that are dual to each other with respect to . When both connections are flat, the pair is called dually flat. An exponential family carries a pair of dual connections called the e-connection and the m-connection; is an affine coordinate for the e-connection and one for the m-connection. The geodesics of these connections are the e-geodesics and m-geodesics defined below. The geodesics of the Fisher metric (Definition 2.14) are the geodesics of the connection that is the average of the e-connection and the m-connection. These facts are not proved in this book; see the book of Amari and Nagaoka [AN00]. As Figure 4.1 shows, the three kinds of geodesics differ in general.
Definition 4.12 (Bregman divergence).
For we put
and call it the Bregman divergence of .
By (4.5), , with equality only when .
Proposition 4.13 (The KL divergence and the Bregman divergence).
Take an exponential family and , and put . Then the following hold.
-
1.
With the order of the arguments reversed,
(4.6) -
2.
.
-
3.
Fix and put . The gradient vector of in the coordinate is . The gradient vector of expressed in the coordinate is .
-
4.
For the of (3), the -component of the gradient with respect to the Fisher metric (Definition 2.7) is .
Proof.
(1) By (4.1), . By Proposition 4.3 (1), is integrable under . Hence the KL divergence (Definition 1.3) is finite and
(2) Substitute (Definition 4.6) into the right-hand side of (1).
(4) The matrix of the metric in the coordinate is (Proposition 4.3 (4)). Hence the -component of is . ∎
4.4 e-Geodesics and m-Geodesics
Definition 4.15 (e-geodesic and m-geodesic).
Take two points and of an exponential family, with expectation parameters and .
-
1.
The curve () is called the e-geodesic from to . Since is convex, this curve always stays in the family.
-
2.
Suppose that the segment is contained in . The curve that assigns to the member of the family with expectation parameter is then called the m-geodesic from to .
In other words, the e-geodesic is a straight line in the coordinate , and the m-geodesic is a straight line in the coordinate .
In terms of densities, the e-geodesic is a weighted geometric mean. With , (4.1) gives
The term in parentheses does not depend on , so is proportional to . On the other hand, at a point on the m-geodesic we have , which equals the expectation of under the mixture . The mixture itself, however, does not belong to the family in general.
Example 4.16 (Geodesics of the Gaussian family).
By (4.3), the point on the e-geodesic from to is determined by
For the m-geodesic, and give
| (4.7) |
The right-hand side is positive definite, so the segment always lies in . Hence for the Gaussian family is convex, and any two points can be joined by an m-geodesic.
Example 4.17 (Orbits of the OU process and m-geodesics).
Let with . We examine the expectation parameter of the flow of Gaussians of the OU process (Definition 1.9),
Put . Then , so
The expectation parameter of is .
When we have . Putting gives . Hence the orbit is the m-geodesic from to with its endpoint removed, traversed over with parameter .
When , the orbit still lies on an m-geodesic in the exceptional case . That is, the orbit lies on a single straight line in the coordinate only when or . We prove this. As , , and a line is closed, so such a line passes through . Hence the condition is that is parallel to a single direction for all . Suppose and , and let . If , then the first component gives , and the second then gives , a contradiction. So in this case the orbit does not lie on a line. Conversely, if or , all these vectors are parallel.
When we have , and with , . For this is the case , and the orbit moves along the unit circle towards . That the orbits of the gradient flow with respect to the Fisher metric are e-geodesics is shown in Chapter 6.
4.5 The Pythagorean Theorem
Lemma 4.18 (Three-point identity).
Take three points , , of an exponential family, with expectation parameters , , . Then
| (4.8) |
Proof.
Theorem 4.19 (Pythagorean theorem).
Take three points , , of an exponential family with and . Suppose that the m-geodesic from to exists, and consider it together with the e-geodesic from to . Then the two geodesics are orthogonal at with respect to the Fisher metric if and only if
Proof.
We use the notation of Lemma 4.18. The velocity vector at of the m-geodesic from to has -component . The velocity vector at of the e-geodesic from to has -component . By Lemma 4.9, the inner product of these two velocity vectors with respect to the Fisher metric is . Hence orthogonality is equivalent to , which by Lemma 4.18 is equivalent to the desired equality. ∎
Since the KL divergence is not symmetric, direction matters in Theorem 4.19. The m-geodesic joins and , and the e-geodesic joins and . As the next example shows, the equality for the same three points with the arguments of the KL divergence swapped does not hold in general.
Example 4.20 (The Pythagorean theorem for Gaussians).
Remark 4.21 (m-projection).
In the situation of Theorem 4.19, suppose that the two geodesics are orthogonal at . Let be any point on the e-geodesic from to . Since is a scalar multiple of , we have . Hence by Lemma 4.18, . That is, the point of this e-geodesic that minimises is the point where the m-geodesic from meets it orthogonally.
Problems
-
1.
Show that the family with variance fixed at is an exponential family with , and . Find , , and , and derive from Proposition 4.13 (1).
Hint: and .
-
2.
Let and . Show that for every , with equality only when .
Hint: .
-
3.
Let , , be three points of an exponential family such that the m-geodesic from to exists and is orthogonal at to the e-geodesic from to . Show that .
Hint: Apply Lemma 4.18 to the three points in the order , , .
-
4.
For , show that the e-geodesic and the m-geodesic from to both move along the line from to . Show also that if , their differ for .
Hint: is affine in on the e-geodesic and is affine in on the m-geodesic, and a weighted harmonic mean is smaller than the arithmetic mean.
-
5.
Show that for an exponential family. In particular, check that for the Gaussian family.
Hint: Take the expectation of .