Simulation-Free Learning of Population Dynamics with Wasserstein Lagrangian Residuals

Fedor Sergeev, Markus Heinonen, Daniel Waxman, Tim Cooijmans, Ricardo Baptista, Dmitry Batenkov, Eli BinghamarXiv 2026

TL;DR

Double-Stitch is a new, simulation-free framework for learning complex population dynamics—like cell differentiation or ocean currents—from unpaired snapshots. By penalizing the "physics residual" of the equations of motion instead of running expensive numerical solvers during training, it achieves a 4–14x speedup over state-of-the-art methods while handling conservative and periodic systems that simpler models cannot.

What Problem Does This Paper Address?

Researchers in biology and fluid mechanics often need to reconstruct how a population (of cells, organisms, or fluid particles) evolves over time. However, they usually only have access to unpaired snapshots: they see the population at time $A$ and time $B$, but they don't know which specific individual at $A$ corresponds to which one at $B$.

To fill in the gaps and predict future states (extrapolation), models must make assumptions about the underlying physics. Existing approaches fall into three camps:

  1. Flow-based methods: Flexible but generally unable to extrapolate beyond the last observed time point.
  2. Wasserstein Gradient Flows (WGF): Great for extrapolation but limited to "dissipative" systems (like diffusion) where things just settle into a low-energy state. They fail at periodic or conservative motion (like a swinging pendulum or a swirling vortex).
  3. Lagrangian methods (e.g., WLM): These use second-order physics (acceleration) and can model almost anything. However, current versions are simulation-based, meaning they have to run a full numerical physics solver at every single training step. This makes them incredibly slow and computationally expensive.

Methods

The authors introduce Double-Stitch, a "simulation-free" Lagrangian method. Instead of simulating a trajectory to see if it matches the data, Double-Stitch treats the entire population path as a learnable object.

The "Aha!" Moment: Wasserstein Lagrangian Residuals

The core innovation is the use of a residual loss. The model fits a population path (using Kernel Density Estimation) and a potential energy function (using a neural network). It then calculates how much this path violates "Newton's second law" in Wasserstein space. If the path perfectly follows the physics, this "residual" is zero. By minimizing this residual alongside a data-fitting loss, the model learns the physics without ever needing to run a sequential ODE solver during training.

Clebsch Variational Principle

Standard Optimal Transport methods often assume "canonical" velocities—essentially assuming particles move in the straightest, most efficient way possible. Double-Stitch uses a more general Clebsch derivation that allows for rotational components (vorticity). This is crucial for fluid dynamics, where a simple "straight line" assumption would miss the swirling nature of the data.

Figure 1: Simulation-free fitting across three dynamical regimes. Left: conservative, damped and gradient-flow examples, with analytic densities, energies and Double-Stitch fits. Right: schematic training procedures for Double-Stitch and WLM. Grey curves show kinetic and total energy for the oscillators; the gradient-flow panel shows free energy. Grey contours show analytic densities.

Datasets

The authors evaluated Double-Stitch across three distinct domains:

  • Synthetic Flows: Gaussian mixtures undergoing conservative harmonic motion, damped motion, and gradient flow.
  • Single-Cell RNA (EB dataset): Tracking the evolution of human embryonic stem cells over five snapshots.
  • Ocean Vortex Dynamics (HYCOM): Real-world data of small and large vortices in the Gulf of Mexico, testing both interpolation (filling gaps) and forecasting (predicting the future).

Key Insights and Ideas

  • Parallelism is King: Because Double-Stitch is simulation-free, it can compute the physics residual for all time steps in parallel. Simulation-based methods like WLM are forced to be sequential, creating a massive bottleneck.
  • Second-Order Matters: The paper demonstrates that first-order gradient flow methods (like the original "Stitching") completely fail on conservative systems because they can't represent the "momentum" required for oscillations.
  • Velocity Initialization: For complex fluids, knowing the initial velocity is vital. The authors show that even with the same snapshots, different initial velocities can lead to entirely different (but equally valid-looking) trajectories, highlighting an inherent "identifiability" challenge in population dynamics.

Key Results

  • Massive Speedup: Double-Stitch trained 4 to 14 times faster than the simulation-based WLM on real-world datasets. On a synthetic task, it reached the same performance level 7.6x faster.
  • State-of-the-Art Accuracy: On the single-cell (EB) dataset, Double-Stitch matched or outperformed all competing gradient and Lagrangian methods across multiple evaluation protocols (LPO, L1O, L2O).
Table 2: Double-Stitch matches performance of the best gradient and Lagrangian methods on the EB dataset (W1 and W2, mean ± std, 5 seeds). Lower is better. Dashes indicate unreported cells. V (x) and V (x, t) denote static and time-dependent potentials. Stitching and WLM rows are our reruns (Section D.2); Section E.2 also lists their published values.
  • Fluid Dynamics: In ocean vortex interpolation, Double-Stitch outperformed gradient-based methods and matched the best Lagrangian results.
Table 3: Double-Stitch outperforms gradient methods and matches the best Lagrangian method on ocean vortex interpolation (W1, mean ± std, 3 seeds). Lower is better. Dashes indicate unre- ported cells. V (x) and V (x, t) denote static and time-dependent potentials. Stitching and WLM rows are our reruns (Section D.2); Section E.3 also lists WLM’s published values.

Limitations and Future Work

  • No Hard Guarantees: Because it uses a soft residual penalty, Double-Stitch doesn't guarantee that the final learned path perfectly obeys the laws of physics—it just gets as close as possible.
  • Optimization Sensitivity: Like many physics-informed neural networks (PINNs), the method can be sensitive to initialization. If the starting guess is too far off, the optimizer might struggle to find the true dynamical law.
  • Future Directions: The authors suggest exploring more complex Lagrangians (e.g., for viscous fluids) and developing hybrid "multiple-shooting" methods that combine the speed of Double-Stitch with the exactness of simulation-based approaches.

Summary updated

BibTeX
@misc{sergeev2026simulation,
  author = {Fedor Sergeev and Markus Heinonen and Daniel Waxman and Tim Cooijmans and Ricardo Baptista and Dmitry Batenkov and Eli Bingham},
  title = {{Simulation-Free Learning of Population Dynamics with Wasserstein Lagrangian Residuals}},
  year = {2026},
  eprint = {2610.03679},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.03679},
}
Figure