How Good Are Low-Rank Approximations in Gaussian Process Regression?

Constantinos Daskalakis, Petros Dellaportas, Aristeidis Panos

Abstract

Gaussian Processes (GPs) provide a powerful framework for probabilistic regression but suffer from cubic computational scaling. While low-rank approximations like Random Fourier Features (RFF) and Mercer expansion truncation are widely used to mitigate this, rigorous theoretical guarantees on their inference accuracy have been lacking. This paper establishes the first comprehensive bounds on the Kullback–Leibler (KL) divergence between exact and approximate GPs, demonstrating that high-quality inference is achievable with ranks that scale only logarithmically with the number of data points for smooth kernels.

Introduction: The Scalability Challenge

Gaussian Processes are prized for their elegant uncertainty quantification. However, their reliance on inverting an $N \times N$ covariance matrix leads to $O(N^3)$ training complexity, making them impractical for large datasets. To address this, practitioners often employ low-rank kernel approximations to "compress" the covariance matrix. While previous research focused on entry-wise matrix approximation errors, this work investigates a more critical question: How do these approximations impact final predictive performance, including marginal likelihood, mean, and variance?

Theoretical Framework and Methods

The authors analyze two primary low-rank strategies:

  1. Random Fourier Features (RFF): Approximates shift-invariant kernels (e.g., Gaussian/RBF) by sampling from their power spectrum.
  2. Mercer Expansion Truncation: Represents the kernel as an infinite sum of eigenfunctions and eigenvalues, retaining only the most significant components.

The study uses the Kullback–Leibler (KL) divergence to quantify the distance between the exact GP and its low-rank counterpart. By deriving bounds on the KL divergence, the authors provide concrete guarantees for the Mahalanobis distance of the predictive mean and the spectral closeness of the predictive covariance.

Key Insights: Smoothness and Scaling

A central finding is the relationship between kernel smoothness and the required rank $r$. For smooth kernels like the Gaussian (RBF) kernel, the rank needed to maintain a specific error level grows only logarithmically with the number of observations $N$. In contrast, "rougher" kernels like the Matérn-1/2 require significantly higher ranks to achieve comparable accuracy.

Scaling of required rank $r$ with input dimension $D$ for different kernels and approximation methods.

Furthermore, the theory suggests—and experiments confirm—that Mercer expansion truncation typically yields a more accurate approximation than RFF for a fixed rank. This is visually evident in the slower growth of required rank for Mercer-based methods as input dimensionality increases.

Empirical Validation

The theoretical predictions were tested on synthetic data and seven real-world UCI benchmark datasets, including Bike Sharing, Elevators, and 3DRoad. The authors compared their Fourier GP (FGP) and Mercer GP (MGP) against the state-of-the-art Sparse GP Regression (SGPR).

Negative Log-Predictive Density (NLPD) results across UCI benchmark datasets, comparing SGPR, FGP, and MGP at various ranks.

As shown in the results, the Mercer GP (MGP) consistently outperformed the Fourier GP (FGP) and proved highly competitive with SGPR, often achieving the lowest negative log-predictive density (NLPD) on datasets like Bike and 3DRoad.

Conclusion and Future Directions

This work provides a solid mathematical foundation for low-rank GP approximations. While Mercer truncation is theoretically and empirically superior, its application to high-dimensional spaces remains computationally challenging due to the need for eigenfunction calculations. Future research may focus on extending these tight bounds to non-stationary kernels and non-Gaussian likelihoods for classification tasks.

Summary updated

BibTeX
@inproceedings{daskalakis2022how,
  author = {Constantinos Daskalakis and Petros Dellaportas and Aristeidis Panos},
  title = {{How Good Are Low-Rank Approximations in Gaussian Process Regression?}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i6.20598},
}
Figure