Abstract
We introduce a novel paradigm for learning non-parametric drift and diffusion functions for stochastic differential equation (SDE). The proposed model learns to simulate path distributions that match observations with non-uniform time increments and arbitrary sparseness, which is in contrast with gradient matching that does not optimize simulated responses. We formulate sensitivity equations for learning and demonstrate that our general stochastic distribution optimisation leads to robust and efficient learning of SDE systems.
Introduction
Stochastic Differential Equations (SDEs) are fundamental tools for modeling systems where deterministic trends and inherent uncertainty coexist. These equations are typically defined by two components: the drift ($f$), representing the deterministic driving force, and the diffusion ($\sigma$), representing stochastic volatility.
Traditionally, learning these functions from data has relied on "gradient matching." This approach attempts to estimate $f$ and $\sigma$ by matching them to local slopes between consecutive observations. While computationally convenient, gradient matching is notoriously sensitive to noise and requires dense, regularly sampled data. In real-world scenarios—such as financial modeling or climate science—data is often sparse and irregularly sampled, causing gradient-based approximations to fail. This paper introduces NPSDE, a non-parametric framework that moves beyond local approximations by optimizing the global distribution of simulated paths.
The NPSDE Framework
The core innovation of NPSDE is a simulation-based paradigm. Rather than matching local gradients, the model identifies drift and diffusion functions that, when used to simulate paths, produce a distribution most likely to have generated the observed data.
Non-Parametric Modeling with Gaussian Processes
To maintain flexibility, the authors model both the drift (a vector field) and the diffusion (a scalar field) using Gaussian Process (GP) priors. This non-parametric approach allows the model to capture complex, non-linear dynamics without assuming a specific functional form. To ensure computational tractability, the model employs a sparse set of "inducing points" to represent these functions, transforming an infinite-dimensional problem into a finite optimization task.
Simulation and Optimization
The model utilizes the Euler-Maruyama method to simulate latent paths from the SDE. Because the exact likelihood of an SDE is often intractable, NPSDE uses Monte Carlo sampling to approximate it, simulating multiple trajectories to evaluate how well they align with observed data points.
To train the model efficiently via gradient descent, the authors derived exact sensitivity equations. These equations propagate gradients directly through the simulation process, allowing for the use of robust optimizers like L-BFGS. This ensures that the model is not just a black-box simulator but a differentiable system capable of precise refinement.
Experimental Evaluation
The authors evaluated NPSDE across synthetic benchmarks and complex real-world datasets to test its robustness and interpretability.
Synthetic Systems
Testing on the Van der Pol oscillator and Double Well systems demonstrated that NPSDE accurately recovers underlying dynamics even with minimal training trajectories. Unlike gradient matching, NPSDE remained stable even as the temporal gap between observations increased.
NGRIP Ice Core Data
The model was applied to isotopic oxygen concentrations from the North Greenland Ice Core Project (NGRIP), covering 40,000 years of climate history. NPSDE successfully identified "Dansgaard-Oeschger (DO) events"—periods of abrupt warming. It achieved this by learning a state-dependent diffusion function, correctly assigning high volatility to the climate regimes where these sudden jumps occur, while the drift function captured the underlying stability of the different climate states.
Human Motion Capture
Using CMU Human Motion Capture data, the model learned to represent walking sequences. Interestingly, NPSDE learned a single, shared drift function across different subjects. It effectively treated the unique variations of individual walkers as "diffusion" (stochastic noise) around a common mean behavior, demonstrating its ability to separate universal dynamics from individual variability.
Key Insights and Conclusion
NPSDE represents a significant shift in how SDEs are learned from data. By prioritizing simulation over local approximation, the model gains several advantages:
- Robustness to Sparsity: By viewing the system's long-term behavior, the model is less affected by large gaps in time series data.
- State-Dependent Diffusion: The model can learn that noise levels change depending on the system's state, providing deeper physical insights into the data.
- Principled Uncertainty: The use of GPs provides a natural way to handle uncertainty in the learned dynamics.
While the computational cost of direct simulation is higher than simpler approximations, the use of inducing points and sensitivity equations makes NPSDE a viable and powerful tool for modeling complex stochastic systems in the real world.
Summary updated