Online Learning Based Risk-Averse Stochastic MPC of Constrained Linear Uncertain Systems

Chao Ning, Fengqi You · DOI

Introduction

In real-world control applications, such as robotics and chemical process control, systems are frequently subjected to stochastic disturbances. The statistical properties of these disturbances are often unknown or may shift over time. Traditional Stochastic Model Predictive Control (SMPC) typically relies on the assumption of a perfectly known noise distribution. When this assumption fails, the system risks violating safety constraints. Conversely, Robust MPC approaches often assume worst-case scenarios, leading to overly conservative and inefficient performance.

This paper presents a data-driven SMPC framework designed to bridge this gap. By learning the probability distribution of system disturbances online using a nonparametric Dirichlet Process Mixture Model (DPMM) and employing Conditional Value-at-Risk (CVaR) constraints, the proposed controller adapts to unknown, multimodal, and time-varying noise patterns while maintaining rigorous theoretical guarantees for stability and recursive feasibility.

Methodology

The framework introduces several key innovations to enable "learning while controlling" without compromising system safety.

Nonparametric Noise Learning via DPMM

Rather than assuming noise follows a single Gaussian distribution, the controller utilizes a Dirichlet Process Mixture Model (DPMM). This nonparametric approach allows the system to automatically determine the complexity of the noise—such as the number of clusters or "modes"—directly from observed data. This is particularly effective for capturing complex, multi-peaked noise distributions that global statistics (like simple mean and variance) often fail to represent.

Risk-Averse Constraints and LMI Reformulation

To manage safety, the framework employs Conditional Value-at-Risk (CVaR) constraints. Unlike standard chance constraints that only limit the probability of failure, CVaR penalizes the expected magnitude of the worst-case violations. This makes the controller more resilient to "tail risks."

To ensure the approach is computationally viable for real-time applications, the authors mathematically reformulate these distributionally robust CVaR constraints into Linear Matrix Inequalities (LMIs). This transformation allows the optimization problem to be solved efficiently by standard numerical solvers during each sampling interval.

The Safe Update Scheme

A primary challenge in online learning for control is ensuring that updates to the noise model do not jeopardize system stability. A sudden shift in the estimated noise distribution could render a previously feasible control path invalid. The authors implement a "safe update" logic: the controller only adopts a newly learned noise model if it can be proven that a feasible control path exists under the updated constraints. If feasibility cannot be guaranteed, the system falls back to the previous known-safe model, ensuring recursive feasibility.

Experimental Results

The proposed method was evaluated using numerical benchmarks, including a constrained double integrator and a high-dimensional (4-state, 2-input) linear system.

Performance and Safety

In scenarios featuring multimodal noise, the DPMM-based approach reduced the average closed-loop cost by 9.77% compared to traditional distributionally robust methods. The accuracy of the DPMM allowed for tighter safety margins without increasing risk.

When tested against sudden increases in noise levels (e.g., a jump in standard deviation from 0.005 to 0.3), the online learning MPC maintained a constraint violation rate of 7.2%, well within the specified 15% limit. In contrast, a non-learning controller experienced a violation spike to 22.3%, demonstrating the necessity of online adaptation.

Computational Efficiency

The framework proved practical for real-time use. On average, online learning required 0.344 seconds, while constraint tightening took 0.121 seconds. These timings indicate the method is suitable for systems with sampling rates in the hertz range.

Conclusion and Future Work

This research demonstrates that combining nonparametric machine learning with risk-averse control theory can significantly improve the performance and safety of systems operating under uncertain disturbances. The "Safe Update" mechanism provides a critical bridge, allowing for the integration of flexible learning models into the rigorous framework of MPC.

Future work may focus on extending these theoretical guarantees to nonlinear dynamics, which would require new mathematical reformulations. Additionally, while the DPMM is nonparametric, the current implementation uses Gaussian base components; exploring other distributions could further enhance flexibility for highly skewed or heavy-tailed noise profiles.

Summary updated

BibTeX
@article{ning2020online,
  author = {Chao Ning and Fengqi You},
  title = {{Online Learning Based Risk-Averse Stochastic MPC of Constrained Linear Uncertain Systems}},
  journal = {Automatica},
  year = {2020},
  doi = {10.1016/j.automatica.2020.109402},
}
Figure