Papers
Topics
Authors
Recent
Search
2000 character limit reached

Dynamic Optimal Transport

Updated 11 October 2025
  • 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 f0f^0 and f1f^1 on [0,1]d[0,1]^d as a convex optimization over a time-dependent density f(x,t)f(x, t) and momentum m(x,t)m(x, t): min⁡f,m∫01∫[0,1]d∥m(x,t)∥22f(x,t) dx dt\min_{f, m} \int_0^1 \int_{[0,1]^d} \frac{\|m(x, t)\|^2}{2 f(x, t)} \, dx \, dt subject to the continuity equation (mass conservation): ∂tf+∇x⋅m=0,f(⋅,0)=f0,f(⋅,1)=f1.\partial_t f + \nabla_x \cdot m = 0, \quad f(\cdot, 0) = f^0, \quad f(\cdot, 1) = f^1.

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 (m,f)(m, f) on grids offset in both space and time:

  • Centered grid: (xi,tj)=(i/N,j/P)(x_i, t_j) = (i/N, j/P) records the main variables for the entire domain.
  • Spatial (staggered) grid: Offsets the xx-coordinate by f1f^10 to align flux evaluations at faces between cells.
  • Temporal (staggered) grid: Offsets the f1f^11-coordinate by f1f^12 to align density at midsteps.

The variables are expressed as f1f^13 on the staggered grid. Two key linear operators structure the discrete problem:

  • Interpolation: Maps staggered variables to the centered grid,

f1f^14

  • Divergence operator:

f1f^15

Boundary conditions and divergence constraints define the convex set f1f^16 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: f1f^17 where f1f^18 is the sum over grid cells of f1f^19 if [0,1]d[0,1]^d0 (and [0,1]d[0,1]^d1 otherwise).

This structure is amenable to first-order convex optimization via proximal splitting:

  • Proximal operator for [0,1]d[0,1]^d2: Decomposes across grid cells. The update for a single cell with data [0,1]d[0,1]^d3 is:

[0,1]d[0,1]^d4

with [0,1]d[0,1]^d5 and [0,1]d[0,1]^d6 solves the cubic [0,1]d[0,1]^d7.

  • Proximal operator for [0,1]d[0,1]^d8: 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., [0,1]d[0,1]^d9). Proximal splitting can then be performed via, for example, a Douglas–Rachford (DR) scheme:
    • Alternate prox steps on f(x,t)f(x, t)0 (cost and incompressibility) and f(x,t)f(x, t)1 (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 f(x,t)f(x, t)2.

3. Generalizations: Non-Euclidean and Weighted Cost Metrics

The convex framework is highly extensible. The local cost function is generalized from f(x,t)f(x, t)3 to the family

f(x,t)f(x, t)4

for f(x,t)f(x, t)5, interpolating between Wasserstein (f(x,t)f(x, t)6) and f(x,t)f(x, t)7 (f(x,t)f(x, t)8) metrics. The discrete cost becomes f(x,t)f(x, t)9 for spatially varying weights m(x,t)m(x, t)0.

The corresponding cellwise proximal operator generalizes:

  • Solution for m(x,t)m(x, t)1 is m(x,t)m(x, t)2.
  • m(x,t)m(x, t)3 is the unique positive root of

m(x,t)m(x, t)4

Spatially or temporally varying weights m(x,t)m(x, t)5 encode manifold geometry or obstacles (e.g., m(x,t)m(x, t)6 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 m(x,t)m(x, t)7 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 m(x,t)m(x, t)8,
  • 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 m(x,t)m(x, t)9 Main variables discretization
Staggered grid interpolation min⁡f,m∫01∫[0,1]d∥m(x,t)∥22f(x,t) dx dt\min_{f, m} \int_0^1 \int_{[0,1]^d} \frac{\|m(x, t)\|^2}{2 f(x, t)} \, dx \, dt0, min⁡f,m∫01∫[0,1]d∥m(x,t)∥22f(x,t) dx dt\min_{f, m} \int_0^1 \int_{[0,1]^d} \frac{\|m(x, t)\|^2}{2 f(x, t)} \, dx \, dt1 Accurate divergence implementation
Divergence operator min⁡f,m∫01∫[0,1]d∥m(x,t)∥22f(x,t) dx dt\min_{f, m} \int_0^1 \int_{[0,1]^d} \frac{\|m(x, t)\|^2}{2 f(x, t)} \, dx \, dt2 Mass conservation, incompressibility constraint
Proximal step for min⁡f,m∫01∫[0,1]d∥m(x,t)∥22f(x,t) dx dt\min_{f, m} \int_0^1 \int_{[0,1]^d} \frac{\|m(x, t)\|^2}{2 f(x, t)} \, dx \, dt3 min⁡f,m∫01∫[0,1]d∥m(x,t)∥22f(x,t) dx dt\min_{f, m} \int_0^1 \int_{[0,1]^d} \frac{\|m(x, t)\|^2}{2 f(x, t)} \, dx \, dt4 with cubic min⁡f,m∫01∫[0,1]d∥m(x,t)∥22f(x,t) dx dt\min_{f, m} \int_0^1 \int_{[0,1]^d} \frac{\|m(x, t)\|^2}{2 f(x, t)} \, dx \, dt5 (see above) Cellwise point update for the kinetic term
Generalized cost min⁡f,m∫01∫[0,1]d∥m(x,t)∥22f(x,t) dx dt\min_{f, m} \int_0^1 \int_{[0,1]^d} \frac{\|m(x, t)\|^2}{2 f(x, t)} \, dx \, dt6 (if min⁡f,m∫01∫[0,1]d∥m(x,t)∥22f(x,t) dx dt\min_{f, m} \int_0^1 \int_{[0,1]^d} \frac{\|m(x, t)\|^2}{2 f(x, t)} \, dx \, dt7) Riemannian/weighted OT, min⁡f,m∫01∫[0,1]d∥m(x,t)∥22f(x,t) dx dt\min_{f, m} \int_0^1 \int_{[0,1]^d} \frac{\|m(x, t)\|^2}{2 f(x, t)} \, dx \, dt8 metric
Constraint set min⁡f,m∫01∫[0,1]d∥m(x,t)∥22f(x,t) dx dt\min_{f, m} \int_0^1 \int_{[0,1]^d} \frac{\|m(x, t)\|^2}{2 f(x, t)} \, dx \, dt9 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.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Dynamic Optimal Transport.