Best of Both Worlds in Online Control: Competitive Ratio and Policy Regret

Gautam Goel, Naman Agarwal, Karan Singh, Elad Hazan

Introduction

In the field of online control, researchers and practitioners have traditionally navigated a divide between two primary performance benchmarks: regret minimization and competitive analysis. Regret minimization, a cornerstone of online learning, evaluates a controller's performance relative to the best fixed policy chosen in hindsight. In contrast, competitive analysis—a staple of robust control ($H_\infty$ control) and theoretical computer science—measures performance against the absolute best dynamic sequence of actions possible for a given noise sequence.

Until recently, these two objectives were viewed as distinct, often requiring different algorithmic strategies. A policy optimized for low regret might perform poorly in terms of its competitive ratio, and vice versa. However, recent research presented at the 5th Annual Conference on Learning for Dynamics and Control (LDC) by Goel et al. demonstrates that this trade-off is not strictly necessary. Their work proves that the Gradient Perturbation Controller (GPC)—originally designed for regret minimization—simultaneously achieves the optimal competitive ratio for linear dynamical systems.

Problem Setting: Regret vs. Competitive Ratio

The study focuses on Linear Time-Invariant (LTI) systems characterized by the state transition equation: $$x_{t+1} = Ax_t + Bu_t + w_t$$ where $x_t$ is the state, $u_t$ is the control input, and $w_t$ represents external disturbances or noise. The goal is to minimize a cumulative quadratic cost function over a horizon $T$.

  1. Regret Minimization: This metric compares the algorithm's total cost to that of the best fixed state-feedback policy (e.g., $u_t = Kx_t$) that could have been chosen if all disturbances $w_1, \dots, w_T$ were known in advance.
  2. Competitive Analysis: This metric considers the ratio between the algorithm's cost and the cost of the optimal dynamic sequence of actions. Unlike the regret baseline, the dynamic oracle can change its strategy at every time step to perfectly counter the specific noise sequence.

The challenge lies in the fact that the dynamic oracle is significantly more powerful than the fixed-policy baseline used in regret analysis, making it a much harder benchmark to satisfy.

The DAC Bridge

The central technical contribution of this work is the bridge built between these two metrics via Disturbance Action Control (DAC). A DAC policy determines the control input $u_t$ as a linear combination of past disturbances: $$u_t = \sum_{i=1}^{H} M_i w_{t-i}$$ where $H$ is the history length and $M_i$ are learnable parameters.

The authors present a structural result (Theorem 6) demonstrating that the optimal competitive policy—which is mathematically sophisticated and derived from $H_\infty$ theory—can be closely approximated by a DAC policy with a sufficiently large history $H$. This finding is pivotal: it implies that if an algorithm can perform well against the class of DAC policies, it inherently performs well against the optimal dynamic controller.

The Gradient Perturbation Controller (GPC)

By leveraging the DAC approximation, the authors show that the Gradient Perturbation Controller (GPC) is a "best of both worlds" algorithm. GPC uses online gradient descent to update the parameters of a DAC policy in real-time.

The paper establishes the following theoretical guarantees:

  • Regret: GPC achieves $O(\sqrt{T})$ regret against the best fixed policy when system matrices $A$ and $B$ are known.
  • Competitive Ratio: GPC achieves the optimal competitive ratio $\alpha^*$ (the same ratio achieved by the $H_\infty$ controller) plus a vanishing additive error.

This means that GPC does not sacrifice its ability to compete with the best fixed policy while simultaneously matching the performance of the best robust controller against adversarial noise.

Unknown Systems and Stability

A significant hurdle in control theory is the requirement of perfect system knowledge. The authors extend their results to scenarios where the system matrices $A$ and $B$ are unknown. By employing "black-box" estimation techniques, the learner can explore the system dynamics while maintaining performance. In this setting, GPC achieves a regret of $O(T^{2/3})$ while still converging to the optimal competitive ratio.

Furthermore, the algorithm does not require the system to be stable a priori. It can learn to stabilize an unstable system while simultaneously optimizing the performance metrics, a feat that broadens the applicability of the GPC framework to a wider range of real-world control problems.

Experimental Validation

The theoretical findings were validated using a two-dimensional double integrator system, a standard benchmark in the control literature. The GPC was tested against various noise profiles, including sinusoidal, constant, Gaussian, and Gaussian random walk perturbations.

In these simulations, GPC consistently matched or outperformed specialized controllers. It equaled the performance of the $H_\infty$ controller (the benchmark for competitive ratio) and the $H_2$ controller (the benchmark for stochastic noise), demonstrating superior robustness across diverse adversarial environments.

Conclusion and Future Directions

This research provides a powerful unification of machine learning and control theory perspectives. By showing that regret-minimizing algorithms like GPC can achieve optimal competitive ratios, the authors simplify the landscape of online control.

However, several challenges remain. The current analysis is restricted to Linear Time-Invariant systems with quadratic costs. Future work is needed to extend these "best of both worlds" guarantees to non-linear systems and more general convex cost functions. Additionally, the memory requirements for DAC policies scale with the history length $H$, which may present computational challenges for high-dimensional systems. Despite these limitations, the paper marks a significant step toward more robust and versatile autonomous systems.

Summary updated

BibTeX
@inproceedings{goel2023best,
  author = {Gautam Goel and Naman Agarwal and Karan Singh and Elad Hazan},
  title = {{Best of Both Worlds in Online Control: Competitive Ratio and Policy Regret}},
  booktitle = {L4DC},
  year = {2023},
}
Figure