Skip to main content
QUICK REVIEW

[Paper Review] Exact Gaussian Processes on a Million Data Points

Ke Alexander Wang, Geoff Pleiss|arXiv (Cornell University)|Mar 19, 2019
Gaussian Processes and Bayesian InferenceComputer Science48 references31 citations
TL;DR

This paper presents a scalable, multi-GPU framework for exact Gaussian process (GP) inference on datasets with up to one million points, leveraging Blackbox Matrix-Matrix (BBMM) multiplication and conjugate gradients to bypass the standard O(n³) computational bottleneck. The method achieves exact GP training in under 2 hours on 1M points using 8 GPUs, demonstrating superior performance over scalable approximations on UCI datasets with up to a two-fold reduction in RMSE.

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.

Motivation & Objective

  • To enable exact Gaussian process inference on datasets with up to one million training points, a regime previously infeasible due to O(n³) computational and O(n²) memory costs.
  • To close the performance gap between exact GPs and scalable GP approximations by providing a practical, high-accuracy baseline on large-scale data.
  • To develop a general-purpose, kernel-agnostic method that does not require grid-structured data or specific kernel families.
  • To demonstrate that non-parametric models like GPs continue to benefit significantly from large-scale data, even beyond 10⁴ points.
  • To enable fair benchmarking of GP approximations by providing exact solutions as a gold standard in the 10⁴–10⁶ data point regime.

Proposed method

  • Utilizes Blackbox Matrix-Matrix (BBMM) inference, which reformulates GP training as iterative matrix multiplications, avoiding direct Cholesky decomposition.
  • Employs linear conjugate gradients (CG) with pivoted Cholesky preconditioning to solve the GP system efficiently and accurately.
  • Distributes kernel matrix multiplications across multiple GPUs by partitioning the kernel matrix, reducing per-GPU memory to O(n) and enabling scaling beyond 10⁴ points.
  • Applies practical heuristics such as hyperparameter initialization and caching strategies to accelerate training and enable inference in under 1 second per prediction on a single GPU.
  • Uses Adam optimization with a reduced number of steps (e.g., 100) on large datasets, maintaining accuracy while minimizing training time.
  • Supports arbitrary input dimensions and kernel types, including RBF and Matérn, without architectural constraints.

Experimental results

Research questions

  • RQ1Can exact Gaussian processes be trained on datasets with over one million data points using standard hardware and existing optimization techniques?
  • RQ2How do exact GPs compare in predictive performance to scalable GP approximations (e.g., SGPR, SVGP) when trained on 10⁴–10⁶ data points?
  • RQ3Does the performance of non-parametric models like GPs continue to improve with increasing data size beyond 10⁴ points, and if so, by how much?
  • RQ4What is the computational cost of exact GP inference at scale, and can it be reduced to practical training times using modern multi-GPU systems?
  • RQ5Can the proposed BBMM-based method be applied generally across different kernel families and data structures without requiring specialized assumptions?

Key findings

  • Exact Gaussian processes trained on 1,311,539 points (HouseElectric dataset) achieved an RMSE of 0.049, outperforming the best scalable approximation (SVGP) with 0.086 RMSE, representing a 42% relative improvement.
  • On the 3DRoad dataset (278,319 points), the exact GP achieved 0.106 RMSE, compared to 0.654 (SGPR) and 0.475 (SVGP), showing a 84% and 78% reduction in error, respectively.
  • Training time for exact GPs on 1M points was under 2 hours using 8 GPUs, with inference taking less than 1 second per prediction via caching.
  • The method reduced training time to 41.7 seconds on 34,240 points (CTslice) using 8 GPUs, while scalable approximations required 77.5–137 seconds.
  • On large datasets like HouseElectric, exact GPs required only 3.29 days with 100 Adam steps, while SVGP took 4.22 hours, showing that exact GPs can be trained faster with fewer optimization steps when using efficient solvers.
  • The study confirms that non-parametric models like GPs continue to benefit from data growth, as performance improves significantly even at scale, underscoring the value of exact inference in large-data regimes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.