Bayesian Optimization with Expected Improvement: No Regret and the Choice of Incumbent

Jingyi Wang, Haowei Wang, Szu Hui Ng, Cosmin G. PetraarXiv 2025 · DOI

Introduction

Bayesian Optimization (BO) has become the standard framework for optimizing expensive, black-box functions, such as the hyperparameters of deep neural networks. At the heart of BO is the acquisition function, which determines the next point to evaluate by balancing exploration (searching unknown areas) and exploitation (refining known good areas). Among these, Expected Improvement (EI) is arguably the most widely used in practice due to its intuitive formulation and strong empirical performance.

Despite its popularity, EI has long lacked the rigorous theoretical guarantees afforded to other methods like GP-UCB (Gaussian Process Upper Confidence Bound). Specifically, mathematicians have struggled to prove "no-regret" bounds for EI in noisy settings—a guarantee that the algorithm will eventually converge to the global optimum. This paper bridges the gap between theory and practice, providing the first-ever proof that classic EI is a no-regret algorithm and offering critical guidance on how to define the "current best" value, or incumbent, during optimization.

The Challenge of Noisy Incumbents

In a noise-free environment, the incumbent is simply the best value observed so far. However, in real-world scenarios where evaluations are noisy, defining the incumbent becomes non-trivial. The choice of incumbent significantly affects the EI calculation, as it serves as the threshold that the algorithm seeks to improve upon. This research analyzes three distinct ways to define this value:

  1. Best Posterior Mean Incumbent (BPMI): The minimum value of the GP model's mean function across the entire search space.
  2. Best Sampled Posterior Mean Incumbent (BSPMI): The minimum value of the GP model's mean function, but only evaluated at points that have already been sampled.
  3. Best Observation Incumbent (BOI): The actual best (but noisy) value observed during the optimization process.

Methodology

The authors analyze the classic GP-EI algorithm in a Bayesian setting, assuming the objective function is a sample from a Gaussian Process. To overcome the technical hurdles that previously prevented no-regret proofs, the study employs advanced probabilistic tools, including super-martingale theory and the Azuma-Hoeffding inequality. These tools allow the researchers to bound cumulative regret even when the algorithm's exploitation term becomes negative—a common occurrence in noisy settings that typically breaks standard convergence proofs.

To ensure the algorithm does not overlook the global optimum, the authors utilize a time-varying discretization strategy, where the search grid becomes increasingly fine as the number of iterations increases.

Key Theoretical and Empirical Insights

1. EI is Officially "No-Regret"

The paper proves that for the most common GP kernels—Squared Exponential (SE) and Matérn—GP-EI using either BPMI or BSPMI achieves sublinear cumulative regret. This confirms that as the number of evaluations grows, the average error per step converges to zero. For SE kernels, the regret bound is approximately $O(T^{3/4})$.

2. The "Brittleness" of Observations

A major finding is the theoretical and empirical failure of the Best Observation Incumbent (BOI). In noisy or complex landscapes (such as the Hartmann 6D benchmark), BOI can be "brittle." If the algorithm encounters a "lucky" low-noise evaluation that is significantly lower than the true function value, it may incorrectly assume it has found the global minimum. This leads to a stall in exploration, as the algorithm perceives the potential for improvement elsewhere to be negligible.

3. BPMI vs. BSPMI

While BPMI offers the tightest theoretical bounds, it is computationally expensive because it requires solving an internal global optimization problem (finding the minimum of the GP mean) at every step. In contrast, BSPMI only requires checking the GP mean at previously sampled locations. The authors demonstrate that BSPMI maintains the no-regret property while being significantly more efficient for practitioners.

Experimental Validation

The researchers tested these incumbents against six standard synthetic benchmarks, ranging from the simple Branin 2D to the complex Hartmann 6D, under varying noise levels ($\sigma = 0.001$ to $0.1$). The results consistently showed that BPMI and BSPMI converged to zero average regret across all scenarios. Conversely, BOI performance degraded sharply in high-noise and high-dimensional settings, validating the authors' warnings about its use.

Conclusion and Practical Guidance

This work provides the long-awaited theoretical foundation for Expected Improvement, confirming its status as a robust optimization tool. For practitioners, the takeaway is clear: avoid using the best noisy observation (BOI) as the incumbent. Instead, use the Best Sampled Posterior Mean Incumbent (BSPMI). It provides the mathematical safety of a no-regret guarantee and the robustness to handle noise, without the heavy computational overhead of searching the entire posterior mean surface.

Summary updated

BibTeX
@misc{wang2025bayesian,
  author = {Jingyi Wang and Haowei Wang and Szu Hui Ng and Cosmin G. Petra},
  title = {{Bayesian Optimization with Expected Improvement: No Regret and the Choice of Incumbent}},
  year = {2025},
  eprint = {2508.15674},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.15674},
}
Figure