Respecting the limit: Bayesian optimization with a bound on the optimal value

Hanyang Wang, Juergen Branke, Matthias Poloczek

Respecting the limit: Bayesian optimization with a bound on the optimal value

Introduction

Bayesian Optimization (BO) is a powerful tool for optimizing expensive-to-evaluate black-box functions, such as hyperparameter tuning in machine learning or structural design in engineering. Standard BO typically employs Gaussian Processes (GPs) as surrogate models. However, GPs assume that the objective function can take any value from negative to positive infinity. In reality, many physical and mathematical problems are naturally bounded. For instance, error rates cannot drop below 0%, and physical quantities like temperature or efficiency have strict lower or upper limits.

When a standard GP ignores these bounds, it often explores physically impossible regions, leading to sample inefficiency. This paper introduces BABO (Bound-aware Bayesian Optimization), a framework designed to incorporate known limits directly into the optimization process.

The BABO Framework

The core of BABO consists of two main components: a novel surrogate model and a corresponding acquisition function.

1. Shifted Logarithmic Gaussian Process (SlogGP)

Instead of modeling the objective function $f(x)$ directly, BABO models a log-transformed version: $$\ln(f(x) + \zeta) = g(x)$$ where $g(x)$ is a standard GP and $\zeta$ is a learnable "shift" parameter. This transformation ensures that the predicted values of $f(x)$ are mathematically constrained to be greater than $-\zeta$.

Comparison of GP and SlogGP posterior samples across different kernels and shift parameters.

As shown in Figure 1, SlogGP is highly flexible. When $\zeta$ is large (e.g., $\zeta=100$), the model behaves similarly to a standard GP. As $\zeta$ decreases, the model strictly respects the lower bound, and the distribution of samples becomes increasingly skewed—a property that better reflects real-world data distributions than the symmetric Gaussian assumption.

2. Shifted Logarithmic Truncated Expected Improvement (SlogTEI)

Because SlogGP produces a log-normal rather than a normal distribution, standard acquisition functions like Expected Improvement (EI) are no longer optimal. The authors derived SlogTEI, a closed-form acquisition function that accounts for the log-normal distribution and the known lower bound $f^b$.

A critical feature of BABO is the use of Maximum A Posteriori (MAP) estimation for the shift parameter $\zeta$. This allows the model to be guided by a user-provided bound while remaining robust enough to adjust if the observed data suggests the bound is too loose or inaccurate.

Performance and Results

The researchers evaluated BABO against state-of-the-art baselines across synthetic benchmarks, XGBoost hyperparameter tuning, and complex engineering problems (e.g., robot pushing and PDE variance minimization).

Simple regret comparison between standard GP+EI and the proposed SlogGP+SlogEI on 2D optimization tasks.

As illustrated in Figure 6, BABO (SlogGP+SlogTEI) consistently achieves lower simple regret compared to standard GP-based BO. Across all test problems, BABO achieved an impressive average rank of 1.3, significantly outperforming standard EI (rank 4.4) and other bound-aware methods.

Key Insights

  • Expressiveness: SlogGP's ability to model skewed data makes it superior even when a strict bound isn't the primary concern.
  • Theoretical Foundation: The authors proved that SlogGP is a generalization of the standard GP; as $\zeta \to \infty$, SlogGP converges to a GP.
  • Exploration-Exploitation Balance: The estimated bound acts as a "tension" wire. A tighter bound encourages exploitation near current optima, while a looser bound promotes broader exploration of the search space.

Conclusion

BABO provides a principled way to incorporate domain knowledge into Bayesian Optimization. By "respecting the limit," the framework significantly improves sample efficiency and robustness across a wide range of practical applications. Future work may extend this approach to other non-Gaussian data types and explore more complex joint modeling of unknown bounds.

Summary updated

BibTeX
@article{wang2025respecting,
  author = {Hanyang Wang and Juergen Branke and Matthias Poloczek},
  title = {{Respecting the limit: Bayesian optimization with a bound on the optimal value}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2025},
  url = {https://openreview.net/forum?id=e59Vne0bqp},
}
Figure