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

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

Abstract

We provide guarantees for approximate Gaussian Process (GP) regression resulting from two common low-rank kernel approximations: based on random Fourier features, and based on truncating the kernel's Mercer expansion. In particular, we bound the Kullback-Leibler divergence between an exact GP and one resulting from one of the afore-described low-rank approximations to its kernel, as well as between their corresponding predictive densities, and we also bound the error between predictive mean vectors and between predictive covariance matrices computed using the exact versus using the approximate GP. We provide experiments on both simulated data and standard benchmarks to evaluate the effectiveness of our theoretical bounds.

Introduction

Gaussian Processes (GPs) are a cornerstone of Bayesian non-parametric regression, prized for their ability to provide principled uncertainty estimates. However, their practical application is often hindered by a significant computational bottleneck: training requires inverting an $N \times N$ covariance matrix, a process that scales cubically ($O(N^3)$) with the number of data points $N$.

To scale GPs to large datasets, researchers frequently employ low-rank approximations of the kernel. These methods reduce the computational cost to $O(Nr^2)$, where $r$ is the rank of the approximation. While it has been shown that these approximations can accurately represent individual kernel entries, a critical theoretical gap remained: how do these entry-wise errors propagate into the final inference, such as the marginal likelihood and predictive distributions? This work bridges that gap by providing explicit bounds on the Kullback–Leibler (KL) divergence between exact and approximate GPs.

Approximation Strategies

The study focuses on two widely used low-rank approximation techniques:

  1. Random Fourier Features (RFF): This method approximates the kernel by sampling from its spectral density, leveraging Bochner’s Theorem for stationary kernels.
  2. Mercer Expansion Truncation: This approach approximates the kernel by retaining only the top $r$ eigenfunctions and eigenvalues of the integral operator associated with the kernel.

The authors derive new theoretical bounds demonstrating that the KL divergence is controlled by the "tail" of the kernel's eigenvalues. Furthermore, they provide a general result to translate these KL bounds into concrete error estimates for the predictive mean and covariance.

Key Theoretical Insights

The Role of Kernel Smoothness

The "smoothness" of the kernel is a primary driver of approximation efficiency. Gaussian kernels, which are infinitely differentiable, have eigenvalues that decay exponentially. Consequently, a very small rank—logarithmic in $N$—is sufficient for high-fidelity inference. In contrast, Matérn kernels (specifically Matérn-1/2) exhibit polynomial eigenvalue decay, requiring a significantly higher rank to achieve comparable error levels.

Mercer vs. RFF

Both theoretical analysis and experimental results indicate that truncating the Mercer expansion is generally more efficient than using Random Fourier Features. For a given rank $r$, Mercer approximations typically yield lower KL divergence and superior predictive performance.

Impact of Dimensionality

The required rank $r$ to maintain a specific approximation quality scales with the input dimension $D$. This scaling behavior explains the practical success of "projection tricks," where high-dimensional data is mapped to a lower-dimensional space before applying the GP.

Rank $r$ required to maintain approximation quality as input dimension $D$ increases for different kernels and methods.

Empirical Evaluation

The theoretical findings were validated across a range of UCI machine learning benchmarks, from small datasets like Bike and Elevators to large-scale datasets such as 3DRoad and ELECTRIC (containing nearly 2 million points).

The proposed Mercer GP (MGP) and Fourier GP (FGP) were compared against standard baselines, including Sparse GP Regression (SGPR). The results demonstrate that MGP often achieves state-of-the-art performance, particularly as the rank $r$ increases. For instance, on the Sarcos dataset, MGP300 achieved a Negative Log-Predictive Density (NLPD) of -0.45, significantly outperforming standard sparse methods.

Negative Log-Predictive Density (NLPD) performance across UCI benchmarks comparing Sparse GP (SGPR) with the proposed Fourier (FGP) and Mercer (MGP) approximations.

Deep Extensions

To handle complex, high-dimensional data, the authors introduced Deep Mercer Gaussian Processes (DMGP) and Deep Fourier Gaussian Processes (DFGP). These models utilize a Deep Neural Network (DNN) to learn a low-dimensional representation of the data before passing it to the low-rank GP layer. Crucially, training the DNN and GP parameters simultaneously ("end-to-end") was found to be essential for optimal performance.

Conclusion

This work provides the necessary mathematical foundation to justify the use of low-rank approximations in GP regression. By proving that near-exact inference is achievable with relatively small ranks—especially for smooth kernels—it offers a rigorous path forward for scaling Gaussian Processes to massive, real-world datasets without sacrificing the integrity of Bayesian inference.

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