Abstract
Safe Bayesian Optimization (BO) is a powerful tool for tuning controllers without a perfect model. However, the "safety" in current state-of-the-art algorithms often rests on shaky theoretical ground or impossible-to-verify assumptions. This paper identifies a major safety flaw in popular algorithms like SafeOpt and introduces LoSBO (Lipschitz-only Safe BO). LoSBO guarantees safety using only a known Lipschitz constant—a much more practical and intuitive parameter for engineers. Numerical experiments demonstrate that LoSBO maintains safety even under model misspecification and performs favorably compared to traditional methods.
Introduction
In control engineering, tuning a controller (like an LQR or PID) often involves "blackbox" optimization: trying a set of parameters, running the plant, and observing performance. However, exploration is constrained by safety; certain parameters might cause the system to become unstable or exceed physical limits, leading to catastrophic failure.
"Safe BO" algorithms were designed to solve this by building a probabilistic model (usually a Gaussian Process) of the system and only suggesting parameters that are "safe" with high probability. The authors point out two massive hurdles to using these in the real world:
- The Heuristic Trap: Most implementations use a fixed "safety factor" (like $\beta=2$) for their confidence intervals, which lacks theoretical guarantees.
- The RKHS Norm Problem: Theoretically sound versions require knowing the RKHS (Reproducing Kernel Hilbert Space) norm of the target function—an abstract mathematical property that is essentially impossible for a control engineer to estimate reliably.
The Danger of Heuristics
The paper provides a stark visual demonstration of how standard GP uncertainty bounds can be completely violated by the ground truth. This proves that the common practice of using $\beta=2$ is a gamble rather than a guarantee.
Methodology: Lipschitz-only Safe BO (LoSBO)
To address these flaws, the authors propose LoSBO. Instead of relying on the Gaussian Process's internal uncertainty (which depends on the unknown RKHS norm), LoSBO uses a Lipschitz bound. If the maximum rate at which performance can change (the Lipschitz constant $L$) and the measurement noise bound are known, engineers can mathematically construct a "safety cone" around every point already tested.
LoSBO decouples exploration logic from safety logic, allowing engineers to tune optimization hyperparameters freely without accidentally compromising safety. Furthermore, the LoS-GP-UCB variant uses local search and random multi-starts to find the next best point, making it applicable to the continuous, higher-dimensional parameter spaces typical of real-world controllers.
Key Results
Numerical experiments compared LoSBO against "Real-$\beta$-SafeOpt" (a version of SafeOpt using theoretically valid but conservative bounds). The experiments included both "well-specified" cases and "misspecified" cases to test robustness.
Results confirmed that heuristic-based Safe BO algorithms frequently violate safety constraints. In contrast, LoSBO maintained safety even when the GP model was misspecified. It performed very favorably compared to traditional methods while providing practically meaningful guarantees. The LoS-GP-UCB variant successfully avoided the "curse of dimensionality" associated with gridding, showing it can handle real-world controller parameter spaces.
Conclusion and Future Work
While LoSBO offers a more robust framework, it still requires a correct Lipschitz constant and noise bound. Future research is directed toward applying these methods to automotive tracking controllers and extending the framework to handle multiple, independent safety constraints simultaneously.
Summary updated