TL;DR
This paper introduces an "online gradient descent" (OGD) algorithm for controlling linear dynamical systems with unknown and time-varying cost functions. The key innovation is adapting OGD to account for the system's dynamics, achieving sublinear regret (meaning the algorithm performs nearly as well as the best possible fixed strategy over time) when the cost functions change smoothly.
What Problem Does This Paper Address?
Controlling dynamical systems often involves minimizing a cost function (e.g., energy consumption, error) over time. Traditional methods like Model Predictive Control (MPC) require knowing the cost function and system dynamics precisely, and solving complex optimization problems at each step. This can be computationally expensive and impractical when the cost function changes unpredictably or is unknown a priori. This paper tackles the challenge of controlling linear systems in such uncertain, dynamic environments by leveraging the framework of online convex optimization (OCO). The goal is to develop a control strategy that can adapt to changing costs and still perform well, measured by "regret" – the difference between the algorithm's total cost and the cost of the best possible fixed strategy in hindsight.
Methods
The core of the paper is an adaptation of the Online Gradient Descent (OGD) algorithm, a standard tool in OCO, to the context of linear dynamical systems. The challenge lies in the fact that a dynamical system cannot instantly jump to any desired state or input, unlike in standard OCO where actions can be chosen independently.
The proposed algorithm, Algorithm 1, works in discrete time steps. At each step, it:
- Predicts future states and inputs: It uses the system dynamics and past information to predict how the system will evolve over a short horizon (determined by the system's "controllability index," denoted by $\mu$).
- Applies OGD twice: It essentially runs two OGD-like processes: one to track the optimal input ($\eta_t$) and another to influence the predicted system states towards the optimal state ($\theta_t$).
- Handles system dynamics: Crucially, it incorporates the system's linear dynamics ($x_t = Ax_{t-1} + Bu_{t-1}$) into the update rule. This involves using matrix operations (like $W$ and $e$) to manage state and input transformations over the prediction horizon.
- Derives regret bounds: The authors provide theoretical guarantees on the algorithm's performance, showing that its regret is sublinear if the "path length" (a measure of how much the optimal states and inputs change over time) is also sublinear.
Datasets
Not discussed in the paper. The evaluation is performed using numerical simulations with randomly generated system matrices and cost function parameters.
Key Insights and Ideas
- Bridging OCO and Dynamical Systems: The paper successfully bridges the gap between classical OCO (where actions are independent) and controlling dynamical systems (where actions are constrained by system dynamics). This is a significant step towards applying online learning in real-world control scenarios.
- Sublinear Regret for Dynamic Costs: The core theoretical result is that the proposed OGD variant can achieve sublinear regret even when the cost functions are time-varying, provided the changes are not too drastic (i.e., sublinear path length). This is a strong guarantee for adaptive control.
- Convergence to Optimal Equilibrium: In a special case where the cost functions become constant after a finite time, the algorithm is shown to converge to the optimal equilibrium. This demonstrates its ability to find stable operating points.
- Importance of System Properties: The algorithm's performance is linked to system properties like controllability and the norm of the state transition matrix ($A$). These factors influence the step sizes and the achievable regret bounds.
Key Results
- Theoretical Regret Bound: Theorem 5 establishes an upper bound on the regret of Algorithm 1, which is linear in the "path length" of the optimal states and inputs ($\Theta_T$ and $H_T$).
- Sublinear Regret Condition: Corollary 7 states that if the path length is sublinear in time $T$, then the regret of the proposed algorithm is also sublinear in $T$. This is the main performance guarantee.
- Numerical Simulations: Simulations show that the closed-loop system closely tracks desired setpoints and converges quickly when the cost function changes. The total cost was observed to grow linearly with the path length, consistent with the theoretical findings.
Limitations and Future Work
- No Constraints: The current algorithm does not consider state or input constraints, which are crucial in many practical control problems.
- Economic Cost Functions: The paper assumes a specific form of cost function (separable, strongly convex, and smooth). Relaxing this to more general "economic cost functions" (often used in MPC) is a direction for future research.
- Predictions: The current algorithm does not use predictions of future cost functions. Incorporating such predictions could potentially improve performance.
- Generalization: Extending the approach to non-linear systems or more complex cost functions would be valuable.
Summary updated