Nonstationary multi-output Gaussian processes via harmonizable spectral mixtures

Matías Altamirano, Felipe A. TobarAISTATS 2022

This paper, presented at AISTATS 2022, introduces a novel kernel for Multi-output Gaussian Processes (MOGPs) that breaks the "stationarity barrier," allowing models to share information across multiple time series even when those series change their behavior over time.

TL;DR

The authors propose the Multi-Output Harmonizable Spectral Mixture (MOHSM) kernel, a non-stationary extension of the popular MOSM kernel. By leveraging the theory of harmonizable processes, MOHSM can automatically detect and model changing regimes across multiple correlated channels, significantly outperforming stationary models in financial and neurological applications.

What Problem Does This Paper Address?

Gaussian Processes (GPs) are a cornerstone for Bayesian non-parametric modeling of time series. When dealing with multiple related signals (like different stock indices or EEG sensors), Multi-output GPs (MOGPs) are used to share information across channels, which helps "fill in the blanks" for missing data.

However, most powerful MOGP kernels, such as the Multi-Output Spectral Mixture (MOSM), rely on Cramér’s Theorem, which assumes the data is stationary. Stationarity implies that statistical properties like mean and variance remain constant over time. In real-world scenarios—such as volatile stock markets or brain activity—this assumption is often violated. Existing non-stationary models frequently struggle to capture complex cross-channel dependencies or require manual specification of "regime changes."

Methods

The authors turn to harmonizable processes, a mathematical framework that generalizes the Fourier representation to non-stationary signals.

Taxonomy of spectral mixture kernels, positioning MOHSM as the non-stationary, multi-output extension.
  1. The Harmonizable Shift: While stationary kernels only care about the difference between two time points ($x - x'$), harmonizable kernels allow the covariance to depend on the absolute locations of $x$ and $x'$.
  2. Spectral Mixture Construction: They model the "generalized spectral density" as a mixture of Gaussians, allowing the kernel to be highly expressive in the frequency domain.
  3. Input Shifts (Windowing): To handle data that changes behavior at specific times, they introduce "input shifts" ($x_p$). These act like flexible windows that activate different spectral components in different parts of the timeline.
  4. Generalization: They prove that MOHSM is a true generalization of MOSM. By setting window length-scales to infinity and shifts to zero, the model recovers the standard stationary MOSM kernel.

Datasets

The authors evaluated MOHSM on three distinct types of data:

  • Synthetic Data: A simulated GP sample along with its derivative and a delayed version to test recovery of ground-truth cross-covariances.
  • GONU Dataset: A financial dataset consisting of four weekly series: Gold prices, Oil prices, the NASDAQ index, and the USD index (2017–2018).
  • EEG Dataset: An 8-channel electroencephalography recording, which is inherently non-stationary as brain states shift rapidly.

Key Insights and Ideas

  • Correlation Between Frequencies: In stationary processes, different frequencies are uncorrelated. Non-stationarity can be viewed as correlation between frequencies. By modeling this spectral correlation, MOHSM captures how a signal's rhythm evolves.
  • Automatic Regime Detection: Unlike many non-stationary models that require hard-coded "change points," MOHSM's parameters are learned via gradient descent. The model "finds" where behavior changes on its own.
  • Interpretability: Because the kernel is built in the spectral domain, hyperparameters have physical meanings, such as the main frequency of a channel, time delays between sensors, and phase shifts.

Key Results

  • Synthetic Recovery: In the synthetic task, MOHSM achieved a Correlation Matrix Distance (CMD) of 0.48, vastly outperforming the stationary MOSM (0.85) and other non-stationary baselines.
Comparison of Correlation Matrix Distance (CMD) on synthetic data; lower values indicate better recovery of the true covariance structure.
  • Financial Imputation: On the GONU dataset, MOHSM achieved the lowest error across all metrics, reaching a Negative Log-Likelihood (NLL) of -164.83, compared to MOSM's -155.15.
  • EEG Accuracy: In the 8-channel EEG task, MOHSM consistently outperformed other models in normalized Mean Absolute Error (nMAE), particularly in channels exhibiting significant "drift."

Limitations and Future Work

  • Optimization Sensitivity: The loss surface is non-convex; the authors suggest using windowed Periodograms for better initialization.
  • Smoothness Assumptions: Using Gaussian components assumes underlying functions are infinitely differentiable, which may not suit "jagged" data.
  • Scalability: Computational cost scales cubically with observations. Future work will focus on sparse implementations for larger datasets.

Summary updated

BibTeX
@inproceedings{altamirano2022nonstationary,
  author = {Matías Altamirano and Felipe A. Tobar},
  title = {{Nonstationary multi-output Gaussian processes via harmonizable spectral mixtures}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
}
Figure