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

Constantinos Daskalakis, Πέτρος Δελλαπόρτας, Aristeidis Panos · DOI

TL;DR

This paper provides theoretical guarantees for the accuracy of two common low-rank approximations for Gaussian Process (GP) regression: random Fourier features and Mercer expansion truncation. The authors quantify the "inferential loss" incurred by these approximations, showing that they can achieve arbitrary accuracy with a manageable rank, making GPs more scalable.

What Problem Does This Paper Address?

Gaussian Processes (GPs) are powerful tools for probabilistic modeling and uncertainty quantification, but their computational cost, particularly the inversion of the covariance matrix, scales cubically with the number of data points ($O(N^3)$). This makes exact GP inference intractable for large datasets. To overcome this, researchers have developed low-rank approximations of the GP kernel. While many studies offer guarantees on how well these approximations match the original kernel, it's been unclear how these kernel-level guarantees translate to the actual GP inference tasks (e.g., predicting new data points). This paper aims to bridge this gap by providing theoretical bounds on the impact of these low-rank approximations on GP regression inference itself.

Methods

The core of the paper lies in developing theoretical bounds for the Kullback-Leibler (KL) divergence between an exact GP and one using a low-rank kernel approximation. The authors focus on two specific approximation methods:

  • Random Fourier Features (RFF): This method approximates a kernel by using random projections of the input features. The paper provides a theoretical guarantee for the Gaussian kernel, showing that a specific rank is sufficient to bound the KL divergence below a desired threshold.
  • Mercer Expansion Truncation: This approach approximates a kernel by truncating its Mercer expansion. The paper derives bounds for this method, demonstrating that the KL divergence can be controlled by the sum of the truncated eigenvalues.

The authors leverage a general proposition for bounding the KL divergence between two Gaussians with related covariance matrices. They then apply this proposition to the specific case of GP regression, deriving bounds for the marginal likelihood, predictive densities, and even the prediction error (differences in mean and covariance).

Datasets

The paper uses both simulated data and standard real-world benchmark datasets for evaluation.

  • Simulated Data: Used to illustrate theoretical bounds and investigate the dependence of KL divergence on input dimension and rank.
  • Real-World Datasets: Seven standard benchmark datasets from the UCI repository are used for experimental evaluation. These include datasets like BIKE, ELEVATORS, SUPER, PROTEIN, SARCOS, KEGGDIR, and 3DROAD.

Key Insights and Ideas

  • Bridging Kernel Approximation to Inference: The paper's main contribution is providing theoretical guarantees that directly link the quality of kernel approximation to the quality of GP inference. This is crucial for understanding the practical implications of using low-rank methods.
  • Quantifying "Inferential Loss": The authors quantify the trade-off between computational efficiency and accuracy. They show that for a fixed desired accuracy (controlled by $\epsilon$), a manageable rank is sufficient, making GPs scalable.
  • Mercer Truncation vs. Random Fourier Features: Theoretical bounds suggest that Mercer expansion truncation generally offers better KL approximation guarantees than random Fourier features for the same rank. This is supported by experimental results.
  • Kernel-Specific Behavior: The paper highlights that different kernels (e.g., Gaussian vs. Matérn) require different ranks to achieve the same level of approximation accuracy, with Gaussian kernels often needing lower ranks.

Key Results

  • Theoretical Bounds: The paper provides explicit bounds on the KL divergence between exact and approximate GP inference for both random Fourier features and Mercer truncation. These bounds show that the KL divergence can be made arbitrarily small by increasing the rank of the approximation.
  • Rank Requirements: The theoretical bounds suggest that for many practical scenarios, the required rank for low-rank approximations scales favorably with the number of data points (e.g., poly-logarithmically), making GPs computationally feasible for larger datasets.
  • Experimental Validation: Experiments on simulated and real-world data confirm the theoretical findings.
  • Figure 1 shows that Gaussian kernels require lower ranks than Matérn kernels for similar approximation quality.
  • Figure 2 demonstrates that Mercer approximations generally lead to lower KL divergence than random Fourier features for the same rank.
  • Table 1 and Table 2 show that Mercer GP (MGP) and Sparse GP Regression (SGPR) often outperform Random Fourier Feature GP (FGP) in terms of Negative Log-Predictive Density (NLPD) and Root Mean Squared Error (RMSE), aligning with theoretical predictions.
  • The paper also introduces Deep Fourier Gaussian Processes (DFGP) and Deep Mercer Gaussian Processes (DMGP) which leverage DNNs for feature extraction, showing competitive or superior performance to existing methods.

Limitations and Future Work

  • Specific Kernels and Distributions: The theoretical guarantees are primarily derived for the Gaussian kernel and specific assumptions about input distributions or measures. Extending these guarantees to more general kernels and distributions would be valuable.
  • Approximation of Eigenvalues/Eigenfunctions: For Matérn kernels, obtaining closed-form expressions for eigenvalues and eigenfunctions is challenging, requiring recourse to approximations in experiments.
  • Practical Rank Selection: While theoretical bounds provide guidance, selecting the optimal rank for a given application still involves a trade-off and might require empirical tuning.
  • Future Work: The authors suggest exploring more general kernels and distributions, as well as investigating the impact of these approximations on other GP-related tasks beyond regression. The development of DNN-enhanced GPs (DFGP and DMGP) also opens avenues for further research in combining deep learning with GPs.

Summary updated

BibTeX
@inproceedings{daskalakis2022how,
  author = {Constantinos Daskalakis and Πέτρος Δελλαπόρτας 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