Abstract
Many functions have approximately-known upper and/or lower bounds, potentially aiding the modeling of such functions. In this paper, we introduce Gaussian process models for functions where such bounds are (approximately) known. More specifically, we propose the first use of such bounds to improve Gaussian process (GP) posterior sampling and Bayesian optimization (BO). That is, we transform a GP model satisfying the given bounds, and then sample and weight functions from its posterior. To further exploit these bounds in BO settings, we present bounded entropy search (BES) to select the point gaining the most information about the underlying function, estimated by the GP samples, while satisfying the output constraints. We characterize the sample variance bounds and show that the decision made by BES is explainable. Our proposed approach is conceptually straightforward and can be used as a plug-in extension to existing methods for GP posterior sampling and Bayesian optimization.
Introduction
In many real-world engineering and machine learning tasks, we optimize "black-box" functions where evaluations are expensive—for instance, training a deep neural network or running a physical simulation. Gaussian Processes (GPs) are the gold standard for modeling these functions because they provide well-calibrated uncertainty.
However, standard GPs are "bound-blind." They do not inherently know that classification accuracy cannot exceed 100% or that a Root Mean Square Error (RMSE) cannot be negative. In the early stages of optimization, when data is limited, a standard GP might produce posterior samples that are physically impossible or wildly unrealistic. While previous work has explored using exact known maximums, this paper addresses the more common scenario where we only have approximate knowledge of the function's range (e.g., "the maximum is likely around 0.9").
Methodology
The authors propose a two-pronged approach to integrate bound-awareness into the GP framework:
1. Square-Root GP (SRGP) and Weighting
To handle upper bounds, the researchers utilize a Square-Root transformation. By defining the function $f(x)$ in terms of a squared latent GP $h(x)$, they mathematically guarantee that the samples stay below a specified threshold.
Complementing this is a weighting scheme ($\pi(g_m)$) that acts as a soft rejection sampler. GP samples that violate the approximate bounds are assigned low "credit," while those that stay within the expected range are prioritized. This ensures the model focuses on "admissible" versions of the underlying function. The flexibility of this approach is controlled by a noise parameter $\eta$, which allows for "loose" bounds that still provide a strong inductive bias.
2. Bounded Entropy Search (BES)
For Bayesian Optimization, the authors introduce Bounded Entropy Search (BES). Unlike standard acquisition functions like Expected Improvement (EI) that search for the highest point, BES identifies the point that provides the maximum information gain about the "good" GP samples (those respecting the bounds). Mathematically, it maximizes the mutual information between the next query and the distribution of the function's optimum, conditioned on the bound information.
Experimental Evaluation
The approach was evaluated across a wide variety of benchmarks, including classic synthetic optimization functions (Branin, Rosenbrock, Hartmann) and real-world ML hyperparameter tuning tasks for XGBoost, Support Vector Regression (SVR), and Convolutional Neural Networks (CNN).
Key Results
- Superior Posterior Sampling: In tests across multiple dimensions, the SRGP-weighting method consistently achieved lower RMSE compared to standard GP sampling, particularly when training data was very limited (e.g., only $3d$ or $5d$ points, where $d$ is the dimension).
- Faster Optimization: In BO tasks, BES (using both upper and lower bounds) outperformed standard methods like EI, UCB, and Thompson Sampling.
- Robustness to Misspecification: BES proved more resilient than previous "known-optimum" methods. Even if the user provides a slightly incorrect bound, BES maintains high performance, whereas older methods often collapse if the provided optimum is unreachable.
Discussion and Limitations
The authors demonstrate that BES is "explainable," naturally encouraging queries at the perceived optimum location of valid samples to narrow the search area faster than bound-agnostic methods. Furthermore, the SRGP transformation makes the algorithm efficient in high-dimensional spaces where valid samples are otherwise hard to find.
However, there is a computational overhead; computing the BES acquisition function is more intensive than simpler metrics like EI, though it remains significantly cheaper than expensive black-box evaluations. Additionally, if data and bounds are highly contradictory, there may be iterations where no GP samples satisfy the bounds. In such rare cases, the authors suggest falling back to standard Expected Improvement. Future work may extend this framework to multi-objective optimization and explore more efficient importance sampling techniques.
Summary updated