Barely Biased Learning for Gaussian Process Regression

David R. Burt, Artem Artemev, Mark van der Wilk

TL;DR

Exact Gaussian process regression scales cubically with the number of data points, forcing practitioners to rely on iterative Krylov approximations that introduce non-uniform bias during hyperparameter optimization. The authors propose Barely Biased Gaussian Process (BBGP), an approach that bounds both the log-determinant and quadratic terms of the log marginal likelihood, halting iterative solvers only when the bias drops below a user-defined threshold $\epsilon$. While it stabilizes hyperparameter learning on low-noise data, high per-iteration memory and computational costs currently prevent it from outperforming existing heuristics in practice.

What Problem Does This Paper Address?

Training Gaussian processes (GPs) via empirical Bayes requires repeatedly evaluating and differentiating the log marginal likelihood (LML). For a dataset of size $n$, computing the LML exactly requires solving an $n \times n$ linear system and evaluating a log-determinant, both of which require $\mathcal{O}(n^3)$ operations via standard Cholesky factorizations.

Iterative Krylov subspace solvers—such as Conjugate Gradients (CG) for the linear system and Stochastic Lanczos Quadrature (SLQ) for the log-determinant—scale much better, but they introduce a delicate bias-variance-computation trade-off. Existing methods usually stop iterating based on indirect metrics like residual norms. Consequently, the approximation error varies wildly across hyperparameter space. In practice, this often causes severe artifacts, such as drastically underestimating or overestimating observation noise, or outright optimization divergence in low-noise settings.

Methods

The authors introduce BBGP (Barely Biased GP) to enforce uniform control over estimation bias:

  • Bounded Log-Determinant via Gauss-Radau Quadrature: Hutchinson’s trace estimator expresses the log-determinant as $\mathbb{E}[z^\top \log(K_\nu) z]$. Applying standard Gauss quadrature yields a lower bound on this quadratic form (and thus an upper bound on the log-determinant). By pairing it with a Gauss-Radau quadrature rule—which fixes one node at or above the maximum eigenvalue of the kernel matrix—they obtain a corresponding upper bound.
  • Bounded Linear Solve via CG: The quadratic term $y^\top K_\nu^{-1} y$ is bounded from above and below using CG residuals and preconditioned bounds adapted from Artemev et al. (2021).
  • Principled Stopping Criterion: CG and Lanczos iterations run until the gap between the composite upper and lower bounds on the LML is smaller than a user-chosen tolerance $\epsilon > 0$.
  • Direct Differentiation via Auxiliary Variables: Instead of backpropagating through iterative solver steps, the authors view the Lanczos orthonormal basis matrices $T_i$ and the CG solution vector $v$ as auxiliary parameters. They directly differentiate a lower-bound objective with respect to the hyperparameters using automatic differentiation in a block-updating scheme.

Datasets

The authors evaluate BBGP on three standard UCI benchmark datasets:

  • elevators
  • poletele (telecommunications data characterized by low intrinsic noise, $\sigma^2 \approx 10^{-4}$)
  • bike (bike-sharing demand regression, also featuring low intrinsic noise)

No new datasets or benchmarks were introduced.

Key Insights and Ideas

  • Guaranteed uniform bias: By tying the iterative stopping rule directly to the composite bounds of the LML, the expected bias of the objective remains bounded by $\epsilon$ everywhere in the hyperparameter space.
  • Robustness in low-noise regimes: Traditional iterative GP methods often diverge when noise variance is small because condition numbers explode. BBGP’s unified lower bound remains well-behaved, avoiding objective divergence on datasets like poletele and bike.
  • Few probe vectors suffice: Although stochastic trace estimation theoretically introduces variance, experiments show that using just a single random probe vector ($s=1$) performs competitively with $s=10$ while cutting down runtime.

Key Results

  • Predictive Performance: BBGP outperformed Sparse GP Regression (SGPR) and Iterative GP across all three datasets in test Root Mean Squared Error (RMSE). It also achieved lower RMSE than CGLB on two out of the three datasets (elevators and bike).
  • Optimization Stability: On poletele, Iterative GP diverged and severely overestimated the LML, whereas BBGP optimized smoothly without noticeable artifacts.
  • Tolerating Higher Bias: Setting a looser bias tolerance ($\epsilon = 10.0$ or $100.0$) reduced the required CG/Lanczos iterations significantly without degrading test RMSE on the bike dataset.

Limitations and Future Work

  • High Memory Footprint: Storing the intermediate Lanczos vectors ($T_i$) for full re-orthogonalization and automatic differentiation causes significant memory overhead.
  • Slow Wall-Clock Time: Despite its theoretical appeal, BBGP is not computationally competitive. It took roughly $4\times$ longer than CGLB on bike and $2\times$ longer on poletele.
  • Iteration Caps in Practice: For datasets with very small likelihood noise, memory constraints forced the authors to cap the maximum number of iterations, compromising the theoretical guarantee of bounded bias.
  • No Predictive Variance: The method only optimizes hyperparameters and does not include a dedicated predictive variance estimator, meaning log predictive density (LPD) could not be evaluated. Future work must resolve these memory and runtime bottlenecks to make bounded-bias GPs practical.

Summary updated

BibTeX
@inproceedings{burt2021barely,
  author = {David R. Burt and Artem Artemev and Mark van der Wilk},
  title = {{Barely Biased Learning for Gaussian Process Regression}},
  booktitle = {ICBINB @ NeurIPS},
  year = {2021},
  url = {https://openreview.net/forum?id=nPtmUTt8iWl},
}
Figure