Hida-Matérn Kernel

Matthew Dowling, Piotr A. Sokól, Il Memming ParkarXiv 2021

Abstract

We present the class of Hida-Matérn kernels, which is the canonical family of covariance functions over the entire space of stationary Gauss-Markov Processes. It extends upon Matérn kernels by allowing for flexible construction of priors over processes with oscillatory components. Any stationary kernel, including the widely used squared-exponential and spectral mixture kernels, are either directly within this class or are appropriate asymptotic limits, demonstrating the generality of this class. Taking advantage of its Markovian nature, we show how to represent such processes as state-space models using only the kernel and its derivatives. In turn, this allows us to perform Gaussian Process inference more efficiently and sidestep the usual computational burdens. We also show how exploiting special properties of the state-space representation enables improved numerical stability in addition to further reductions of computational complexity.

Introduction

Gaussian Processes (GPs) are widely regarded as the "gold standard" for Bayesian non-parametric regression due to their principled uncertainty estimates. However, they suffer from a significant computational bottleneck: standard GP inference requires inverting a covariance matrix, a process that scales cubically ($O(N^3)$) with the number of data points. This limitation often restricts GPs to small-scale datasets or necessitates complex approximations.

This paper introduces the Hida-Matérn kernel, a flexible family of covariance functions designed to transform this cubic bottleneck into a linear-time ($O(N)$) operation. By bridging the gap between classical signal processing and modern machine learning, the authors provide a framework that makes GPs "SSM-ready" (State-Space Model ready) by design, without sacrificing the expressivity required for complex, oscillatory, and smooth data.

The Hida-Matérn Kernel Family

The Hida-Matérn kernel is defined as a product of a Matérn kernel and a cosine term: $$k_{H,p}(\tau; a, b) = \cos(b\tau) k_{Mat}(\tau; l, \nu)$$

This formulation adds an oscillatory component to the standard Matérn kernel, allowing it to capture periodic patterns while maintaining the smoothness properties of the Matérn family. As shown in the spectral analysis, this kernel family is "dense" in the space of stationary kernels, meaning it can approximate any stationary process, including the popular Squared Exponential kernel, with arbitrary precision.

Hida-Matérn kernels and their corresponding power spectral densities for various parameter settings.

State-Space Representation and Efficiency

A core contribution of this work is the demonstration that any Hida-Matérn process can be represented as a system of linear stochastic differential equations (SDEs). By viewing the process as "filtered white noise" (Brownian motion), the authors construct an N-ple Gaussian Process where the state vector consists of the process and its derivatives.

Construction of an N-ple Gaussian Process from Brownian motion via integral filters.

This representation allows for inference using Kalman filters and smoothers, which operate in $O(N)$ time. Unlike traditional methods that require grueling mathematical derivations to convert a kernel into an SSM, the Hida-Matérn family is built to be Markovian from the start. The transition matrix of the SSM takes a simple "companion form," making implementation intuitive and efficient.

Numerical Stability and Universality

In high-order GPs, the magnitudes of derivatives can vary by several orders of magnitude, often leading to numerical ill-conditioning that causes Kalman filters to fail. The authors address this with a Correlation Transform, a coordinate transformation that normalizes these magnitudes. This ensures numerical stability even for very smooth processes where traditional SDE-based methods struggle.

Furthermore, the paper introduces Hida-Matérn Mixtures (MHM). By summing multiple Hida-Matérn kernels, researchers can model highly complex spectral densities. This universality ensures that switching to an SSM-friendly format does not result in a loss of modeling power.

Key Results

The method was evaluated on two primary benchmarks:

  1. Mauna Loa CO2 Dataset: The Hida-Matérn approach successfully captured both the long-term upward trend and the yearly seasonal oscillations of atmospheric CO2, providing accurate extrapolations.
  2. Toy Scalability Dataset: On a synthetic dataset with 50,000 observations, the Hida-Matérn SSM significantly outperformed state-of-the-art approximations like SVGPR and KISS-GP in both speed and accuracy. It achieved the lowest marginal KL divergence to the true GP posterior, demonstrating that it does not suffer from the uncertainty overestimation common in other scalable methods.

Conclusion

The Hida-Matérn kernel offers a powerful path forward for scalable Gaussian Process inference. While currently focused on 1D inputs like time-series data, its theoretical foundations provide a roadmap for multivariate extensions. By unifying the flexibility of kernels with the efficiency of state-space models, this work enables the application of principled Bayesian regression to massive datasets that were previously computationally unreachable.

Summary updated

BibTeX
@misc{dowling2021hida,
  author = {Matthew Dowling and Piotr A. Sokól and Il Memming Park},
  title = {{Hida-Matérn Kernel}},
  year = {2021},
  eprint = {2107.07098},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.07098},
}
Figure