Papers
Topics
Authors
Recent
Search
2000 character limit reached

Hamiltonian Optimal Transport Advection (HOTA)

Updated 7 July 2026
  • HOTA is a Hamiltonian formulation of dynamical optimal transport that uses a dual HJB solver to directly generate optimal trajectories via potential-based advection, bypassing intermediate density estimation.
  • The method leverages a neural network to approximate the Kantorovich potential, serving simultaneously as the control and value function in both stochastic and deterministic regimes.
  • It robustly handles complex geometries and non-smooth costs by enforcing viscosity solutions and integrating Riemannian metrics, leading to improved feasibility and optimality across various benchmarks.

Hamiltonian Optimal Transport Advection (HOTA) denotes a Hamiltonian formulation of optimal transport in which probability mass is advected by trajectories induced from a conjugate potential or value function. In its most specific current usage, HOTA refers to the dual, Hamilton–Jacobi–Bellman (HJB) based solver introduced in “HOTA: Hamiltonian framework for Optimal Transport Advection,” which learns Kantorovich potentials directly, generates optimal trajectories by Hamiltonian advection, and remains density-free in the sense that it never estimates intermediate densities along the path (Buzun et al., 23 Jul 2025). Related arXiv work uses the same Hamiltonian-advection viewpoint in discrete Wasserstein geometry on finite graphs (Cui et al., 2021) and in Hamilton–Jacobi characteristic-flow formulations that recover transport maps from viscosity solutions (Park et al., 30 Sep 2025). Across these variants, the central idea is that optimal transport can be expressed through a Hamiltonian or HJB structure, with advection determined by a potential whose gradient or discrete gradient yields the optimal drift.

1. Dynamical optimal transport problem and the role of advection

HOTA is formulated for dynamical optimal transport: given source and target distributions ρ0\rho_0 and ρ1\rho_1 on a space that may be Euclidean or manifold-valued, one seeks a probability path {ρt}t[0,1]\{\rho_t\}_{t\in[0,1]} and a velocity field v(t,x)v(t,x) that transport ρ0\rho_0 to ρ1\rho_1 with minimal path cost. In the Euclidean quadratic case, the Benamou–Brenier formulation is

minρ,v01Rd12v(t,x)2ρ(t,x)dxdts.t. tρ+(ρv)=0,  ρ(0,)=ρ0,  ρ(1,)=ρ1.\min_{\rho,v} \int_0^1 \int_{\mathbb{R}^d} \tfrac{1}{2}\|v(t,x)\|^2 \rho(t,x)\, dx\, dt \quad \text{s.t. } \partial_t \rho + \nabla\cdot(\rho v)=0,\; \rho(0,\cdot)=\rho_0,\;\rho(1,\cdot)=\rho_1.

More generally, HOTA considers Lagrangian costs L(x,v,t)L(x,v,t) and, in the generalized Schrödinger Bridge setting emphasized by the 2025 HOTA paper, the cost

L(t,x,v)=12v2+U(x),\mathcal{L}(t,x,v)=\tfrac{1}{2}\|v\|^2+U(x),

where U(x)U(x) encodes geometry, obstacles, or preferences (Buzun et al., 23 Jul 2025).

The motivation is explicitly geometric. The 2025 formulation argues that many OT-based generative methods assume trivial Euclidean geometry and rely on explicit intermediate densities or simple kinetic-energy costs. According to that paper, such choices can produce straight-line paths, ignore manifold constraints, and become brittle when the state cost ρ1\rho_10 is non-smooth. HOTA addresses this by solving the dual dynamical OT problem through an HJB equation for a single potential ρ1\rho_11, from which trajectories are obtained directly by advection rather than by explicit density evolution (Buzun et al., 23 Jul 2025).

This yields a specific interpretation of “advection.” In HOTA, advection is the transport of particles or mass elements under an optimal drift derived from the potential. In the continuous Euclidean setting, particles follow the drift ρ1\rho_12. In manifold settings, the drift is modified by the metric. In graph-based formulations, mass is advected by a discrete continuity equation with flux induced by a discrete gradient potential.

2. Hamiltonian and HJB formulation

The defining structural step is the passage from a Lagrangian to a Hamiltonian through the Legendre transform

ρ1\rho_13

For the cost ρ1\rho_14, this becomes

ρ1\rho_15

while for a Riemannian quadratic cost ρ1\rho_16 one obtains

ρ1\rho_17

The 2025 HOTA solver identifies a single function ρ1\rho_18 as both the dual Kantorovich potential and the HJB value function. With stochastic dynamics

ρ1\rho_19

the value function satisfies

{ρt}t[0,1]\{\rho_t\}_{t\in[0,1]}0

Minimization in {ρt}t[0,1]\{\rho_t\}_{t\in[0,1]}1 yields the optimal control

{ρt}t[0,1]\{\rho_t\}_{t\in[0,1]}2

and the PDE

{ρt}t[0,1]\{\rho_t\}_{t\in[0,1]}3

Equivalently, in Hamiltonian form,

{ρt}t[0,1]\{\rho_t\}_{t\in[0,1]}4

with the Laplace–Beltrami operator replacing {ρt}t[0,1]\{\rho_t\}_{t\in[0,1]}5 on manifolds (Buzun et al., 23 Jul 2025).

The associated dual objective is density-free:

{ρt}t[0,1]\{\rho_t\}_{t\in[0,1]}6

subject to the HJB PDE. In this formulation, the terminal value {ρt}t[0,1]\{\rho_t\}_{t\in[0,1]}7 is free to optimize and is equivalent to the negative of a Kantorovich potential. The 2025 paper states that this objective enforces exact target matching through the terminal term difference, while the HJB equation supplies the optimal drift (Buzun et al., 23 Jul 2025).

For deterministic characteristics with {ρt}t[0,1]\{\rho_t\}_{t\in[0,1]}8, the induced Hamiltonian trajectories satisfy

{ρt}t[0,1]\{\rho_t\}_{t\in[0,1]}9

If v(t,x)v(t,x)0, then

v(t,x)v(t,x)1

In the Euclidean quadratic case this reduces to v(t,x)v(t,x)2, and in the Riemannian quadratic case to v(t,x)v(t,x)3.

3. The 2025 HOTA solver: density-free trajectory optimization

The computational realization in “HOTA: Hamiltonian framework for Optimal Transport Advection” parameterizes the Kantorovich/HJB potential by a neural network v(t,x)v(t,x)4 and optimizes it jointly for terminal matching and PDE consistency (Buzun et al., 23 Jul 2025). The method is described as density-free because it never estimates intermediate densities v(t,x)v(t,x)5 along the path. Instead, samples v(t,x)v(t,x)6 are pushed forward by

v(t,x)v(t,x)7

and terminal samples are matched to v(t,x)v(t,x)8 through the dual potential difference.

The terminal matching term is

v(t,x)v(t,x)9

where ρ0\rho_00 are generated from ρ0\rho_01 under the learned drift and ρ0\rho_02 are sampled from ρ0\rho_03. PDE consistency is imposed through an HJB residual loss built from ρ0\rho_04 and an exponential moving average target ρ0\rho_05. The residual contains the time derivative, the quadratic gradient term, the pointwise potential ρ0\rho_06, the second-order trace term, and an optional angular acceleration penalty

ρ0\rho_07

which is used to straighten trajectories. The total gradient update combines the potential loss and the HJB residual with gradient balancing based on an EMA of gradient-norm ratios.

Advection is discretized by Euler–Maruyama:

ρ0\rho_08

with ρ0\rho_09. When ρ1\rho_10, this becomes standard Euler advection. Replay buffers store trajectory points so that HJB residuals can be sampled in high-probability regions, and gradients are propagated through both the integrator and the network by automatic differentiation. The reported per-iteration cost scales roughly as ρ1\rho_11 for ρ1\rho_12 particles, ρ1\rho_13 time steps, and ambient dimension ρ1\rho_14, with Hessian terms in the HJB residual contributing additional cost; the paper states that practical batching and limited feature frequencies keep training under minutes on a single GPU (RTX 3090 in experiments) (Buzun et al., 23 Jul 2025).

The implementation details are correspondingly specific. The potential network is a simple MLP with Fourier feature encoding for time. To stabilize explicit time derivatives, frequencies are limited to ρ1\rho_15 and sine/cosine features are normalized by ρ1\rho_16. Optimization uses Adam with cosine annealing, initial learning rate ρ1\rho_17, EMA target decay ρ1\rho_18, batch size ρ1\rho_19, and around minρ,v01Rd12v(t,x)2ρ(t,x)dxdts.t. tρ+(ρv)=0,  ρ(0,)=ρ0,  ρ(1,)=ρ1.\min_{\rho,v} \int_0^1 \int_{\mathbb{R}^d} \tfrac{1}{2}\|v(t,x)\|^2 \rho(t,x)\, dx\, dt \quad \text{s.t. } \partial_t \rho + \nabla\cdot(\rho v)=0,\; \rho(0,\cdot)=\rho_0,\;\rho(1,\cdot)=\rho_1.0k iterations. Warm-up residual sampling uses linear interpolation between minρ,v01Rd12v(t,x)2ρ(t,x)dxdts.t. tρ+(ρv)=0,  ρ(0,)=ρ0,  ρ(1,)=ρ1.\min_{\rho,v} \int_0^1 \int_{\mathbb{R}^d} \tfrac{1}{2}\|v(t,x)\|^2 \rho(t,x)\, dx\, dt \quad \text{s.t. } \partial_t \rho + \nabla\cdot(\rho v)=0,\; \rho(0,\cdot)=\rho_0,\;\rho(1,\cdot)=\rho_1.1 and minρ,v01Rd12v(t,x)2ρ(t,x)dxdts.t. tρ+(ρv)=0,  ρ(0,)=ρ0,  ρ(1,)=ρ1.\min_{\rho,v} \int_0^1 \int_{\mathbb{R}^d} \tfrac{1}{2}\|v(t,x)\|^2 \rho(t,x)\, dx\, dt \quad \text{s.t. } \partial_t \rho + \nabla\cdot(\rho v)=0,\; \rho(0,\cdot)=\rho_0,\;\rho(1,\cdot)=\rho_1.2, after which replay-buffer sampling is used.

4. Geometry, non-smooth costs, and theoretical status

A central property of HOTA is that geometry enters through either the state potential minρ,v01Rd12v(t,x)2ρ(t,x)dxdts.t. tρ+(ρv)=0,  ρ(0,)=ρ0,  ρ(1,)=ρ1.\min_{\rho,v} \int_0^1 \int_{\mathbb{R}^d} \tfrac{1}{2}\|v(t,x)\|^2 \rho(t,x)\, dx\, dt \quad \text{s.t. } \partial_t \rho + \nabla\cdot(\rho v)=0,\; \rho(0,\cdot)=\rho_0,\;\rho(1,\cdot)=\rho_1.3 or a Riemannian metric minρ,v01Rd12v(t,x)2ρ(t,x)dxdts.t. tρ+(ρv)=0,  ρ(0,)=ρ0,  ρ(1,)=ρ1.\min_{\rho,v} \int_0^1 \int_{\mathbb{R}^d} \tfrac{1}{2}\|v(t,x)\|^2 \rho(t,x)\, dx\, dt \quad \text{s.t. } \partial_t \rho + \nabla\cdot(\rho v)=0,\; \rho(0,\cdot)=\rho_0,\;\rho(1,\cdot)=\rho_1.4. For Riemannian quadratic costs,

minρ,v01Rd12v(t,x)2ρ(t,x)dxdts.t. tρ+(ρv)=0,  ρ(0,)=ρ0,  ρ(1,)=ρ1.\min_{\rho,v} \int_0^1 \int_{\mathbb{R}^d} \tfrac{1}{2}\|v(t,x)\|^2 \rho(t,x)\, dx\, dt \quad \text{s.t. } \partial_t \rho + \nabla\cdot(\rho v)=0,\; \rho(0,\cdot)=\rho_0,\;\rho(1,\cdot)=\rho_1.5

and the induced Hamiltonian is minρ,v01Rd12v(t,x)2ρ(t,x)dxdts.t. tρ+(ρv)=0,  ρ(0,)=ρ0,  ρ(1,)=ρ1.\min_{\rho,v} \int_0^1 \int_{\mathbb{R}^d} \tfrac{1}{2}\|v(t,x)\|^2 \rho(t,x)\, dx\, dt \quad \text{s.t. } \partial_t \rho + \nabla\cdot(\rho v)=0,\; \rho(0,\cdot)=\rho_0,\;\rho(1,\cdot)=\rho_1.6. This extends the method beyond trivial Euclidean geometry. The paper explicitly states that plain MLPs were sufficient in experiments, although manifold-aware layers or geometric features are possible (Buzun et al., 23 Jul 2025).

The handling of non-smooth state costs is another defining claim. In the 2025 HOTA formulation, the HJB residual uses minρ,v01Rd12v(t,x)2ρ(t,x)dxdts.t. tρ+(ρv)=0,  ρ(0,)=ρ0,  ρ(1,)=ρ1.\min_{\rho,v} \int_0^1 \int_{\mathbb{R}^d} \tfrac{1}{2}\|v(t,x)\|^2 \rho(t,x)\, dx\, dt \quad \text{s.t. } \partial_t \rho + \nabla\cdot(\rho v)=0,\; \rho(0,\cdot)=\rho_0,\;\rho(1,\cdot)=\rho_1.7 only pointwise and does not require minρ,v01Rd12v(t,x)2ρ(t,x)dxdts.t. tρ+(ρv)=0,  ρ(0,)=ρ0,  ρ(1,)=ρ1.\min_{\rho,v} \int_0^1 \int_{\mathbb{R}^d} \tfrac{1}{2}\|v(t,x)\|^2 \rho(t,x)\, dx\, dt \quad \text{s.t. } \partial_t \rho + \nabla\cdot(\rho v)=0,\; \rho(0,\cdot)=\rho_0,\;\rho(1,\cdot)=\rho_1.8. The PDE is enforced in the viscosity sense, which is intended to tolerate non-smoothness. Under coercivity of the Hamiltonian and minρ,v01Rd12v(t,x)2ρ(t,x)dxdts.t. tρ+(ρv)=0,  ρ(0,)=ρ0,  ρ(1,)=ρ1.\min_{\rho,v} \int_0^1 \int_{\mathbb{R}^d} \tfrac{1}{2}\|v(t,x)\|^2 \rho(t,x)\, dx\, dt \quad \text{s.t. } \partial_t \rho + \nabla\cdot(\rho v)=0,\; \rho(0,\cdot)=\rho_0,\;\rho(1,\cdot)=\rho_1.9, the paper states that uniqueness in the viscosity sense holds; for bounded L(x,v,t)L(x,v,t)0 and L(x,v,t)L(x,v,t)1, the solution is unique. This is one of the main reasons the method is presented as robust on nearly non-differentiable costs (Buzun et al., 23 Jul 2025).

The formal duality claim appears as Theorem 1 in the paper. With dynamics L(x,v,t)L(x,v,t)2 and cost L(x,v,t)L(x,v,t)3, the dynamical OT problem admits the dual

L(x,v,t)L(x,v,t)4

subject to

L(x,v,t)L(x,v,t)5

The optimal control is L(x,v,t)L(x,v,t)6. The proof sketch reported in the paper combines Kantorovich duality with dynamic programming, derives the HJB equation via Itô’s lemma, and identifies the minimizing L(x,v,t)L(x,v,t)7 (Buzun et al., 23 Jul 2025).

Two common misconceptions are explicitly contradicted by this formulation. First, density-free does not mean unconstrained: feasibility is enforced at the terminal boundary by the dual objective, and the continuity equation is satisfied in the particle sense by advection. Second, Hamiltonian optimal transport advection is not restricted to smooth Euclidean costs: the framework is stated to support non-smooth L(x,v,t)L(x,v,t)8, Riemannian metrics, and stochastic dynamics.

Within the 2025 HOTA paper, the method is positioned against several adjacent frameworks. Benamou–Brenier solvers work in the primal variables L(x,v,t)L(x,v,t)9 and require density evolution and PDE solvers, whereas HOTA operates in the dual and in particle space. Schrödinger bridge and entropic OT methods introduce entropic regularization and stochastic processes, and many such methods compute intermediate densities or relax terminal constraints; HOTA is described as maintaining strict terminal matching while remaining density-free. Flow matching, diffusion, and score-based methods are described as relying on intermediate densities or score fields and often assuming Euclidean geometry, whereas HOTA optimizes a single value function and uses the Hamiltonian drift L(t,x,v)=12v2+U(x),\mathcal{L}(t,x,v)=\tfrac{1}{2}\|v\|^2+U(x),0 (Buzun et al., 23 Jul 2025).

A distinct but related meaning appears in “What is a stochastic Hamiltonian process on finite graph? An optimal transport answer.” There, Hamiltonian optimal transport advection is the advection of probability mass on a finite graph driven by a Hamiltonian vector field on the Wasserstein manifold of graph-supported densities (Cui et al., 2021). The finite-graph setting begins with

L(t,x,v)=12v2+U(x),\mathcal{L}(t,x,v)=\tfrac{1}{2}\|v\|^2+U(x),1

a discrete gradient

L(t,x,v)=12v2+U(x),\mathcal{L}(t,x,v)=\tfrac{1}{2}\|v\|^2+U(x),2

and a continuity equation

L(t,x,v)=12v2+U(x),\mathcal{L}(t,x,v)=\tfrac{1}{2}\|v\|^2+U(x),3

The corresponding discrete Hamiltonian for OT geodesics is

L(t,x,v)=12v2+U(x),\mathcal{L}(t,x,v)=\tfrac{1}{2}\|v\|^2+U(x),4

yielding coupled Hamilton equations for L(t,x,v)=12v2+U(x),\mathcal{L}(t,x,v)=\tfrac{1}{2}\|v\|^2+U(x),5. That paper further shows that not every discrete OT formulation induces a valid stochastic Markov process, because the transition-rate matrix L(t,x,v)=12v2+U(x),\mathcal{L}(t,x,v)=\tfrac{1}{2}\|v\|^2+U(x),6 must have nonnegative off-diagonal entries. Arithmetic or logarithmic means can fail this requirement, while an upwind choice L(t,x,v)=12v2+U(x),\mathcal{L}(t,x,v)=\tfrac{1}{2}\|v\|^2+U(x),7 together with L(t,x,v)=12v2+U(x),\mathcal{L}(t,x,v)=\tfrac{1}{2}\|v\|^2+U(x),8 ensures positivity. This is a genuine structural constraint rather than a numerical detail (Cui et al., 2021).

A second neighboring formulation appears in “Neural Hamilton--Jacobi Characteristic Flows for Optimal Transport.” That work does not use the 2025 HOTA architecture, but it instantiates the same Hamiltonian-advection viewpoint through characteristics of the Hamilton–Jacobi equation (Park et al., 30 Sep 2025). For translation-invariant costs L(t,x,v)=12v2+U(x),\mathcal{L}(t,x,v)=\tfrac{1}{2}\|v\|^2+U(x),9 with Legendre transform U(x)U(x)0, the HJ equation is

U(x)U(x)1

with Hamiltonian U(x)U(x)2. Because U(x)U(x)3 is independent of U(x)U(x)4, the characteristic momentum is constant:

U(x)U(x)5

This produces straight-line characteristics and closed-form bidirectional transport maps

U(x)U(x)6

The method therefore eliminates ODE integration entirely and learns a single network through an implicit HJ loss plus an MMD or energy-distance alignment term. A plausible implication is that “Hamiltonian Optimal Transport Advection” is developing into a broader family of methods unified by Hamiltonian transport geometry rather than by a single solver design.

6. Empirical results, ablations, limitations, and open directions

The empirical evaluation reported for the 2025 HOTA solver covers smooth and nearly non-differentiable potentials in two-dimensional benchmarks, higher-dimensional sphere datasets, and a high-dimensional opinion-depolarization problem (Buzun et al., 23 Jul 2025). Feasibility is measured by U(x)U(x)7 with quadratic cost, and optimality by the integral trajectory cost

U(x)U(x)8

The paper states that HOTA consistently outperforms baselines on both feasibility and optimality.

Benchmark HOTA Comparison reported
Stunnel feasibility U(x)U(x)9; optimality ρ1\rho_100 GSBM ρ1\rho_101; ρ1\rho_102
Vneck feasibility ρ1\rho_103; optimality ρ1\rho_104 GSBM ρ1\rho_105; ρ1\rho_106
GMM feasibility ρ1\rho_107; optimality ρ1\rho_108 GSBM ρ1\rho_109; ρ1\rho_110

For nearly non-differentiable costs, the paper reports that on BabyMaze, Slit, and Box, HOTA achieves feasibility of approximately ρ1\rho_111, ρ1\rho_112, and ρ1\rho_113, respectively, with lower integral costs than baselines. On sphere datasets, it is reported to maintain feasibility and optimality trends consistently as dimension increases, even when the potential barrier is an ρ1\rho_114-dimensional unit sphere and is non-smooth. In a ρ1\rho_115 opinion-depolarization task, the controlled drift is reported to achieve lower kinetic cost ρ1\rho_116 and more uniform directional similarities than DeepGSB and GSBM (Buzun et al., 23 Jul 2025).

The ablation results identify three operational dependencies. Removing the replay buffer severely degrades feasibility, with Vneck ρ1\rho_117 reported to jump to ρ1\rho_118. Removing gradient balancing harms feasibility and stability. Tuning ρ1\rho_119 and ρ1\rho_120 reveals trade-offs: higher ρ1\rho_121 straightens trajectories and lowers path cost with a slight feasibility bias, while ρ1\rho_122 must be tuned to avoid instability (Buzun et al., 23 Jul 2025).

The reported limitations are likewise concrete. Fourier time features can increase ρ1\rho_123 magnitudes, so careful normalization is required. A single MLP must serve both as dual potential and as control, suggesting that stronger inductive biases such as manifold-aware layers or physics-informed nets may improve performance. The computation of second-order derivatives in the HJB residual adds overhead, motivating exploration of PDE-consistent losses that avoid Hessians or use stochastic estimators. The future directions listed in the paper include symplectic integrators for deterministic Hamiltonian flows, explicit Riemannian divergences and Laplace–Beltrami enforcement, adaptive replay buffers, theoretical convergence rates, and extensions to underdamped dynamics and interacting particles (Buzun et al., 23 Jul 2025).

Taken together, these results place HOTA at the intersection of dynamical OT, Hamilton–Jacobi theory, and particle-based generative transport. In the narrow sense of the 2025 solver, it is a dual HJB method that learns a single Kantorovich/value potential, advects particles without density estimation, and supports non-smooth costs through viscosity solutions. In the broader sense developed by related graph and characteristic-flow work, it denotes a Hamiltonian view of transport in which optimal advection is generated by a conjugate potential, with the continuity equation appearing either explicitly, discretely, or implicitly through characteristic dynamics.

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 Hamiltonian Optimal Transport Advection (HOTA).