Skip to content
Is the Normal Distribution Curved?Chapter 9 Further Directions

Chapter 9 Further Directions

By the end of Chapter 7 we had answered the question posed in Chapter 0⁠. In this final chapter we introduce topics that lie beyond this book. Specifically, we do the following.

  • •

    We introduce Wasserstein geometry and gradient flows on the space of all probability distributions, and explain that the results of this book are their restriction to normal distributions.

  • •

    We introduce a curvature condition defined through optimal transport (the curvature-dimension condition).

  • •

    We introduce research on the Wasserstein geometry of the Gaussian family.

  • •

    We introduce optimal transport on finite state spaces.

  • •

    We touch on the uniqueness of the Fisher metric and look once more at how the two geometries differ.

  • •

    As an application to learning and statistics, we introduce the natural gradient and describe its relation with the variational inference of Chapter 8.

  • •

    We return to the connection with diffusion models and suggest what to read next.

This chapter draws on the whole book. Apart from the short computations shown in the text, none of the claims made in this chapter is proved in this book. For each claim we give a reference. Some notions are described only roughly, so please check the precise definitions and hypotheses in the references given. This chapter contains no figures and no problems.

9.1 The Space of All Probability Distributions

This book has dealt only with finite-dimensional objects. However, 𝒲2 is a distance not only on normal distributions but on the set P2⁢(ℝd) of all probability distributions on ℝd with finite second moment (Remark 5.3, not proved in this book). There is a viewpoint that treats P2⁢(ℝd) like an infinite-dimensional Riemannian manifold. Formally, its tangent vectors are velocity fields v satisfying the continuity equation, and the squared length of a tangent vector is the minimum of 𝔼⁢|v|2. This viewpoint is due to Otto [OTT01] (it is called Otto calculus). Proposition 5.10 and Definition 5.11 amount to its restriction to the Gaussian family (Remark 5.13, not proved in this book).

The typical example of a gradient flow in this viewpoint is the Fokker–Planck equation. Jordan, Kinderlehrer and Otto [JKO98] showed that the Fokker–Planck equation can be regarded as the Wasserstein gradient flow of KL(⋅∥γ) on P2⁢(ℝd) (Remark 6.4, not proved in this book). Theorem 6.2 and Proposition 6.3 are the restriction of this statement to the Gaussian family. On the Gaussian family, the gradient flow can be solved directly as an ordinary differential equation. This was the standpoint of this book.

The inequalities of Chapter 7 also have forms on the space of all probability distributions. Theorem 7.1 is the restriction of the Gaussian logarithmic Sobolev inequality to normal distributions, and Theorem 7.3 that of the Talagrand inequality. We stated the general forms in Remarks 7.2 and 7.4 (not proved in this book; see Villani’s book [VIL03]).

On the Fisher side, too, there is a gradient flow on the set of all positive densities (Remark 6.7). We did not treat that infinite-dimensional geometry in this book.

9.2 The Curvature-Dimension Condition

The question of Chapter 0⁠ was “is it curved?” Optimal transport makes it possible to study how a space itself is curved. The curvature-dimension condition CD⁢(K,N) expresses a lower bound K on curvature and an upper bound N on dimension through the convexity of entropy along geodesics of the Wasserstein distance (not treated in this book). Takatsu’s book [TAK26] (in Japanese) discusses its definition and the background from which it arises. The curvature here is of a different kind from the Gaussian curvature of Chapter 2, and we do not define it in this book. The condition is also defined for metric measure spaces (not treated in this book; see [TAK26]).

Proposition 7.6 of this book checked directly, only for the one-dimensional Gaussian family, that F=KL(⋅∥γ) is convex along geodesics of the Wasserstein distance. This is a very special analogue of this kind of convexity. For d≥2 that argument does not work.

Takatsu’s book [TAK26] treats, for example, the following topics.

  • •

    The optimal transport problem and Kantorovich duality.

  • •

    The Monge problem and the continuity equation.

  • •

    The definition of the curvature-dimension condition CD⁢(K,N), and equivalences on metric measure spaces.

  • •

    Gradient flows on metric spaces, as the background from which the curvature-dimension condition arises.

  • •

    Applications: isoperimetric inequalities, the logarithmic Sobolev inequality and the Talagrand inequality.

9.3 Wasserstein Geometry of the Gaussian Family

The Wasserstein metric of the d-dimensional Gaussian family (Definition 5.11) is the metric studied by Takatsu [TAK11, Proposition A]. Its sectional curvature is nonnegative ([TAK11, Theorem B], Remark 5.14, not proved in this book). This book proved flatness only in the one-dimensional case (Corollary 5.5). The contrast between the Fisher metric and the Wasserstein metric in one dimension is also described in the introduction of the same paper.

Malagò, Montrucchio and Pistone [MMP18], as their title says, discuss the Riemannian geometry of the set of Gaussian densities under the Wasserstein metric. The paper of Amari and Matsuda [AM22] discusses statistics based on Wasserstein geometry for one-dimensional location-scale models. The one-dimensional Gaussian family {𝒩⁢(m,σ2)} is an example of a location-scale model, with location m and scale σ.

9.4 Optimal Transport on Finite State Spaces

The distributions in this book were distributions on ℝd. On the set of all probability distributions on a finite set, too, one can consider a metric resembling optimal transport. Maas [MAA11] introduced such a metric for probability distributions on a finite state space. See also Mielke’s paper [MIE11], which discusses the gradient structure of reaction-diffusion systems. As its title says, Maas’s paper deals with gradient flows of the entropy for finite Markov chains. Maas’s construction involves the logarithmic mean of positive numbers a,b,

a−blog⁡a−log⁡b(a≠b),a(a=b)

([MAA11, Theorem 1.2], not proved in this book). This metric is not a restriction of 𝒲2 ([MAA11, Remark 2.1]). For the Gaussian family of this book, 𝒲2 could be restricted as it is. This is the point of contrast.

9.5 Uniqueness of the Fisher Metric

The Fisher metric is characterised, up to a constant factor, by a certain natural invariance. This is Chentsov’s theorem (Remark 3.9, not proved in this book; [ČEN82], [AJL+17]).

The Wasserstein distance is defined using the distance on ℝd, so it does not have invariance in this sense. Let us check this on a simple example. The map x↦2⁢x of ℝ sends 𝒩⁢(m,σ2) to 𝒩⁢(2⁢m,4⁢σ2). That is, it sends the point (m,σ) of ℍ to (2⁢m,2⁢σ). The argument of arcosh in the distance formula of Theorem 3.12 does not change when (m1,σ1,m2,σ2) are all multiplied by 2. Therefore the distance of the Fisher metric does not change. On the other hand, by Corollary 5.5, the Wasserstein distance is multiplied by exactly 2. The Fisher metric does not depend on the units of the samples, whereas the Wasserstein distance reflects the distance on the sample space. Neither is better; one chooses between them according to the question.

9.6 Natural Gradient and Variational Inference

Consider updating the parameter θ of a statistical model pθ so as to decrease a loss L⁢(θ). The ordinary gradient method is θk+1=θk−ε⁢∇L⁢(θk). The natural gradient method corrects this with the Fisher information matrix G⁢(θ):

θk+1=θk−ε⁢G⁢(θk)−1⁢∇L⁢(θk)

(Amari’s book [AMA16], not proved in this book). Since G−1⁢∇L is the gradient of L with respect to the Fisher metric, the continuous-time version of this method is the gradient flow with respect to the Fisher metric. The flow of Theorem 6.5 corresponds to the continuous-time natural gradient method for L=KL(⋅∥pθ∗) (Remark 6.8).

One can also replace the Fisher metric by the Wasserstein metric. Li and Montúfar [LM18] and Chen and Li [CL20] discuss natural gradients based on optimal transport. Li and Zhao [LZ23] discuss the Wasserstein information matrix, the counterpart of the Fisher information matrix.

In variational inference, one looks within a tractable family for a distribution close to a target distribution π in the sense of KL(⋅∥π). The case where the family is the Gaussian family was treated in Chapter 8. There, one step of the natural gradient method on the Gaussian family turned out to be the explicit Euler discretisation of the FR flow in natural-parameter coordinates (Proposition 8.15).

9.7 Towards Diffusion Models

In Why Pictures Emerge from Noise [KEI26b], noise is added to the data distribution by an OU process, and images are generated by following this process backwards. The normalisation of that OU process is the same as in this book. Hence, if the data distribution p0 satisfies KL⁡(p0∥γ)<∞, the time evolution of the distribution of the noising process can be regarded as the Wasserstein gradient flow of KL(⋅∥γ) in the sense of Section 9.1 (not proved in this book; Remark 6.4). If the data distribution is Gaussian, the noised distribution stays Gaussian and moves along the OU flow of this book.

Let pt be the distribution at time t of the noising OU process. That book replaces the distribution pT at a sufficiently large time T by γ. The error from this replacement depends on how close pT is to γ. This is the question of the rate of convergence studied in Chapter 7. If KL⁡(p0∥γ)<∞, the general logarithmic Sobolev inequality gives KL⁡(pt∥γ)≤e−2⁢t⁢KL⁡(p0∥γ) (Remark 7.2, not proved in this book). However, the data distribution in that book need not have a density. In that case KL⁡(p0∥γ)=∞, and this bound cannot be used as it stands. Chapter 9 of that book bounds KL⁡(pT∥γ) by a different method. If the second moment m2=∫|y|2⁢p0⁢(d⁢y) of the data distribution p0 is finite, then KL⁡(pT∥γ)≤12⁢(d+m2)⁢e−2⁢T for T≥12⁢log⁡2 (not proved in this book; [KEI26b]).

9.8 Further Reading

  • •

    Information geometry: Fujioka’s book [FUJ21] (in Japanese), Amari’s book [AMA16], the book of Amari and Nagaoka [AN00], and the book of Ay, Jost, Lê and Schwachhöfer [AJL+17].

  • •

    Optimal transport: Takatsu’s book [TAK26] (in Japanese), Villani’s book [VIL03], and Santambrogio’s book [SAN15].

  • •

    Differential geometry of curves and surfaces: the book of Kobayashi [KOB95] (in Japanese).

  • •

    The hyperbolic plane: Surfaces of Curvature −1 [KEI26a].

  • •

    Stochastic differential equations and diffusion models: Why Pictures Emerge from Noise [KEI26b].