Understanding how complex systems evolve over time is a fundamental goal across many scientific disciplines. Traditionally, this is achieved by tracking individuals—following a single cell, a specific stock, or a tagged bird to gather "trajectory data."
However, in many real-world scenarios, we only have access to "aggregate data." Imagine taking a photo of a crowd at noon and another at 1:00 PM. You can observe how the distribution of the crowd changed, but you cannot determine which person in the first photo corresponds to which person in the second. This limitation is common in fields like biology (e.g., single-cell RNA sequencing destroys the cell, preventing continuous tracking) and the social sciences (where privacy concerns mask individual identities).
This paper introduces the Fokker Planck Process (FPP), a novel framework for learning nonlinear stochastic dynamics directly from these aggregate snapshots. By leveraging the weak form of the Fokker-Planck Equation within a Wasserstein Generative Adversarial Network (WGAN) framework, the authors successfully recover complex drift and diffusion terms without ever explicitly solving a computationally heavy partial differential equation.
The Challenge of Aggregate Data
The core challenge addressed by this research is: How do you learn the underlying rules of motion (the dynamics) when you cannot see the paths taken by individuals?
Existing methods often struggle with nonlinearities or require computationally expensive solvers for the governing physics equations. When individual identities are lost between time steps, standard recurrent models cannot easily map the transition from state $X_t$ to $X_{t+1}$.
A PDE-Free Approach with WGANs
The authors model the system using a Stochastic Differential Equation (SDE), which consists of a "drift" term (the deterministic trend) and a "diffusion" term (the random noise). The evolution of the probability density of such a system is governed by the Fokker-Planck Equation (FPE), a well-known partial differential equation (PDE).
Instead of solving this PDE directly—which is notoriously difficult in high dimensions—the authors use its weak form. By multiplying the FPE by a "test function" and integrating, they transform the problem to work with discrete samples rather than continuous functions.
The core innovation is combining this weak form with a Wasserstein GAN (WGAN):
- The Generator: A neural network that approximates the "drift" term of the SDE. It "generates" the next state of the distribution by simulating particles via the Euler-Maruyama scheme.
- The Discriminator: A neural network representing the "test function" from the weak form. It attempts to find the largest discrepancy between the predicted distribution and the observed aggregate data.
By minimizing the Wasserstein distance between the predicted and observed distributions, the model learns the dynamics that best explain the aggregate snapshots—acting as a dynamic regularizer without needing a numerical PDE solver.
Key Results and Applications
The FPP model was evaluated on a mix of synthetic and real-world benchmarks, consistently outperforming baselines like standard Recurrent Neural Networks (NN) and LEGEND (an HMM-based approach).
- Synthetic Dynamics: Tested across multiple scenarios (linear, complex nonlinear, and a Van der Pol oscillator) in up to 10 dimensions, FPP achieved significantly lower Wasserstein errors. The model perfectly captures how simple distributions split and evolve into complex shapes over time.
- Biological Fidelity: On a realistic single-cell RNA-seq dataset tracking gene expression in differentiating cells over 7 days, FPP accurately predicted future gene expression distributions and recovered correlations between different gene markers.
- Financial Robustness: When predicting daily trading volume for stock data, FPP captured the movements and noise of the market better than Kalman filters, which often produced overly smoothed or unstable results.
Limitations and Future Work
While powerful, the authors highlight a fundamental mathematical hurdle: non-uniqueness. If a drift field is a "curl" (similar to a whirlpool that moves particles but doesn't change the overall density of the water), it is impossible to recover the true vector field solely by looking at snapshots of the density.
Additionally, backpropagating through many simulation steps can be computationally expensive. The authors suggest that future work could incorporate the adjoint method to avoid direct gradient computation, potentially making the training even more efficient for very long time-series or extremely high-dimensional data.
Summary updated