NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning unknown ODE models with Gaussian processes

Markus Heinonen, Çagatay Yildiz, Henrik Mannerström, Jukka Intosalmi, Harri Lähdesmäki

Abstract

In conventional ODE modelling coefficients of an equation driving the system state forward in time are estimated. However, for many complex systems it is practically impossible to determine the equations or interactions governing the underlying dynamics. In these settings, parametric ODE model cannot be formulated. Here, we overcome this issue by introducing a novel paradigm of nonparametric ODE modelling that can learn the underlying dynamics of arbitrary continuous-time systems without prior knowledge. We propose to learn non-linear, unknown differential functions from state observations using Gaussian process vector fields within the exact ODE formalism. We demonstrate the model's capabilities to infer dynamics from sparse data and to simulate the system forward into future.

Introduction

Ordinary Differential Equations (ODEs) are the standard mathematical tool for describing the temporal evolution of physical, biological, and engineering systems. Typically, modeling follows a parametric approach where a specific functional form—such as the laws of chemical kinetics—is assumed, and unknown coefficients are estimated from data. However, for many complex systems, the underlying "rules" or interactions are unknown, making it impossible to formulate a parametric model.

This paper introduces npODE, a novel framework for nonparametric ODE modeling. By leveraging Gaussian Processes (GPs) to represent the system's vector field, npODE can learn the governing equations of arbitrary continuous-time systems directly from data without prior knowledge of the system's structure.

Methodology

The core innovation of npODE is treating the derivative function—the "vector field" that determines the system's trajectory—as a Gaussian Process.

  • Gaussian Process Vector Fields: Instead of assuming a fixed mathematical form, the model uses GPs to define a "flow" across the state space. This allows the model to capture complex, non-linear dynamics that would be difficult to describe with simple formulas.
  • Inducing Points: To ensure computational efficiency, the authors utilize a sparse GP formulation. A grid of "inducing points" represents locations where the vector field is explicitly learned, with values elsewhere interpolated.
  • Exact ODE Formalism: Unlike "gradient matching" techniques that only look at local snapshots, npODE integrates the learned vector field using a standard ODE solver during training. This ensures that the model is optimized to produce trajectories that match observed data over time.
  • Sensitivity Equations: The authors derived sensitivity equations to enable efficient gradient-based optimization. These equations allow the model to calculate how changes in the learned vector field affect the system's state at any future point in time.

Experimental Results

The authors evaluated npODE on both synthetic benchmarks and high-dimensional real-world datasets.

Simulated Oscillators

The model was tested on classic dynamical systems, including the Van der Pol, FitzHugh-Nagumo, and Lotka-Volterra models. npODE successfully reconstructed the full cycles of these complex oscillators using less than two cycles of training data. Because it is built on GPs, the model provides explicit uncertainty estimates, showing where the dynamics are well-captured and where data is sparse.

Learned vector fields and trajectories for Van der Pol, FitzHugh-Nagumo, and Lotka-Volterra models.

Human Motion Capture

To demonstrate scalability, npODE was applied to the CMU Human Motion Capture dataset. 50-dimensional pose data was projected into a 3D latent space. npODE significantly outperformed state-of-the-art discrete-time models, such as GPDM and VGPLVM, in predicting future frames. It maintained the natural rhythm of the human gait without the "drift" or collapse into static poses common in previous methods.

Comparison of npODE with GPDM and VGPLVM on human motion capture data.

Conclusion

The npODE framework provides a powerful new tool for modeling unknown dynamical systems. By combining the flexibility of nonparametric modeling with the rigor of exact ODE integration, it achieves high data efficiency and superior forecasting capabilities. Future work may extend this approach to include stochastic differential equations or external control inputs, further broadening its applicability to robotics and automated control.

Summary updated

BibTeX
@inproceedings{heinonen2018learning,
  author = {Markus Heinonen and Çagatay Yildiz and Henrik Mannerström and Jukka Intosalmi and Harri Lähdesmäki},
  title = {{Learning unknown ODE models with Gaussian processes}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
}
Figure