Abstract
Ensuring safety in industrial control systems usually involves imposing constraints at the design stage of the control algorithm. Enforcing constraints is challenging if the underlying functional form is unknown. The challenge can be addressed by using surrogate models, such as Gaussian processes, which provide confidence intervals used to find solutions that can be considered safe. This in turn involves an exhaustive search on the entire search space. That approach can quickly become computationally expensive. We reformulate the exhaustive search as a series of optimization problems to find the next recommended points. We show that the proposed reformulation allows using a wide range of available optimization solvers, such as derivative-free methods. We show that by exploiting the properties of the solver, we enable the introduction of new stopping criteria into safe learning methods and increase flexibility in trading off solver accuracy and computational time. The results from a non-convex optimization problem and an application for controller tuning confirm the flexibility and the performance of the proposed reformulation.
Introduction: The Bottleneck of Safe Learning
In industrial control, "safety" usually means staying within specific constraints, such as temperature limits or voltage bounds. When the underlying physics of a system are unknown, we use Safe Learning. The standard-bearer for this is SafeOpt, which uses Gaussian Processes (GPs) to model the system and its constraints.
However, SafeOpt has a major bottleneck: to pick the next point to sample, it performs an exhaustive search over a discretized version of the entire search space. If you want high precision, you need a fine grid, which makes the algorithm crawl. If you use a coarse grid, you might miss the optimum or, worse, violate safety. This research aims to break this "curse of discretization" by making the sample selection process more flexible and computationally efficient.
Methodology: Reformulating the Search
The core contribution is a mathematical reformulation of the SafeOpt selection criteria. Instead of checking every point on a grid to find "maximizers" (points that might be the optimum) and "expanders" (points that help us learn more about the safe boundary), the authors turn these tasks into two distinct optimization problems ($P_1$ and $P_2$).
Derivative-Free Optimization and Pattern Search
Since the underlying functions are unknown and gradients are unavailable, the method employs Pattern Search. This derivative-free approach evaluates a "mesh" of points around a current candidate and moves toward better values iteratively.
Key technical highlights include:
- Flexible Stopping Criteria: Unlike a fixed grid, Pattern Search allows the user to define a "mesh tolerance." This enables a direct trade-off between computation time and accuracy.
- Continuous Search: By moving to a continuous optimization framework, the algorithm can look "between" the grid lines of traditional SafeOpt, avoiding the limitations of initial discretization.
- Relaxation for Feasibility: A relaxation parameter ($\sigma$) is introduced to ensure the optimization problems remain solvable even when the set of "expanders" is temporarily empty.
Experimental Evaluation
The approach was evaluated on two main scenarios:
- Synthetic Non-Convex Problem: A 2D optimization task with a non-convex feasible set, used to demonstrate that the algorithm stays within safe boundaries while finding the optimum.
- Ball-Screw Drive PID Tuning: A real-world engineering problem involving tuning a cascade PID controller ($K_p, K_v, K_{vi}$). The goal was to minimize position error and overshoot while maintaining system stability.
Key Results and Insights
The reformulated algorithm (RA) demonstrated significant performance improvements over standard grid-based SafeOpt.
- Significant Speedups: In the PID tuning example, the reformulated algorithm reduced total computation time from 268 seconds to just 35 seconds—nearly an 8x improvement—by adjusting the stopping criteria.
- Better Performance: Compared to default SafeOpt with various grid sizes ($N=10$ to $N=2500$), the reformulated version (labeled "RA 1") achieved a better objective value (-3.4) than even the most high-resolution default grid (-4.3), often in a fraction of the time.
- Safety is Maintained: Despite using numerical solvers and relaxations, the "safety-first" spirit of SafeOpt remains intact. The confidence intervals provided by the GPs act as the ultimate gatekeeper for new samples.
Conclusion
By moving from fixed grids to a continuous optimization framework, this work enables efficient sample selection for safe learning. The ability to trade off solver accuracy for speed without compromising safety makes these methods more viable for complex industrial applications. Future work will focus on rigorous theoretical analysis of global convergence and safety guarantees under varying solver criteria.
Summary updated