Scalable Bayesian Transformed Gaussian Processes

Xinran Zhu, Leo Huang, Cameron Ibrahim, Eric Hans Lee, David BindelarXiv 2022 · DOI

Abstract

Bayesian Transformed Gaussian (BTG) processes provide robust uncertainty quantification for non-Gaussian data but have historically suffered from high computational costs. This paper presents a suite of algorithmic optimizations—including doubly sparse quadrature, tight quantile bounds for predictive medians, and $O(n^3)$ leave-one-out cross-validation (LOOCV)—that achieve computational parity with standard maximum-likelihood methods. We demonstrate that these techniques maintain the "Bayesian edge" in low-data regimes while scaling effectively to larger datasets, removing the primary barriers to adopting fully Bayesian warped Gaussian Processes.

Introduction

Gaussian Processes (GPs) are a cornerstone of probabilistic regression, yet they rely on the often-violated assumption that data is normally distributed. In practice, real-world datasets are frequently skewed, heavy-tailed, or multi-modal. To address this, Warped GPs (WGP) apply nonlinear transformations to the data. While standard WGPs typically use Maximum Likelihood Estimation (MLE) to find transformation parameters, this approach can be overconfident and brittle when data is scarce.

Comparison of BTG median and GP mean predictions with 95% confidence intervals showing superior uncertainty quantification for non-Gaussian data.

The Bayesian Transformed Gaussian (BTG) model offers a more robust alternative by marginalizing over all possible hyperparameters. However, the "Bayesian tax" has traditionally been high, requiring expensive numerical integration, root-finding for predictions, and slow cross-validation. This work introduces optimizations to make BTG practical for real-world applications.

Methodology

The authors propose four primary techniques to accelerate BTG inference:

  1. Doubly Sparse Quadrature: Instead of slow Monte Carlo methods, the framework utilizes Sparse Grids (Smolyak algorithms). Efficiency is further improved by adaptively dropping integration nodes with negligible weights, significantly reducing $O(n^3)$ matrix operations.
  2. Quantile Bounds: Since BTG predictive means often lack closed-form solutions, the posterior median is used. The authors derived "Convex Hull" and "Singular Weight" bounds to tightly constrain the search space for numerical root-finding, doubling the speed of convergence.
  3. Fast LOOCV: Leave-One-Out Cross-Validation is critical for model selection but typically scales at $O(n^4)$. By employing rank-one matrix algebra and Cholesky downdates, the authors reduced this complexity to $O(n^3)$, making it essentially "free" after initial training.
  4. Layered Transformations: A modular Julia-based framework allows for composing simple transformations (e.g., Affine and SinhArcSinh) into deep, expressive chains.

Experimental Evaluation

The methods were evaluated on synthetic functions (IntSine, SixHumpCamel) and real-world benchmarks from the UCI repository, including Abalone (8D), WineQuality (12D), and Creep (30D).

Key Results and Scalability

BTG models, particularly those using layered transformations, consistently outperformed standard GPs and MLE-based WGPs in terms of RMSE and MAE. The most significant finding is the achievement of computational parity; with the proposed optimizations, the end-to-end inference speed of a fully Bayesian BTG is now comparable to MLE-based methods.

Computational scaling of LOOCV methods, demonstrating the reduction from O(n^4) to O(n^3) complexity.

As shown in the scaling analysis, the Cholesky downdate approach for LOOCV exhibits clear linear scaling relative to the number of sub-models, drastically outperforming the naive $O(n^4)$ approach as the number of data points $N$ increases.

Conclusion

By stripping away the computational overhead of the Bayesian approach, this work makes BTG a viable tool for general-purpose regression. While the underlying exact GP operations still scale at $O(n^3)$, these optimizations allow BTG to be applied to much larger datasets than previously possible. Future work may involve combining this framework with sparse GP approximations to scale to millions of data points and applying it to Bayesian Optimization tasks where accurate uncertainty propagation is paramount.

Summary updated

BibTeX
@misc{zhu2022scalable,
  author = {Xinran Zhu and Leo Huang and Cameron Ibrahim and Eric Hans Lee and David Bindel},
  title = {{Scalable Bayesian Transformed Gaussian Processes}},
  year = {2022},
  eprint = {2210.10973},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.10973},
}
Figure