Safe Control with Minimal Regret

Andrea Martin, Luca Furieri, Florian Dörfler, John Lygeros, Giancarlo Ferrari-Trecate · DOI

Introduction

In the design of modern cyber-physical systems—ranging from autonomous aerial vehicles to smart power grids—engineers face a fundamental tension between performance and safety. Classical control theory typically requires a commitment to a specific model of environmental uncertainty. If noise is assumed to be stochastic and well-behaved, $H_2$ control is the standard; if the environment is assumed to be adversarial, $H_\infty$ control provides a robust, worst-case safeguard.

However, real-world environments are rarely stationary. Noise profiles shift, and disturbances may transition from Gaussian white noise to structured patterns like sinusoids or step functions. In these scenarios, static controllers often suffer from high costs because they cannot adapt to the changing nature of the environment. While online learning offers a path toward adaptivity through regret minimization, these algorithms often lack the hard safety guarantees required for physical systems. This paper introduces a novel optimization framework that bridges this gap, achieving minimal dynamic regret while strictly adhering to hard physical constraints.

The Problem: Uncertainty and the Safety Gap

Standard controllers are often "blind" to environmental shifts. A controller optimized for average-case performance ($H_2$) may fail catastrophically under adversarial conditions, while a robust controller ($H_\infty$) may be overly conservative, sacrificing significant performance in benign conditions.

Online learning addresses this by minimizing dynamic regret—the difference between the cumulative cost incurred by a causal controller and the cost incurred by a "clairvoyant" controller that has perfect hindsight of all future disturbances. The challenge lies in the fact that most regret-minimizing algorithms are designed for unconstrained settings. In robotics or infrastructure, "learning from mistakes" is not an option if those mistakes involve violating safety boundaries, such as velocity limits or structural load constraints.

Methodology: Safe Regret-Optimal Control

The authors propose a "one-shot" optimization approach that leverages System Level Synthesis (SLS) to transform the complex problem of safe, adaptive control into a tractable mathematical form.

1. System Level Parametrization

Rather than designing a feedback controller $K$ directly—a process that often results in non-convex optimization—the framework treats the system’s closed-loop responses as the primary design variables. By optimizing how the state and input react to disturbances, the problem becomes convex and more manageable.

2. Clairvoyant Benchmarking

The framework seeks to minimize the worst-case regret against a hypothetical optimal agent. This benchmark is a non-causal controller that knows the entire sequence of future disturbances. The goal is to ensure that the real-time controller performs as closely as possible to this all-knowing benchmark, regardless of the disturbance profile.

3. Convex Reformulation and Duality

The core technical contribution is the reformulation of this nested "min-max" regret problem into a single Semidefinite Program (SDP). By applying the Schur Complement, the authors express the clairvoyant controller's cost as a quadratic form of disturbances. Furthermore, they utilize duality results from robust optimization to ensure that polytopic safety constraints (e.g., "the drone must stay within these coordinates") are satisfied for every possible disturbance within a defined set.

Experimental Validation

To evaluate the framework, the authors conducted numerical simulations on linear time-varying systems, testing both stable and unstable configurations over a 30-step horizon. To demonstrate adaptivity, the controller was subjected to a diverse battery of disturbance profiles, including:

  • Standard Noise: Gaussian and Uniform distributions.
  • Structured Disturbances: Sinusoidal, sawtooth, step, and "stairs" functions.
  • Adversarial Noise: Purely worst-case disturbances designed to challenge the system.

Key Results

The proposed controller, $SR_{nc}$ (Safe Regret non-causal benchmark), demonstrated remarkable versatility:

  • Performance Dominance: While $H_2$ and $H_\infty$ performed best in their specific niches (Gaussian and adversarial noise, respectively), $SR_{nc}$ was a close second in those cases and significantly outperformed both in every other scenario. In cases like sawtooth or step disturbances, classical controllers incurred costs 40% to 100% higher than the regret-optimal approach.
  • Guaranteed Safety: Across 1,000 test realizations, the $SR_{nc}$ controller never violated safety bounds, even when managing open-loop unstable systems.
  • Natural Adaptivity: The controller effectively "interpolates" between robust and stochastic strategies without requiring explicit estimation of environmental parameters.

Discussion and Future Work

While the framework provides a powerful tool for safe, adaptive control, it introduces new computational challenges. Solving Semidefinite Programs is more computationally intensive than the standard Riccati recursions used in classical control. Future research will focus on improving the scalability of these solvers, perhaps by exploiting structural sparsity in the system dynamics.

Additionally, this work assumes the underlying system dynamics (the physics of the system) are known. A promising next step is the development of "model-free" safe regret minimization, where the agent must simultaneously learn the system dynamics and the optimal control strategy while maintaining a strict safety envelope.

Summary updated

BibTeX
@inproceedings{martin2022safe,
  author = {Andrea Martin and Luca Furieri and Florian Dörfler and John Lygeros and Giancarlo Ferrari-Trecate},
  title = {{Safe Control with Minimal Regret}},
  booktitle = {L4DC},
  year = {2022},
  url = {https://openreview.net/forum?id=wezjN3D4ibD},
}
Figure