Physics-Informed Variational State-Space Gaussian Processes

Oliver Hamelijnck, Arno Solin, Theodoros Damoulas

Abstract

Physics-Informed Gaussian Processes (GPs) provide a robust framework for integrating physical laws with data-driven modeling. However, their cubic scaling with dataset size ($O(N^3)$) limits their application to large-scale spatio-temporal problems. We introduce PHYSS-GP (Physics-Informed Variational State-Space Gaussian Processes), which reduces temporal complexity to linear ($O(N_t)$) by leveraging state-space representations. By combining variational inference with natural gradients and spatial inducing points, PHYSS-GP enables efficient modeling of complex, non-linear physical systems. Experimental results on synthetic benchmarks and real-world ocean current data demonstrate that PHYSS-GP achieves up to a 39x speedup over existing state-of-the-art methods while maintaining or improving predictive accuracy.

Introduction

In scientific domains such as climate science and engineering, modeling often relies on a combination of physical laws—typically expressed as differential equations—and empirical data. Gaussian Processes are favored for this task due to their ability to handle uncertainty and incorporate prior physical knowledge. Despite their utility, the computational cost of standard GPs makes them impractical for large spatio-temporal problems. PHYSS-GP addresses this challenge by making physics-informed GPs both computationally efficient and spatio-temporally aware.

Methodology

PHYSS-GP employs several mathematical innovations to optimize inference without sacrificing physical fidelity:

  1. State-Space Representation: The GP is represented as a system evolving over time via a stochastic differential equation. This shifts the temporal complexity from $O(N_t^3)$ to $O(N_t)$.
  2. Variational Inference with Natural Gradients: To accommodate non-linear physics, the model uses a variational approach. The authors demonstrate that natural gradient descent in this context is equivalent to the classical Kalman Filter/Smoother, providing a bridge between machine learning optimization and control theory.
  3. Spatial Scaling: To manage the spatial dimension, the framework incorporates inducing points and spatial mini-batching, ensuring scalability as the grid size or geographical area increases.
  4. Physical Constraints as Virtual Observations: The model treats physical laws as "virtual" data points, minimizing the residual of the differential equation at specific collocation points.
Conceptual overview of PHYSS-GP, contrasting standard spatio-temporal dependencies with the efficient state-space representation.

Experimental Evaluation

The model was benchmarked against synthetic and real-world datasets:

  • Non-linear Damped Pendulum: Testing the ability to learn complex ODE dynamics.
  • Curl-free Magnetic Field: Evaluating adherence to physical constraints.
  • Allen-Cahn Equation: A non-linear PDE benchmark for phase separation.
  • Ocean Currents: A large-scale real-world dataset comprising over 42,000 observations from the Gulf of Mexico.

Key Results

PHYSS-GP demonstrates substantial improvements in both speed and accuracy over existing methods like AUTOIP. On the pendulum task, the model was approximately 39 times faster than the state-of-the-art when utilizing 1,000 collocation points. Furthermore, it showed superior predictive accuracy (RMSE) and uncertainty quantification (NLPD) in diffusion-reaction simulations. Notably, PHYSS-GP successfully modeled Gulf of Mexico ocean currents, a task previously considered computationally infeasible for physics-informed GPs.

Performance comparison between PHYSS-GP and AUTOIP across different numbers of collocation points (C), showing significant gains in time and accuracy.

Discussion and Limitations

While PHYSS-GP offers linear scaling in time, complexity still scales with the "state size," which is influenced by the number of spatial neighbors or derivatives tracked. Consequently, extremely high-dimensional spatial grids may still present challenges. Additionally, the model's reliance on collocation points means physical constraints are enforced discretely; poor selection of these points could lead to inaccuracies between them. Future work may explore "Deep" GP architectures or more flexible kernel families to further enhance the model's expressive power.

Summary updated

BibTeX
@inproceedings{hamelijnck2024physics,
  author = {Oliver Hamelijnck and Arno Solin and Theodoros Damoulas},
  title = {{Physics-Informed Variational State-Space Gaussian Processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=tCf7S75xFa},
}
Figure