State Space representation of non-stationary Gaussian Processes

Alessio Benavoli, Marco ZaffalonarXiv 2016

Here is a technical summary of the paper "State Space representation of non-stationary Gaussian Processes".

TL;DR

This paper demonstrates how non-stationary Gaussian Process (GP) kernels—such as linear, spline, and neural network kernels—can be exactly represented or closely approximated using state-space (SS) models. By leveraging the transient behavior of these models, the authors enable exact GP inference to be computed via Kalman filtering and smoothing in $O(n)$ time, making non-stationary GPs scalable to massive datasets.

What Problem Does This Paper Address?

Gaussian Processes (GPs) are powerful, flexible tools for non-parametric Bayesian inference. However, their practical application is severely limited by their $O(n^3)$ computational complexity, where $n$ is the number of data points, due to the need to invert large covariance matrices.

While prior research has successfully mapped stationary kernels to state-space models—reducing the complexity to $O(n)$ by utilizing Kalman filtering—doing so for non-stationary kernels has remained a challenge. This paper addresses this limitation by showing how the transient behavior (the effects of initial conditions and time-varying dynamics) of state-space models can be exploited to represent non-stationary GP kernels.

Methods

The authors utilize stochastic linear time-variant (LTV) and linear time-invariant (LTI) state-space models formulated as Stochastic Differential Equations (SDEs):

$$df(t) = F(t)f(t)dt + L(t)dw(t)$$ $$y(t_k) = C(t_k)f(t_k) + v_k$$

By analyzing the covariance of these systems, they demonstrate that the non-stationarity of a GP can be captured through the system's initial state covariance $E[f(t_0)f^T(t_0)]$ and its time-varying matrices. Specifically, they map three major non-stationary architectures:

  1. Linear Regression Kernel: Modeled using an LTI system with no driving noise ($q(t)=0$), where the non-stationarity is entirely dictated by the initial state's covariance.
  2. Cubic Smoothing Spline Kernel: Modeled using an LTI system with zero initial conditions, driven by a Wiener process (integrated white noise).
  3. Neural Network (NN) Kernel: Approximated by a combination of LTV systems, leveraging the fact that neural network kernels can be represented via a deconstruction into random basis functions.

Inference is executed using the Kalman Filter and Smoother ($O(n)$ time), and the hyperparameters are estimated via a Rao-Blackwellised Particle Filter.

Datasets

The authors evaluated their approach on two primary datasets:

  • Synthetic Sawtooth Wave: A highly non-linear, periodic dataset used to test the reconstruction fidelity of the periodic and Neural Network SS models.
  • Sunspot Time-Series: A massive, real-world dataset consisting of 580,306 observations of daily sunspot numbers, used to demonstrate the scalability of the state-space approach.

Key Insights and Ideas

  • The Power of Transience: Traditionally, the transient response in state-space models is ignored or minimized. This paper flips that convention, showing that the transient phase is precisely what allows these models to capture the behavior of non-stationary kernels.
  • Bridging SDEs and Neural Networks: The paper establishes a novel link between time-varying SDEs and Neural Network kernels (which are derived from infinite-width neural networks). This connects deep learning-adjacent GP methods directly to classical control and filtering theory.
  • True Scalability: By bypassing the $O(n^3)$ matrix inversion entirely, the state-space formulation allows non-stationary GP regression to scale linearly with the number of data points.

Key Results

  • Linear Time Complexity: The state-space formulations successfully reduced the computational footprint of non-stationary GPs to $O(n)$ per time step.
  • High-Dimensional Scaling: The authors successfully ran their model on the 580,306-point Sunspot dataset, estimating the sunspot cycle to be 10.36 years. The entire process took only 1.5 hours on a standard laptop, a task that would be computationally intractable using standard exact GP regression.
FIGURE 3. Sawtooth inference with SS periodic model of order J = 2, 6. Gaussian... with SS NN model for J = 10, 20.
As seen in Figure 3, increasing the number of components ($J$) allows the state-space neural network and periodic models to accurately capture the sharp, non-linear transitions of a sawtooth wave.

Limitations and Future Work

  • Dimensionality Constraints: The state-space approach is inherently tied to a single, sequential dimension (typically time). Extending this framework to multi-dimensional inputs (such as spatial data or multi-feature machine learning problems) remains a significant hurdle.
  • Future Directions: The authors plan to extend this work to multivariate regression problems and further investigate the theoretical boundaries of mapping complex, non-stationary machine learning kernels to state-space representations.

Summary updated

BibTeX
@misc{benavoli2016state,
  author = {Alessio Benavoli and Marco Zaffalon},
  title = {{State Space representation of non-stationary Gaussian Processes}},
  year = {2016},
  eprint = {1601.01544},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1601.01544},
}
Figure