Abstract
Complex high-dimensional stochastic dynamic systems arise in many applications in the natural sciences, especially biology. However, while these systems are difficult to describe analytically, "snapshot" measurements that sample the output of the system are often available. In order to model the dynamics of such systems given snapshot data, or local transitions, we present a deep neural network framework called Dynamics Modeling Network (DyMoN). DyMoN is trained as a deep generative Markov model whose next state is a probability distribution based on the current state. Trained using samples of current and next-state pairs, DyMoN does not require longitudinal measurements. We demonstrate DyMoN's advantage over shallow models (Kalman filters, HMMs) and recurrent neural networks in its ability to embody dynamics and generate longitudinal hypothetical trajectories. Case studies on biological systems further illustrate how DyMoN extracts meaningful dynamical features.
Introduction: The Challenge of Snapshot Data
Understanding the temporal evolution of complex systems is a fundamental goal in biology and physics. However, many modern measurement techniques are inherently destructive. In single-cell RNA sequencing (scRNA-seq), for instance, the process of measuring a cell's gene expression profile destroys the cell, preventing researchers from observing the same individual over time. Instead, we obtain "snapshots"—collections of data points from different individuals at various developmental stages.
Standard tools for modeling dynamics have significant drawbacks in this context. Recurrent Neural Networks (RNNs) typically require continuous longitudinal sequences for training. Shallow models like Hidden Markov Models (HMMs) or Kalman filters often rely on linear assumptions or predefined state spaces that fail to capture the non-linear, high-dimensional "logic" of biological processes. Generative Adversarial Networks (GANs), while powerful, frequently suffer from "mode collapse," failing to represent the full stochastic diversity of potential future states.
Methodology: The DyMoN Framework
DyMoN addresses these challenges by framing dynamics modeling as a deep generative Markov process. The network learns a transition function that maps a current state $x$ to a probability distribution of potential next states $P(y|x)$.
The framework incorporates two critical technical innovations:
- Stochasticity via Latent Noise: By taking a random Gaussian noise vector ($\epsilon$) as an additional input, DyMoN can generate a distribution of possible future states for any given input, capturing the inherent randomness of biological systems.
- Maximum Mean Discrepancy (MMD) Loss: Instead of point-to-point matching, DyMoN uses MMD to measure the distance between the distribution of states generated by the model and the distribution of observed "next-states" in the data. This statistical approach prevents mode collapse and allows the model to learn the underlying geometry of transitions without requiring explicit longitudinal labels.
Experimental Evaluation and Results
The authors validated DyMoN across synthetic physics benchmarks, statistical models, and real-world biological datasets.
- Synthetic Physics: The model accurately captured periodic and chaotic dynamics in single and double pendulum systems, outperforming RNNs which failed to learn the manifold geometry from snapshots.
- Statistical Robustness: In Gaussian Mixture Model tests, DyMoN achieved an Earth Mover’s Distance (EMD) of 0.150, significantly outperforming RNNs (1.61) and matching the performance of HMMs while offering faster inference.
- Biological Discovery: In a study of human embryonic stem cells (hESCs) differentiating into neural and bone progenitors, DyMoN generated trajectories that correctly identified the sequential expression of stem cell markers (NANOG, POU5F1) followed by lineage-specific markers (SOX1 for neural, ALPL for bone).
Insights from Learned Dynamics
A key advantage of DyMoN is its interpretability. By calculating the Jacobian of the learned transition vector, researchers can identify the specific features (e.g., genes) driving a system toward a particular state. In T-cell development data, this analysis revealed a negative association between CD4 and CD8 at critical branch points, mirroring known biological decision-making processes. Unlike "black box" probabilistic models, DyMoN's deep layers provide a factored representation of dynamics that can be systematically perturbed to study system behavior.
Conclusion and Future Work
DyMoN provides a robust framework for inferring global dynamics from local, destructive snapshots. While it requires more training time than shallow models, its superior performance in high-dimensional spaces and its ability to generate realistic longitudinal trajectories make it a powerful tool for biological discovery. Future work will focus on reducing dependency on initial neighbor-finding pre-processing and applying the model to infer driving forces behind disease progression and drug responses.
Summary updated