Learning to Control under Time-Varying Environment

Yuzhen Han, Ruben Solozabal, Jing Dong, Xingyu Zhou, Martin Takác, Bin Gu · DOI

Abstract

Controlling unknown linear time-varying (LTV) systems presents a fundamental challenge in balancing exploration, exploitation, and adaptation. This paper introduces two computationally tractable, model-based online algorithms: Restarting-OFU (R-OFU) and Sliding Window-OFU (SW-OFU). By integrating the "Optimism in the Face of Uncertainty" (OFU) principle with periodic data-refreshing mechanisms, these algorithms achieve a sublinear dynamic regret bound of $\tilde{O}(T^{2/3})$. This work provides the first practical solution for minimizing regret in non-stationary environments where system dynamics are initially unknown.

Introduction

In classical control theory, the Linear Quadratic Regulator (LQR) is a cornerstone for optimizing system performance. However, traditional LQR assumes a Time-Invariant (LTI) environment. Real-world applications, such as dynamic pricing, ad allocation, and robotics, often operate in Time-Varying (LTV) environments where system parameters shift over time.

The primary difficulty lies in the simultaneous presence of uncertainty (unknown parameters) and non-stationarity (changing parameters). Existing approaches often face a trade-off between computational tractability and theoretical performance, frequently resulting in NP-hard planning problems or suboptimal regret rates. This paper addresses this gap by proposing algorithms that are both mathematically robust and computationally efficient.

Methods: R-OFU and SW-OFU

The proposed algorithms utilize the Optimism in the Face of Uncertainty (OFU) principle to drive exploration. Instead of relying on a single point estimate, the agent considers a confidence region of potential models and selects the one that minimizes the expected cost. To handle non-stationarity, two data-refreshing strategies are introduced:

  1. Restarting-OFU (R-OFU): Time is partitioned into discrete epochs. At the beginning of each epoch, the algorithm discards all historical data and restarts the estimation process. This prevents stale data from biasing current control decisions.
  2. Sliding Window-OFU (SW-OFU): The algorithm maintains a moving window of recent observations to estimate system dynamics, allowing for a smoother transition in slowly drifting environments.
Illustration of the R-OFU and SW-OFU algorithms' data-refreshing mechanisms.

By performing online planning over local data batches rather than the entire horizon, these methods remain computationally tractable for real-time use.

Key Results and Comparative Analysis

The authors establish a high-probability dynamic regret bound of $\tilde{O}(T^{2/3})$ for both algorithms. This signifies that the average performance of the controller converges toward the theoretical optimum over time.

Comparison of the proposed algorithms with existing literature on regret bounds for LTV systems.

As shown in the table above, this work provides a significant improvement over prior literature. While previous methods for time-varying systems often required full knowledge of the environment or resulted in higher regret, the proposed approach achieves sublinear regret without prior knowledge of the system dynamics.

Empirical evaluations across three simulated LTV environments—switching systems, slowly changing systems, and frequently switching systems—demonstrate that R-OFU and SW-OFU significantly outperform standard LQR oracles that fail to adapt. Specifically, R-OFU excels in environments with abrupt changes, while SW-OFU is better suited for gradual parameter drift.

Conclusion

This paper presents a breakthrough in the control of unknown LTV systems by providing the first computationally practical algorithms with sublinear regret guarantees. Future work includes developing automated detection mechanisms for environment changes to dynamically adjust window sizes and extending these principles to non-linear dynamical systems.

Summary updated

BibTeX
@misc{han2022learning,
  author = {Yuzhen Han and Ruben Solozabal and Jing Dong and Xingyu Zhou and Martin Takác and Bin Gu},
  title = {{Learning to Control under Time-Varying Environment}},
  year = {2022},
  eprint = {2206.02507},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.02507},
}
Figure