Oh SnapMMD! Forecasting stochastic dynamics beyond the Schrödinger bridge’s end

Renato Berlinghieri, Yunyi Shen, Jialong Jiang, Tamara Broderick · Submission to ICLR 2026 · Rejected

TL;DR

Existing methods for modeling population snapshots (like Schrödinger Bridges) excel at interpolating between known timepoints but fail when forecasting the future due to rigid reference priors and fixed, state-independent noise assumptions. SnapMMD reframes the problem as least-squares fitting of the joint state–time distribution in an RKHS using Maximum Mean Discrepancy (MMD), enabling learned state-dependent volatility, incorporation of domain mechanisms, handling of unobserved state variables, and accurate future forecasting.

What Problem Does This Paper Address?

In many scientific domains—such as single-cell RNA sequencing (scRNA-seq) or satellite oceanography—measuring a system's state destroys or loses track of individual entities. Instead of full trajectories, researchers observe cross-sectional "snapshots" of different individuals at discrete timepoints.

While recent advances in Schrödinger Bridges (SB) and flow matching effectively interpolate missing intermediate time steps, they struggle with forecasting (predicting states beyond the observed time horizon). Standard SB formulations minimize Kullback–Leibler divergence against a pre-set reference process (typically standard Brownian motion). Forecasting under this setup degenerates into rolling the last marginal forward under that arbitrary, data-agnostic reference dynamic. Moreover, SBs enforce fixed, state-independent noise (diffusion), which clashes with biological and physical systems where noise variance depends heavily on state and time.

Methods

SnapMMD recasts trajectory learning from a constrained optimal transport problem into a distributional regression problem:

  • Joint Distribution Matching via MMD: Viewing the dataset as i.i.d. draws from a joint distribution $p(Y, t) = p(Y \mid t)h(t)$, the authors define a product kernel $K((y, t), (y', t')) = K_y(y, y')\delta(t - t')$. Under this kernel, the squared MMD between the model and empirical distributions simplifies into a weighted sum of per-time-point marginal MMDs: $$\min_\theta \sum_{i=1}^I \left(\frac{N_i}{N}\right)^2 \text{MMD}^2_{K_y}\left(f_\theta(\cdot \mid t_i),\, \hat{f}(\cdot; t_i)\right)$$
  • Learning State-Dependent SDEs: The underlying system is modeled as an SDE: $dX_t = b_\theta(X_t, t)dt + g_\theta(X_t, t)dW_t$. Gradients through the stochastic trajectories are computed using the stochastic adjoint method.
  • Handling Unobserved Dimensions: When only a subset of variables is measured (e.g., mRNA observed, but regulating proteins unobserved), SnapMMD fits the marginal distribution over the observed subset without requiring imputation.
  • Distributional $R^2$ Diagnostic: By establishing the RKHS barycenter (a static, time-independent mixture) as a baseline, the authors introduce an interpretable $R^2 \in (-\infty, 1]$ metric to diagnose goodness-of-fit and perform early stopping and model selection.

Datasets

The authors evaluated SnapMMD across synthetic systems and real-world benchmarks:

  1. Lotka–Volterra: Simulated 2D predator–prey dynamics with state-dependent volatility $\sigma X$.
  2. Repressilator (mRNA only): Simulated 3D biological feedback oscillator with cyclic transcriptional repression.
  3. Repressilator (mRNA + Latent Protein): A 6D simulated system where only the 3 mRNA dimensions are observed during training, while the 3 protein dimensions remain latent.
  4. Gulf of Mexico (HYCOM): High-resolution (1 km) real bathymetry ocean-current data used to simulate 2D particle drift around an ocean vortex.
  5. PBMC Immune Activation: Real single-cell RNA-seq time series (41 timepoints over 20 hours) tracking T cell activation, projected into a 30-dimensional gene-program latent space.

Key Insights and Ideas

  • Why SBs Fail at Extrapolation: The paper proves (Proposition B.1) that under standard Markovian SB formulations, solving for a future unconstrained marginal reduces strictly to diffusing forward under the fixed reference dynamic. If that reference is Brownian motion, the forecast is just unguided diffusion.
  • State-Dependent Diffusion Matters: Ablating learned volatility into a fixed scalar caused forecasting errors to spike by over an order of magnitude in several benchmarks.
  • Mechanistic Scaffolding vs. Pure Black Boxes: SnapMMD easily integrates domain-informed parametric or semiparametric structures (e.g., fluid vortex dynamics or gene regulatory equations with neural network residual terms). Ablations show that purely unconstrained neural SDEs fail catastrophically on snapshot data due to severe identifiability issues.

Key Results

SnapMMD consistently outperformed baselines (SBIRR, SB-forward, DMSB, OT-CFM, SB-CFM, SF2M) on forecasting tasks while matching or beating them on interpolation and vector field reconstruction:

  • Forecasting Performance (MMD / EMD):
  • Lotka–Volterra: SnapMMD achieved an MMD of $0.057 \pm 0.03$ vs. $0.69 \pm 0.11$ (SBIRR-ref) and $2.99 \pm 1.88$ (SB-forward).
  • Repressilator (Semiparametric): Forecast MMD of $0.32 \pm 0.15$ vs. $1.46 \pm 0.55$ (SBIRR-ref).
  • Repressilator with Unobserved Protein: Forecast EMD of $0.26 \pm 0.04$ vs. $6.36 \pm 0.51$ (SBIRR-ref) and $7.24 \pm 0.48$ (SB-forward).
  • PBMC (30D single-cell): Forecast MMD was reduced by nearly an order of magnitude: $0.11 \pm 0.04$ vs. $0.69 \pm 0.11$ (SBIRR-ref) and $2.99 \pm 1.88$ (SB-forward).
  • Interpolation: SnapMMD achieved the best or tied-for-best MMD/EMD on nearly all benchmarks (e.g., Repressilator parametric MMD: $0.040 \pm 0.034$ vs. nearest competitor SBIRR at $0.156 \pm 0.102$).

Limitations and Future Work

  • Reliance on Model Specification: SnapMMD requires specifying an SDE model family with reasonable inductive bias. An unconstrained or poorly chosen family can lead to severe underperformance.
  • Theoretical Identifiability: Matching marginal distributions over time does not uniquely identify drift and diffusion without structural constraints (an infinite family of divergence-free perturbations satisfies the Fokker–Planck equation).
  • Computational Cost: Because SnapMMD integrates SDE trajectories during training, it is not simulation-free. Scaling to extremely large datasets and higher dimensions will require investigating simulation-free approximations (e.g., score/flow-matching analogs) or random Fourier feature kernel approximations.

Summary updated

BibTeX
@misc{berlinghieri2025oh,
  author = {Renato Berlinghieri and Yunyi Shen and Jialong Jiang and Tamara Broderick},
  title = {{Oh SnapMMD! Forecasting stochastic dynamics beyond the Schrödinger bridge’s end}},
  year = {2025},
  eprint = {2505.16082},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.16082},
}
Figure