NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the role of Model Uncertainties in Bayesian Optimization

Jonathan Foldager, Mikkel Jordahn, Lars Kai Hansen, Michael Riis AndersenarXiv 2023 · DOI

Abstract

Bayesian Optimization (BO) relies on surrogate models to navigate the exploration-exploitation trade-off. A common assumption in the field is that better-calibrated uncertainty estimates lead to more efficient optimization. This paper challenges that intuition, demonstrating that the choice of model family is far more impactful than fine-tuning calibration. Furthermore, we show that in the small-sample regimes typical of BO, calibration metrics are often too noisy to be reliable, and a degree of model overconfidence can actually improve optimization performance.

Introduction

Bayesian Optimization is a powerful framework for optimizing expensive black-box functions. By using a surrogate model—typically a Gaussian Process (GP)—BO predicts the objective function's value and provides an associated uncertainty estimate. This uncertainty is critical for acquisition functions like Expected Improvement (EI), which decide where to sample next. The prevailing wisdom suggests that if a model is "well-calibrated" (i.e., its predicted probabilities match observed frequencies), the search process will be more effective. This study rigorously tests this assumption across various model families and experimental settings.

The Primacy of Model Family

One of the most striking findings is what the authors describe as a "Simpson’s Paradox" in calibration. When looking at a broad set of models including Gaussian Processes (GPs), Random Forests (RFs), Deep Ensembles (DEs), and Bayesian Neural Networks (BNNs), there appears to be a positive correlation between calibration error and regret. However, this correlation largely disappears when examining models within the same family.

Relationship between calibration error and regret across different surrogate model families.

As shown in the figure above, GPs and DEs cluster in the high-performance (low regret, low calibration error) region, while BNNs struggle significantly. The data suggests that selecting the right model architecture (e.g., a GP over a mean-field BNN) is a much more important design choice than attempting to perfectly calibrate a specific model instance.

The Impact of Uncertainty Scaling

To understand the causal link between uncertainty and performance, the researchers performed perturbation experiments, scaling the predictive standard deviation by a factor $c$. This allowed them to simulate overconfident ($c < 1$) and underconfident ($c > 1$) models.

Impact of uncertainty scaling on calibration and regret, illustrating the trade-offs in Bayesian Optimization.

The results reveal that "perfect" calibration ($c=1$) is not always the optimal state for BO. In many cases, slightly overconfident models achieved lower regret than their perfectly calibrated counterparts. This suggests that sharper, more decisive predictions can help acquisition functions exploit promising regions more effectively. Conversely, underconfidence (being too "timid") often leads to excessive exploration and higher regret.

The Small Sample Trap

BO typically operates with very few data points (often $N < 100$). The paper provides a theoretical proof showing that the variance of calibration metrics decays at a rate of $O(1/N)$. In practice, this means that with only 10 or 20 samples, calibration metrics are dominated by sampling noise. Attempting to "fix" a model using re-calibration techniques like isotonic regression in these regimes is often counterproductive, as the noise can lead the model further away from the true function behavior.

Conclusion

This research shifts the focus from "perfect calibration" to "model robustness." Gaussian Processes remain the gold standard due to their inherent suitability for BO, while mean-field BNNs continue to face challenges. For practitioners, the takeaway is clear: prioritize model selection and accept that a slightly overconfident model may perform better than one tuned for perfect calibration, especially when data is scarce.

Summary updated

BibTeX
@misc{foldager2023role,
  author = {Jonathan Foldager and Mikkel Jordahn and Lars Kai Hansen and Michael Riis Andersen},
  title = {{On the role of Model Uncertainties in Bayesian Optimization}},
  year = {2023},
  eprint = {2301.05983},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.05983},
}
Figure