Learning Gaussian Process Kernels in the Frequency Domain

66 concepts47 papers1 proposal

Gaussian processes (GPs) are powerful tools for probabilistic modeling, but their success depends almost entirely on the choice of the covariance kernel. Standard kernels, such as the Squared Exponential (RBF) or Matérn, are often too rigid; they assume data is smooth and monotonic, failing to capture complex periodicities or long-range patterns. Instead of manually engineering kernels by adding or multiplying these simple forms, a more flexible approach involves modeling the kernel's spectral density—its representation in the frequency domain.

The Spectral Perspective

The foundation of this approach is Bochner’s Theorem, which establishes a duality between stationary kernels and probability measures. As Wilson et al. explain, any stationary kernel can be expressed as the inverse Fourier transform of a positive finite measure, known as the spectral density.

If we know the frequencies that make up a signal, we can reconstruct its covariance. For example, a single spike in the frequency domain corresponds to a pure sine wave in the spatial domain. By modeling the spectral density directly, we can discover these frequencies from the data rather than assuming them upfront.

The Spectral Mixture Kernel

To make this spectral approach practical, Wilson et al. proposed the Spectral Mixture (SM) kernel. The core intuition is to model the spectral density as a mixture of Gaussians. Because mixtures of Gaussians are dense in the space of all distribution functions, an SM kernel can approximate any stationary covariance function to arbitrary precision.

Mathematically, each Gaussian component in the frequency domain is defined by its mean (the central frequency), its variance (the inverse length-scale), and its weight (the contribution to total variance). When transformed back to the spatial domain, this results in a closed-form kernel that combines periodic components with decaying envelopes. This allows the GP to:

  1. Discover patterns automatically: The model learns the dominant frequencies and scales directly from the data.
  2. Extrapolate long-range trends: Unlike the RBF kernel, which quickly reverts to the mean, the SM kernel can maintain periodic patterns far beyond the training data, as noted by Wilson et al..
  3. Represent negative covariance: Standard kernels are often strictly positive, but SM kernels can capture complex anti-correlations.

Moving Beyond Stationarity

While the SM kernel is a universal approximator for stationary processes, many real-world signals have properties that change over time or space. To address this, Remes et al. introduced the Generalised Spectral Mixture (GSM) kernel, which allows the mixture parameters—frequency, amplitude, and length-scale—to be functions of the input. This enables the model to capture shifting textures or changing periodicities.

Similarly, Heinonen et al. proposed Harmonizable Mixture Kernels (HMK). By treating the kernel as a mixture of locally stationary components, the authors provide a dense representation for any continuous harmonizable covariance function, allowing for even greater flexibility in modeling non-stationary data. Shen et al. further unified these ideas into Convolutional Spectral Kernels (CSK), which learn how spectrograms evolve across a dataset.

Multi-Output and Latent Discovery

The spectral approach also simplifies modeling relationships between different data streams. Parra et al. developed the Multi-Output Spectral Mixture (MOSM) kernel, which uses cross-spectral densities to learn phase shifts and time delays between multiple channels. This is particularly useful in fields like neuroscience, where Gallagher et al. and Ulrich et al. use spectral kernels to identify synchronized "brain states" across different regions of the motor cortex.

In latent variable modeling, Li et al. and Yang et al. demonstrate that using flexible spectral kernels prevents "model collapse." By allowing the latent manifold to adapt to complex periodicities, these models produce more informative representations than those restricted to rigid, predefined kernels.

Scalability and Integration

A common challenge with complex kernels is the computational cost of inference. To solve this, the authors of various papers have leveraged Random Fourier Features (RFF) and Variational Fourier Features. For instance, Hoang et al. and Jung et al. show that by treating spectral frequencies as variational parameters, one can scale spectral kernel learning to datasets with millions of points.

Furthermore, this spectral framework extends to numerical integration. Warren et al. and Ramos et al. demonstrate that Bayesian Quadrature can be generalized using spectral kernels, allowing for the integration of non-smooth or periodic functions that were previously mathematically intractable in the spatial domain.

Key Foundational Work

Gaussian Process Covariance Kernels for Pattern Discovery and Extrapolation (2013) — contributed 3 concept elements to this direction.
Gaussian Process Kernels for Pattern Discovery and Extrapolation (2013) — contributed 3 concept elements to this direction.
GPatt: Fast Multidimensional Pattern Extrapolation with Gaussian Processes. (2013) — contributed 2 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_spectral_mixture_kernel_modeling_94bb9337,
  title = {spectral mixture kernel modeling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/spectral-mixture-kernel-modeling/rdr_94bb93379fba47eba473e1b69a618a7a},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_spectral_mixture_kernel_modeling_94bb9337_v1,
  title = {spectral mixture kernel modeling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/spectral-mixture-kernel-modeling/rdr_94bb93379fba47eba473e1b69a618a7a/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake