Model-Free and Gray-Box Feedback Optimization
- Model-free and gray-box feedback optimization are techniques that optimize dynamical systems using only output evaluations, avoiding explicit gradient computation.
- They employ periodic dithering and projection methods to estimate gradients and enforce hard constraints, ensuring robust feasibility in real-time.
- These methods have proven effective in applications like voltage control and robotics, offering convergence guarantees and safety against disturbances.
Model-free and gray-box feedback optimization techniques address the problem of steering dynamical systems to optimal operating points when explicit system models or sensitivities are unavailable or only partially known. These methods have developed rigorous frameworks for real-time optimization of nonlinear, possibly constrained systems via output feedback, encompassing both theoretical guarantees and practical implementation strategies.
1. Core Principles of Model-Free Feedback Optimization
Model-free feedback optimization methods aim to solve problems of the form
where and constraint set are known only via zeroth-order (output) evaluations, and is closed and convex. These algorithms operate without requiring gradients or explicit system models, instead using real-time system interactions to infer optimality information.
A fundamental representative is the continuous-time projected zeroth-order (P-ZO) dynamics, defined by the ODE system: where , and comprises distinct high-frequency dither signals. This mechanism employs periodic dithering to generate persistently exciting probes, making it possible to estimate gradients by demodulation and subsequent low-pass filtering (Chen et al., 2023, Mehrnoosh et al., 15 Sep 2025).
P-ZO and related schemes generalize extremum-seeking approaches with projection operators, ensuring that hard constraints are satisfied at all times without recourse to barriers or penalties.
2. Gradient Learning and Projection Enforcement
Model-free feedback optimizers must estimate gradients from finite differences or periodic excitation. For P-ZO-type schemes, dithering in independent directions yields: By continuously injecting dither and filtering outputs, high-confidence gradient estimates are obtained. This property is foundational for zeroth-order convergence analysis (Chen et al., 2023, Mehrnoosh et al., 15 Sep 2025).
Crucially, the algorithm enforces hard constraints by projecting updates onto : This ensures 0 for all 1, with practical ODEs designed to either update via projected flows or, in discontinuous variants, project vector fields onto the tangent cone of 2 (Chen et al., 2023, Chen et al., 2022).
3. Constrained Model-Free Primal-Dual Dynamics
To handle both hard and soft (asymptotic) constraints, projected primal-dual zeroth-order dynamics (P-PDZD) extend P-ZO by including Lagrange multipliers and corresponding estimator filters. For the constrained convex program
3
the P-PDZD scheme simultaneously updates 4 and 5, relying on function probes and real-time output evaluations. The flow
6
with auxiliary filters for gradient and constraint estimation, yields semi-global practical asymptotic stability (SGPAS) under standard regularity assumptions, robust to small bounded disturbances (Chen et al., 2022).
Decentralized extensions allow multi-agent implementation, with local agents communicating only on constraint coupling, and online stability/robustness guarantees extending identically to the centralized context.
4. Gray-Box Feedback Optimization: Adaptive Sensitivity Fusion
Gray-box feedback optimization systematically blends approximate model-based sensitivities with model-free updates. Suppose the gradient 7 is unavailable, but an approximate sensitivity 8 is accessible. The gray-box update law is given by
9
with 0 adaptively tuned. The controller selects 1 based on the estimated bias in 2:
- If 3 with 4, model-based updates dominate.
- For coarser or slowly improving 5, gray-box or model-free dominates, mitigating bias while reducing variance.
Convergence and regret analyses show that the gray-box architecture achieves 6 rates in the static unconstrained case, and favorable dynamic regret bounds in time-varying, nonconvex, and constrained problems (He et al., 2024, Mehrnoosh et al., 15 Sep 2025). When the sensitivity estimate converges sufficiently quickly, model-based is optimal; otherwise, the gray-box controller adaptively transitions to model-free behavior.
Notably, gray-box methods are extensible to time-varying settings, where the update becomes
7
with measurable ISS-type tracking guarantees and dynamic regret 8 as a function of path length 9 of the moving optimum.
5. Two-Point Random Gradient-Free Methods
Recent two-point random gradient-free methods extend static zeroth-order (ZOSGD) ideas to the feedback optimization setting. At each iteration, the algorithm uses two real-time function evaluations (plant probes) at 0 and 1 with 2 to form the update: 3 Such methods achieve 4-stationary points for 5-smooth, nonconvex costs with 6 sample complexity. The stochasticity introduced by probing provides unbiased gradient estimates with controlled variance. When compared to gray-box and one-point estimators, the two-point methods display better scaling and approach idealized performance for 7 complexity (Mehrnoosh et al., 15 Sep 2025, Hauswirth et al., 2021).
6. Robustness, Safety, and Practical Guarantees
Both model-free and gray-box feedback optimizers are furnished with explicit robustness and safety results:
- Forward invariance of the feasible domain is guaranteed by projection, provided initial feasibility.
- Under uniformly globally attractive projected flows, the P-ZO and P-PDZD systems converge to neighborhoods of the optimal set, with the radius controllable via dither/filter parameters (Chen et al., 2023, Chen et al., 2022).
- The system maintains robust safety with respect to bounded state and measurement disturbances, with convergence and constraint satisfaction preserved up to 8 error (Chen et al., 2023, Chen et al., 2022).
Extension to time-varying and switching objectives leverages ISS-type analysis, ensuring graceful degradation and optimality tracking in nonstationary environments. Numerical experiments confirm sub-percent steady-state errors within a few time units and consistent hard constraint satisfaction across synthetic and practical case studies (e.g., voltage control in distribution grids).
7. Applications and Outlook
Model-free and gray-box feedback optimization has been applied to domains including autonomous grid control, robotic policy learning under sensing failures, and generic nonlinear output regulation. The performance trade-offs among model-based, gray-box, and model-free approaches are summarized as follows:
| Approach | Model Knowledge Needed | Convergence Rate | Constraint Handling | Robustness to Model Error |
|---|---|---|---|---|
| Model-free | None | 9 | Projection, with limitations | High |
| Gray-box | Partial/approximate | 0 | Projection + dual | Intermediate |
| Model-based | Exact 1 | 2 | Exact | Low if model mismatch |
Gray-box schemes can exploit any available sensitivity knowledge, including online-estimated Jacobians, and naturally interpolate between model-based and model-free as knowledge quality varies (He et al., 2024, Hauswirth et al., 2021). Integration of acceleration, discrete-time and event-triggered versions, and hybrid learning-control strategies remain active research directions (Chen et al., 2022, Chen et al., 2023, Mehrnoosh et al., 15 Sep 2025).
In summary, model-free and gray-box feedback optimization synthesize extremum-seeking, projected gradient, and adaptive control concepts to produce algorithms with provable optimality, guaranteed safety, and robust performance, scalable from low-level physical systems to high-dimensional learning-driven domains.