Dynamic Regret Minimization for Control of Non-stationary Linear Dynamical Systems

Yuwei Luo, Varun Gupta, Mladen Kolar

TL;DR

This paper introduces Dyn-LQR, the first algorithm to achieve optimal dynamic regret for Linear Quadratic Regulator (LQR) systems with time-varying dynamics. By combining adaptive non-stationarity detection with certainty-equivalent control, the authors prove a tight regret bound of $\tilde{O}(V_T^{2/5} T^{3/5})$, effectively bridging the gap between classical control theory and modern non-stationary reinforcement learning.

What Problem Does This Paper Address?

In classical control theory, the Linear Quadratic Regulator (LQR) is a cornerstone model where a system has linear dynamics and a quadratic cost. Most existing research assumes the system's dynamics (the matrices $A$ and $B$) are stationary—they don't change over time.

However, real-world systems drift. A robot’s joints might loosen, or an aircraft's aerodynamics might change as fuel is consumed. This paper tackles non-stationary LQR, where the dynamics $\{A_t, B_t\}$ can change arbitrarily. The goal is to minimize dynamic regret: the difference between the cost incurred by the controller and the cost of the best possible policy for the actual dynamics at each time step. The challenge is that the controller doesn't know the dynamics beforehand and must learn them on the fly while the "target" is constantly moving.

Methods

The authors propose an algorithm called Dyn-LQR. Its architecture relies on three main pillars:

  1. Certainty Equivalent Control with Exploration: The algorithm maintains a point estimate of the current dynamics and uses the optimal controller for that estimate. To ensure it keeps learning, it injects a carefully tuned amount of Gaussian exploration noise.
  2. Adaptive Restart Strategy: Inspired by techniques in contextual multi-armed bandits, the algorithm runs multiple statistical tests in parallel. These tests compare recent observations against historical estimates across different time scales. If a "sufficient" change in dynamics is detected, the algorithm forgets the past and restarts its learning process.
  3. Stability Fallback: Because non-stationary systems can easily become unstable (the state $x_t$ could blow up), the algorithm includes a safety mechanism. If the state norm exceeds a specific threshold, it switches to a "nominal" stabilizing controller until the system settles.

A significant portion of the paper is dedicated to a technical tour-de-force: proving that the Ordinary Least Squares (OLS) estimator remains reliable (low bias) even when the underlying parameters are shifting.

Datasets

As a theoretical paper focused on regret bounds and algorithmic analysis, no empirical datasets were used. The results are established through rigorous mathematical proofs and validated by constructing a specific "lower bound" instance—a mathematical worst-case scenario—to prove the optimality of their regret rates.

Key Insights and Ideas

  • The "Bandit" Motif: The authors argue that non-stationary LQR is essentially a bandit problem with linear feedback and a locally quadratic loss function. This perspective allows them to apply bandit-style analysis to a complex control problem.
  • The Failure of Fixed Windows: A common strategy for non-stationarity is using a "sliding window" of recent data. The authors provide an "impossibility result," proving that fixed-window approaches are strictly sub-optimal for LQR. Because the cost is quadratic, the penalty for estimation error is higher than in linear problems, making adaptive restarts necessary.
  • Bias Control in OLS: In stationary LQR, OLS is unbiased. In non-stationary LQR, the "moving" parameters introduce bias. The authors show that by keeping the control policy fixed within specific "blocks" and using small amounts of exploration, they can keep this bias small enough to maintain optimal regret.

Key Results

  • Optimal Dynamic Regret: For a total variation $V_T$ (the sum of all changes in dynamics), Dyn-LQR achieves a regret of $\tilde{O}(V_T^{2/5} T^{3/5})$. They prove this rate is minimax optimal, meaning no algorithm can do better in the worst case.
  • Piecewise Constant Dynamics: If the dynamics only change $S$ times (switches), the algorithm achieves $\tilde{O}(\sqrt{ST})$ regret.
  • Lower Bound for Non-Adaptive Methods: They show that non-adaptive (fixed-window) methods cannot do better than $\Omega(V_T^{1/3} T^{2/3})$, which is significantly worse than the $T^{3/5}$ rate achieved by their adaptive approach.

Limitations and Future Work

  • Dimensionality Scaling: The current analysis shows a regret dependence on dimensions as $n^2 d^2$ (where $n$ is state dimension and $d$ is control dimension). The authors believe this can be tightened to $d\sqrt{n}$, matching stationary results.
  • Stabilization Assumption: The algorithm assumes access to a sequence of controllers that are at least stabilizing. Finding these controllers from scratch in a purely unknown, non-stationary environment remains a difficult "cold start" problem.
  • General Convex Costs: The current work relies heavily on the quadratic nature of the LQR cost. Extending these optimal rates to general convex cost functions is an open challenge.
  • Safe Exploration: The paper touches on stability, but "safe exploration"—ensuring the system never violates physical constraints while learning—is a critical next step for real-world deployment.

Summary updated

BibTeX
@article{luo2022dynamic,
  author = {Yuwei Luo and Varun Gupta and Mladen Kolar},
  title = {{Dynamic Regret Minimization for Control of Non-stationary Linear Dynamical Systems}},
  journal = {Proc. ACM Meas. Anal. Comput. Syst.},
  year = {2022},
  doi = {10.1145/3508029},
}

Loading related content...

Figure