Wasserstein Hamiltonian flows
Shui-Nee Chow, Wuchen Li, Haomin Zhou

TL;DR
This paper develops a framework for Hamiltonian flows in the space of probability densities using the Wasserstein metric, unifying classical equations like Vlasov and Schrödinger equations under this formalism.
Contribution
It introduces a novel Hamiltonian flow formalism in density space with Wasserstein metric, connecting various classical equations.
Findings
Reformulation of Vlasov, Schrödinger, and Schrödinger bridge equations as Hamiltonian flows in density space.
Derivation of Euler-Lagrange equations in the Wasserstein density space.
Establishment of kinetic Hamiltonian flows in the $L^2$-Wasserstein metric tensor.
Abstract
We establish kinetic Hamiltonian flows in density space embedded with the -Wasserstein metric tensor. We derive the Euler-Lagrange equation in density space, which introduces the associated Hamiltonian flows. We demonstrate that many classical equations, such as Vlasov equation, Schr{\"o}dinger equation and Schr{\"o}dinger bridge problem, can be rewritten as the formalism of Hamiltonian flows in density space.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGeometric Analysis and Curvature Flows · Cosmology and Gravitation Theories · Black Holes and Theoretical Physics
Wasserstein Hamiltonian flows
Shui-Nee Chow, Wuchen Li and Haomin Zhou
Abstract.
We establish kinetic Hamiltonian flows in density space embedded with the -Wasserstein metric tensor. We derive the Euler-Lagrange equation in density space, which introduces the associated Hamiltonian flows. We demonstrate that many classical equations, such as Vlasov equation, Schrödinger equation and Schrödinger bridge problem, can be rewritten as the formalism of Hamiltonian flows in density space.
Key words and phrases:
Optimal transport; Density manifold; Hamiltonian flow.
1. Introduction
In recent years, optimal transport theory provides essential tools for partial differential equations [12, 13]. It introduces a type of distance functions in the space of probability densities, which evolve differential structures in the underlying sample space. A particular distance function, named -Wasserstein distance, exhibits the metric tensor structure. The density space with this metric forms an infinite-dimensional Riemannian manifold, named density manifold [4]. Many well-known density equations are gradient flows in density manifold [11]. A famous example is a Fokker-Planck equation with gradient drift vector field. It mathematically demonstrates an intuition: The density of gradient flow in sample space is gradient flow in density manifold.
Despite various successful studies of gradient flows, the other essential flows in density manifold, Hamiltonian flows, are not completely clear. See a detailed discussion in page 253 of [12]. It is because that a typical kinetic Hamiltonian flow in manifold (including density manifold) relies on the associated Christoffel symbol [5]. This paper takes a natural first step in this direction. Following key ideas in [2, 5, 7], we establish the formalism of Hamiltonian flows for density manifold in Theorem 1. It directly follows from the variational principle in tangent bundles of density manifold. In other words, we propose to study the following second order equation:
[TABLE]
where is the density function, is the second time derivative, is an elliptic operator, and is a given energy functional. Here the coefficient of quadratic formulation for is the Christoffel symbol in density manifold. Given various energies, we will show that the above equation is the other formulation of many classical equations, including Vlasov equation, Schrödinger equation and Schrödinger bridge problem.
In literature, the study of Hamiltonian flows in density manifold follows Nelson’s stochastic mechanics [1, 7, 8, 9, 10]. See related work in [3]. Along with this framework, Lafferty introduces the Riemannian manifold structure of density space. See [4] or section 3 of [10]. Nowadays this metric tensor is named -Wasserstein metric, known in optimal transport communities [11, 12, 13]. In classical approaches, the Hamiltonian flow in density space is induced by the vector field in sample space. It relies on the cotangent bundle (dual coordinates) of density manifold, which is often named Otto calculus [13]. In contrast to their work, our approach considers the other direction. We use the vector field in density space to describe the one in sample space. This approach applies the tangent bundle of density manifold [5]. From this angle, we introduce the Lagrangian formalism of density manifold.
The plan of paper is as follows. In section 2, we review the formulation of Hamiltonian flows with associated Christoffel symbol on Riemannian manifolds. In section 3, we derive the ones in density manifold. Several examples are demonstrated in section 4.
2. Hamiltonian flows on Riemannian manifolds
In this section, we briefly review classical Hamiltonian flows on a finite dimensional Riemannian manifold. It provides us the intuition to derive the ones in density space.
Let be a smooth, compact, -dimensional Riemannian manifold without boundaries. Here is the metric tensor of . Given a smooth potential function , a classical Hamiltonian flow in refers to the following second order differential equation
[TABLE]
where is a local coordinate in , , \Gamma(\dot{x},\dot{x})=\Big{(}\sum_{1\leq i,j\leq d}\Gamma_{ij}^{k}(x)\dot{x}_{i}\dot{x}_{j}\Big{)}_{k=1}^{d}, is the Christoffel symbol, which is the coefficient of the quadratic term of , is a given potential function, and grad is the Riemannian gradient operator.
We next illustrate equation (1) by using Hamilton’s variational principle. We will explain what is the Lagrangian formalism of equation (1), what is its explicit formulation and why does it relate to Hamilton’s equations. The Lagrangian is the function defined by
[TABLE]
In above, represents the kinetic energy minus the potential energy . Here the metric tensor is introduced in kinetic energy. Consider a variational problem in by
[TABLE]
A path is critical for in case is stationary for variations. It satisfies the Euler-Lagrange equation
[TABLE]
In fact, the trajectory of Hamiltonian flow is a critical path. In other words, equation (1) can be derived by expressing (2) explicitly. Substituting into (2),
[TABLE]
By multiplying on both sides and collecting all the quadratic terms of in above equation, then
[TABLE]
Comparing the above equation with (1), the explicit formulation of geometric formulas are derived:
[TABLE]
and
[TABLE]
where is the differential operator.
Moreover, there is a Hamiltonian structure for each critical path. In other words, equation (1) forms a first order ODE system, which is with the Hamiltonian vector field (a symplectic matrix times the differential of Hamiltonian). Consider the Legendre transformation
[TABLE]
Here, refers to the primal coordinates in the tangent bundle while represents the dual coordinates in the cotangent bundle. The flow in primal coordinates can be recast as the first order ODE in dual coordinates. In other words,
[TABLE]
where is named the symplectic matrix, is the differential operator and is the Hamiltonian function
[TABLE]
We note that is the summation of kinetic energy and potential energy. Based on above known facts, we introduce Hamiltonian flows in density manifold.
3. Hamiltonian flows on density manifold
In this section, we derive the Hamiltonian flow in density space with respect to the -Wasserstein metric tensor.
3.1. -Wasserstein metric tensor
We first review some facts. Consider the space of positive smooth density functions supported on .
[TABLE]
Denote the tangent space at by
[TABLE]
The -Wasserstein metric tensor is defined as follows. Denote the space of potential functions on by . Consider the quotient space
[TABLE]
where are functions defined up to addition of constants.
The identification map is defined by
[TABLE]
Since is a manifold without boundary, it is clear that . The property of elliptical operator
[TABLE]
shows that is a well defined map, linear, and one to one. In other words, , where is the smooth cotangent space of .
The identification induces the following inner product on . We first present this metric tensor in a dual formulation [6].
Definition 1** (Inner product in dual coordinates).**
The inner product takes any two tangent vectors and to
[TABLE]
Define the pseudo inverse operator of . One simply check the fact that
[TABLE]
Thus
[TABLE]
Based on above understandings, we next present the metric tensor in primal coordinates.
Definition 2** (Inner product in primal coordinates).**
Given , the inner product is defined by
[TABLE]
Following [4], is named density manifold. The variational problem from inner product gives a minimization of geometry energy functional in .
[TABLE]
The energy function equals the squared of geodesic distance, known as -Wasserstein distance. In this case, the inverse Laplacian operator introduces the Legendre transformation in density manifold
[TABLE]
As in previous section, represents the primal coordinates in tangent bundle while refers the dual coordinates in cotangent bundle.
We note that the -Wasserstein metric has many other equivalent formulations, including optimal mapping formulation, named Monge problem, and the statical formulation, called Kantorovich problem. For more details see [12]. In this paper, we focus on its induced metric tensor in primal coordinates.
3.2. Wasserstein Hamiltonian flows
We next present the Hamiltonian flows in density manifold. We shall introduce the following second order partial differential equation
[TABLE]
where is the Christopher symbol, representing the quadratic function of , and is the Riemannian gradient operator in . The above equation has been derived by a geometric approach in [5]. In this paper, we would like to proceed with the other derivation based on Hamilton’s variational principle.
Let be a smooth potential energy. The Lagrangian in density manifold is given by
[TABLE]
In above formula, represents the kinetic energy minus potential energy in density manifold. It can be viewed as the “expectation” of Lagrangian in based on current probability density. Here the path in is represented by the corresponding density path .
Consider the variational problem
[TABLE]
A density path is critical for in case is stationary for variations. We next derive Hamiltonian flows by finding critical paths of (4).
Theorem 1** (Hamiltonian flow in primal coordinates).**
The Euler-Lagrange equation of variational problem (4) satisfies
[TABLE]
where , is the first variation w.r.t. , respectively, and is a spatially-constant function. More explicitly, the Euler-Lagrange equation can be rewritten as
[TABLE]
Remark 1*.*
By comparing (6) with (3), we note that
[TABLE]
while
[TABLE]
Proof.
Denote a smooth perturbation function , such that for all and . Denote , and consider the Taylor expansion of w.r.t. ,
[TABLE]
Notice that
[TABLE]
It is clear that implies
[TABLE]
Perform integration by parts w.r.t. in above formula and notice . Then
[TABLE]
Since , then the equation (5) holds up to a spatially-constant function shrift.
We next derive (6) by expressing (5) explicitly. In other words, notice , then (5) forms
[TABLE]
Towards the above equation, we shall show that its L.H.S. satisfies
[TABLE]
while the R.H.S. satisfies
[TABLE]
Combining (7) and (8), multiplying on both sides and collecting all quadratic term of , we prove the result.
We next prove (7) and (8) by the following claim.
Claim: For any , then
[TABLE]
Proof of Claim.
Given , denote . Since is semi-positive, we construct a positive self-adjoint operator to compute its derivative. Define
[TABLE]
We shall simply check that the inverse operator of satisfies
[TABLE]
Notice
[TABLE]
Since is a linear operator, then
[TABLE]
Thus . If , i.e. , then . Thus
[TABLE]
where the last equality is true since is linear w.r.t. . ∎
We demonstrate (7). From the claim,
[TABLE]
We show (8). Consider a perturbation function , then
[TABLE]
where the first equality is shown by the claim. From the definition of first variation, (8) is proved. ∎
Secondly, we demonstrate that Euler-Lagrange (6) can be recast into Hamilton’s equations.
Proposition 1** (Hamiltonian flow in dual coordinates).**
Consider
[TABLE]
then equation (6) can be formulated as the first order system of ,
[TABLE]
where is up to a spatially-constant function shrift. In other words,
[TABLE]
where the Hamiltonian is given by
[TABLE]
Proof.
We directly check the result. Since , then the continuity equation holds, i.e. . We only need to show that up to a spatially-constant function shrift satisfies the Hamilton-Jacobi equation. We rewrite (6) by
[TABLE]
Based on the property of elliptical operator , up to a spatially-constant function shrift satisfies the Hamilton-Jacobi equation. ∎
In the last, we demonstrate a natural mathematical connection between Hamiltonian flows in and . We shall show that the density transition equation of a second order ODE (1) satisfies a second order PDE (6). For illustration, let be a dimensional torus .
Proposition 2** (Hamiltonian flow as density transition equation).**
Let be a smooth diffeomorphism in with , for some smooth function . Suppose satisfies
[TABLE]
Given the initial density , , i.e. equals push-forward . Then the density path is a solution of (6).
Proof.
Denote , (9) can be rewritten as
[TABLE]
On one hand, by differentiating , we obtain for any ,
[TABLE]
Thus
[TABLE]
On the other hand, we demonstrate that solves the continuity equation
[TABLE]
We shall show that for any test function ,
[TABLE]
By the definition of push-forward , we have
[TABLE]
Then
[TABLE]
where the last equality is from the definition of push-forward, i.e. . Thus solves the system of (10) and (11).
We next demonstrate that the system of (10), (11) can be written into a single equation (6). We first construct a function such that , . We check that equation (10) is equivalent to
[TABLE]
In other words,
[TABLE]
for some constant function . From (11), . Substituting it into the above, we have
[TABLE]
From the equality (7), we derive
[TABLE]
Applying operator on both sides of the above equation, we prove that satisfies equation (6). ∎
4. Examples
In this section, we demonstrate that many well-known equations related to densities can be recast in the formalism of Hamiltonian flows in density manifold.
Example 1** (Linear Vlasov equation).**
Given a potential . Consider a linear Vlasov equation
[TABLE]
It represents the evolutionary of density on for particles moving with a force based on a potential. In other words, is the transition density of satisfying
[TABLE]
On the other hand, the first order ODE system can be rewritten as the second order ODE
[TABLE]
From Proposition 2, the density of on , i.e. , satisfies the transition equation
[TABLE]
It is a Hamiltonian flow (3) in density manifold w.r.t. the linear potential energy
[TABLE]
Example 2** (Nonlinear Vlasov equation).**
Given an interaction potential . Consider a nonlinear Vlasov equation
[TABLE]
The above equation represents that particles evolve with a force based on an interaction potential , which is created by all of particles. In this case, is the density equation of satisfying
[TABLE]
where is the density function of . Similar as the first example, the density of satisfies the transition equation
[TABLE]
It is a Hamiltonian flow in density manifold w.r.t. the interaction potential energy
[TABLE]
Example 3** (Schrödinger equation).**
Given a potential . Consider a linear Schrödinger equation
[TABLE]
Here is the complex wave function of the quantum system. The complex wave equation can be related to the density function by “Madelung” (Bohm) transform
[TABLE]
Here is a density function on and is a potential function. Then satisfies the following pair of equations
[TABLE]
Here represents a functional in density manifold, named Fisher information. From Proposition 1, the density satisfies
[TABLE]
It is a Hamiltonian flow (3) in density manifold w.r.t. the linear potential energy plus the Fisher information
[TABLE]
Similar formulation is also true for nonlinear Schrödinger equations.
Example 4** (Schrödinger Bridge problem).**
Consider a Schrödinger system [3]
[TABLE]
Here are real value functions. The complex wave equation can be related to the density function by “Hopf-Cole” transformation
[TABLE]
Here is a density function on and is a potential function. Then satisfies the following pair of equations
[TABLE]
Here represents a functional in density manifold, named Fisher information. From Proposition 1, the density satisfies
[TABLE]
It is a Hamiltonian flow (3) in density manifold w.r.t. negative Fisher information
[TABLE]
5. Discussions
To summarize, we demonstrate the Euler-Lagrange equations, and associated Hamiltonian flows in density manifold with Lagrangian formalism. We show that the Hamiltonian flows in density space are probability transition equations of classical Hamiltonian ODEs. It mathematically demonstrates the intuition: The density of Hamiltonian flow in sample space is Hamiltonian flow in density manifold.
Acknowledgments: The authors thank Prof. Chongchun Zeng for many stimulating discussions.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] E. A. Carlen. Conservative Diffusions. Communications in Mathematical Physics , 94(3):293–315, 1984.
- 2[2] S.-N. Chow, W. Li, and H. Zhou. A discrete Schrödinger equation via optimal transport on graphs. Journal of Functional Analysis , 276(8):2440–2469, 2019.
- 3[3] G. Conforti and M. Pavon. Extremal flows on Wasserstein space. ar Xiv:1712.02257 [math-ph] , 2017.
- 4[4] J. D. Lafferty. The Density Manifold and Configuration Space Quantization. Transactions of the American Mathematical Society , 305(2):699–741, 1988.
- 5[5] W. Li. Geometry of probability simplex via optimal transport. ar Xiv:1803.06360 [math] , 2018.
- 6[6] J. Lott. Some Geometric Calculations on Wasserstein Space. Communications in Mathematical Physics , 277(2):423–437, 2008.
- 7[7] E. Nelson. Derivation of the Schrödinger Equation from Newtonian Mechanics. Physical Review , 150(4):1079–1085, 1966.
- 8[8] E. Nelson. The free Markoff field. Journal of Functional Analysis , 12(2):211–227, 1973.
