Predictive App roaches for Choosing Hyperparameters in Gaussian Processes

S. Sundararajan, S. Sathiya Keerthi

Abstract

This paper introduces novel methodologies for tuning Gaussian Process (GP) hyperparameters by prioritizing predictive performance over training data fit. By optimizing for "Geisser’s Surrogate Predictive Probability" (GPP) and "Predictive Mean Square Error" (GPE), the authors demonstrate that these predictive approaches can outperform standard Maximum Likelihood (ML) and Maximum A Posteriori (MAP) methods, particularly as dataset sizes increase.

The Challenge of Hyperparameter Selection

Gaussian Processes are highly flexible tools for regression, but their efficacy relies heavily on hyperparameters—the parameters that dictate the covariance function's behavior, such as function smoothness or feature importance.

Traditionally, these values are selected using Maximum Likelihood (ML) or Maximum A Posteriori (MAP) estimation. While mathematically convenient and effective at explaining existing data, machine learning applications typically prioritize generalization to unseen data. This paper investigates whether optimizing hyperparameters directly for predictive accuracy on held-out samples yields superior generalization.

Proposed Predictive Methods

The authors propose and derive efficient gradients for three predictive criteria:

  1. Geisser’s Surrogate Predictive Probability (GPP): Maximizes the probability of observing a held-out data point given the remaining training set, averaged across all points (a leave-one-out approach).
  2. Geisser’s Predictive Mean Square Error (GPE): Minimizes the expected squared error of the predictive distribution. Unlike standard cross-validation, it explicitly incorporates predictive variance.
  3. Cross-Validation (CV): The authors also derive efficient gradient-based optimization for standard leave-one-out mean square error to serve as a baseline.

Crucially, these functions and their gradients can be computed in $O(MN^3)$ time (where $N$ is the number of samples and $M$ is the number of inputs), making them computationally competitive with standard ML/MAP approaches.

Datasets and Evaluation

The methods were evaluated on classic regression benchmarks:

  • MacKay’s Robot Arm Data: A 2-input, 2-output problem.
  • Neal’s Modified Robot Arm Data: A 6-input version including noisy and irrelevant inputs to test Automatic Relevance Determination (ARD).
  • Friedman’s Data Sets 1 & 2: Circuit impedance and phase prediction tasks, tested across varying sample sizes ($N=50, 100, 200$).

Key Insights

  • Predictive vs. Explanatory: ML and MAP can overfit hyperparameters to the training set. Predictive approaches (GPP, GPE) act as a form of regularization, prioritizing generalization.
  • The "Warm-up" Period: Predictive approaches are more data-hungry. At very low sample sizes (e.g., $N=50$), MAP often performs better because its human-defined prior provides a necessary anchor.
  • Noise Sensitivity: A notable finding is that the GPE criterion inherently prefers a noise level of zero. Consequently, GPE is most effective when the noise level is already known or estimated via another method.
  • ARD Success: All predictive methods successfully identified and ignored irrelevant input features, demonstrating robustness for feature selection.

Results

  • Superiority at Scale: On the robot arm datasets, GPP and GPE consistently achieved lower Test Set Error (TSE) and better Negative Log Predictive Probability (NLPP) than ML and MAP.
  • Friedman Benchmarks: Performance on Friedman’s datasets highlighted the sample size dependency. Predictive approaches underperformed at $N=50$ but significantly overtook ML/MAP at $N=100$ and $N=200$.
Performance across varying sample sizes on Friedman Data Sets 1 and 2.
  • Efficiency: The derivation of exact gradients allows these predictive methods to be optimized using standard Conjugate Gradient algorithms, ensuring practical viability for real-world use cases.

Limitations and Future Work

  • The Noise Level Catch-22: Because GPE cannot reliably estimate noise levels independently, it requires external noise estimation.
  • Small Data Performance: For very small datasets, Bayesian MAP approaches remain superior due to the data-hungry nature of predictive criteria.
  • Computational Complexity: The $O(MN^3)$ complexity restricts these methods to datasets in the low thousands unless sparse approximations are employed.

Summary updated

BibTeX
@inproceedings{sundararajan1999predictive,
  author = {S. Sundararajan and S. Sathiya Keerthi},
  title = {{Predictive App roaches for Choosing Hyperparameters in Gaussian Processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1999},
}
Figure