NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Stochastic Variational Inference for Bayesian Sparse Gaussian Process Regression

Haibin Yu, Trong Nghia Hoang, Bryan Kian Hsiang Low, Patrick Jaillet

TL;DR

This paper introduces a novel variational inference framework for Bayesian Sparse Gaussian Process Regression (SGPR) models. By jointly treating inducing variables and hyperparameters as variational parameters, the authors enable efficient stochastic optimization, leading to scalable and robust models that outperform existing methods on large datasets.

What Problem Does This Paper Address?

Gaussian Process Regression (GPR) models are powerful tools for non-linear regression, offering probabilistic predictions with uncertainty estimates. However, full-rank GPR models are computationally expensive, scaling cubically with data size, making them impractical for large datasets. Sparse GPR (SGPR) methods offer approximations to improve scalability, but many still struggle with hyperparameter learning on big data. Existing Bayesian SGPR approaches, while addressing hyperparameter uncertainty, often impose restrictive assumptions (like i.i.d. noise) and can still be computationally prohibitive. This paper aims to develop a scalable and robust Bayesian SGPR framework that can handle correlated observation noises and efficiently learn hyperparameters for massive datasets.

Methods

The core contribution is a novel variational inference framework for SGPR models. Key aspects include:

  • Joint Variational Treatment: Instead of treating hyperparameters as point estimates or independently, the authors jointly optimize variational distributions for both inducing variables and hyperparameters. This allows for a more principled Bayesian treatment and better uncertainty quantification.
  • Reparameterization Trick: A reparameterization of the GP model is introduced to make the prior distribution of inducing outputs independent of hyperparameters. This is crucial for enabling tractable variational inference.
  • Stochastic Variational Inference: The variational lower bound is designed to be decomposable, allowing for stochastic gradient ascent. This means the model can be trained efficiently on mini-batches of data, achieving scalability to big data.
  • Handling Correlated Noises: The framework explicitly accounts for correlated observation noises, making it more robust and applicable to realistic scenarios compared to methods assuming i.i.d. noise.
  • Family of Models: The framework yields a family of Bayesian SGPR models, including VBDTC, VBFITC, and VBPIC, which are shown to be variationally optimal with respect to a full-rank GPR model with correlated noises.

Datasets

The paper evaluates its proposed methods on two real-world, large-scale datasets:

  • AIRLINE dataset: Contains information on commercial flights in the USA, with approximately 2 million records. Used for evaluating predictive performance and time efficiency.
  • TWITTER dataset: Contains buzz events on Twitter, with over 580,000 instances. Used for evaluating robustness to overfitting and predictive performance.
  • AIMPEAK dataset: A smaller dataset of traffic speeds (41,850 instances) used to empirically demonstrate the convergence of the stochastic variational distributions.

Key Insights and Ideas

  • Bayesian treatment of hyperparameters is crucial for robustness: By learning distributions for hyperparameters rather than point estimates, the models become less prone to overfitting, especially on complex, high-dimensional datasets like TWITTER.
  • Correlated noise modeling significantly improves performance: Explicitly modeling correlated observation noises (as in VBPIC+) leads to substantially better predictive accuracy compared to models that assume i.i.d. noise (like VBDTC+ and VBFITC+).
  • Stochastic optimization unlocks scalability: The decomposable variational lower bound and stochastic gradient updates are key to making Bayesian SGPR models practical for massive datasets, achieving near-linear scaling with data size.
  • Joint optimization of inducing variables and hyperparameters is powerful: This approach leads to a more principled and effective inference process, capturing richer dependencies.

Key Results

  • Improved Predictive Performance: On the AIRLINE dataset, VBPIC+ achieved an RMSE of 21.87 min and MNLP of 4.53, outperforming VBFITC+ (RMSE 37.05, MNLP 7.84) and VBDTC+ (RMSE 37.55, MNLP 8.06). Similar improvements were observed on the TWITTER dataset.
  • State-of-the-Art Comparison: VBPIC+ significantly outperformed existing state-of-the-art GP models (SVIGP, Dist-VGP, rBCM, PIC+) and VSSGPR on both AIRLINE and TWITTER datasets in terms of RMSE.
  • Scalability: The stochastic variants (VBDTC+, VBFITC+, VBPIC+) exhibit near-linear scaling in training time with respect to the number of iterations, with per-iteration costs being very low (e.g., ~0.038 seconds for VBPIC+ on AIRLINE).
  • Faster Convergence: Increasing the sampling size for computing the predictive mean in VBPIC+ led to faster convergence to a lower RMSE, demonstrating the benefits of Bayesian model averaging.
  • Uncertainty Quantification: The models provide wider confidence intervals for hyperparameters on more complex datasets (TWITTER), indicating higher uncertainty and a greater tendency to overfit if point estimates were used.

Limitations and Future Work

  • Computational Cost of Certain Models: While stochastic optimization improves scalability, some models within the family (e.g., VBPIC+) still have higher per-iteration costs due to more complex noise structures.
  • Future Work: The authors plan to integrate their proposed framework with decentralized/distributed data/model fusion techniques for collective online learning of a massive number of VBSGPR models. They also note that a Bayesian treatment of certain hyperparameters (like those in the kernel function) is non-trivial and will be investigated in future work.

Summary updated

BibTeX
@inproceedings{yu2019stochastic,
  author = {Haibin Yu and Trong Nghia Hoang and Bryan Kian Hsiang Low and Patrick Jaillet},
  title = {{Stochastic Variational Inference for Bayesian Sparse Gaussian Process Regression}},
  booktitle = {IJCNN},
  year = {2019},
  doi = {10.1109/ijcnn.2019.8852481},
}
Figure