On the equivalence of direct and indirect data-driven predictive control approaches

Per Mattsson, Fabio Bonassi, Valentina Breschi, Thomas B. Schön · DOI

TL;DR

This paper reveals a fundamental equivalence between seemingly different "direct" and "indirect" data-driven predictive control (DDPC) methods. By reformulating direct DDPC approaches in terms of estimated model parameters and their uncertainties, the authors provide crucial insights into their behavior, particularly how they relate to traditional Subspace Predictive Control (SPC) and why their performance can degrade with more data.

What Problem Does This Paper Address?

Data-driven control aims to design controllers using only historical input-output data, bypassing the need for explicit system models. Within this, Data-Driven Predictive Control (DDPC) is a popular paradigm. DDPC methods can be broadly categorized into "direct" and "indirect" approaches. Indirect methods first identify a system model from data and then use this model for predictive control (similar to traditional Model Predictive Control). Direct methods, on the other hand, aim to design the controller directly from data without explicitly forming a parametric model.

While both approaches leverage historical data, their underlying mechanisms and relationships have been a subject of debate. This paper addresses the question of how these direct DDPC methods truly work and how they relate to established indirect methods, particularly Subspace Predictive Control (SPC). A key challenge is understanding the impact of data quantity and tuning parameters on the performance of direct DDPC methods, especially when dealing with noisy data.

Methods

The core of this paper is a theoretical reformulation that establishes an equivalence between various direct DDPC methods and a specific "relaxed indirect" approach. This indirect approach incorporates a "slack variable" into the predictor, which can adjust the predicted outputs without directly altering the inputs.

The authors achieve this by:

  • Representing direct DDPC as a linear regression problem: They show how direct methods, like those in [3, 4], can be framed as finding a linear combination of historical data points (regressors) to predict future outputs.
  • Introducing a slack variable: This slack variable is constrained to lie within the subspace spanned by prediction errors from the training data. This allows the predictor to compensate for noise or model mismatch.
  • Establishing equivalence: They prove that direct DDPC methods, under certain conditions (e.g., quadratic cost functions), are mathematically equivalent to this relaxed indirect formulation. This equivalence holds even without assumptions on data length or noise characteristics.
  • Analyzing the role of regularization: The paper connects the regularization terms used in direct DDPC methods to the penalty on this slack variable in the indirect formulation.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and uses a simulated system for its numerical experiment.

Key Insights and Ideas

  • Direct DDPC is a "regularized" SPC: The paper reveals that direct DDPC methods are essentially equivalent to Subspace Predictive Control (SPC) but with an implicit regularization that effectively reduces the weight on the tracking cost. This means they prioritize control actions over precisely matching a reference trajectory, especially in unconstrained scenarios.
  • The "slack variable" is key: The reformulation highlights the crucial role of the slack variable in the indirect approach. This variable allows the predictor to adapt to noisy data or model imperfections without needing an explicit model. In direct methods, this adaptation is implicitly handled.
  • Data length matters (and can hurt): The paper explains why direct DDPC performance can degrade as the amount of training data increases, particularly when regularization is fixed. As more data becomes available, the system's estimated covariance matrix becomes more accurate, leading to a greater reliance on the slack variable. If the slack variable isn't sufficiently penalized, this can lead to suboptimal tracking performance.
  • Tuning is delicate: The equivalence shows that tuning parameters in direct DDPC methods are intimately linked to how the slack variable is penalized. This suggests that fixed regularization weights might not be optimal across different data lengths, a problem that methods like $\gamma$-DDPC [7] aim to address by penalizing the slack variable separately.

Key Results

  • Theoretical Equivalence: The paper formally proves the equivalence between direct DDPC methods (specifically those using $l_2$-norm or "identification induced regularizers") and a relaxed indirect predictive control formulation with a slack variable.
  • Unconstrained Case: For unconstrained problems with quadratic costs, direct DDPC methods are shown to be equivalent to SPC with a reduced tracking cost weight.
  • Numerical Illustration: A simulation experiment demonstrates that for a fixed regularization parameter ($\lambda_2$), the mean squared slack variable ($\Delta\tilde{y}$) increases with the number of training samples ($N$). This confirms the theoretical insight that direct DDPC methods can degrade in performance with more data if not tuned appropriately. The experiment also shows that the direct DDPC methods can perform worse than slack-free SPC in certain scenarios.

Limitations and Future Work

  • Specific Regularizers: The analysis primarily focuses on $l_2$-norm and "identification induced regularizers" for the direct methods. The authors mention that extending the analysis to other regularizers (e.g., $l_1$-norm) is a direction for future work.
  • Constraints: While the paper discusses the role of constraints in influencing the slack variable, a deeper analysis of how constraints interact with the slack variable in direct DDPC methods could be explored further.
  • Nonlinear Systems: The current analysis is largely based on linear system assumptions. Extending the equivalence to nonlinear systems, which are also addressed by some DDPC methods, would be a valuable extension.
  • Practical Tuning: The paper highlights the tuning challenges. Future work could focus on developing more robust and data-length-aware tuning strategies for direct DDPC methods.

Summary updated

BibTeX
@article{mattsson2024equivalence,
  author = {Per Mattsson and Fabio Bonassi and Valentina Breschi and Thomas B. Schön},
  title = {{On the equivalence of direct and indirect data-driven predictive control approaches}},
  journal = {IEEE Control. Syst. Lett.},
  year = {2024},
  doi = {10.1109/lcsys.2024.3403473},
}
Figure