Identifying Drift, Diffusion, and Causal Structure from Temporal Snapshots

Vincent Guan, Joseph Janssen, Hossein Rahmani, Andrew Warren, Stephen Zhang, Elina Robeva, Geoffrey SchiebingerarXiv 2024

TL;DR

This paper provides a theoretical and algorithmic framework for jointly identifying the drift and diffusion parameters of a Stochastic Differential Equation (SDE) using only "temporal snapshots" (population-level marginals) rather than full individual trajectories. The authors prove that these parameters are generically identifiable unless the system starts in a highly symmetric state, and they introduce APPEX, an iterative algorithm that successfully recovers complex dynamics and causal structures from such data.

What Problem Does This Paper Address?

In many scientific fields, we want to model how a system evolves using SDEs, which capture both deterministic trends (drift) and random fluctuations (diffusion). Ideally, we would track individual particles or cells over time to learn these parameters. However, in fields like single-cell biology (scRNA-seq), the act of measurement is destructive—you can see the state of a population at time $t_1$ and a different population at time $t_2$, but you can never track the same cell twice.

This "marginals-only" setting creates a massive identifiability problem: many different SDEs can produce the exact same population-level distributions over time. To make progress, previous researchers often had to assume the noise was simple (isotropic) or that the system didn't have rotational components. This paper aims to remove those restrictive assumptions and determine exactly when and how we can uniquely recover the true underlying physics of the system from snapshots alone.

Methods

The authors tackle the problem through two main avenues:

  1. Identifiability Theory: They define a condition called Auto-Rotational Invariance (ARI). They prove that for linear SDEs with additive noise, the drift and diffusion are uniquely identifiable unless the initial distribution $X_0$ possesses specific generalized rotational symmetries. Crucially, they show that even if $X_0$ is symmetric, almost all SDE parameter configurations will break that symmetry over time, making the system "generically identifiable."
  2. The APPEX Algorithm: They introduce Alternating Projection Parameter Estimation from $X_0$ (APPEX). As shown in the outline below, the algorithm alternates between two steps:
  3. Trajectory Inference (AEOT): Using a new variant called Anisotropic Entropy-regularized Optimal Transport, the algorithm estimates how individuals likely moved between snapshots, accounting for noise that might be stronger in some directions than others.
  4. Parameter Estimation (MLE): It then uses Maximum Likelihood Estimation to update the drift and diffusion parameters based on those inferred trajectories.
Figure 1: Outline of our theoretical (a) and algorithmic (b) contributions. In (b), our algorithm Alternating Projection Parameter Estimation from X0 alternates between Anisotropic Entropy- regularized Optimal Transport (AEOT) and Maximum Likelihood Estimation (MLE).

Datasets

The study primarily uses simulated datasets to validate its theoretical claims, as ground-truth SDE parameters for real-world biological systems are generally unknown.

  • Linear Additive Noise SDEs: The authors generated hundreds of random SDE systems with dimensions ranging from $d=3$ to $d=10$.
  • Non-Identifiable Pairs: They specifically tested "classical" non-identifiable SDE pairs from literature to show that their method resolves them when the initial distribution is properly initialized.
  • Causal Graphs: They used Erdős-Rényi graphs to generate ground-truth causal structures for evaluation.

Key Insights and Ideas

  • Symmetry is the Enemy: The only thing preventing us from learning an SDE from snapshots is perfect symmetry in the starting distribution. If your starting population isn't a perfect "pancake" or sphere in a transformed space, the data contains enough information to distinguish drift from diffusion.
  • Joint Estimation is Essential: You cannot accurately estimate drift if you assume the wrong noise structure (diffusion), and vice versa. APPEX's ability to update both simultaneously is a significant step forward.
  • Causality from Dynamics: The paper establishes a formal bridge between SDE parameters and causal discovery. The drift matrix $A$ reveals directed edges (how one variable regulates another), while the diffusion matrix $H$ reveals latent confounders (shared noise sources affecting multiple variables).
  • Higher-Order Moments Matter: The authors show that non-Gaussian features in the initial distribution (captured by higher-order cumulants) provide crucial "anchors" that help identify the system's rotation.

Key Results

APPEX significantly outperforms the widely used Waddington-OT (WOT) method, particularly in recovering diffusion and causal structure.

  • Accuracy: In high-dimensional tests ($d=10$), APPEX achieved a Mean Absolute Error (MAE) for diffusion that was orders of magnitude lower than WOT (0.317 vs 35.122), as WOT is fundamentally limited by its assumption of isotropic noise.
  • Causal Recovery: APPEX successfully recovered causal graphs with very low Structural Hamming Distance (SHD), even in the presence of latent confounders.
Comparison of MAE for drift (A) and diffusion (GG^T) across dimensions.

Limitations and Future Work

  • Linearity: The current identifiability proofs are restricted to time-homogeneous linear SDEs. While the APPEX algorithm can be applied to nonlinear systems, the theoretical guarantees for those cases remain an open question.
  • Computational Complexity: The trajectory inference step relies on Sinkhorn iterations, which can be computationally expensive for very large datasets common in biology.
  • Sample Complexity: The theory assumes "infinite data" (continuous observation). Future work is needed to establish how many snapshots and how many samples per snapshot are required for a given level of confidence.
  • Non-Convexity: The alternating projection scheme is non-convex, meaning that while it works well in practice, a formal proof of global convergence is still missing.

Summary updated

BibTeX
@misc{guan2024identifying,
  author = {Vincent Guan and Joseph Janssen and Hossein Rahmani and Andrew Warren and Stephen Zhang and Elina Robeva and Geoffrey Schiebinger},
  title = {{Identifying Drift, Diffusion, and Causal Structure from Temporal Snapshots}},
  year = {2024},
  eprint = {2410.22729},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.22729},
}
Figure