arXiv:2610.19878cs.LGOct 2026

Manuscript Offprint

arXiv:2610.19878

Neural Wasserstein Splines: Representation-Invariant Second-Order Priors for Trajectory Inference

Amartya Banerjee, Harlin Lee, Caroline Moosmüller

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Population dynamics are often observed only as unpaired snapshots, which leave the evolution between measurements underdetermined. Second-order regularization can constrain it, but a penalty on the accelerations of sampled particles is a prior on joint particle paths, and different particle representations of the same marginal curve can have different acceleration costs. We therefore introduce Neural Wasserstein Splines (NWSP), a sample-based method that learns a continuous population curve under a Wasserstein smoothness prior. A neural network maps latent variables to the control points of a cubic spline in time, so samples at any time come from the spline basis without numerical integration. We project the generator's velocity onto gradients of a finite dictionary of scalar potentials and differentiate this measure-dependent projection in time, obtaining a finite-dimensional surrogate for the intrinsic Wasserstein acceleration, trained jointly with distributional fit losses. For a fixed dictionary and ridge parameter, we prove that the population penalty depends only on the marginal curve and bound its sensitivity to moment-estimation errors. Learned potentials (NWSP-N) sharpen acceleration estimates. On various synthetic and single-cell benchmarks, NWSP is highly competitive with transport and flow-based methods, ranking in the top two in 11 of 16 settings. The penalty improves on an unregularized spline in 13 of 16 settings and, while competitive with a particle-acceleration penalty, adds provable representation invariance.

1 INTRODUCTION

Observing a population at only a few times does not determine how it moves in between. A natural prior is that its motion changes gradually: penalizing acceleration favors nearly constant velocity, so the curve bends only where the data require it, whereas interpolating consecutive snapshots separately produces velocity jumps at every observation time. In single-cell experiments, destructive assays also mean that cells measured at successive times cannot be matched (Schiebinger et al., 2019; Tong et al., 2020). Trajectory inference therefore seeks a continuous curve of distributions that explains the snapshots, and the dynamical prior determines the evolution between them.

Applying an acceleration penalty to a population requires deciding what acceleration means. One option is the acceleration of the particles in a generative model, but unpaired snapshots do not identify which particle is which: many particle systems induce the same distribution at every time yet have very different accelerations (a Gaussian cloud can stay still or rotate rigidly; Fig. 2). A particle-acceleration penalty then also penalizes an arbitrary modeling choice. The alternative is the intrinsic Wasserstein acceleration, the rate of change of the minimum-norm velocity that transports the curve of distributions, which depends only on the curve (Benamou et al., 2019; Justiniano et al., 2024). NWSP therefore regularizes the acceleration of the curve of distributions rather than that of any individual particle path.

Computing such curves is expensive: spline constructions need optimal transport (OT) couplings between consecutive snapshots (Chewi et al., 2021), subdivision schemes such as Wasserstein Lane–Riesenfeld (WLR) solve repeated OT problems during refinement (Banerjee et al., 2025), and neural flow models generate samples by integrating a learned vector field. NWSP also uses splines, but over individual particle paths, so no transport problem is solved between snapshots; we compare scaling, not measured runtime (Section B).

(a) Generate smooth paths

Figure

One latent sample, one smooth path.

(b) Fit the population velocity

Fit a field to the particle velocities.

(c) Differentiate the fit

Measure changes in the cloud's velocity.

Training: match the snapshots + penalize cloud acceleration.

Figure 1: Learning a smooth population curve from unpaired snapshots. (a) A network maps each latent sample to spline control points (squares), defining a complete path. (b) Ridge regression fits the velocity vM=∇ϕtv_M = \nabla \phi_t to particle velocities. Blue/orange indicates lower/higher potential ϕt\phi_t, scaled separately at each time; shading fades in low-density regions. (c) Differentiating the fitted field gives cloud acceleration aMa_M, whose magnitude colors the same paths. Training balances snapshot fit with mean squared cloud acceleration. NWSP-N also learns the potentials in (b).

We introduce Neural Wasserstein Splines (NWSP). 1^{1} A neural network maps a random latent variable to a whole smooth particle path, a spline in time, so the population can be sampled at any time without integration or cross-time OT couplings. We estimate the population velocity from these paths, differentiate it in time to obtain the population acceleration, and train the network to fit the snapshots while keeping this acceleration small. NWSP-N additionally learns the potentials used to estimate the velocity.

Contributions. (i) Generative splines without cross-time OT. NWSP learns from minibatches of the full snapshots and samples at any time without numerical integration, using full training support on three datasets where exact-transport splines require subsampling. (ii) A differentiated population-acceleration surrogate. We prove representation invariance for fixed potentials, bound the surrogate's sensitivity to moment errors, establish Fourier approximation rates, and show that omitting the moving-Gram correction leaves a nonvanishing bias. (iii) Adaptive potential estimation. NWSP-N learns the potentials through a separate velocity-fitting objective; matched-size controls isolate the gain from adaptation and generator ablations evaluate the acceleration prior.

References (37)