Introduction
In complex engineering systems such as power grids or chemical plants, the primary objective is often to maintain an "optimal steady-state"—an operating point that minimizes operational costs or maximizes efficiency. Achieving this in real-time requires feedback optimization (FO) controllers. Traditionally, these controllers fall into two categories: model-based and model-free.
Model-based controllers utilize system sensitivities to calculate gradients, offering high speed but failing under model mismatch. Conversely, model-free controllers estimate gradients through system perturbations; while robust to inaccuracies, they are notoriously slow and sample-inefficient. This paper introduces a "gray-box" FO controller that bridges this gap, combining the speed of model-based methods with the robustness of model-free approaches.
Methodology: The Gray-Box Controller
The core innovation is a feedback optimization rule that employs an adaptive convex combination of two distinct update directions. This allows the system to exploit coarse model information for a rapid start while eventually relying on real-time data to ensure accuracy.
System Architecture
The controller architecture integrates the physical plant's output into a feedback loop where the update direction, $\tilde{\phi}_k$, is computed as a blend of model-derived and model-free estimates.
As shown in the figure above, the update rule is defined as:
- The Model-Based Direction ($\tilde{\phi}_{k,1}$): Uses an approximate sensitivity matrix $\hat{H}_k$ derived from a potentially inaccurate model.
- The Model-Free Direction ($\tilde{\phi}_{k,2}$): Uses a stochastic gradient estimate from real-time objective function evaluations.
The blending coefficient, $\alpha_k$, is designed to start near 1 (favoring the model) and decay toward 0 over time. This strategy allows the controller to reach the neighborhood of the optimal solution quickly using the "coarse" model and then fine-tune the solution using model-free updates to eliminate bias.
Key Insights and Theoretical Guarantees
The paper provides a rigorous analysis of the bias-variance trade-off inherent in this approach. Model-based updates typically exhibit high bias due to model error but low variance. Model-free updates have zero bias but high variance due to stochastic estimation. The adaptive blending effectively manages this trade-off throughout the optimization process.
Key theoretical contributions include:
- Convergence for Non-convexity: Unlike many FO frameworks that assume convexity, this work provides guarantees for non-convex objective functions, characterizing performance via the squared gradient norm.
- Quantifiable Superiority: The authors prove that the gray-box approach is strictly preferable to purely model-based methods whenever model error does not vanish sufficiently fast.
- Convergence Rate: The authors establish a convergence rate of $O(p^2/T^{2/3})$ for the non-convex case, where $p$ is the input dimension and $T$ is the number of iterations.
Experimental Results
The approach was evaluated using numerical simulations of a complex nonlinear dynamical system featuring 20 states, 10 inputs, and 5 outputs, including unknown exogenous disturbances.
In these tests, the Gray-Box controller significantly outperformed purely model-free versions in convergence speed. More importantly, it achieved a much higher level of accuracy (lower gradient norm) than the inexact model-based controller, which became trapped by its inherent model bias. In time-varying scenarios, the Gray-Box controller's performance closely tracked that of a controller with a perfect model, a feat unattainable by the other benchmarked methods.
Conclusion and Future Work
The Gray-Box FO controller offers a practical middle ground for industrial applications where models are available but imperfect. While the current framework assumes the plant reaches steady-state quickly relative to the controller, future work aims to extend this to full system dynamics and explore the incorporation of hard output constraints through dualization methods. Additionally, further research into the automated tuning of the decay rate for the blending coefficient $\alpha_k$ will enhance the controller's plug-and-play capabilities.
Summary updated