Sampling from Gaussian Process Posteriors using Stochastic Gradient Descent
Jihao Andreas Lin, Javier Antorán, Shreyas Padhy, David Janz, José Miguel Hernández-Lobato, Alexander Terenin
Abstract
Gaussian processes are a powerful framework for quantifying uncertainty and for sequential decision-making but are limited by the requirement of solving linear systems. In general, this has a cubic cost in dataset size and is sensitive to conditioning. We explore stochastic gradient algorithms as a computationally efficient method of approximately solving these linear systems: we develop low-variance optimization objectives for sampling from the posterior and extend these to inducing points. Counterintuitively, stochastic gradient descent often produces accurate predictions, even in cases where it does not converge quickly to the optimum. We explain this through a spectral characterization of the implicit bias from non-convergence. We show that stochastic gradient descent produces predictive distributions close to the true posterior both in regions with sufficient data coverage, and in regions sufficiently far away from the data. Experimentally, stochastic gradient descent achieves state-of-the-art performance on sufficiently large-scale or ill-conditioned regression tasks. Its uncertainty estimates match the performance of significantly more expensive baselines on a large-scale Bayesian optimization task.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers14
- A General Framework for User-Guided Bayesian OptimizationCarl Hvarfner, Frank Hutter, Luigi NardiICLR 2024 · 21 citations
- Stochastic Gradient Descent for Gaussian Processes Done RightJihao Andreas Lin, Shreyas Padhy, Javier Antorán, Austin Tripp et al.ICLR 2024 · 17 citations
- Variational Linearized Laplace Approximation for Bayesian Deep LearningLuis A. Ortega Andrés, Simón Rodríguez Santana, Daniel Hernández-LobatoICML 2024 · 12 citations
- Turbocharging Gaussian Process Inference with Approximate Sketch-and-ProjectPratik Rathore, Zachary Frangella, Sachin Garg, Shaghayegh Fazliani et al.NeurIPS 2025 · 8 citations
- Improving Linear System Solvers for Hyperparameter Optimisation in Iterative Gaussian ProcessesJihao Andreas Lin, Shreyas Padhy, Bruno Mlodozeniec, Javier Antorán et al.NeurIPS 2024 · 6 citations
Builds on7
- Efficiently sampling functions from Gaussian process posteriorsJames T. Wilson, Viacheslav Borovitskiy, Alexander Terenin, Peter Mostowsky et al.ICML 2020 · 186 citations
- Bayesian Deep Learning via Subnetwork InferenceErik A. Daxberger, Eric T. Nalisnick, James Urquhart Allingham, Javier Antorán et al.ICML 2021 · 108 citations
- Stochastic Gradient Descent in Correlated Settings: A Study on Gaussian ProcessesHao Chen, Lili Zheng, Raed Al Kontar, Garvesh RaskuttiNeurIPS 2020 · 49 citations
- Adapting the Linearised Laplace Model Evidence for Modern Deep LearningJavier Antorán, David Janz, James Urquhart Allingham, Erik A. Daxberger et al.ICML 2022 · 36 citations
- Tighter Bounds on the Log Marginal Likelihood of Gaussian Process Regression Using Conjugate GradientsArtem Artemev, David R. Burt, Mark van der WilkICML 2021 · 28 citations
Related papers
- Parametric Gaussian Process RegressorsMartin Jankowiak, Geoff Pleiss, Jacob R. GardnerICML 2020 · 82 citations
- Sparse Gaussian Process Hyperparameters: Optimize or Integrate?Vidhi Lalchand, Wessel P. Bruinsma, David R. Burt, Carl Edward RasmussenNeurIPS 2022 · 13 citations
- SigGPDE: Scaling Sparse Gaussian Processes on Sequential DataMaud Lemercier, Cristopher Salvi, Thomas Cass, Edwin V. Bonilla et al.ICML 2021 · 30 citations
- Robust and Computation-Aware Gaussian ProcessesMarshal Arijona Sinaga, Julien Martinelli, Samuel KaskiNeurIPS 2025 · 1 citation
- Posterior and Computational Uncertainty in Gaussian ProcessesJonathan Wenger, Geoff Pleiss, Marvin Pförtner, Philipp Hennig et al.NeurIPS 2022 · 31 citations
