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

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

19 Jun 2020NeurIPS 2020 12arXiv:2006.11267archive 2025-07-28

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

Matrix square roots and their inverses arise frequently in machine learning, e.g., when sampling from high-dimensional Gaussians 𝒩(0, 𝐊) or whitening a vector 𝐛 against covariance matrix 𝐊. While existing methods typically require O(N³) computation, we introduce a highly-efficient quadratic-time algorithm for computing 𝐊^(1/2) 𝐛, 𝐊^(-1/2) 𝐛, 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,000 - well 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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2006.11267")

Code

Syntology Ran 0 of 15 code samples harvested from 1 repository linked to this paper; 15 have no recorded run.

By repository: official repository: 15 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

gpleiss/ciq_experiments officialmentioned in paperpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 0 ran; 0 honoured the contract we drafted; 15 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

15unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from gpleiss/ciq_experiments. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Phi gpleiss/ciq_experiments/svgp/crps.py official repository unverified Apache-2.0 (permissive) · af00b91406dbc454 · report
crps gpleiss/ciq_experiments/svgp/crps.py official repository unverified Apache-2.0 (permissive) · 58983a88cbdb1cad · report
downsample_img gpleiss/ciq_experiments/super_resolution/sr.py official repository unverified Apache-2.0 (permissive) · 99a0fb32c2e3d86f · report
from_unit_cube gpleiss/ciq_experiments/bayesopt/ciq_bo/utils.py official repository unverified Apache-2.0 (permissive) · 4882830652616cef · report
get_logger gpleiss/ciq_experiments/svgp/logger.py official repository unverified Apache-2.0 (permissive) · fb5b4b75bd55fd1c · report
inv_matmul gpleiss/ciq_experiments/super_resolution/sr.py official repository unverified Apache-2.0 (permissive) · d0f69205712e19ce · report
load_airline_data gpleiss/ciq_experiments/svgp/load_uci_data.py official repository unverified Apache-2.0 (permissive) · 19ac6cfc2910162d · report
load_covtype_data gpleiss/ciq_experiments/svgp/load_uci_data.py official repository unverified Apache-2.0 (permissive) · d36530514ec97b1a · report
load_robopush_data gpleiss/ciq_experiments/svgp/load_uci_data.py official repository unverified Apache-2.0 (permissive) · 8a1f1a7cf2984a2e · report
mvn_sample gpleiss/ciq_experiments/super_resolution/sr.py official repository unverified Apache-2.0 (permissive) · 64c69a6908432123 · report
output_class gpleiss/ciq_experiments/svgp/util.py official repository unverified Apache-2.0 (permissive) · 085f08870c397e8d · report
phi gpleiss/ciq_experiments/svgp/crps.py official repository unverified Apache-2.0 (permissive) · 400cde6d40f64792 · report
result_class gpleiss/ciq_experiments/svgp/util.py official repository unverified Apache-2.0 (permissive) · 8c6692f79520aea4 · report
standardize gpleiss/ciq_experiments/bayesopt/ciq_bo/utils.py official repository unverified Apache-2.0 (permissive) · 675f960778d15b16 · report
to_unit_cube gpleiss/ciq_experiments/bayesopt/ciq_bo/utils.py official repository unverified Apache-2.0 (permissive) · d4f3607c98798b5f · report

Tasks

Bayesian OptimizationGaussian Processessubspace methods

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections