A Call to Lagrangian Action: Learning Population Mechanics from Temporal Snapshots
About
The population dynamics of molecules, cells, and organisms are governed by a number of unknown forces. In the last decade, population dynamics have predominantly been modeled with Wasserstein gradient flows. However, since gradient flows minimize free energy, they fail to capture important dynamical properties, such as periodicity. In this work, we propose a change in perspective by considering dynamics that minimize a population-level action under a damped Wasserstein Lagrangian. By deriving the corresponding Hamiltonian equations of motion, we formalize Wasserstein Lagrangian Mechanics, a structured class of second-order dynamics that encompasses classical mechanics, quantum mechanics, and gradient flows. We then propose WLM as the first algorithm that learns these second-order dynamics from observed marginals, without specifying the Lagrangian. By directly learning the population mechanics, WLM can both forecast and interpolate unseen marginals, and outperforms existing gradient flow and flow matching methods across a wide range of dynamics, including vortex dynamics, embryonic development, and flocking.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Population Dynamics Interpolation | EB scRNA 5-dim PCA representation (leave-one-out) | W1 Distance0.704 | 21 | |
| Population Dynamics Interpolation | Gulf of Mexico small vortex (Interpolation) | Error (t=2)0.039 | 11 | |
| Gradient flow dynamics marginal prediction | Gradient flow SDEs Paired (train) | Average W1 Distance0.062 | 4 | |
| Gradient flow dynamics marginal prediction | Gradient flow SDEs Unpaired (train) | Average W1 Distance0.068 | 4 | |
| Gradient flow dynamics marginal prediction | Gradient flow SDEs Unpaired | Average W1 Distance0.246 | 4 | |
| Population Dynamics Modeling | Boids (train) | W10.496 | 4 | |
| Population Dynamics Modeling | Boids (forecast) | W1 Error1.309 | 4 | |
| Gradient flow dynamics marginal prediction | Gradient flow SDEs Paired | Average W1 Distance0.137 | 4 | |
| Population Dynamics Forecasting | Gulf of Mexico big vortex (Forecast) | Metric at t11 (vs t0)0.18 | 3 |