Rates of Convergence for Sparse Variational Gaussian Process Regression

David R. Burt, Carl E. Rasmussen, Mark van der Wilk

Abstract

Sparse Variational Gaussian Processes (SVGPs) are a cornerstone of scalable Bayesian inference, yet their theoretical convergence rates remained largely uncharacterized. This paper establishes the first explicit bounds on the number of inducing points $M$ required to ensure the variational approximation remains accurate as the number of data points $N$ increases. For the Squared Exponential kernel, the authors demonstrate that $M$ needs only grow polylogarithmically with $N$, providing a rigorous justification for the efficiency of sparse GP methods.

The Scalability Challenge of Gaussian Processes

Gaussian Processes (GPs) are powerful non-parametric models known for providing excellent uncertainty estimates. However, they suffer from a significant computational bottleneck: exact inference scales as $O(N^3)$ in time and $O(N^2)$ in memory.

To address this, researchers employ sparse approximations. Instead of utilizing all $N$ data points, these methods use $M$ "inducing variables" (pseudo-inputs) to summarize the dataset, reducing the cost to $O(NM^2)$. While effective in practice, a major theoretical gap persisted: the rate of convergence. If $M$ must grow linearly with $N$ to maintain accuracy, the computational benefits vanish. This paper determines exactly how $M$ must scale with $N$ to keep the approximation error, measured by KL divergence, near zero.

Theoretical Framework: Spectral Analysis and k-DPPs

The authors analyze the Variational Free Energy (VFE) framework, treating the choice of inducing points as an optimization problem. Their approach involves:

  1. Spectral Analysis: They relate the approximation error to the "tail" of the eigenvalues of the kernel's integral operator. Kernels with quickly decaying eigenvalues require fewer points to describe.
  2. k-DPP Initialization: To prove their bounds, the authors assume inducing points are sampled using a k-Determinantal Point Process (k-DPP). This sampling method ensures that inducing points are "well-spread" across the input space, preventing the redundancy often seen in uniform sampling.
Comparison of inducing point selection: k-DPP (top/middle) vs. Uniform Sampling (bottom) shows better coverage with k-DPP.

Key Insights: The Smoothness-Sparsity Connection

A central finding is the connection between kernel smoothness and sparsity. The "smoother" the kernel, the fewer inducing points are required.

  • Squared Exponential (SE) Kernel: Because the SE kernel is infinitely differentiable, its eigenvalues decay exponentially fast. For an SE kernel in $D$ dimensions, the number of inducing points only needs to grow at a rate of $O(\log^D N)$. This implies that for a million data points in 1D, only a few dozen inducing points might be necessary for a near-perfect fit.
  • Matérn Kernels: For less smooth kernels (like Matérn 3/2 or 5/2), eigenvalues decay polynomially. Here, $M$ must grow as a power of $N$ (e.g., $N^{0.5}$), which is still sublinear but significantly more demanding than the SE kernel.

Convergence Rates Across Kernels

The paper establishes the first explicit rates for SVGPs, showing that an arbitrarily good approximation can be found in $O(N \log^{4D+1} N)$ time for SE kernels—a massive improvement over the standard $O(N^3)$.

Summary of convergence rates for different kernels and input distributions.

Limitations and Future Work

While this work provides a "green light" for sparse GPs on massive datasets, several challenges remain:

  • Gaussian Likelihoods: The current proofs are limited to regression. Extending these rates to classification (e.g., Bernoulli or Softmax likelihoods) is an open problem.
  • The Curse of Dimensionality: The $O(\log^D N)$ term scales poorly with the input dimension $D$. Future work may explore if scaling depends on the intrinsic manifold dimension of the data.
  • Initialization Cost: While $k$-DPP sampling provides strong theoretical bounds, it is computationally expensive. Practical implementations often rely on approximate sampling, the theoretical impact of which requires further study.

Summary updated

BibTeX
@inproceedings{burt2019rates,
  author = {David R. Burt and Carl E. Rasmussen and Mark van der Wilk},
  title = {{Rates of Convergence for Sparse Variational Gaussian Process Regression}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
}
Figure