A Computational Framework for Solving Wasserstein Lagrangian Flows
Kirill Neklyudov, Rob Brekelmans, Alexander Tong, Lazar Atanackovic, Qiang Liu, Alireza Makhzani
TL;DR
This work provides a unified dual-formulation framework for Wasserstein Lagrangian Flows, recasting trajectory inference as action minimization on the space of probability densities with kinetic and potential energies. By exploiting duality and linearizable objectives, it learns a cotangent vector field without simulating trajectories or requiring optimal couplings, enabling flexible incorporation of priors such as Schrödinger bridges, unbalanced OT, and physically constrained OT. The framework parameterizes the dual variables and density paths with neural networks and generative models, using Action Matching and Wasserstein gradient updates to optimize density trajectories that satisfy endpoint marginals. Empirically, it demonstrates competitive and improved performance on single-cell trajectory inference tasks, highlighting the practical impact of incorporating prior dynamics into marginal interpolation. The approach offers a principled, scalable route to diverse OT variants while preserving data-consistent marginals, with potential applicability to quantum, biological, and social science trajectory problems.
Abstract
The dynamical formulation of the optimal transport can be extended through various choices of the underlying geometry (kinetic energy), and the regularization of density paths (potential energy). These combinations yield different variational problems (Lagrangians), encompassing many variations of the optimal transport problem such as the Schrödinger bridge, unbalanced optimal transport, and optimal transport with physical constraints, among others. In general, the optimal density path is unknown, and solving these variational problems can be computationally challenging. We propose a novel deep learning based framework approaching all of these problems from a unified perspective. Leveraging the dual formulation of the Lagrangians, our method does not require simulating or backpropagating through the trajectories of the learned dynamics, and does not need access to optimal couplings. We showcase the versatility of the proposed framework by outperforming previous approaches for the single-cell trajectory inference, where incorporating prior knowledge into the dynamics is crucial for correct predictions.
