Abstract
We consider the problem of sequentially maximising an unknown function over a set of actions while ensuring that every sampled point has a function value below a given safety threshold. We model the function using kernel-based and Gaussian process methods, while differing from previous works in our assumption that the function is monotonically increasing with respect to a safety variable. This assumption is motivated by various practical applications such as adaptive clinical trial design and robotics. Taking inspiration from the GP-UCB and SAFEOPT algorithms, we propose an algorithm, monotone safe UCB (M-SafeUCB) for this task. We show that M-SafeUCB enjoys theoretical guarantees in terms of safety, a suitably-defined regret notion, and approximately finding the entire safe boundary. In addition, we illustrate that the monotonicity assumption yields significant benefits in terms of the guarantees obtained, as well as algorithmic simplicity and efficiency. We support our theoretical findings by performing empirical evaluations on a variety of functions, including a simulated clinical trial experiment.
Introduction
In many real-world optimization tasks, exploration is constrained by safety requirements. For instance, in clinical trials, one seeks the most effective drug dosage without exceeding toxicity limits. Similarly, in robotics, a controller must maximize performance without violating physical safety constraints. Standard Bayesian Optimization (BO) techniques often neglect these constraints, while existing Safe BO algorithms, such as SAFEOPT, introduce significant complexity by tracking "expander" sets to grow the known safe region.
This paper explores how the assumption of monotonicity in a safety variable (e.g., dose or speed) can simplify safe exploration. By leveraging this structure, the authors propose M-SAFEUCB, an algorithm that achieves stronger theoretical guarantees and better computational efficiency than general-purpose safe exploration methods.
The Monotonicity Advantage
The core innovation lies in the assumption that the unknown function $f(s, \mathbf{x})$ is monotonically increasing with respect to a safety variable $s$. This assumption provides several key benefits:
- Domain Independence: Theoretical bounds for M-SAFEUCB are independent of the number of points in the domain, making it suitable for continuous, high-dimensional spaces.
- Guaranteed Reachability: Unlike general safe BO, where safe regions can be isolated "islands," monotonicity ensures that if a point is safe, all points with a smaller safety variable are also safe. This allows the algorithm to reach any safe point from a safe starting point at $s=0$.
- Algorithmic Simplicity: M-SAFEUCB avoids the need for complex "expander" logic and does not strictly require knowledge of the Lipschitz constant for its core operation.
M-SAFEUCB Algorithm
M-SAFEUCB utilizes Gaussian Processes (GPs) to model the unknown function. Instead of explicitly searching for points that expand the safe set, the algorithm focuses on the boundary. In each iteration, it:
- Identifies boundary points where the Upper Confidence Bound (UCB) matches the safety threshold $h$.
- Samples the point with the highest predictive variance (uncertainty) among these boundary candidates.
This strategy naturally pushes the exploration toward the edge of the safe zone, effectively identifying the safe boundary and the optimal action simultaneously.
Empirical Evaluation
The algorithm was tested on several benchmarks, including a simulated clinical trial ($f_{tox}$) and synthetic functions with complex safe boundaries ($f_{syn1}, f_{syn2}$).
As shown in Figure 1, M-SAFEUCB effectively tracks the safe boundary across various function geometries. The middle row demonstrates that the algorithm achieves competitive regret compared to baselines like SAFEOPT, while the bottom row shows a consistent reduction in the distance to the true safe boundary over time.
Key Results
M-SAFEUCB achieves sub-linear regret, ensuring convergence to the optimal safe action. Furthermore, it identifies the entire safe boundary with high accuracy.
In experiments involving higher-dimensional inputs (Figure 4), M-SAFEUCB maintains its performance, demonstrating robustness and scalability. The algorithm successfully avoids unsafe samples while aggressively exploring the boundary to find the maximum safe parameter values. Crucially, M-SAFEUCB performed as well as or better than SAFEOPT in terms of finding the safe region but with significantly lower computational overhead because it skips the expensive search for expander sets.
Conclusion
By incorporating monotonicity, M-SAFEUCB simplifies the safe exploration problem, offering a more efficient and theoretically grounded approach for systems where safety is a monotonic function of a control variable. This work highlights the power of leveraging natural problem structures to improve the performance and safety of autonomous optimization systems.
Summary updated