Simulation-free Structure Learning for Stochastic Dynamics

Noah El Rimawi-Fine, Adam Stecklov, Lucas Nelson, Mathieu Blanchette, Alexander Tong, Stephen Y. Zhang, Lazar Atanackovic · DOI

Introduction

Understanding the underlying network structure and stochastic population dynamics of complex systems is a fundamental challenge in fields such as cell biology. Researchers often need to infer how genes interact (structure learning) while simultaneously modeling how cell populations evolve over time (dynamical inference). However, real-world biological data typically consists of noisy "snapshots" of different cells at discrete time points, making joint inference difficult. Traditional simulation-based methods, which require solving differential equations at every training step, fail to scale to the high-dimensional spaces characteristic of modern biological datasets.

To address these challenges, we present STRUCTUREFLOW, a novel, simulation-free framework that learns both the "wiring diagram" and the stochastic dynamics of complex systems. By leveraging Schrödinger Bridges and flow matching, STRUCTUREFLOW avoids the computational bottlenecks of traditional simulators, enabling it to scale to hundreds or thousands of variables.

Methodology

STRUCTUREFLOW is built upon three core technical pillars designed for efficiency and interpretability:

  1. Multi-marginal Schrödinger Bridges (SB): The framework utilizes the SB approach to find the most likely stochastic evolution of a population across multiple time-stamped snapshots, rather than just simple paths between points.
  2. Simulation-Free Training ([SF]²M): By employing "score and flow matching," the model is trained directly on data snapshots. This eliminates the need for numerical simulators during the training loop, drastically reducing computational overhead.
  3. Neural Graphical Models (NGM): The system's deterministic "drift" is parameterized using an NGM. The first layer of this network serves as a proxy for the system's adjacency matrix. By applying sparsity constraints like Group Lasso, the model learns the underlying interaction network.
Overview of the STRUCTUREFLOW pipeline, from data generation to inferred network structure and dynamical inference.

Furthermore, the model handles interventions (e.g., CRISPR gene knockouts) through a binary masking strategy. This allows it to predict system behavior under novel conditions by "severing" specific influences in the learned vector field.

Experimental Evaluation

The performance of STRUCTUREFLOW was rigorously tested across several benchmarks:

  • Synthetic Linear Systems: Erdos-Renyi graphs with up to 500 variables were used to evaluate high-dimensional scaling.
  • Simulated Biological Systems (BoolODE): Six topologies (e.g., Trifurcating, Hematopoietic Stem Cell models) mimicking cell differentiation paths.
  • Real-world Experimental Data (Renge): A single-cell RNA-seq dataset of human iPSCs with CRISPR knockouts of 23 transcription factors.

Results and Discussion

STRUCTUREFLOW demonstrates significant advantages in both accuracy and scalability. A key finding is that joint learning of structure and dynamics provides a powerful regularization effect, improving dynamical accuracy even when data is sparse.

Performance metrics (AP, AUROC) and training time vs. system size, comparing STRUCTUREFLOW against NGM-NODE and Random Forest (RF) baselines.

As shown in the evaluation on synthetic systems, STRUCTUREFLOW maintains high performance (AUROC and Average Precision) as dimensionality increases to 500 variables. Crucially, its training time scales much more favorably than traditional Neural ODE-based methods (like NGM-NODE), which experience exponential growth in computational cost.

On biological benchmarks, STRUCTUREFLOW consistently ranked as a top performer in trajectory prediction (measured by Wasserstein-2 distance). In real-world applications using the Renge dataset, the model successfully recovered known gene regulatory interactions and provided superior predictions for cell population responses to unseen genetic perturbations.

Conclusion

STRUCTUREFLOW represents a significant advancement in joint structure and dynamics learning. By removing the simulation barrier, it enables the analysis of high-dimensional stochastic systems that were previously computationally prohibitive. While challenges remain regarding hyperparameter sensitivity and the modeling of non-conservative systems (e.g., cell birth/death), this framework provides a robust foundation for bridging machine learning with mechanistic biophysics. Future work will explore extending these methods to "unbalanced" settings where population mass is not conserved.

Summary updated

BibTeX
@inproceedings{rimawifine2025simulation,
  author = {Noah El Rimawi-Fine and Adam Stecklov and Lucas Nelson and Mathieu Blanchette and Alexander Tong and Stephen Y. Zhang and Lazar Atanackovic},
  title = {{Simulation-free Structure Learning for Stochastic Dynamics}},
  booktitle = {LMRL @ ICLR},
  year = {2025},
  url = {https://openreview.net/forum?id=ioFc1mMYnb},
}
Figure