Wasserstein residuals: Learning Gradient Flows from Population Dynamics
Markus Heinonen, Yair Shenfeld, Ricardo Baptista, Daniel Waxman, Dmitry Batenkov, Tim Cooijmans, Eli Bingham
SPIGM @ ICML 2026
TL;DR. A simulation-free residual loss for learning Wasserstein Gradient Flows from time-series.
Abstract. Reconstructing population dynamics is a central problem in the physical and data sciences. Often, the dynamics are modeled as a Wasserstein gradient flow (WGF): a curve of distributions driven by an energy functional. Though there are multiple mathematical characterizations of a WGF, the dominant algorithmic approach relies on the Jordan--Kinderlehrer--Otto (JKO) scheme. JKO-based methods are inflexible to time discretisation and require solving costly optimal transport problems. We take a residual approach, enforcing that the continuity equation conditions are satisfied via a non-negative loss function, whose minimum is the WGF. Combined with a data-fitting divergence, this gives a single global objective. This perspective unifies several existing methods, and leads us to discover a new particle-based method, \emph{stitching}, that is simulation-free and robust to large gaps in observation times of the dynamics. We demonstrate that the stitching method achieves state-of-the-art performance across trajectory inference benchmarks.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:48 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes a new method to recover the Wasserstein gradient-flow (WGF) dynamics and their underlying energy functionals from sparsely observed population snapshots. Instead of relying on the sequential JKO optimization, which is inflexible to time discretization and requires costly optimal transport problems, a single global residual objective, of which the minimum corresponds to the WGF, is minimized, together with a data-fitting divergence term. The proposed method, called stitching, jointly parameterizes the functional and curve, which is represented with the kernel density estimation (KDE). Numerical experiments demonstrate its performance on several examples.
Reviewers acknowledged that the target problem is timely, the proposed method is a well-motivated computationally efficient alternative to the SOTA for low data regime, and the experiments are extensive.
The weaknesses they found include
- Limited applicability to very low dimensional data, due to the use of KDE.
- Missing related works
- Lack of ablation
- Missing baselines
- Lack of sensitivity analysis
All reviewers share the concern on the limited applicability to very low dimensional problems. The authors should discuss if the scalability is a serious issue or not, and, if yes, how to deal with it. Reviewers also provided many other questions and suggestions, which should be addressed.
Final justification
All reviewers acknowledged that most of the concerns have been addressed in the rebuttal, and weakly recommend acceptance. However, they also agree that the concern on the scalability still remains due to the use of KDE.
Read meta-review
Meta-review
This paper proposes a new method to recover the Wasserstein gradient-flow (WGF) dynamics and their underlying energy functionals from sparsely observed population snapshots. Instead of relying on the sequential JKO optimization, which is inflexible to time discretization and requires costly optimal transport problems, a single global residual objective, of which the minimum corresponds to the WGF, is minimized, together with a data-fitting divergence term. The proposed method, called stitching, jointly parameterizes the functional and curve, which is represented with the kernel density estimation (KDE). Numerical experiments demonstrate its performance on several examples.
Reviewers acknowledged that the target problem is timely, the proposed method is a well-motivated computationally efficient alternative to the SOTA for low data regime, and the experiments are extensive.
The weaknesses they found include
- Limited applicability to very low dimensional data, due to the use of KDE.
- Missing related works
- Lack of ablation
- Missing baselines
- Lack of sensitivity analysis
All reviewers share the concern on the limited applicability to very low dimensional problems. The authors should discuss if the scalability is a serious issue or not, and, if yes, how to deal with it. Reviewers also provided many other questions and suggestions, which should be addressed.
Final justification
All reviewers acknowledged that most of the concerns have been addressed in the rebuttal, and weakly recommend acceptance. However, they also agree that the concern on the scalability still remains due to the use of KDE.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The authors develop a new method for learning population dynamics. The loss function is the sum of a term for fitting the velocity field to the gradient of a functional and a distributional divergence term. The functional requires estimating the underlying density functions, which is achieved with kernel density estimation. Numerical experiments are provided that demonstrate that the approach on a range of examples.
Strengths and weaknesses
The description and derivation of the method is well motivated and clear. The extension to non-gradient flows is especially interesting.
Three concerns:
(1) The method critically relies on kernel density estimation. But if one has a kernel density estimator \hat{\rho} for all times t, why would one want to even fit a velocity field? One can just use the \hat{\rho} to sample more data. This is in contrast to, e.g., Action Matching where no density estimation is needed.
(2) Data is given at discrete time points. These data points are iid over time and thus no trajectories are given. At the same time, the authors claim in Section 5.1 that their approach finds velocities fields that correctly curve between time points, in contrast to JKOnet* that just uses straight line segments. But the data does not specify what should happen between time points. So this curve seen in the data generated with the learned velocity is purely inductive bias, rather than really recovering something new.
(3) All examples are in very low dimensions, mostly dimension two, going up to dimension 5 in the single-cell trajectory data set. This could reflect a limitation that is introduced by requiring a kernel density estimate of the data, which is notoriously difficult in higher dimensions. Thus, scalability of this approach to higher dimension is unclear.
Questions
-
How does the method behave in higher dimensions compared to the baselines, when kernel density estimating becomes problematic?
-
Please comment on bullet point (2) above on what happens between data points and clarify.
-
How sensitive is the approach to the regularization parameter \lambda?
Limitations
Yes
Final justification
I maintain my original score as the limitation to scaling to high dimensions remains.
Formatting concerns
None
3 comments
I thank the reviewers for providing a detailed response. I appreciate the authors' additional experiment to show scalability to 100 dimensions, even though scaling to higher dimensions by using more and more PCA modes means that less and less important dimension are included as the number of dimensions is increased. In general, the limitations of KDE in high dimensions are well studied. I maintain my fairly high score of 4.
Thanks for the response and for maintaining a positive score.
The reviewer is right that the successive PCA dimensions are less informative. The embryoid body (EB) dataset preprocessing is from Tong et al (TrajectoryNet: A dynamic optimal transport network for modeling cellular dynamics, ICML 2020), where a 100 dimensional PCA is preprocessing is suggested, and followup machine learning papers adopt its truncation to 5D, which retains around 40% of the explained variance of the 100D dataset. Moving from D=5 to D=100 therefore more than doubles the amount of variance the model sees.
If any questions remain, we are glad to answer them. Thank you again for the constructive review.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies the recovery of Wasserstein gradient-flow dynamics and their underlying energy functionals from sparsely observed population snapshots. It replaces sequential JKO optimization with a single global residual objective that penalizes discrepancies between the population curve's velocity and the learned functional's Wasserstein gradient. The proposed "stitching" method jointly parameterizes the functional and curve, representing the curve via a KDE over learnable particle trajectories.
Strengths and weaknesses
The paper presents an useful residual perspective on inverse Wasserstein gradient-flow problems. Replacing sequential JKO optimization with one global objective is conceptually appealing when observation intervals are long or irregular. The paper clearly maps the residual framework to existing formulations. However, I have the following concerns:
- The practical objective mixes empirical measures for velocity and KDEs for score and entropy. It lacks an end-to-end convergence result showing that minimizers of this finite hybrid objective converge to the continuous residual as parameters (bandwidth , particles , resolution ) vary. Moreover, the continuity-equation velocity at a particle center does not strictly equal .
- Jointly learning the population curve and energy functional from sparse marginals could pose as an identifiability problem. (see questions for more details).
- The localization argument used to identify individual empirical particle velocities seem to require distinct particle locations. (see questions for more details).
Questions
- How stable is the recovered energy functional across seeds and approximation choices? Does jointly learning both the intermediate population curve and the energy functional from sparse marginals not create an identifiability problem?
- How much of the performance gain is driven by pure parameter capacity versus the residual objective? Directly optimizing trajectory coordinates could give the "stitching" method massive dataset-specific capacity. Can you provide: (a) internal ablation with the direct particle spline or smooth-trajectory baseline using the exact same trajectory parameterization but trained without the Wasserstein residual loss. (b) An empirical comparison against recent, Wasserstein interpolation and spline methods. Specifically, please compare against:
- Banerjee, A., Lee, H., Sharon, N., & Moosmüller, C. Efficient Trajectory Inference in Wasserstein Space Using Consecutive Averaging. In International Conference on Artificial Intelligence and Statistics, PMLR 258:2260-2268, 2025.
- Chewi, S., Clancy, J., Le Gouic, T., Rigollet, P., Stepaniants, G., & Stromme, A. (2021, March). Fast and smooth interpolation on Wasserstein space. In International Conference on Artificial Intelligence and Statistics (pp. 3061-3069). PMLR.
- Justiniano, J., Rumpf, M., & Erbar, M. (2024). Approximation of splines in wasserstein spaces. ESAIM: Control, Optimisation and Calculus of Variations, 30, 64.
- Can the learned functional be reused for a new initial population? One of the claims is that the model recovers the underlying energy functional but it is currently unclear if it learns a generalizable dynamical law or simply interpolates one specific observed population sequence. A small synthetic experiment could clarify this.
- Does your empirical particle velocity claim assume non-collision? The localization argument used to identify individual empirical particle velocities seems to require distinct particle locations. If two particles coincide with different velocities, the empirical measure determines only an aggregate velocity at that atom. Please clarify how spatial collisions or overlaps are handled.
Limitations
Please address the limitations and questions above.
Final justification
The authors have addressed all the comments that I raised. I agree with the other points raised in the reviews regarding scaling to higher dimensions. I have updated my scores to 4.
Formatting concerns
NA
2 comments
Rebuttal
We thank the reviewer for their insightful comments.
W1. The practical objective mixes empirical measures for velocity and KDEs for score and entropy. It lacks an end-to-end convergence result showing that minimizers of this finite hybrid objective converge to the continuous residual as parameters (bandwidth , particles , resolution ) vary.
We studied this directly on the RNA dataset (Section 5.3.), where we increase the number of particles and number of time segments from with learnt bandwidth.
| EMD () | learned | residual | NLL | ||
|---|---|---|---|---|---|
| 10 | 0.677 | 0.762 | 0.488 | 4.898 | |
| 20 | 0.636 | 0.722 | 0.430 | 4.683 | |
| 50 | 0.552 | 0.624 | 0.365 | 4.449 | |
| 100 | 0.537 | 0.607 | 0.319 | 4.310 | |
| 200 | 0.505 | 0.569 | 0.275 | 4.153 |
With higher discretisation capacity, we see (i) the test EMD and training likelihood to both decrease towards an optimum; (ii) the bandwidths to sharpen with more particles; and (iii) residual staying minor throughout, so the recovered curve is a near-exact gradient flow at all resolutions.
Q1. Moreover, the continuity-equation velocity at a particle center does not strictly equal
This is correct. The field is the exact continuity velocity of the KDE curve at any bandwidth, and reduces to at the centers as the bandwidth approaches 0.
In practice we evaluate the residual on the empirical (Dirac) measure of the particles, where is exactly the velocity and the spatial integral becomes a sum over centers. We retain the KDE only for the density-dependent force terms (score and interaction) that are undefined on point masses.
We find this to work better in practise than doing the full sampling, and this is the same regularized-particle discretization used by "blob" methods for aggregation–diffusion flows,
- Craig & Bertozzi, "A blob method for the aggregation equation," Math. Comp. 2016
- Carrillo, Craig & Patacchini, "A blob method for diffusion," Calc. Var. PDE 2019.
W2. Jointly learning the population curve and energy functional from sparse marginals could pose as an identifiability problem.
We agree: with sparse marginals the inverse problem is underdetermined and multiple solutions can explain the data equally well. Any approach inferring dynamics from marginals shares it, and has to choose an inductive bias or regulariser to cut down the ambiguity.
We see this as a feature: among the many explanations, our objective returns one that is similar to a Wasserstein gradient flow (enforced by the residual) and consistent with the data (enforced by the divergence). The tradeoff between them is controlled by the in our loss . Our inductive bias is thus the WGF structure that selects a meaningful solution from an otherwise ill-posed inversion.
W3/Q4. The localization argument used to identify individual empirical particle velocities seem to require distinct particle locations.
This is correct. The identity assumes distinct centers. We will add this hypothesis to the claim. When two atoms coincide with different velocities, the continuity equation constrains only the mass flux, so the empirical measure supports a mass averaged velocity . Coincident atoms are genuinely indistinguishable, so no method can recover the individual velocities from the measure alone.
This does not affect stitching as exact coincidence is almost-surely a measure-zero configuration for continuous trajectories. At finite bandwidth the field is the smooth Nadaraya–Watson average, which returns exactly that mass-weighted velocity and stays well-defined everywhere. The pathology therefore never arises in practice; we will make this explicit with a short remark.
Q1 How stable is the recovered energy functional across seeds and approximation choices? Does jointly learning both the intermediate population curve and the energy functional from sparse marginals not create an identifiability problem?
We performed an ablation on the single-cell RNA experiment (See Section 5.3.). By rerunning the stitching model on it from 10 seeds, we obtain a held-out test EMD with low variance. Similarly, the underlying potential , which means the learnt potentials have a high average correlation (evaluated at the data). Stitching is stable across seeds.
We also did two ablations on the approximation choices. First, increasing number of segments is almost flat with test EMDs of . Second, increasing number of particles from gives decreasing EMDs of . This shows that we require a sufficient approximation capacity to model the data, with diminishing returns afterwards.
Q2(a) How much of the performance gain is driven by pure parameter capacity versus the residual objective? Directly optimizing trajectory coordinates could give the "stitching" method massive dataset-specific capacity. Can you provide an internal ablation with the direct particle spline or smooth-trajectory baseline using the exact same trajectory parameterization but trained without the Wasserstein residual loss.
This is a great question. We implemented a targeted study: the identical KDE-particle parameterization, trained with the data-fit term only ( shuts down the residual ), across three settings (5 seeds each) --- the single-cell RNA main protocol (Sec 5.3.), the leave-two-out RNA interpolation task (train , evaluate held-out ), and the interacting CIS population dynamics (Sec 5.4.):
| held-out | RNA (main) | RNA (leave-two-out) | CIS (interacting) |
|---|---|---|---|
| stitching (full residual) | |||
| stitching (, no residual) |
On the RNA main protocol the residual improves the headline fit ( vs ), and on the interacting CIS system it gives a consistent gain across seeds (), where the interaction term drives a non-trivial marginal evolution that the trajectory parameterization alone does not capture. It is only on the extreme leave-two-out stress test that the two are on par: with such large temporal gaps the geometric interpolation prior already suffices, so the residual neither helps nor hurts. The residual is thus a structural prior --- beneficial when the flow has a non-trivial functional driving it, and, even when it is not needed for interpolation, it is the only component that yields an explicit, interpretable functional that a pure interpolation model cannot.
Q2(b) An empirical comparison against recent, Wasserstein interpolation and spline methods. Specifically, please compare against Banerjee et al; Chewi et al; Justiniano et al.
We use the github implementation of Banerjee et al. Chewi's and Justiniano's methods have no public code releases. We reimplemented these methods ourselves. We then compare our method to these three on the RNA and CIS datasets at matched trajectory capacity. We use 100 splines on RNA and 50 on CIS on all methods.
| held-out | RNA | CIS |
|---|---|---|
| stitching | ||
| Chewi et al. 2021 | ||
| Justiniano et al. 2024 | ||
| Banerjee et al. 2025 |
Stitching improves over all above baselines. These methods interpolate the observed marginals but recover no energy functional, so they cannot be reused for a new initial population or interpreted as a dynamical law.
Q3 Can the learned functional be reused for a new initial population? One of the claims is that the model recovers the underlying energy functional but it is currently unclear if it learns a generalizable dynamical law or simply interpolates one specific observed population sequence. A small synthetic experiment could clarify this.
The learnt functional represents a dynamical law that explains the observed snapshots similar to a Wasserstein gradient flow. It generalises if the functional is time-invariant and the new initial condition stays in a region the training population explored sufficiently. We can infer little outside the training distribution, unless we place strong assumptions on the structure of the functional.
We test the generalizability of the functional in the 2D wavy valley example (Figure 1 of the paper). We learn the functional from the Figure 1 data, and then simulate flows from the frozen learnt functional from new initial populations that are either clearly higher or lower than the original initial distribution. We observe the new IC's to produce flows that match the true flow shapes, but are somewhat off in their timings (Figure added to be added to appendix, not shown here due to rebuttal rules).
I thank the reviewers for providing a detailed response and for their additional evaluations. I would request them to add the additional clarifications in the future revisions of the paper. I will update the scores accordingly.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces a new approach for learning population dynamics leveraging a classical formulation for gradient flows in Wasserstein space, which had been under-explored. It instantiates the learning component via kernel density estimation. It provides an extensive experimental evaluation of the method both on synthetic datasets and RNAseq data. However, it does not address the theoretical aspects of the formulation (convergence, sample complexity, robustness...)
Strengths and weaknesses
Strengths:
a) Addresses the timely problem of population dynamics b) Provides an extensive experimental evaluation c) Clearly written paper d) Introduces a computationally efficient alternative to the state-of-the-art for low data-regime settings (small number of particles).
Weaknesses:
-
Leverages KDE which is not scalable to high-dimensional problems
-
Does not discuss/address the theoretical aspects
-
Does not explain why a small number (N=100) of particles is used for single-cell trajectory inference as opposed to the standard (N~2000)
-
Does not discuss a number of relevant related works: Mokrov, Petr, et al. "Large-scale wasserstein gradient flows." Advances in Neural Information Processing Systems 34 (2021): 15243-15256. Dakhmouche, Ramzi, et al. "Robust symbolic regression for dynamical system identification." Transactions on Machine Learning Research (2025). Chizat, Lénaïc, et al. "Trajectory inference via mean-field langevin in path space." Advances in Neural Information Processing Systems 35 (2022): 16731-16742.
Questions
How does the method scale in terms of the spatial dimension (i.e. particule dimension) ?
How does it compare to JKOnet when a large number of particules is used ?
How sensitive is it to noise ?
Limitations
yes
Final justification
The authors have addressed most of my concerns including:
- comparing to missing related works
- clarifying the main challenges addressed and the elements of novelty
- adding missing numerical results (e.g. scaling with dimension)
The remaining concerns are two-fold: the known lack of scalability of KDE (one of the components of their method) and the lack of theoretical results on the estimation of the energy functional.
Formatting concerns
no
8 comments
Rebuttal
We thank the reviewer for their insightful comments. We address every concern.
W1. KDE is not scalable to high-dimensional problems
This is a fair concern. We ran an experiment to test it. We take the same embryoid-body (EB) single-cell RNA benchmark of sec 5.3., and simply increase the number of PCA components from to . Everything else is identical: we simply add more dimensionality columns to the data matrices.
One-step (EMD, lower is better) on held-out EB cells:
| Method | Potential | D=5 | D=10 | D=50 | D=100 |
|---|---|---|---|---|---|
| Stitching | static | 0.56 | 1.41 | 7.04 | 12.28 |
| JKOnet$^\star$ | static | 1.10 | 2.34 | 9.55 | 14.61 |
| Stitching | time-varying | 0.54 | 1.39 | 6.95 | 12.28 |
| JKOnet$^\star$ | time-varying | 0.62 | 2.10 | 13.36 | 19.31 |
| floor (best possible) | 0.45 | 1.14 | 5.84 | 10.37 |
The raw earth mover distance (EMD) grows linearly with dimension, but so does its floor (the between the train and test marginals). We also report normalised , which is comparable across dimensions,
| Method | D=5 | D=10 | D=50 | D=100 | |
|---|---|---|---|---|---|
| Stitching | static | 1.25 | 1.23 | 1.20 | 1.18 |
| Stitching | time | 1.20 | 1.21 | 1.19 | 1.18 |
| JKOnet$^\star$ | static | 2.44 | 2.05 | 1.63 | 1.41 |
| JKOnet$^\star$ | time | 1.38 | 1.83 | 2.29 | 1.86 |
The ratio is stable, or even improving over dimensions. We repeated the experiment with two KDE bandwidth initialisations, and saw little difference. These results indicate that in real-world single-cell data the KDE-based stitching scales up to 100 dimensions without issues.
W2. Does not discuss/address the theoretical aspects
We ground our residual loss in gradient flow theory. Appendix A lists the four classical characterizations of Wasserstein gradient flows from literature: (i) the Tangent condition, (ii) the JKO scheme, (iii) the EVI, and (iv) the Energy-Dissipation Equality (EDE).
Our main theoretical result is that the velocity residual loss is not an adhoc regulariser, but precisely the EDE gap (Lemma 1, Appendix A)
The energy difference between terminals is the total change of energy. The bracketed integral accumulates the flow’s kinetic and force energy. In a gradient flow these are equal (), while in a non-gradient flow the flow spends more energy than necessary to close the terminal energy difference. This is the EDE gap, and our residual loss . Hence, minimizing the residual is closing a variational gap.
W3. Does not explain why a small number (N=100) of particles is used for single-cell trajectory inference as opposed to the standard (N~2000)
This is a useful point of possible confusion we will fix. Here refers to the number of particle trajectories we use to represent the flow density. More particles allows for more detailed densities. This is a model-capacity choice, independent of the dataset size, and trajectories in 5D PCA space already suffice to represent the curve.
We ran an experiment varying the number of particles in the single-cell RNA experiment (See Section 5.3.) from . We see monotonic improvements while improving the at the cost of additional training time due to the quadratic entropy term.
| (↓) | wall (s) | |
|---|---|---|
| 10 | 0.674 ± 0.008 | 41 |
| 50 | 0.551 ± 0.001 | 187 |
| 100 | 0.538 ± 0.003 | 188 |
| 200 | 0.523 ± 0.003 | 426 |
| 500 | 0.519 ± 0.006 | 1516 |
| 1000 | 0.550 ± 0.000 | 3978 |
W4. Does not discuss a number of relevant related works: Mokrov (2021); Dakhmouche et al. (2025); Chizat et al. (2022)
We thank the reviewer and will include all three. Briefly:
- Mokrov et al. (2021) approximates the JKO forward with ICNNs given a known energy functional , while our goal is learning the functional .
- Chizat et al. (2022) interpolates the observed scatters with a smooth path balancing data fit and successive snapshot OT costs . Their energy functional is implicit, and they explicitly leave the energy recovery as a future problem.
- Dakhmouche et al. (2025) fits a time-series with a symbolic ODE against Wasserstein data divergence. Their method does not admit an energy functional. We will cite it under interpretable flow identification.
Q2. How does it compare to JKOnet when a large number of particles is used?
We consider JKOnet* (Terpin et al 2024) here as the state-of-the-art JKO-based method. It’s complexity is per update, where it’s quadratic over observations while summing over timepoints. In stitching each update is , where is the number of time segments and is number of particles, typically .
On a synthetic example (Styblinski-Tang) with up to 1 million datapoints the stitching scales and improves monotonically, while JKOnet* starts to run out of memory at 10K observations. We use particles.
| per snapshot | Stitching peak mem | Stitching EMD | Lightspeed peak mem | Lightspeed EMD |
|---|---|---|---|---|
| 2.35 GB | 0.258 | 1.03 GB | 0.286 | |
| 2.54 GB | 0.203 | OOM at 10.8 GB | — | |
| 2.78 GB | 0.214 | OOM ( 700 GB) | — | |
| 4.07 GB | 0.184 | OOM ( 70 TB) | — |
I thank the authors for the additional clarifications and numerical results.
The concerns that remain are the error comparison to JKOnet for large (standard) number of particles as well as sensitivity to noise.
Thanks for the response message. We want to be sure to answer to the right question, since "number of particles" can refer to different quantities. To explain our reasoning, we clarify that all approaches see identical data.
We are happy to provide further clarification.
In JKO methods all datapoints are particles. That is, JKOnet, JKOnet* and iJKOnet all operate directly over the observed snapshots with OT couplings and marginal steps being computed over empirical marginals. On the EB benchmark of Sec 5.3. there are 16,819 datapoints in total, of which 10,091 are training cells distributed (unevenly) across 5 timepoints. Hence, all JKO reports we report use around 2000 observations per timepoint, which is perhaps what the reviewer refers to. We never run JKO methods with fewer.
In Stitching a smaller number of particle trajectories induce the KDE density approximation, which is evaluated against the entire observed dataset. Empirically we found the choice to work well, while an ablation below shows that more trajectory particles and higher temporal resolution of trajectories increases performance.
| EMD () | learned | residual | NLL | ||
|---|---|---|---|---|---|
| 10 | 0.677 | 0.762 | 0.488 | 4.898 | |
| 20 | 0.636 | 0.722 | 0.430 | 4.683 | |
| 50 | 0.552 | 0.624 | 0.365 | 4.449 | |
| 100 | 0.537 | 0.607 | 0.319 | 4.310 | |
| 200 | 0.505 | 0.569 | 0.275 | 4.153 |
With higher discretisation capacity, we see (i) the test EMD and training likelihood to both decrease towards an optimum; (ii) the bandwidths to sharpen with more particles; and (iii) residual staying minor throughout, so the recovered curve is a near-exact gradient flow at all resolutions.
We also response below to the noise question.
Q3. How sensitive is it to noise?
We repeated the full-data EB single-cell benchmark (Table 2) after corrupting the training snapshots with iid Gaussian noise at three levels of 10%, 20% and 50% noise corresponding to (as the data is unit variance). The original Table 2 runs had zero artificially added noise. Each model is evaluated against the clean held-out cells. All numbers are (), averaged over 5 seeds.
Stitching is essentially insensitive to noise up to 20%, and degrades only mildly at 50%:
| Noise | Mean | Mean (noisy eval) | ||||
|---|---|---|---|---|---|---|
| Static potential | ||||||
| 0% (clean) | 0.49 | 0.58 | 0.65 | 0.71 | 0.61 ± 0.01 | 0.61 ± 0.01 |
| 10% | 0.49 | 0.60 | 0.65 | 0.70 | 0.61 ± 0.01 | 0.61 ± 0.01 |
| 20% | 0.51 | 0.61 | 0.65 | 0.70 | 0.62 ± 0.01 | 0.62 ± 0.01 |
| 50% | 0.69 | 0.76 | 0.78 | 0.80 | 0.76 ± 0.01 | 0.72 ± 0.01 |
| Time-varying potential | ||||||
| 0% (clean) | 0.47 | 0.57 | 0.60 | 0.63 | 0.57 ± 0.01 | 0.57 ± 0.01 |
| 10% | 0.48 | 0.57 | 0.60 | 0.63 | 0.57 ± 0.01 | 0.57 ± 0.01 |
| 20% | 0.50 | 0.58 | 0.60 | 0.65 | 0.58 ± 0.01 | 0.59 ± 0.01 |
| 50% | 0.68 | 0.77 | 0.76 | 0.79 | 0.75 ± 0.00 | 0.71 ± 0.00 |
At the 50% noise level stitching still outperforms every JKO baseline in Table 2 on clean data (JKOnet* 1.12, iJKOnet 1.05, JKOnet 1.34) and remains competitive with the clean-data state of the art (WLF 0.73, OT-CFM 0.77).
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We thank the reviewer for their insightful comments.
An interesting question, let us untangle it in two parts.
First, we can simply fit a density estimator curve ρ^t over time t to the data. We can then use the curve to interpolate between the observed snapshots without explicit velocities. This is the principle behind the interpolation approaches of (Chizat; Banerjee; Chewi; Justiniano), where they fit the measure curve as a spline in path or Wasserstein space.
However, these methods do not learn an explicit functional. The lack of functional makes these methods black-box as they do not provide the driving function, and do not allow one to extrapolate outside the time observed time range. We learn an explicit functional F, which can be used for interpretability (for instance, learning aggregaration behavior in population dynamics, See Sec 5.4.), and to forecast the system forward using the velocity v=−∇WF(ρ). Some functionals require an admission of a curve ρt to calculate the Wasserstein gradient ∇W, which we provide by the kernel density estimator.
The reviewer is correct, and we agree. With iid marginal snapshots the flow between snapshots is an inductive bias for every method, including the JKO line of methods. We (and JKO methods) make the explicit assumption that the data-generating process is a Wasserstein gradient flow (ie. steepest descent) of some unknown energy functional. This is an intuitive assumption that assumes the particles are locally minimizing an energy.
We demonstrate that the our stitching method can learn the underlying functional that drives the flow through the observations. We show that our method can fit the model much better than the competing JKO methods, which are limited by their optimal transport chord approximations. For instance, in Table 2 we demonstrate that our method is on average almost 2x more accurate (Our EMD 0.58 vs 1.05 theirs) than the state of the art iJKOnet on learning a flow against a time-independent potential.
This is a fair concern. We ran an experiment to test it. We take the same embryoid-body (EB) single-cell RNA benchmark of sec 5.3., and simply increase the number of PCA components from D=5 to D=10→50→100. Everything else is identical: we simply add more dimensionality columns to the data matrices.
One-step W1 (EMD, lower is better) on held-out EB cells:
The raw earth mover distance (EMD) grows linearly with dimension, but so does its floor (the W1(qttest,qttrain) between the train and test marginals). We also report normalised EMD $\mathrm{EMD}/\mathrm{floor}, which is comparable across dimensions,
The ratio is stable, or even improving over dimensions. We repeated the experiment with two KDE bandwidth initialisations, and saw little difference. These results indicate that in real-world single-cell data the KDE-based stitching scales up to 100 dimensions without issues.
The λ determines the tradeoff between data fit D and the WGF residual loss λR. At λ→0 we simply interpolate the data without imposing a gradient flow, and at λ→∞ we require an exact gradient flow. In practise we kept the λ=1, and found this choice to work well in all experiments.