Abstract
In this paper, the CONFIG algorithm, a simple and provably efficient constrained global optimization algorithm, is applied to optimize the closed-loop control performance of an unknown system with unmodeled constraints. Existing Gaussian process based closed-loop optimization methods, either can only guarantee local convergence (e.g., SafeOPT), or have no known optimality guarantee (e.g., constrained expected improvement) at all, whereas the recently introduced CONFIG algorithm has been proven to enjoy a theoretical global optimality guarantee. In this study, we demonstrate the effectiveness of CONFIG algorithm in the applications. The algorithm is first applied to an artificial numerical benchmark problem to corroborate its effectiveness. It is then applied to a classical constrained steady-state optimization problem of a continuous stirred-tank reactor. Simulation results show that our CONFIG algorithm can achieve performance competitive with the popular CEI (Constrained Expected Improvement) algorithm, which has no known optimality guarantee. As such, the CONFIG algorithm offers a new tool, with both a provable global optimality guarantee and competitive empirical performance, to optimize the closed-loop control performance for a system with soft unmodeled constraints. Last, but not least, the open-source code is available as a python package to facilitate future applications.
Introduction
Tuning control systems—adjusting parameters like PID gains or MPC set-points—is a critical task in engineering to ensure optimal performance. However, real-world systems often operate under "black-box" constraints, such as temperature limits in a chemical reactor, that are difficult to model analytically. While data-driven approaches like Bayesian Optimization (BO) have automated this process, existing methods face significant hurdles. Algorithms like SafeOPT often get trapped in local optima due to overly cautious safety constraints, while popular methods like Constrained Expected Improvement (CEI) lack rigorous theoretical guarantees of global optimality. Furthermore, penalty-based methods are notoriously sensitive to hyperparameter tuning.
The CONFIG Algorithm
To address these challenges, we introduce CONFIG (CONstrained efFIcient Global optimization). CONFIG utilizes Gaussian Processes (GPs) to build surrogate models of both the objective function and the constraints. The core innovation lies in applying the Lower Confidence Bound (LCB) to both the objective and the constraints, adhering to the "principle of optimism in the face of uncertainty."
By assuming the objective is as low as statistically plausible and the constraints are as feasible as possible, CONFIG actively explores the boundaries of the feasible region—where optimal solutions often reside. Unlike previous methods, CONFIG can declare a problem infeasible in finite steps and eliminates the need for manually tuned penalty parameters.
Experimental Evaluation
The effectiveness of CONFIG was evaluated on two primary benchmarks:
- Artificial Numerical Problem: A 2D trigonometric optimization problem with complex non-linear constraints designed to challenge local search algorithms.
- Williams-Otto Problem: A classic chemical engineering benchmark involving a Continuous Stirred-Tank Reactor (CSTR). The goal is to maximize profit by tuning feedrate and temperature while adhering to mass fraction constraints.
Key Results
In the artificial benchmark, CONFIG successfully identified the global optimum within 20 steps across multiple trials, whereas SafeOPT and Primal-Dual methods frequently stalled in local minima. On the more complex Williams-Otto problem, CONFIG demonstrated exceptional convergence, reaching a normalized regret/violation score below $10^{-10}$ within just 20 iterations.
As shown in the results, CONFIG matches or exceeds the empirical performance of the popular CEI algorithm while providing the added security of a provable global optimality guarantee. The authors have released the config Python package to facilitate the application of this algorithm in broader engineering contexts.
Conclusion and Future Work
CONFIG represents a significant step forward in constrained global optimization for control systems, offering a rare blend of theoretical rigor and competitive performance. While highly effective for "soft" constraints where temporary violations are acceptable during learning, future work will focus on extending these guarantees to safety-critical systems and high-dimensional parameter spaces.
Summary updated