Abstract
Safe Bayesian Optimization (BO) is essential for real-world applications where exceeding a safety threshold—such as drug toxicity or robot instability—is prohibited. Traditional safe exploration algorithms like SAFEOPT rely on complex heuristics to expand safe regions and often scale poorly with domain size. This paper introduces M-SAFEUCB (Monotone Safe UCB), an algorithm that leverages the assumption of monotonicity in a single "safety variable." By focusing on the Upper Confidence Bound (UCB) at the safety threshold, M-SAFEUCB ensures that all safe points are reachable and provides theoretical guarantees that are independent of the search space size. Empirical evaluations demonstrate that M-SAFEUCB achieves sub-linear regret and identifies safe boundaries more efficiently than existing state-of-the-art methods.
Introduction
In many optimization tasks, the goal is to find the maximum of a function $f$ while ensuring that $f$ never falls below (or rises above) a critical threshold $h$. This is known as Safe Bayesian Optimization. For instance, in clinical trials, one seeks the maximum tolerated dose without causing excessive toxicity.
Existing approaches, most notably SAFEOPT, have three primary limitations:
- Complexity: They require tracking "expanders" (points to grow the safe set) and "maximizers" (points to optimize the objective).
- Reachability: Algorithms can become trapped in safe "islands," unable to cross unsafe regions to reach a global optimum.
- Scaling: Theoretical performance often degrades linearly with the size of the domain, making continuous or high-dimensional spaces problematic.
This work addresses these issues by assuming the function is monotonic with respect to a safety variable $s$ (e.g., dosage). If a certain dosage is safe, any lower dosage is also guaranteed to be safe.
Methods: The M-SAFEUCB Algorithm
M-SAFEUCB utilizes Gaussian Processes (GPs) to model the unknown function. Unlike previous methods, it simplifies the selection process using a Boundary Rule:
- Sampling the Boundary: The algorithm identifies points where the Upper Confidence Bound (UCB) of the GP is exactly equal to the safety threshold $h$.
- Maximal Variance: From these boundary points, it selects the one with the highest predictive variance. This strategy naturally balances the need to learn the safe boundary (exploration) with the goal of moving toward higher values of the safety variable (exploitation).
By exploiting monotonicity, M-SAFEUCB bypasses the need for a Lipschitz constant—a parameter required by SAFEOPT that is often difficult to estimate in practice. Furthermore, monotonicity ensures that if the most cautious action is safe, the entire connected safe region is reachable.
Experimental Results
The researchers evaluated M-SAFEUCB against baselines like SAFEOPT and PREDVAR across several benchmarks, including a simulated clinical trial, complex synthetic functions ($f_{syn1}, f_{syn2}$), and a modified Inverted Pendulum task from OpenAI Gym.
As shown in Figure 1, M-SAFEUCB consistently achieves lower regret than SAFEOPT while identifying the safe boundary with comparable or superior accuracy. Notably, M-SAFEUCB is significantly more computationally efficient, often running over 10 times faster than SAFEOPT due to its simplified selection logic. The algorithm also proved robust in scenarios where SAFEOPT failed due to incorrect Lipschitz constant assumptions. These results hold across various function topographies, confirming the theoretical benefits of the monotonicity assumption.
Conclusion and Future Work
M-SAFEUCB demonstrates that simple structural assumptions like monotonicity can yield significant gains in both theoretical guarantees and practical performance for safe exploration. By eliminating domain-size dependence in regret bounds and ensuring reachability, it provides a robust framework for safety-critical optimization.
Future research directions include extending this approach to settings with multiple constraints, tightening regret bounds to match non-safe BO standards, and applying these principles to Reinforcement Learning (RL) where actions have long-term state dependencies.
Summary updated