Understanding how populations evolve over time is a central challenge in fields ranging from biology to the social sciences. However, collecting "longitudinal data"—tracking the exact same individual continuously—is often impossible. For instance, in single-cell RNA sequencing, measuring a cell's gene expression inherently destroys the cell. Researchers are instead left with "cross-sectional data": snapshots of entirely different individuals sampled from the population at different time points.
This paper introduces a novel deep learning method to infer the continuous-time dynamics of a population using only these discrete snapshots. By modeling the population as a diffusion process governed by a potential landscape and utilizing a specialized Recurrent Neural Network (RNN) with a Wasserstein loss, the authors demonstrate that complex, high-dimensional trajectories can be recovered without ever tracking a single individual over time.
The Challenge of Cross-Sectional Data
The core problem is connecting the dots between disconnected observations. If you observe a group of cells at Day 0 and a different group at Day 7, how do you determine the underlying "forces" (the drift) that drove the first group to differentiate into the second? Without constraints, there are infinite mathematical ways to map one probability distribution to another.
This paper seeks to identify the mathematical conditions under which these dynamics are recoverable and provides a scalable framework to estimate them.
Methodology: Diffusive RNNs and Gradient Flows
The authors model population movement as a Stochastic Differential Equation (SDE). This SDE consists of a deterministic "drift" (the force pulling individuals in a specific direction) and a stochastic "diffusion" (random noise).
To make the problem identifiable, they rely on a Gradient Flow Assumption. They assume the drift is the gradient of a potential function $\Psi(x)$, often conceptualized in biology as an "epigenetic landscape." This is equivalent to assuming the process is reversible, providing the necessary mathematical constraint to recover the dynamics.
Key components of their approach include:
- The JKO Theorem: The authors utilize the Jordan-Kinderlehrer-Otto (JKO) theorem, which links the evolution of a probability distribution to a sequence of optimization problems involving the Wasserstein distance (a measure of the "work" required to transform one distribution into another).
- Diffusive RNNs: The potential function $\Psi(x)$ is parameterized as a sum of energy barriers using a neural network. When discretized over time, this architecture functions as a generative RNN where hidden states are updated by the learned drift plus Gaussian noise.
- Wasserstein Loss: Instead of standard mean-squared error, the model minimizes the Wasserstein distance between the predicted population distribution and the observed snapshots, utilizing the Sinkhorn algorithm for efficient computation.
- Stationary Pre-training: To avoid the vanishing gradient problems common in Backpropagation Through Time (BPTT), the model is pre-trained using contrastive divergence, assuming the final snapshot is near a steady state.
Key Insights
The most profound theoretical insight of the paper is that snapshots are enough. If you assume the dynamics follow a gradient flow, you do not need to track individuals. A few cross-sectional snapshots are mathematically sufficient to recover the underlying potential landscape.
The authors treat cell differentiation much like a ball rolling down a rugged hill, where local minima represent stable cell types and slopes represent rates of change. Surprisingly, they found that a simple, unimodal potential (a single "valley") can still produce a bimodal distribution (two distinct "peaks" of cells) simply through the timing and speed of the diffusion process.
Furthermore, unlike previous "local" models that struggle as the number of dimensions increases, the RNN parametrization allows the model to scale effectively to tens or hundreds of dimensions.
Experimental Results
The model was evaluated on both synthetic and real-world biological datasets:
- Synthetic Quadratic Flow: A simple high-dimensional test where the potential is a U-shaped bowl.
- Styblinski-Tang Flow: A complex, multimodal potential used to test if the model can capture "splitting" populations in up to 50 dimensions.
- Single-cell RNA-seq: Real-world data from embryonic stem cells differentiating over seven days. The model was trained on Day 0 and Day 7 data to predict the unobserved distribution of gene expressions at Day 4.
In high-dimensional synthetic tests (up to 50 dimensions), the RNN model significantly outperformed traditional parametric and local diffusion models, which often collapsed or failed to capture multimodal behavior.
On the biological RNA-seq data, the model successfully predicted the distribution of the Krt8 gene at Day 4. Most impressively, it accurately captured the bimodal distribution (two distinct sub-populations) at the intermediate time point, despite only being trained on the start and end points. Additionally, the stationary pre-training method allowed the model to reach a high-quality solution in less than a third of the time required for random initialization.
Limitations and Future Directions
While powerful, the model has limitations. The gradient flow constraint assumes there are no "cycles" in the dynamics (e.g., a population cannot continuously loop in circles). While this is a reasonable assumption for many biological processes like differentiation, it may not hold for all physical or social systems. Additionally, the experiments assume the noise level (diffusion constant) is known or easily estimated, whereas real biological noise is often complex and state-dependent.
Future work could extend this framework to incorporate more complex neural architectures or to infer the "pseudo-time" of cells in a more principled, physics-based manner, further bridging the gap between static snapshots and continuous biological realities.
Summary updated