Equispaced Fourier representations for efficient Gaussian process regression from a billion data points

Philip Greengard, Manas Rachh, Alex Barnett
10/18/2022
stat.COmath.NA
bayesian

Official code: flatironinstitute/gp-shootout (9 stars, MATLAB, last commit 2024-06-28).

Abstract

We introduce a Fourier-based fast algorithm for Gaussian process regression in low dimensions. It approximates a translationally-invariant covariance kernel by complex exponentials on an equispaced Cartesian frequency grid of $M$ nodes.

Show full abstract

This results in a weight-space $M\times M$ system matrix with Toeplitz structure, which can thus be applied to a vector in ${\mathcal O}(M \log{M})$ operations via the fast Fourier transform (FFT), independent of the number of data points $N$. The linear system can be set up in ${\mathcal O}(N + M \log{M})$ operations using nonuniform FFTs. This enables efficient massive-scale regression via an iterative solver, even for kernels with fat-tailed spectral densities (large $M$). We provide bounds on both kernel approximation and posterior mean errors. Numerical experiments for squared-exponential and Matérn kernels in one, two and three dimensions often show 1-2 orders of magnitude acceleration over state-of-the-art rank-structured solvers at comparable accuracy. Our method allows 2D Matérn-$\mbox{$\frac{3}{2}$}$ regression from $N=10^9$ data points to be performed in 2 minutes on a standard desktop, with posterior mean accuracy $10^{-3}$. This opens up spatial statistics applications 100 times larger than previously possible.

View on arXivView PDF

Code Implementations(1)

Benchmark and compare large-scale Gaussian process regression methods in 1D, 2D, and 3D, from MATLAB

90MATLAB, ShellApr 5, 20222 years agoNOASSERTION
gaussianprocessregression

Similar Papers

Cite this paper

@article{greengard2022equispaced,
  title  = {Equispaced Fourier representations for efficient Gaussian process regression from a billion data points},
  author = {Philip Greengard and Manas Rachh and Alex Barnett},
  year   = {2022},
  eprint = {2210.10210},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.10210}
}

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/2210.10210.svg)](https://codeofpaper.com/paper/2210.10210)

Discussion