Data-driven online convex optimization for control of dynamical systems

Marko Nonhoff, Matthias A. MüllerCDC 2021

TL;DR

This paper introduces a novel data-driven approach to controlling dynamical systems using online convex optimization (OCO). By leveraging behavioral systems theory and only requiring output feedback, the algorithm can handle unknown system dynamics and time-varying cost functions without needing a system model, achieving sublinear regret.

What Problem Does This Paper Address?

Controlling dynamical systems often requires a precise model of the system's behavior. However, in many real-world scenarios, obtaining such a model is difficult or impossible. Furthermore, the objectives (cost functions) for control can change over time. Traditional control methods struggle with these uncertainties. Online Convex Optimization (OCO) offers a framework to tackle time-varying and unknown cost functions, but existing OCO-based control methods often still rely on system models or full state information. This paper aims to bridge this gap by developing a data-driven OCO algorithm that can control unknown linear time-invariant (LTI) systems using only output feedback and without explicit system identification.

Methods

The core of the proposed method lies in combining two key ideas:

  • Behavioral Systems Theory and the Fundamental Lemma: This theory provides a way to characterize all possible trajectories of an LTI system using a single "persistently exciting" input-output trajectory. The Hankel matrix formed from this trajectory effectively "spans" the system's behavior. This allows the algorithm to infer system properties from data without a predefined model.
  • Online Convex Optimization (OCO): The algorithm uses OCO principles to make control decisions at each time step. It essentially performs two OCO-like updates: one to estimate the optimal input and another to predict future system outputs.

The algorithm works by:

  1. Using an initial, persistently exciting input-output trajectory to construct Hankel matrices. These matrices are crucial for data-driven system analysis.
  2. Employing an OCO-based approach (similar to online gradient descent) to estimate the desired steady-state input for the system.
  3. Predicting future outputs based on the estimated system behavior and the chosen control inputs.
  4. Enforcing that the predicted trajectory reaches a desired equilibrium at the end of a prediction horizon.
  5. Crucially, the algorithm only requires output measurements, not full state information, making it more practical for many applications.

Datasets

Not discussed in the paper. The paper focuses on a theoretical framework and simulation-based evaluation.

Key Insights and Ideas

  • Data-Driven Control without Explicit System Identification: The most significant insight is the ability to perform control using only measured input-output data and behavioral systems theory, bypassing the need for traditional system identification steps.
  • Output Feedback Sufficiency: The algorithm's ability to work with only output feedback is a major practical advantage, as full state measurements are often unavailable or costly.
  • Sublinear Regret for Unknown Systems: The theoretical analysis shows that the algorithm achieves sublinear regret (a measure of performance loss compared to an ideal controller) even when the system dynamics and cost functions are unknown and time-varying, provided the cost function variations are sublinear.
  • Novel Characterization of Steady States: The paper presents a new data-driven method to characterize all possible steady states of an LTI system, which could have broader applications beyond this specific control problem.

Key Results

The paper's main result is a theoretical guarantee of sublinear dynamic regret for the proposed data-driven OCO algorithm. Specifically, Theorem 2 states that the regret $R$ is bounded by:

$R \leq C_u + C_u \sum_{t=0}^{T} ||N_t - N_{t-1}|| + C_y \sum_{t=0}^{T} ||\Theta_t - \Theta_{t-1}||$

where $C_u, C_u, C_y$ are constants, and the sums represent the variation in the optimal input ($N_t$) and output ($\Theta_t$) over time. This means the algorithm performs well if the desired steady states don't change too rapidly.

Simulations demonstrate that the algorithm effectively tracks optimal equilibria even with noisy measurements, though performance degrades with noisier data. The algorithm shows robustness to measurement noise.

Limitations and Future Work

  • Noisy Data Handling: While simulations show robustness to noise, the theoretical guarantees are primarily derived for noiseless data. The authors acknowledge that obtaining theoretical guarantees for noisy data is a direction for future work.
  • Economic Cost Functions: The current work assumes cost functions that are directly related to tracking specific steady states. Relaxing this to handle more general "economic" cost functions (common in applications like energy management) is identified as future research.
  • System Order Bound: The algorithm requires an upper bound on the system's order. Removing this requirement would further enhance its applicability.
  • Assumptions on Equilibria: The assumption that the optimal input-output pairs are always equilibria of the system is a simplification. Future work could explore scenarios where this assumption is relaxed.

Summary updated

BibTeX
@inproceedings{nonhoff2021data,
  author = {Marko Nonhoff and Matthias A. Müller},
  title = {{Data-driven online convex optimization for control of dynamical systems}},
  booktitle = {CDC},
  year = {2021},
  url = {https://openreview.net/forum?id=eFYW6e7DZSH},
}
Figure