Abstract
This paper introduces the "Perturbed Greedy" algorithm for controlling unknown linear systems (MIMO LQR). By augmenting a standard greedy control policy with carefully designed random input perturbations, the algorithm achieves a square-root regret bound ($O(\sqrt{T})$) while maintaining computational simplicity. We provide the first finite-time theoretical guarantees for an algorithm that is both easy to implement and significantly more stable than previous randomized approaches, such as Thompson Sampling or Randomized Certainty Equivalence.
Introduction
In control theory, the Adaptive Linear-Quadratic Regulator (LQR) problem serves as a fundamental benchmark for balancing exploration (system identification) and exploitation (efficient control). Existing solutions typically face a trade-off between computational tractability and theoretical robustness. Optimism-based policies, while theoretically sound, often require solving non-convex optimization problems at each step, making them computationally intractable for real-time applications. Conversely, Greedy (Certainty Equivalent) policies are computationally efficient but frequently fail to explore sufficiently, leading to poor learning. Previous attempts to address this by adding noise to model estimates (Randomized CE) have resulted in unstable system trajectories.
This work bridges this gap by proposing an algorithm as simple as a greedy policy but as robust as optimism-based ones, ensuring a smooth and stable system trajectory.
Methods: The Perturbed Greedy Regulator
The proposed Perturbed Greedy Regulator (Algorithm 1) utilizes three core components:
- Episodic Learning: The algorithm updates the system model at the end of "epochs" with exponentially increasing lengths, significantly reducing the computational overhead.
- Input Perturbation: To ensure sufficient system excitation for learning, a small, zero-mean random perturbation signal $v(t)$ is added directly to the control input: $u(t) = L_t x(t) + v(t)$. This direct perturbation maintains control stability while forcing the system to reveal its dynamics.
- Least Squares Estimation: At the conclusion of each epoch, standard Least Squares Estimation (LSE) is employed to update the estimates of the system dynamics ($A$ and $B$ matrices).
To analyze the algorithm's performance, we developed a novel mathematical decomposition technique that separates the total regret into systematic deviations and spontaneous fluctuations.
Key Insights and Results
Theoretical Guarantees
The Perturbed Greedy algorithm achieves a worst-case regret that scales with the square root of time ($O(\sqrt{T})$). This guarantee is uniform, meaning it holds at every time step. Furthermore, we demonstrate that if side information about the system structure is available (e.g., sparsity in the dynamics matrices), the regret can be reduced to a logarithmic rate ($O(\log T)$), the information-theoretic gold standard.
Stability and Learning Accuracy
Numerical simulations of a 3-input, 3-output (MIMO) linear system validate the theoretical findings. The error in estimating system parameters ($\theta_n$) shrinks at a rate of $n^{-1/4}$, confirming that the controller becomes increasingly precise over time.
As shown in the figure above, the Perturbed Greedy approach (green) demonstrates superior stability compared to alternative randomized methods. While Thompson Sampling (red) and Randomized Certainty Equivalence (blue) exhibit large, unstable fluctuations, our method maintains a smooth trajectory. This reliability is further evidenced across multiple replicates.
Discussion and Future Work
While the Perturbed Greedy algorithm provides a robust framework for adaptive LQR, several avenues for future research remain. Currently, the model assumes perfect state observation ($x(t)$); extending this to settings with noisy sensor data (e.g., Kalman filtering) is a critical next step. Additionally, applying these methods to extremely high-dimensional systems, such as power grids, may require incorporating sparse or low-rank modeling. Finally, adapting the algorithm to time-varying systems where the underlying physics ($A_0, B_0$) change over time remains an open challenge.
Summary updated