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 nodes. This results in a weight-space system matrix with Toeplitz structure, which can thus be applied to a vector in operations via the fast Fourier transform (FFT), independent of the number of data points . The linear system can be set up in operations using nonuniform FFTs. This enables efficient massive-scale regression via an iterative solver, even for kernels with fat-tailed spectral densities (large ). 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 data points to be performed in 2 minutes on a standard desktop, with posterior mean accuracy . This opens up spatial statistics applications 100 times larger than previously possible.
View on arXiv