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, is a distance not only on normal distributions but on the set of all probability distributions on with finite second moment (Remark 5.3, not proved in this book). There is a viewpoint that treats like an infinite-dimensional Riemannian manifold. Formally, its tangent vectors are velocity fields satisfying the continuity equation, and the squared length of a tangent vector is the minimum of . 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 on (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 expresses a lower bound on curvature and an upper bound 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 is convex along geodesics of the Wasserstein distance. This is a very special analogue of this kind of convexity. For 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 , 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 -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 is an example of a location-scale model, with location and scale .
9.4 Optimal Transport on Finite State Spaces
The distributions in this book were distributions on . 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 ,
([MAA11, Theorem 1.2], not proved in this book). This metric is not a restriction of ([MAA11, Remark 2.1]). For the Gaussian family of this book, 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 , so it does not have invariance in this sense. Let us check this on a simple example. The map of sends to . That is, it sends the point of to . The argument of in the distance formula of Theorem 3.12 does not change when are all multiplied by . 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 . 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 so as to decrease a loss . The ordinary gradient method is . The natural gradient method corrects this with the Fisher information matrix :
(Amari’s book [AMA16], not proved in this book). Since is the gradient of 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 (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 . 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 satisfies , the time evolution of the distribution of the noising process can be regarded as the Wasserstein gradient flow of 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 be the distribution at time of the noising OU process. That book replaces the distribution at a sufficiently large time by . The error from this replacement depends on how close is to . This is the question of the rate of convergence studied in Chapter 7. If , the general logarithmic Sobolev inequality gives (Remark 7.2, not proved in this book). However, the data distribution in that book need not have a density. In that case , and this bound cannot be used as it stands. Chapter 9 of that book bounds by a different method. If the second moment of the data distribution is finite, then for (not proved in this book; [KEI26b]).