Theoretical guarantees for Banded Approximations of Gaussian Processes

Omar Kassi, Bernhard Stankewitz, Botond SzaboNeurIPS 2026

TL;DR

Gaussian Processes (GPs) are beloved in machine learning for their flexibility and built-in uncertainty estimates, but their $O(n^3)$ training cost makes them hit a computational brick wall on large datasets. This paper proves that you can bypass this bottleneck by simply zeroing out distant correlations in the covariance matrix—leaving a lightweight, sparse "banded" matrix—without sacrificing statistical optimality. Even better, the authors derive exact mathematical recipes for how many neighbors you need to keep, turning ad-hoc tuning into a rigorous science.

What Problem Does This Paper Address?

Imagine trying to map disease risk or molecular properties. Gaussian Processes are ideal for this because they don’t just give you a prediction; they tell you how confident they are. Under the hood, a GP relates every data point to every other data point via a $n \times n$ covariance matrix.

Here is the catch: to make predictions, you have to invert that matrix. For $n$ data points, that takes $O(n^2)$ memory and $O(n^3)$ compute operations. Double your dataset, and you wait eight times longer. When $n$ hits tens of thousands, standard GPs grind to a halt.

Researchers have invented clever workarounds—like inducing points (variational Bayes), Vecchia approximations, and covariance tapering—which trade a bit of accuracy for massive speedups. However, tuning these approximations is often an empirical guessing game. How much data can you throw away before your model's uncertainty estimates break, or before it fails to find the true underlying signal? This paper tackles that exact theoretical gap for spatial truncation.

Methods

The intuition behind the authors' method is wonderfully straightforward: in most standard kernels (like Squared Exponential or Matérn), correlation drops off rapidly with distance. Points far apart barely influence each other.

So, the authors take the empirical prior covariance matrix $K$ and sparsify it into $\widehat{K}$ using a hard spatial cutoff:

  • If two input points $X_i$ and $X_j$ are within Euclidean distance $r$, keep their covariance $k(X_i, X_j)$.
  • Otherwise, set the entry to $0$.

In 1D with ordered points, this creates a neat banded matrix with bandwidth $m$ (maximum non-zero neighbors per row). Unlike covariance tapering—which multiplies the kernel by a smooth, compact function to invent a valid new prior—this method views hard truncation purely as a computational approximation to the original posterior.

Because $\widehat{K}$ only has $O(mn)$ non-zero entries instead of $O(n^2)$, you never even need to store the full matrix. You can feed $\widehat{K}$ into an iterative solver like Conjugate Gradient (CG), slashing memory to $O(mn)$ and compute cost to $O(mn \cdot N_{\text{iter}})$.

The core contribution is theoretical: the authors analyze the Kullback-Leibler (KL) divergence (how close the approximate posterior distribution is to the true posterior) and posterior contraction rates (how fast the posterior narrows in on the true underlying function $f_0$ as $n \to \infty$).

Datasets

The authors evaluate their theoretical bounds using synthetic datasets (no new external benchmarks are introduced). Specifically, they generate $n = 10,000$ data points with uniformly distributed 1D inputs ($X_i \in [0, 1]$), setting the true regression function $f_0$ to a random draw from a Brownian motion path (smoothness $\alpha = 0.5$) with Gaussian noise ($\sigma = 1$).

Key Insights and Ideas

  • A Blessing of Dimensionality for Sparsity: In most GP approximations (like variational inducing points or Vecchia), higher input dimensions $d$ force you to work harder, hurting scalability. Here, the opposite happens! For Squared Exponential and rescaled Matérn kernels (when kernel smoothness $\nu > \alpha$), as $d$ increases, the required fraction of neighbors decreases.
  • Smoother Signals Demand Wider Bands, Smoother Kernels Don't: If the true function $f_0$ is super smooth (high $\alpha$), points have strong long-range dependencies, forcing you to keep more neighbors. Conversely, using a smoother Matérn kernel (higher $\nu$) and rescaling it lets you get away with a smaller truncation radius.
  • Razor-Sharp Phase Transitions: For Squared Exponential kernels, the boundary between failure and perfection is remarkably sharp. Shaving off even a logarithmic factor from the optimal truncation radius causes the matrix to lose positive-definiteness or suffer a polynomial loss in accuracy.
  • Good Predictions Don't Always Require Exact Posteriors: To recover the true function at the optimal speed, the KL divergence between the approximate and true posterior doesn't actually need to hit zero—it can even diverge! While exponential-decay kernels achieve both at roughly the same radius, the authors note that for polynomially decaying kernels, you can get optimal function recovery much cheaper than full posterior approximation.

Key Results

In simulations with $n = 10^4$ points using a Squared Exponential kernel, the sharp theoretical threshold plays out dramatically:

  • At bandwidth $m = 225$, the approximate covariance matrix isn't even positive definite, yielding wild oscillations and an average Mean Squared Error (MSE) of 159.
  • Bumping $m$ slightly to $270$ yields a valid GP, though still noisy (MSE 32).
  • By $m = 400$—keeping just 4% of the matrix entries—the approximation visually locks onto the true posterior, matching the full $10^4$ GP's MSE of 0.01 while substantially cutting compute time.
Comparison of insufficient bandwidth (m=225) where the approximation breaks down
Sufficient bandwidth (m=400) where the banded approximation is virtually indistinguishable from the exact GP posterior
Figure 1: Squared exponential kernel simulations. The true function f0 was set to a draw from a Brownian motion and the covariates are iid uniformly distributed. In the simulations n = 104, σ = 1, and τn = n−1/(2α+d) were taken and the bandwidth m was set to 225, 270 and 400, respectively.

For the Matérn kernel ($n = 10^4$), increasing kernel smoothness drastically reduces the required neighbors:

  • $\nu = 0.5$ (no rescaling): Theory says banding shouldn't help, and indeed even keeping $m = 9500$ neighbors yields a poor MSE of 0.08 (vs. 0.005 true).
  • $\nu = 1.5$: Converges at $m = 2245$ (MSE 0.007).
  • $\nu = 2.5$: Visually coincides with the exact posterior at just $m = 947$ neighbors (MSE 0.008 vs. 0.007 true).

Limitations and Future Work

  • Stationarity Required: The method relies on Euclidean distance corresponding to correlation decay (i.e., radial kernels like $k(x, x') = r(\|x - x'\|)$). For non-stationary kernels like Brownian motion, spatial proximity doesn't align with correlation decay, making nearest-neighbor truncation inappropriate.
  • Oracle Smoothness: Calculating the theoretical sweet spot for the radius $r$ requires knowing the smoothness $\alpha$ of the true function $f_0$—which you almost never know in the real world. Developing data-driven, adaptive methods (such as early stopping) to pick $r$ automatically is highlighted as the key next step.

Summary updated

Abstract

Gaussian process regression models are widely used in modern statistics and machine learning due to their flexibility, interpretability, built-in uncertainty quantification, and strong theoretical foundations. However, training Gaussian processes (GPs) has a computational cost of $O(n^3)$, while the memory and prediction costs are also $O(n^2)$. For the large datasets commonly encountered in practice, this becomes infeasible and necessitates the use of approximate posterior methods. In this work, we propose a class of approximations based on sparse covariance matrices, where the kernel matrix is sparsified according to the spatial proximity of the design points. We analyze the accuracy of the resulting approximate posterior distribution and show that the proposed approach preserves optimal statistical inference properties, provided that the dependencies among a sufficient number of neighboring points for each feature are retained. We derive explicit sufficient and necessary conditions on the number of neighbors required in a general setting and apply these results to standard kernels, including the squared exponential and Mat\'ern kernels. Our theoretical findings are supported by numerical experiments.
BibTeX
@inproceedings{kassi2026theoretical,
  author = {Omar Kassi and Bernhard Stankewitz and Botond Szabo},
  title = {{Theoretical guarantees for Banded Approximations of Gaussian Processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Q2NOdZAhNO},
}
Figure