Efficient Two-Stage Gaussian Process Regression Via Automatic Kernel Search and Subsampling
Shifan Zhao, Jiaying Lu, Ji Yang, Edmond Chow, Yuanzhe Xi
TL;DR
This work tackles misspecification in Gaussian Process Regression by separating mean prediction from uncertainty quantification in a two-stage GPR, aided by Automatic Kernel Search (AKS) and a subsampling warm-start to efficiently initialize hyperparameters. The AKS framework provides theoretical bounds and a practical algorithm to mitigate kernel misspecification, while the two-stage design guards against mean misspecification that can bias hyperparameters and UQ. The authors present two GP variants—scalable two-stage GPR and two-stage Exact-GP—validated across small UCI benchmarks, large-scale datasets, and safety-critical GP-enhanced foundation models, showing improved uncertainty quantification and competitive predictive performance. Collectively, the framework offers robust, cost-effective means to achieve reliable UQ under resource constraints, with clear guidance on when to deploy each variant in practice.
Abstract
Gaussian Process Regression (GPR) is widely used in statistics and machine learning for prediction tasks requiring uncertainty measures. Its efficacy depends on the appropriate specification of the mean function, covariance kernel function, and associated hyperparameters. Severe misspecifications can lead to inaccurate results and problematic consequences, especially in safety-critical applications. However, a systematic approach to handle these misspecifications is lacking in the literature. In this work, we propose a general framework to address these issues. Firstly, we introduce a flexible two-stage GPR framework that separates mean prediction and uncertainty quantification (UQ) to prevent mean misspecification, which can introduce bias into the model. Secondly, kernel function misspecification is addressed through a novel automatic kernel search algorithm, supported by theoretical analysis, that selects the optimal kernel from a candidate set. Additionally, we propose a subsampling-based warm-start strategy for hyperparameter initialization to improve efficiency and avoid hyperparameter misspecification. With much lower computational cost, our subsampling-based strategy can yield competitive or better performance than training exclusively on the full dataset. Combining all these components, we recommend two GPR methods-exact and scalable-designed to match available computational resources and specific UQ requirements. Extensive evaluation on real-world datasets, including UCI benchmarks and a safety-critical medical case study, demonstrates the robustness and precision of our methods.
