© 2026 NeckPinch · www.neckpinch.com · All rights reserved.
Course 6Book 6C: Nonlinear PDE: Variational and Geometric MethodsChapter 11
Optimal Transport and Ricci Curvature
Kantorovich duality, Wasserstein geometry, the heat equation as a gradient flow of entropy, displacement convexity, and Ricci curvature as convexity, from Lott–Sturm–Villani to McCann–Topping and the reduced volume.
Read with Villani, Topics in Optimal Transportation (2003), chapters 1–2 (Kantorovich duality, Brenier's theorem), 5 (displacement interpolation and convexity) and 8–9 (gradient flows, the Otto calculus, and inequalities); Santambrogio, Optimal Transport for Applied Mathematicians (2015), chapters 1, 5 and 8, is a gentler second voice. For curvature, Villani's Optimal Transport, Old and New (2009), chapters 14–17 and 29–30, and the papers of Lott and Villani ("Ricci curvature for metric-measure spaces via optimal transport", Ann. of Math. 169, 2009) and Sturm ("On the geometry of metric measure spaces", Acta Math. 196, 2006). For the Ricci flow, McCann and Topping, "Ricci flow, entropy and optimal transportation" (Amer. J. Math. 132, 2010), and Topping, "-optimal transportation for Ricci flow" (J. Reine Angew. Math. 636, 2009).
6C.10 Fully Nonlinear Equations and Monge–Ampère met optimal transport as a source of Monge–Ampère equations: Brenier's theorem says that the cheapest way to move one distribution of mass to another, at quadratic cost, is the gradient of a convex function, and that function solves . This chapter takes the next step, which turned optimal transport from a branch of the calculus of variations into a branch of geometry. The minimal cost is a distance between probability measures, and the space of probability measures with that distance behaves like a Riemannian manifold. In it, the heat equation is the gradient flow of entropy (Jordan, Kinderlehrer and Otto); along its geodesics, entropy is convex exactly when the underlying space has nonnegative Ricci curvature (McCann; Cordero-Erausquin, McCann and Schmuckenschläger; von Renesse and Sturm); and that convexity can be stated on spaces with no smooth structure at all, which gave Lott, Sturm and Villani a definition of "Ricci curvature bounded below" for metric measure spaces.
The Ricci flow enters at three points. The quantity that Perelman's -functional produces as its gradient (12A.2 Ricci Flow as a Gradient Flow) is the Bakry–Émery Ricci tensor of the weighted space , the curvature that controls displacement convexity of entropy relative to , so gradient shrinking solitons are exactly the weighted spaces of constant Bakry–Émery curvature. McCann and Topping (2010) showed that the Ricci flow is characterised by a contraction property: under a super Ricci flow, solutions of the conjugate heat equation draw together in Wasserstein distance. And Topping (2009) and Lott (2009) proved the monotonicity of Perelman's reduced volume by optimal transport with Perelman's -length as the cost. The real-world uses sketched in 6C.10 Fully Nonlinear Equations and Monge–Ampère (economics, image processing, machine learning) are joined here by meteorology and cosmology.
By the end of this chapter you will be able to:
- state the Kantorovich problem and its duality, prove the easy half of duality and the cyclical monotonicity of optimal plans for finite measures;
- define the Wasserstein distance and compute it for Diracs, translates and one-dimensional Gaussians;
- define displacement interpolation, and prove McCann's theorem that entropy is displacement convex on ;
- explain the Otto calculus and derive, formally, the heat and Fokker–Planck equations as Wasserstein gradient flows of entropy, with Fisher information as the dissipation;
- explain why displacement convexity of entropy on a manifold is equivalent to , state the -convexity characterisation of , and define the Lott–Sturm–Villani condition;
- identify the Bakry–Émery tensor in Perelman's work and read shrinking solitons as weighted spaces of constant curvature;
- state McCann–Topping's characterisation of super Ricci flow and describe the -optimal transport proof of reduced-volume monotonicity.
Kantorovich's problem and its dual
Let and be probability measures on and a cost. A transport plan is a probability measure on with marginals and : and . It says how much mass goes from where to where, and, unlike a map, it may split the mass at a point. Kantorovich's problem is to minimise over plans. It is a linear problem in over a convex set, and it always has a minimiser when is continuous (the set of plans is weakly compact, by Prokhorov's theorem, and the cost is lower semicontinuous); Brenier's theorem (6C.10 Fully Nonlinear Equations and Monge–Ampère) says that for and absolutely continuous the minimiser is concentrated on the graph of a map .
Duality. Every linear programme has a dual. If for all , , then for every plan ,
because has marginals and . So the supremum of the left side over such pairs is at most the infimum of the right side. Kantorovich duality says they are equal (for lower semicontinuous costs bounded below; statement):
Economically, and are prices: a shipping company that charges to pick up at and to deliver at , never more than the cost of doing it yourself, can extract at most the optimal cost, and in equilibrium extracts exactly that. The optimal , are the Kantorovich potentials, and on the support of an optimal plan the constraint is an equality, . For , writing , the constraint becomes , the Fenchel inequality, with equality exactly when : this is how the convex function of Brenier's theorem arises.
Cyclical monotonicity. For finitely many points the structure of optimal plans can be seen directly.
Let and , and let the permutation minimise . Then for every and every choice of distinct indices ,
For this says : the set is cyclically monotone.
Proof. Otherwise, cyclically shifting the destinations of (sending to ) and leaving the others unchanged gives a permutation with smaller total cost. For the quadratic cost, expand ; the squared norms are the same on both sides (each and each appears once), leaving the inner products.
Ralph Tyrrell Rockafellar proved (1966) that a cyclically monotone set lies in the subdifferential of a convex function. So, already for finite sets, the optimal plan for quadratic cost is supported on the graph of for a convex , and Brenier's theorem is the continuum version. (For linear assignment problems such as matching workers to jobs, the minimiser over permutations is computed by the Hungarian algorithm of Kuhn, 1955, in time polynomial in ; for large problems the entropic regularisation and Sinkhorn iterations mentioned in 6C.10 Fully Nonlinear Equations and Monge–Ampère are used.)
The Wasserstein distance
For probability measures with finite second moments, set
It is a metric on this set of measures (the triangle inequality follows by "gluing" two plans along their common marginal; statement), and convergence in is weak convergence together with convergence of second moments. Its character is best seen in examples (Exercise 11.5).
- : the space of points embeds isometrically.
- If is the translate of by a vector , then , however spread out is. Compare the distance between densities, which for two disjoint bumps is the same whether they are a millimetre or a mile apart.
- For one-dimensional Gaussians, .
The Wasserstein distance is a distance on distributions that knows the geometry of the underlying space, which is why it is the right distance for comparing histograms of images, distributions of data, or the shapes of density fields. It also has a dynamic form.
the infimum over curves of measures from to and velocity fields transporting them by the continuity equation.
Jean-David Benamou and Yann Brenier (2000) introduced this formula as a computational method; it says that is the minimal kinetic energy of a fluid flow carrying to in unit time, exactly as the squared Riemannian distance is the minimal energy of a curve joining two points. The minimising curve is the displacement interpolation
in which each particle moves at constant speed along a straight line from to its destination : a geodesic of the Wasserstein space, with .
Displacement convexity
Robert McCann (1997) asked which functionals of a density are convex along displacement interpolations, rather than along the linear interpolations for which convexity is ordinary convexity of the integrand. The answer for entropy is a short computation with the Monge–Ampère equation.
Let , be probability densities on , the Brenier map from to , assumed smooth with , and the density of the displacement interpolation. Then is convex on .
Proof. The map has derivative , positive definite, so is a diffeomorphism onto its image, and the push-forward relation reads, as in 6C.10 Fully Nonlinear Equations and Monge–Ampère,
Change variables in :
At each , let be the eigenvalues of ; then , a sum of logarithms of positive affine functions of , hence concave in . Integrating against preserves concavity, and the minus sign makes convex.
The same argument, using the concavity of (the geometric mean of the affine functions ), shows that for , with the right sign, is displacement convex; with and uniform measures on two sets and , it yields the Brunn–Minkowski inequality (Exercise 11.9), which in turn implies the isoperimetric inequality. A potential energy is displacement convex exactly when is convex (Exercise 11.7). Displacement convexity is a new kind of convexity, adapted to the geometry of moving mass, and it gives uniqueness of minimisers for problems that are not convex in the usual sense, such as McCann's original application, the uniqueness of equilibrium shapes of interacting gases.
The heat equation as a gradient flow
Felix Otto (2001), building on Jordan, Kinderlehrer and Otto (1998), gave the space of probability densities a formal Riemannian structure in which is the distance. A tangent vector at is an infinitesimal change of mass; by the continuity equation it is produced by a velocity field, and among all velocity fields producing it, the one of least kinetic energy is a gradient, , with
This is the Otto metric. The gradient of a functional in this metric is the tangent vector with for all . For , an integration by parts gives , so the gradient corresponds to :
For the entropy , , and , so the gradient flow is
the heat equation is the Wasserstein gradient flow of entropy (Exercise 11.8). The rate of dissipation is , the Fisher information, which is the entropy production of 6A.12 Entropy, Information and Diffusion seen as the squared length of a gradient. Adding a potential, , gives the Fokker–Planck equation (6D.4 Fokker–Planck, Time Reversal and Diffusion Models); taking gives the porous medium equation of 6A.8 Nonlinear Parabolic Equations (Otto, 2001).
These are formal computations; Jordan, Kinderlehrer and Otto made them rigorous through a discrete scheme. Fix a time step and define
the JKO scheme, a Wasserstein version of the implicit Euler method for a gradient flow (6A.11 Calculus of Variations and Gradient Flows). They proved (1998) that as the piecewise constant interpolations converge to the solution of the Fokker–Planck equation. The theory of gradient flows in metric spaces of Luigi Ambrosio, Nicola Gigli and Giuseppe Savaré (2005) puts this on a general footing: on a geodesic metric space, a functional that is -convex along geodesics has a well-defined gradient flow, which contracts distances at the rate . Displacement convexity of entropy is thus the reason the heat flow contracts Wasserstein distances on .
Two physical problems turned out to be optimal transport problems in disguise. In meteorology, the semi-geostrophic equations, a model of large-scale atmospheric flow used to study the formation of weather fronts, were written by Mike Cullen and James Purser in terms of a convex potential whose gradient maps physical space to "geostrophic" space; Brenier and Benamou (1998) showed that this is an optimal transport map, and the formation of fronts corresponds to the loss of regularity of the Brenier map, the singularities that Caffarelli's theory (6C.10 Fully Nonlinear Equations and Monge–Ampère) controls. In cosmology, Uriel Frisch and collaborators (2002) proposed reconstructing the initial positions of the matter that formed today's galaxies by solving an optimal transport problem between the present distribution and a uniform initial one, on the hypothesis (from the Zel'dovich approximation of gravitational dynamics) that matter has moved roughly in straight lines with the displacement given by a gradient; tests on N-body simulations recovered the initial positions of a large fraction of the matter. In both cases the convex potential is the object of physical interest and the Monge–Ampère equation is the governing law.
Ricci curvature as convexity of entropy
On a Riemannian manifold with volume measure , optimal transport for the cost still works: Robert McCann (2001) proved that the optimal map is for a function that is "-concave", the Riemannian version of a convex potential, and the displacement interpolation moves each point along the geodesic . The computation of Theorem 11.3 goes through, with one change: the Jacobian is no longer the determinant of an affine family of matrices, but is built from Jacobi fields along the geodesics (9A.7 Jacobi Fields and Curvature versus Topology), and its logarithm satisfies the Riccati-type inequality of 9B.1 Laplacian Comparison:
The first term is the Euclidean part (equality when the Hessian is a multiple of the identity), and the second is the effect of curvature: positive Ricci curvature focuses geodesics, so is more concave, and the entropy is more convex. Negative Ricci curvature spreads geodesics, and convexity can fail. This leads to the theorem that made optimal transport a part of geometry.
For a complete Riemannian manifold and , the following are equivalent:
- ;
- for every Wasserstein geodesic of absolutely continuous probability measures with finite second moments, the relative entropy satisfies
Dario Cordero-Erausquin, Robert McCann and Michael Schmuckenschläger proved that (1) implies (2) (2001), and Max-Karl von Renesse and Karl-Theodor Sturm proved the converse (2005), by testing on measures concentrated near a point and moving in a given direction, so that the entropy sees exactly .
Spaces without smooth structure. Condition (2) uses only a distance, a measure, and geodesics in the Wasserstein space: it makes sense on any metric measure space . Lott and Villani (2009) and Sturm (2006) took it as a definition: has Ricci curvature bounded below by (with a dimension parameter , in the refined condition , using in place of entropy) if entropy is -convex along Wasserstein geodesics. The definition is stable under measured Gromov–Hausdorff convergence, because convexity inequalities pass to limits, so limits of manifolds with (9B.4 Convergence of Manifolds) satisfy it; and many theorems of Riemannian geometry, the Bishop–Gromov volume comparison (9B.2 Volume Comparison), Brunn–Minkowski, the Lichnerowicz eigenvalue bound (6B.16 Eigenvalue Problems and Perelman’s λ), log-Sobolev and Talagrand inequalities, follow from it directly. Felix Otto and Cédric Villani (2000) showed that on a space where entropy is -convex with , the log-Sobolev inequality holds with constant , and implies Talagrand's transport inequality , a quantitative form of concentration of measure. The later theory of spaces (Ambrosio, Gigli, Savaré, and others) adds a condition that rules out Finsler geometries and recovers much of the structure theory of Cheeger and Colding.
Weighted spaces and the Bakry–Émery tensor. For a weighted manifold , entropy relative to is , the entropy plus a potential energy, and the potential term adds to the second derivative along geodesics (Exercise 11.7). So -convexity of the weighted entropy is equivalent to
the condition for the weighted space, with Bakry–Émery Ricci tensor (Dominique Bakry and Michel Émery introduced it in 1985 for diffusion operators ; 6D.5 Diffusions on Manifolds and Curvature). This is precisely the tensor that appears in Perelman's work. The gradient of with the measure held fixed is (12A.2 Ricci Flow as a Gradient Flow), and a gradient shrinking soliton is a weighted manifold with constant Bakry–Émery curvature : the weighted analogue of an Einstein manifold. The Gaussian soliton, with , is the model, and its weighted entropy inequality with is the Gaussian log-Sobolev inequality of 6A.12 Entropy, Information and Diffusion (Exercise 11.10). Perelman's entropy is, in this language, a log-Sobolev functional for a weighted space whose curvature the Ricci flow is driving toward a soliton.
Optimal transport and the Ricci flow
McCann–Topping. Robert McCann and Peter Topping (2010) found a characterisation of the Ricci flow by optimal transport. Run time backwards, , so that the Ricci flow is , and let two probability measures evolve by the conjugate heat equation (9B.7 The Heat Equation on a Manifold), the natural diffusion for measures along the backward flow. They proved that the Wasserstein distance between any two such measures, measured with , is nonincreasing in , and that this contraction property characterises super Ricci flows, families of metrics with (statement). The fixed-metric version is the classical fact that heat flow contracts exactly when ; along the Ricci flow the metric moves just enough to make the contraction hold with no curvature assumption, which is another sense in which the Ricci flow is "the heat equation for the metric". Their paper also derived monotonicity of Perelman-type entropies along the flow from the same structure.
-optimal transport and the reduced volume. Perelman's reduced distance (12A.5 Reduced Distance and Reduced Volume) is the minimal value of the -length over space-time paths, a Hamilton–Jacobi value function (6C.9 Hamilton–Jacobi Equations and Viscosity Solutions), and the reduced volume is monotone. Peter Topping (2009) used the -length as the cost of an optimal transport problem between measures at two different times of the flow, and proved a convexity inequality for entropy along -optimal transport that contains, as special cases, the monotonicity of the reduced volume (transporting from a Dirac mass at the base point) and of Perelman's -entropy. John Lott (2009) gave a related treatment of the reduced volume by optimal transport. In this picture the reduced volume is monotone for the same reason that entropy is displacement convex under : the space-time Ricci curvature of the backward flow, in Perelman's sense, is nonnegative, and -geodesics play the role of straight lines.
6C.12 Quasilinear Parabolic Systems returns to systems: short-time existence for quasilinear parabolic systems, and why the Ricci flow needs DeTurck's trick. 6D.4 Fokker–Planck, Time Reversal and Diffusion Models treats Fokker–Planck equations and their probabilistic meaning, and 6D.5 Diffusions on Manifolds and Curvature the Bakry–Émery theory of diffusions on curved spaces. 9B.1 Laplacian Comparison proves the Riccati inequality used above, 9B.4 Convergence of Manifolds Gromov–Hausdorff convergence, 12A.2 Ricci Flow as a Gradient Flow–12A.3 The 𝓦-Entropy Perelman's and , and 12A.5 Reduced Distance and Reduced Volume the reduced volume.
History
Monge posed his problem in 1781 and Kantorovich his relaxation and duality in 1942. Kuhn's Hungarian algorithm appeared in 1955 and Rockafellar's theorem on cyclically monotone sets in 1966. Brenier's theorem dates from 1987–91 and McCann's displacement convexity from 1997; Jordan, Kinderlehrer and Otto's gradient-flow interpretation of the Fokker–Planck equation appeared in 1998, Otto's calculus for the porous medium equation in 2001, and Otto and Villani's log-Sobolev–Talagrand theorem in 2000. Benamou and Brenier's dynamic formulation appeared in 2000. Bakry and Émery introduced their curvature condition in 1985. McCann's theorem on manifolds appeared in 2001, as did the theorem of Cordero-Erausquin, McCann and Schmuckenschläger; von Renesse and Sturm's converse appeared in 2005. Ambrosio, Gigli and Savaré's book on gradient flows in metric spaces appeared in 2005, Sturm's papers on the geometry of metric measure spaces in 2006, and Lott and Villani's in 2009. Frisch's reconstruction of the early universe was published in 2002. Topping's -optimal transport and Lott's paper on the reduced volume appeared in 2009, and McCann and Topping's characterisation of super Ricci flow in 2010.
Kantorovich relaxes Monge's problem to transport plans, a linear programme whose dual is a problem of prices ; optimal plans are cyclically monotone, and for quadratic cost lie on the graph of the gradient of a convex function. The Wasserstein distance is a metric on probability measures that sees the geometry of the underlying space (; for one-dimensional Gaussians, ), and Benamou–Brenier writes as the least kinetic energy of a flow. Along displacement interpolations, entropy is convex (McCann), because is concave; this gives Brunn–Minkowski. In Otto's metric the heat equation is the gradient flow of entropy, with Fisher information as dissipation, and the JKO scheme makes this rigorous. On manifolds, -convexity of entropy along Wasserstein geodesics is equivalent to , which Lott, Sturm and Villani turned into a definition of Ricci bounds for metric measure spaces, stable under limits; for weighted spaces the curvature is the Bakry–Émery tensor , Perelman's gradient, and shrinking solitons have constant Bakry–Émery curvature. McCann and Topping characterised super Ricci flow by Wasserstein contraction under the conjugate heat flow, and Topping and Lott proved reduced-volume monotonicity by -optimal transport. 6C.12 Quasilinear Parabolic Systems returns to quasilinear parabolic systems and DeTurck's trick.
Exercises
(a) Show that the map pushes forward to and is the gradient of a convex function, hence optimal. (b) Compute and show it equals . (c) Describe the displacement interpolation between the two Gaussians.
Solution
(a) If then . is increasing and affine, the derivative of the convex function ; by Brenier's theorem (in one dimension, the monotone rearrangement of 6C.10 Fully Nonlinear Equations and Monge–Ampère), it is optimal. (b) ; squaring and integrating against , the cross term vanishes (mean zero) and , giving . (c) is affine with slope , so with and : means and standard deviations interpolate linearly.
Let be symmetric positive definite and . Show directly that . Use it with Exercise 11.5 to check Theorem 11.3 for one-dimensional Gaussians, where .
Solution
with , and , so the second derivative is . The matrix is symmetric, and the trace equals . For Gaussians, with affine and positive in , and of a positive affine function is convex, as the theorem says.
Let be a smooth function on and . (a) For with , show . (b) Deduce that is displacement convex if is convex, and, using Dirac masses, that convexity of is necessary. (c) On a manifold, explain why the weighted entropy has second derivative involving .
Solution
(a) , and . (b) If the integrand is nonnegative. Conversely, is a Wasserstein geodesic between Diracs, and ; convexity of this for all , is convexity of . (c) On a manifold, the entropy term contributes (from the Riccati inequality, dropping the nonnegative square), and the potential term contributes , by (a) along geodesics. The sum is controlled by , integrated against , with the transport distance; a lower bound gives -convexity with the term .
(a) Show that along any solution of the continuity equation (with enough decay), . (b) Deduce that among velocity fields with , the steepest descent of is , and that the steepest-descent flow with is the heat equation. (c) Show that the dissipation is the Fisher information .
Solution
(a) . (b) By Cauchy–Schwarz in , , with equality for a negative multiple of . With , and the continuity equation is . (c) Then , which is minus the Fisher information, the identity of 6A.12 Entropy, Information and Diffusion.
Let , be bounded open sets, , , and the displacement interpolation. Granting that (concavity of the geometric mean), and that on (Monge–Ampère with constant densities), show that is supported in with , and deduce .
Solution
for , since ; so is supported in (up to closure). From and , we get . Since is a probability density supported in and bounded by , , which is the inequality.
On with the flat metric and : (a) show ; (b) check that is a probability measure, the Gaussian of variance per coordinate; (c) state the Otto–Villani consequence of , Talagrand's inequality, for this measure , and check it on the translate of by a vector .
Solution
(a) and . (b) (6A.3 The Heat Equation on ℝⁿ), the Gaussian of covariance . (c) Talagrand: . For the translate by : , and with the mean of , so and : equality, as expected for the extremal case.
Free resources for this chapter
Chosen for what this chapter covers, and all free to read. Links checked Oct 20, 2026.
- Reference Wasserstein metricWikipediaThe distance, its dual formulation, and the Gaussian formula.
- Reference Transportation theory (mathematics)WikipediaMonge and Kantorovich problems, duality and Brenier's theorem.
- Reference Brunn–Minkowski theoremWikipediaThe inequality that displacement convexity proves.
- Paper Optimal transport and Perelman's reduced volumeJ. Lott, arXiv:0804.0343 (Calc. Var. PDE, 2009)Reduced-volume monotonicity through optimal transport with the L-length as cost.
© 2026 NeckPinch (www.neckpinch.com). All content in the guidebook (text, mathematics, figures and exercises) is protected by copyright. All rights reserved. No part may be copied, republished or redistributed without written permission.