Lune

NeurIPS2020Top-tier venue

Fast Matrix Square Roots with Applications to Gaussian Processes and Bayesian Optimization

Geoff Pleiss, Martin Jankowiak, David Eriksson, Anil Damle, Jacob R. Gardner

Abstract

Matrix square roots and their inverses arise frequently in machine learning, e.g., when sampling from high-dimensional Gaussians N (0, K) or "whitening" a vector b against covariance matrix K. While existing methods typically require O(N 3 ) computation, we introduce a highly-efficient quadratic-time algorithm for computing K 1/2 b, K -1/2 b, and their derivatives through matrix-vector multiplication (MVMs). Our method combines Krylov subspace methods with a rational approximation and typically achieves 4 decimal places of accuracy with fewer than 100 MVMs. Moreover, the backward pass requires little additional computation. We demonstrate our method's applicability on matrices as large as 50,000 × 50,000well beyond traditional methods-with little approximation error. Applying this increased scalability to variational Gaussian processes, Bayesian optimization, and Gibbs sampling results in more powerful models with higher accuracy. In particular, we perform variational GP inference with up to 10,000 inducing points and perform Gibbs sampling on a 25,000-dimensional problem.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Bayesian Optimization with High-Dimensional Outputs cites Efficiently sampling functions from Gaussian process posteriors
  • Bayesian Algorithm Execution: Estimating Computable Properties of Black-box Functions Using Mutual Information cites Efficiently sampling functions from Gaussian process posteriors
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. EDGE: Explaining Deep Reinforcement Learning PoliciesWenbo Guo, Xian Wu, Usmann Khan, Xinyu XingNeurIPS 2021 · 79 citations
  2. Bayesian Optimization with High-Dimensional OutputsWesley J. Maddox, Maximilian Balandat, Andrew Gordon Wilson, Eytan BakshyNeurIPS 2021 · 75 citations
  3. Forward-Backward Gaussian Variational Inference via JKO in the Bures-Wasserstein SpaceMichael Ziyang Diao, Krishna Balasubramanian, Sinho Chewi, Adil SalimICML 2023 · 47 citations
  4. Bayesian Algorithm Execution: Estimating Computable Properties of Black-box Functions Using Mutual InformationWillie Neiswanger, Ke Alexander Wang, Stefano ErmonICML 2021 · 40 citations
  5. Scaling Gaussian Processes with Derivative Information Using Variational InferenceMisha Padidar, Xinran Zhu, Leo Huang, Jacob R. Gardner et al.NeurIPS 2021 · 28 citations

Builds on1

  1. Efficiently sampling functions from Gaussian process posteriorsJames T. Wilson, Viacheslav Borovitskiy, Alexander Terenin, Peter Mostowsky et al.ICML 2020 · 186 citations

Related papers

  1. Nearly Optimal Approximation of Matrix Functions by the Lanczos MethodNoah Amsel, Tyler Chen, Anne Greenbaum, Cameron Musco et al.NeurIPS 2024 · 13 citations
  2. Variational Sparse Inverse Cholesky Approximation for Latent Gaussian Processes via Double Kullback-Leibler MinimizationJian Cao, Myeongjong Kang, Felix Jimenez, Huiyan Sang et al.ICML 2023 · 12 citations
  3. Turbocharging Gaussian Process Inference with Approximate Sketch-and-ProjectPratik Rathore, Zachary Frangella, Sachin Garg, Shaghayegh Fazliani et al.NeurIPS 2025 · 8 citations
  4. Kernel Interpolation with Sparse GridsMohit Yadav, Daniel R. Sheldon, Cameron MuscoNeurIPS 2022 · 8 citations
  5. KernelMatmul: Scaling Gaussian Processes to Large Time SeriesTilman Hoffbauer, Holger H. Hoos, Jakob BossekAAAI 2025
Dusk over the sea between two cliffs drawn in fine vertical lines