Dynamic Optimal Transport
- Dynamic optimal transport is a framework for time-dependent mass transfer that models evolving densities with minimal kinetic energy and strict mass conservation.
- It employs staggered grid discretization and a convex variational formulation to compute Wasserstein geodesics and displacement interpolations efficiently.
- Proximal splitting methods extend the approach to non-Euclidean metrics and weighted cost functions, enabling scalable solutions in imaging, geophysics, and beyond.
Dynamic optimal transport (dynamic OT) generalizes the classical optimal transport problem to time-dependent mass transfer, modeling the continuous evolution of a density as mass moves with minimal kinetic energy, subject to mass conservation. This framework, rooted in the Benamou–Brenier formulation, allows for the characterization of Wasserstein geodesics and provides a convex variational approach for computing displacement interpolations between probability distributions in both Euclidean and non-Euclidean domains. Dynamic OT underpins numerous theoretical and applied developments in fields ranging from imaging to traffic modeling and high-dimensional generative modeling.
1. Eulerian Dynamic OT Formulation and Staggered Grid Discretization
The Benamou–Brenier dynamic OT model expresses the squared L²-Wasserstein distance between densities and on as a convex optimization over a time-dependent density and momentum : subject to the continuity equation (mass conservation):
To ensure accurate numerical enforcement of the divergence constraint and boundary conditions, a staggered grid discretization is introduced. The fundamental idea is to discretize the primary variables on grids offset in both space and time:
- Centered grid: records the main variables for the entire domain.
- Spatial (staggered) grid: Offsets the -coordinate by $1/2N$ to align flux evaluations at faces between cells.
- Temporal (staggered) grid: Offsets the -coordinate by $1/2P$ to align density at midsteps.
The variables are expressed as on the staggered grid. Two key linear operators structure the discrete problem:
- Interpolation: Maps staggered variables to the centered grid,
- Divergence operator:
Boundary conditions and divergence constraints define the convex set in which the discrete solution must reside.
2. Proximal Splitting Schemes for Large-Scale Convex Optimization
The fully discretized dynamic OT problem combines smooth and nonsmooth terms, with the nonsmooth indicator enforcing the divergence and boundary constraints. The objective is written as: where is the sum over grid cells of if (and otherwise).
This structure is amenable to first-order convex optimization via proximal splitting:
- Proximal operator for : Decomposes across grid cells. The update for a single cell with data is:
with and solves the cubic .
- Proximal operator for : The Euclidean projection onto the divergence/boundary constraint set, computed by solving a linear system (typically via an FFT-based Poisson solver).
- Splitting strategies: The problem is equivalently recast by introducing auxiliary coupling constraints (e.g., ). Proximal splitting can then be performed via, for example, a Douglas–Rachford (DR) scheme:
- Alternate prox steps on (cost and incompressibility) and (coupling constraint),
- Each update only requires an efficient projection and local nonlinear solve per cell.
- Primal–dual methods: Alternative splitting techniques (e.g., Chambolle–Pock) update both primal (grid variable) and dual (multiplier) variables, with steps satisfying .
3. Generalizations: Non-Euclidean and Weighted Cost Metrics
The convex framework is highly extensible. The local cost function is generalized from to the family
for , interpolating between Wasserstein () and () metrics. The discrete cost becomes for spatially varying weights .
The corresponding cellwise proximal operator generalizes:
- Solution for is .
- is the unique positive root of
Spatially or temporally varying weights encode manifold geometry or obstacles (e.g., in forbidden regions), thereby enabling the same proximal splitting machinery to address general Riemannian or constrained settings.
4. Numerical Implementation and Algorithmic Aspects
Efficient implementation of the scheme leverages the structure of the discrete problem:
- Cellwise proximal computations are independent and can be fully parallelized.
- The projection onto the constraint is a global linear operation with fast solvers available via FFT on uniform grids.
- The splitting approach enables decomposition into computationally tractable subproblems, each amenable to large-scale parallel and distributed computing.
Trade-offs include:
- Staggered grids are preferred for accurate discretization of divergence and mass conservation over centered grids, though the latter recovers earlier algorithms.
- Solving the cubic (or higher-degree) equations per cell is required at each iteration, but these are explicit and numerically stable.
- The global projection step may become the computational bottleneck for irregular domains or non-periodic geometries, but can be addressed by alternative linear solvers or preconditioners.
5. Applications, Extensions, and Flexibility of the Framework
The proximal splitting framework for dynamic OT is not restricted to OT but generalizes naturally to:
- Image interpolation and time-varying signal processing,
- Shape interpolation with obstacles or manifold constraints,
- Geophysical flows where domains include obstacles or variable terrain,
- Riemannian manifold interpolation by embedding geometry into the local weights ,
- Unbalanced and generalized OT formulations with suitable modification of the cost functional or constraint set.
The modularity of the approach allows for rapid adaptation to new cost structures, regularizations, and domain constraints, while maintaining scalability due to the cellwise decoupling and efficient projection.
6. Key Mathematical Formulas and Operators
Component | Mathematical Expression | Role |
---|---|---|
Centered grid | Main variables discretization | |
Staggered grid interpolation | , | Accurate divergence implementation |
Divergence operator | Mass conservation, incompressibility constraint | |
Proximal step for | with cubic (see above) | Cellwise point update for the kinetic term |
Generalized cost | (if ) | Riemannian/weighted OT, metric |
Constraint set | Linear divergence and boundary conditions |
7. Summary and Impact
The proximal splitting approach to dynamic optimal transport is a unifying, flexible framework for efficiently solving large-scale, discretized OT problems in both Euclidean and Riemannian contexts. By combining a staggered grid discretization that respects mass conservation, explicit computation of cellwise proximal operators, and global projection via linear solvers, the scheme obtains accurate geodesic interpolations between distributions and accommodates a spectrum of cost structures and domain constraints. This methodology underlies scalable algorithms applicable to imaging, geometry processing, geophysical flows, and generic mass transport problems, and serves as a template for further generalization in modern applications.