Introduction
This paper presents the first efficient online learning algorithms for Linear Quadratic (LQ) control with known dynamics and unpredictable, time-varying costs. By leveraging a novel Semidefinite Programming (SDP) relaxation, the authors achieve $O(\sqrt{T})$ regret, meaning the controller’s performance quickly converges to that of the best fixed policy chosen in hindsight.
The Challenge of Online Control
In classical control theory, the Linear Quadratic Regulator (LQR) is a cornerstone: it finds the optimal way to control a linear system to minimize a fixed quadratic cost. However, real-world systems—like smart grids or climate control in buildings—often face costs that fluctuate unpredictably due to changing electricity prices, weather patterns, or user demands.
The primary challenge is that control is inherently "stateful." An action taken now affects the state of the system in the future. In the "online" setting, where costs are revealed sequentially, a learner must adapt their strategy without knowing future costs, all while ensuring the system remains stable. Previous attempts at this problem either required noiseless dynamics or relied on assumptions that were too restrictive for practical use.
Methodology
The authors bridge the gap between online convex optimization and control theory using two primary innovations:
- Steady-State SDP Relaxation: Instead of searching for a control policy directly, the authors optimize over the space of steady-state distributions of states and actions. They show that the infinite-horizon LQ problem can be relaxed into a Semidefinite Program (SDP). This transformation is crucial because it makes the optimization problem convex and thus solvable using standard online learning tools.
- Strong Stability: A standard "stable" policy ensures the system doesn't blow up, but it might take a very long time to reach its steady state. The authors introduce "strong stability," a quantitative measure ensuring the system "mixes" (reaches its steady-state distribution) exponentially fast. This property is vital for bounding regret, as it limits the "memory" of the system when switching between different policies.
The paper introduces two algorithms to tackle the problem:
- Online Gradient Descent (OGD) on the SDP: This algorithm updates the predicted steady-state distribution at every step.
- Follow the Lazy Leader (FLL): A variant of "Follow the Perturbed Leader" that changes policies infrequently (only $O(\sqrt{T})$ times), which helps mitigate the costs associated with switching policies in a physical system.
Experimental Setup
Rather than relying on a standard public dataset, the authors evaluate their algorithms using a simulated data center cooling loop.
The transition matrices ($A$ and $B$) governing the system dynamics were learned from four hours of real-world exploratory data from a physical data center. To test the algorithms' adaptability to different types of cost fluctuations, the authors simulated time-varying power costs using both independent uniform distributions and random walks.
Key Results
The paper delivers strong results on both theoretical and empirical fronts:
- Theoretical Guarantee: Both algorithms achieve an expected regret of $O(\sqrt{T})$. This is the "gold standard" for online learning with convex losses, indicating that the average cost per step approaches the optimal fixed policy's cost at a rate of $1/\sqrt{T}$.
- Experimental Performance: In the data center simulation, the Follow the Lazy Leader (FLL) algorithm significantly outperformed a "Recent" strategy (which simply picks the best policy for the most recent cost).
FLL proved robust even when costs followed a random walk, quickly approaching the performance of the best fixed linear controller and demonstrating the practical viability of the approach.
Limitations and Future Work
While groundbreaking, the approach has a few limitations:
- Known Dynamics: The current work assumes the system dynamics ($A$ and $B$ matrices) are known and fixed. In many reinforcement learning scenarios, these must be learned on the fly, adding a significant layer of complexity regarding the exploration-exploitation tradeoff.
- Noise Requirements: The OGD-based algorithm requires a lower bound on the system's internal noise to guarantee strong stability. While FLL relaxes this, it introduces the need for system "resets."
- Computational Overhead: Solving an SDP at every time step (for the OGD version) can be computationally expensive for very high-dimensional systems, though FLL's infrequent updates help alleviate this burden.
Future work will likely focus on combining these regret-minimization techniques with system identification to handle cases where the dynamics are entirely unknown.
Summary updated