Turbocharging Gaussian Process Inference with Approximate Sketch-and-Project
Pratik Rathore, Zachary Frangella, Sachin Garg, Shaghayegh Fazliani, Michał Dereziński, Madeleine Udell
TL;DR
This work tackles the scalability and conditioning challenges of Gaussian process inference by introducing ADASAP, an approximate, distributed, accelerated sketch-and-project method. By combining Nyström-based approximate subspace preconditioning, distributed matrix operations, and Nesterov acceleration within the sketch-and-project framework, ADASAP achieves fast convergence along the top spectral directions while maintaining scalability to datasets with hundreds of millions of points. Theoretical guarantees show condition-number-free progress in the early phase along dominant RKHS directions, complemented by a linear-rate regime in later phases, with empirical results demonstrating superior RMSE, NLL, and wall-clock efficiency on large-scale GP tasks and a billion-point transportation dataset, as well as strong performance in Bayesian optimization. The approach offers practical defaults, scales across GPUs, and provides a principled alternative to PCG and SDD for large-scale GP inference with robust performance in ill-conditioned settings.
Abstract
Gaussian processes (GPs) play an essential role in biostatistics, scientific machine learning, and Bayesian optimization for their ability to provide probabilistic predictions and model uncertainty. However, GP inference struggles to scale to large datasets (which are common in modern applications), since it requires the solution of a linear system whose size scales quadratically with the number of samples in the dataset. We propose an approximate, distributed, accelerated sketch-and-project algorithm ($\texttt{ADASAP}$) for solving these linear systems, which improves scalability. We use the theory of determinantal point processes to show that the posterior mean induced by sketch-and-project rapidly converges to the true posterior mean. In particular, this yields the first efficient, condition number-free algorithm for estimating the posterior mean along the top spectral basis functions, showing that our approach is principled for GP inference. $\texttt{ADASAP}$ outperforms state-of-the-art solvers based on conjugate gradient and coordinate descent across several benchmark datasets and a large-scale Bayesian optimization task. Moreover, $\texttt{ADASAP}$ scales to a dataset with $> 3 \cdot 10^8$ samples, a feat which has not been accomplished in the literature.
