Exact Gaussian Processes on a Million Data Points

Ke Alexander Wang, Geoff Pleiss, Jacob R. Gardner, Stephen Tyree, Kilian Q. Weinberger +1 more
3/19/2019
cs.LGcs.DCstat.ML

Official code: cornellius-gp/gpytorch (3,928 stars, MIT, PyTorch, last commit 2026-10-02).

Abstract

Gaussian processes (GPs) are flexible non-parametric models, with a capacity that grows with the available data. However, computational constraints with standard inference procedures have limited exact GPs to problems with fewer than about ten thousand training points, necessitating approximations for larger datasets. In this paper, we develop a scalable approach for exact GPs that leverages multi-GPU parallelization and methods like linear conjugate gradients, accessing the kernel matrix only through matrix multiplication. By partitioning and distributing kernel matrix multiplies, we demonstrate that an exact GP can be trained on over a million points, a task previously thought to be impossible with current computing hardware, in less than 2 hours. Moreover, our approach is generally applicable, without constraints to grid data or specific kernel classes. Enabled by this scalability, we perform the first-ever comparison of exact GPs against scalable GP approximations on datasets with $10^4 \!-\! 10^6$ data points, showing dramatic performance improvements.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

A highly efficient implementation of Gaussian Processes in PyTorch

3,928613PythonJun 9, 20172 weeks agoMIT
gaussian-processesgpu-accelerationpytorch

Cite this paper

@article{wang2019exact,
  title  = {Exact Gaussian Processes on a Million Data Points},
  author = {Ke Alexander Wang and Geoff Pleiss and Jacob R. Gardner and Stephen Tyree and Kilian Q. Weinberger and Andrew Gordon Wilson},
  year   = {2019},
  eprint = {1903.08114},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.08114}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1903.08114.svg)](https://codeofpaper.com/paper/1903.08114)

Discussion