Faster Gaussian Processes via Deep Embeddings

Constantinos Daskalakis, Petros Dellaportas, Aristeidis Panos

Introduction

Gaussian Process (GP) regression is a cornerstone of Bayesian machine learning, prized for its well-calibrated uncertainty estimates. However, its cubic computational complexity, $O(N^3)$, renders it impractical for large-scale datasets. While low-rank kernel approximations can reduce this cost to $O(r^2 N)$, a theoretical gap has persisted: how does kernel approximation error translate to the quality of the resulting GP inference? This paper bridges this gap by providing rigorous bounds on the Kullback–Leibler (KL) divergence between exact and approximate GPs and introduces "Deep" low-rank models that leverage these insights.

Theoretical Foundations of Low-Rank Approximations

The study focuses on two prominent techniques: Random Fourier Features (RFF), which samples from a kernel's spectral density, and Mercer Expansion Truncation, which retains the top $r$ terms of a kernel's eigen-decomposition.

A key contribution is the derivation of bounds showing that for Gaussian kernels, the rank $r$ required for high-fidelity inference scales only logarithmically (for Mercer) or poly-logarithmically (for RFF) with the number of training points $N$. Furthermore, the analysis reveals that kernel smoothness is a critical factor. As illustrated in Figure 1, infinitely differentiable Gaussian kernels are significantly easier to approximate than less smooth Matérn kernels, especially as the input dimension $D$ increases.

Figure 1: Required rank $r$ to achieve target KL divergence across varying input dimensions $D$. Mercer truncation (dashed) consistently outperforms Random Fourier Features (solid), particularly for smooth Gaussian kernels.

Deep Mercer and Fourier Gaussian Processes

To overcome the "curse of dimensionality" where required rank grows with input dimension, the authors propose Deep Mercer Gaussian Processes (DMGP) and Deep Fourier Gaussian Processes (DFGP). These models utilize a Deep Neural Network (DNN) to learn a feature embedding $z = g_w(x)$. By jointly optimizing the DNN and GP parameters, the model projects complex, high-dimensional data into a latent space where a low-rank GP approximation is highly effective.

Experimental Results

The proposed models were evaluated against state-of-the-art baselines, including Sparse Variational GP (SVIGP) and Deep Kernel Learning (DKL), across several UCI benchmark datasets.

Predictive Performance

As shown in Table 1, the Mercer-based (MGP) and Fourier-based (FGP) models consistently achieve superior or competitive Negative Log-Predictive Density (NLPD) compared to standard Sparse GP (SGPR) methods. Notably, MGP variants frequently achieve the best performance on benchmarks such as Bike, Elevators, and 3DRoad, demonstrating the efficacy of the Mercer truncation approach.

Table 1: Comparison of Negative Log-Predictive Density (NLPD) on benchmark datasets. MGP and FGP variants frequently outperform or match standard SGPR across various rank settings.

Scalability

The computational efficiency of these methods is striking. On the Electric dataset, containing nearly 2 million points, DFGP completed training in approximately 1.9 hours, whereas competing sparse methods required over 8 hours. This demonstrates the practical utility of the proposed low-rank framework for massive datasets.

Conclusion

This work provides the first rigorous theoretical justification for using low-rank kernel approximations in GP inference. By combining these theoretical guarantees with the representational power of deep learning, DMGP and DFGP offer a scalable, accurate, and theoretically grounded alternative to traditional sparse GP methods. Future work includes extending these bounds to non-Gaussian likelihoods and optimizing Mercer expansions for higher-dimensional latent spaces.

Summary updated

BibTeX
@misc{daskalakis2020faster,
  author = {Constantinos Daskalakis and Petros Dellaportas and Aristeidis Panos},
  title = {{Faster Gaussian Processes via Deep Embeddings}},
  year = {2020},
  eprint = {2004.01584},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.01584},
}
Figure