Skip to main content
QUICK REVIEW

[Paper Review] Practical Hilbert space approximate Bayesian Gaussian processes for probabilistic programming

Gabriel Riutort‐Mayol, Paul‐Christian Bürkner|arXiv (Cornell University)|Apr 23, 2020
Gaussian Processes and Bayesian InferenceComputer Science47 references26 citations
TL;DR

This paper proposes a practical Hilbert space-based low-rank approximation for fully Bayesian Gaussian processes using Laplace eigenfunctions, enabling efficient and accurate inference in probabilistic programming. The method achieves linear computational complexity by representing the GP via a basis expansion with adaptive selection of basis functions and boundary factors, validated through diagnostics and Stan implementations with strong empirical performance.

ABSTRACT

Gaussian processes are powerful non-parametric probabilistic models for stochastic functions. However, the direct implementation entails a complexity that is computationally intractable when the number of observations is large, especially when estimated with fully Bayesian methods such as Markov chain Monte Carlo. In this paper, we focus on a low-rank approximate Bayesian Gaussian processes, based on a basis function approximation via Laplace eigenfunctions for stationary covariance functions. The main contribution of this paper is a detailed analysis of the performance, and practical recommendations for how to select the number of basis functions and the boundary factor. Intuitive visualizations and recommendations, make it easier for users to improve approximation accuracy and computational performance. We also propose diagnostics for checking that the number of basis functions and the boundary factor are adequate given the data. The approach is simple and exhibits an attractive computational complexity due to its linear structure, and it is easy to implement in probabilistic programming frameworks. Several illustrative examples of the performance and applicability of the method in the probabilistic programming language Stan are presented together with the underlying Stan model code.

Motivation & Objective

  • To develop a scalable, fully Bayesian Gaussian process method suitable for probabilistic programming frameworks.
  • To address the O(n³) computational bottleneck of standard GP inference for large datasets.
  • To provide practical, data-driven recommendations for selecting the number of basis functions and boundary factors.
  • To introduce diagnostics to validate the adequacy of the approximation given the data.
  • To enable accurate and efficient inference through a linear-complexity, non-centered parameterization in Stan.

Proposed method

  • Approximates the covariance function using Laplace eigenfunctions for stationary kernels, forming a low-rank basis expansion.
  • Represents the GP as a linear combination of cosine and sine basis functions with i.i.d. standard normal coefficients.
  • Employs a non-centered parameterization to improve MCMC mixing and posterior sampling efficiency.
  • Uses iterative diagnostics to adaptively select the number of basis functions and boundary factor based on posterior length-scale estimates.
  • Applies analytical expressions for optimal boundary factor and minimum basis count via spectral decomposition.
  • Implements the method in the probabilistic programming language Stan, with open-source model code provided.

Experimental results

Research questions

  • RQ1How can Hilbert space-based low-rank approximations of Gaussian processes be made practical and efficient for full Bayesian inference?
  • RQ2What are effective, data-driven strategies for selecting the number of basis functions and boundary factor in the approximation?
  • RQ3How can diagnostics be constructed to verify that the approximation is sufficiently accurate for a given dataset?
  • RQ4To what extent does the method maintain accuracy while reducing computational complexity to O(nm²) with m ≪ n?
  • RQ5How does the method perform in real probabilistic programming workflows, particularly in Stan?

Key findings

  • The method achieves linear computational complexity O(n(2J+1) + (2J+1)²) with J basis functions, enabling scalable inference.
  • Diagnostic checks based on posterior length-scale estimates (e.g., ∣ℓ̂ − ℓ∣ ≤ 0.01) reliably indicate whether the approximation is adequate.
  • For a true length-scale ℓGP = 0.08, the iterative procedure converged after 3 iterations, with the final diagnostic confirming adequacy.
  • For a larger length-scale ℓGP = 1.4, the diagnostic confirmed adequacy in the first iteration, indicating faster convergence.
  • Stability in RMSE, R², and ELPD across iterations confirmed that the approximation had reached sufficient accuracy.
  • The non-centered parameterization enabled efficient MCMC sampling, making the method suitable for integration into probabilistic programming frameworks like Stan.

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.