TL;DR
SnapMMD is a novel framework designed to forecast stochastic dynamics from "snapshot" data—where we observe population cross-sections over time but cannot track individual trajectories. By directly fitting the joint distribution of state measurements and observation times using a Maximum Mean Discrepancy (MMD) loss, SnapMMD learns unknown, state-dependent volatilities and accurately extrapolates future states, overcoming the fundamental forecasting limitations of traditional Schrödinger Bridge methods.
What Problem Does This Paper Address?
In many scientific fields, researchers need to model how a system evolves over time based only on population-level "snapshots." A prime example is single-cell RNA sequencing (scRNA-seq): measuring a cell's genetic expression destroys it, meaning we can never observe the continuous trajectory of a single cell. Instead, we get independent samples at discrete time points.
While recent Schrödinger Bridge (SB) methods excel at interpolating (filling in the gaps) between these snapshots, they struggle significantly with forecasting (predicting the future beyond the last observed time point). This failure stems from two core limitations:
- Many SB methods inherently reduce to propagating the final observed population forward using a pre-set reference dynamic chosen before seeing the data.
- SB methods optimize a Kullback–Leibler (KL) divergence, which requires a known, fixed, state-independent volatility (noise level). In reality, biological and physical systems exhibit complex, state-dependent noise that is rarely known in advance.
Methods
SnapMMD re-frames trajectory inference by treating the observation times themselves as random draws from an underlying distribution. This insight allows the authors to view the dataset as independent and identically distributed (i.e.i.d.) pairs of (state, time) drawn from a joint distribution.
Instead of minimizing KL divergence, SnapMMD minimizes the Maximum Mean Discrepancy (MMD) between the empirical joint distribution of the data and the joint distribution implied by a candidate Stochastic Differential Equation (SDE):
$$dX_t = b_0(X_t, t)dt + g_0(X_t, t)dW_t$$
By choosing a kernel that factors across state and time, the joint MMD objective simplifies into a weighted sum of marginal MMDs at each observed time point—effectively creating a distributional least-squares regression.
Key Innovations:
- Learnable Volatility: Unlike SB methods, SnapMMD can infer unknown, state-dependent, and time-dependent volatility functions ($g_0$).
- Distributional $R^2$ Metric: The authors introduce an $R^2$-style statistic for probability distributions. It establishes a baseline using the data's Wasserstein/RKHS barycenter (the best constant, time-independent distribution) to quantify exactly how much temporal variance the SDE model explains.
- Handling Incomplete States: If certain hidden variables drive the system (e.g., unmeasured protein levels mediating mRNA expression), SnapMMD trains directly on the marginal distribution of the observed dimensions without requiring data imputation.
Datasets
The authors evaluated SnapMMD across both synthetic benchmarks and real-world datasets:
- Synthetic Lotka–Volterra System: A classic predator-prey simulation modified to include state-dependent volatility.
- Synthetic Repressilator System: A biological clock model involving three cyclically inhibiting genes, tested in both a fully observed setting (mRNA only) and an incomplete setting (mRNA observed, proteins latent).
- Gulf of Mexico Ocean Currents: Real-world high-resolution bathymetry data from the HYCOM reanalysis, used to simulate particle trajectories drifting through an ocean vortex.
- T Cell-Mediated Immune Activation: A real scRNA-seq dataset tracking 30-dimensional gene program projections in peripheral blood mononuclear cells (PBMCs) over 20 hours.
Key Insights and Ideas
- The Power of the Joint Distribution: Shifting the objective from sequential conditional matching to joint state-time distribution matching is what unlocks robust forecasting. It forces the SDE parameters to capture a global, coherent velocity field rather than just stitching consecutive snapshots together.
- MMD over KL Divergence: KL divergence is notoriously rigid when optimizing the diffusion term of an SDE. MMD provides a smoother, kernel-based distance metric that accommodates flexible, learnable noise architectures (like neural networks approximating volatility).
- Smoothness vs. Exact Interpolation: SB methods are forced to exactly fit every training snapshot, which can introduce erratic artifacts if the data is noisy. SnapMMD aims to recover a smooth underlying velocity field, making it slightly less precise at exact interpolation but vastly superior at extrapolation.
Key Results
SnapMMD consistently outperformed state-of-the-art Schrödinger Bridge and Flow Matching baselines in forecasting tasks, while matching or exceeding them in interpolation.
Quantitative Highlights:
- Lotka-Volterra Forecasting: SnapMMD achieved a Forecast-MMD of 0.012, vastly outperforming the best SB baseline (SBIRR-ref at 0.14) and accurately capturing the cyclical trajectory of the population.
- Incomplete State Repressilator: When protein data was hidden, SnapMMD leveraged its structural awareness to forecast mRNA concentrations with an MMD of 0.0075, compared to SBIRR-ref's 1.26.
- Real-World PBMCs: In the 30-dimensional T-cell activation space, SnapMMD achieved a forecasting MMD of 0.0042, an order of magnitude lower than SB baselines (SBIRR-ref at 0.097).
Limitations and Future Work
- Model Family Specification: SnapMMD requires the user to pre-specify a parametric or semiparametric family for the SDE. A poorly chosen model class will yield poor forecasts.
- Identifiability Issues: As detailed in the paper's appendix, different combinations of drift and volatility can generate identical marginal distributions over time, meaning the true physical parameters aren't always uniquely identifiable from snapshot data alone.
- Computational Cost: The method is not simulation-free; it requires simulating trajectories from the candidate SDE at every optimization step, which scales heavily with sample size and dimensionality. Developing a simulation-free version of SnapMMD remains an open avenue for future research.
Summary updated