Sparse Gaussian Processes Revisited: Bayesian Approaches to Inducing-Variable Approximations

Simone Rossi, Markus Heinonen, Edwin V. Bonilla, Zheyang Shen, Maurizio Filippone

Abstract

Variational inference techniques based on inducing variables provide an elegant framework for scalable posterior estimation in Gaussian process (GP) models. Besides enabling scalability, one of their main advantages over sparse approximations using direct marginal likelihood maximization is that they provide a robust alternative for point estimation of the inducing inputs, i.e. the location of the inducing variables. In this work we challenge the common wisdom that optimizing the inducing inputs in the variational framework yields optimal performance. We show that, by revisiting old model approximations such as the fully-independent training conditionals endowed with powerful sampling-based inference methods, treating both inducing locations and GP hyper-parameters in a Bayesian way can improve performance significantly. Based on stochastic gradient Hamiltonian Monte Carlo, we develop a fully Bayesian approach to scalable GP and deep GP models, and demonstrate its state-of-the-art performance through an extensive experimental campaign across several regression and classification problems.

Introduction

Gaussian Processes (GPs) are a cornerstone of non-parametric Bayesian modeling, prized for their ability to provide principled uncertainty quantification. However, their practical application is often limited by a computational cost that scales cubically ($O(N^3)$) with the number of observations $N$. To mitigate this, sparse approximations utilize a small set of $M$ "inducing variables" to act as a proxy for the full dataset, reducing complexity to $O(M^3)$.

In standard frameworks like Variational Free Energy (VFE), the values of these inducing variables are treated as latent variables, while their locations (inducing inputs) are typically optimized as hyperparameters. This paper challenges this "point estimation" shortcut, proposing instead to treat the locations as random variables within a full Bayesian posterior.

Methodology: Bayesian Sparse Gaussian Processes (BSGP)

The authors introduce Bayesian Sparse Gaussian Processes (BSGP), which shifts the focus from optimization to full posterior inference. Instead of finding a single best set of inducing inputs $Z$ and kernel hyperparameters $\theta$, BSGP places priors on them and samples from the joint posterior $p(u, Z, \theta | y, X)$.

Effect of sampling hyperparameters and inducing locations on the RBF kernel distribution.

To handle the high-dimensional and complex posterior, the authors employ Stochastic Gradient Hamiltonian Monte Carlo (SGHMC). This sampling engine allows the model to scale to millions of data points by utilizing mini-batches.

A critical technical insight involves the choice of approximation. While VFE is often preferred for optimization due to its robustness against overfitting, the authors demonstrate that the Fully Independent Training Conditionals (FITC) approximation is superior for sampling. They argue that VFE’s objective effectively assumes a deterministic relationship that can "zero out" variance during sampling, whereas FITC’s objective provides a more accurate predictive posterior when integrated over samples.

Experimental Evaluation

The BSGP framework was tested across a diverse set of benchmarks:

  • UCI Regression: Eight standard datasets (e.g., Protein, Yacht) were used to compare against existing sparse and Deep GP methods.
  • Large-Scale Classification: The model was pushed to its limits on the Airline dataset (5 million points) and the HIGGS dataset (11 million points).

On the 11-million-point HIGGS dataset, BSGP achieved an error rate of 26.97% and an AUC of 0.808, notably outperforming the standard SVGP baseline (27.79% error, 0.796 AUC). Furthermore, BSGP consistently achieved the lowest Mean Negative Log Likelihood (MNLL) across regression tasks, outperforming competitive baselines like SGHMC-DGP.

Discussion: The Impact of Priors and Objectives

The research explores various priors for inducing point locations, ranging from simple Normal priors to "repulsive" point processes like the Determinantal Point Process (DPP) and the Strauss process, which encourage points to spread out.

Comparison of different priors for inducing point locations on a 2D classification task.

Surprisingly, simple Normal priors often outperformed more sophisticated repulsive processes. This suggests that the model benefits from the flexibility to cluster inducing points in regions of high data complexity, rather than being forced into a uniform distribution.

Another key finding is that the benefits of the Bayesian treatment are amplified in Deep GPs. The performance gap between BSGP and optimized baselines grows with model depth, indicating that integrating out inducing points is a vital component for stable and high-performing deep architectures.

Conclusion

This work demonstrates that the common practice of optimizing inducing inputs is often suboptimal. By treating these locations as part of the Bayesian posterior and leveraging SGHMC, BSGP achieves state-of-the-art performance on massive datasets. While the computational constant is higher due to recomputing covariance matrices for each sample, the approach is highly parallelizable and often converges faster in wall-clock time by requiring fewer inducing points to reach target accuracy.

Summary updated

BibTeX
@inproceedings{rossi2021sparse,
  author = {Simone Rossi and Markus Heinonen and Edwin V. Bonilla and Zheyang Shen and Maurizio Filippone},
  title = {{Sparse Gaussian Processes Revisited: Bayesian Approaches to Inducing-Variable Approximations}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2021},
  url = {https://openreview.net/forum?id=DA4L6p1VEgT},
}
Figure