Data-driven distributionally robust MPC for systems with uncertain dynamics

Francesco Micheli, Tyler H. Summers, John Lygeros

Introduction

Model Predictive Control (MPC) has established itself as a cornerstone of modern industrial automation and robotics, primarily due to its ability to handle multi-variable systems and explicit constraints. However, the efficacy of traditional MPC is often limited by its reliance on accurate mathematical models. In real-world applications, controllers face two primary forms of uncertainty: parametric uncertainty, where the underlying physics (e.g., system matrices) are not perfectly known, and additive noise, representing stochastic disturbances whose distributions are often unknown and potentially non-Gaussian.

To address these challenges, researchers have historically turned to Robust MPC (RMPC) or Stochastic MPC (SMPC). RMPC often proves overly conservative by optimizing for the absolute worst-case scenario, while SMPC requires precise knowledge of noise distributions—a luxury rarely available in practice. This paper proposes a middle ground: a Data-driven Distributionally Robust MPC (DRMPC) framework. By utilizing Wasserstein ambiguity sets, the framework optimizes against the worst-case distribution within a defined neighborhood of the observed data, providing a robust yet high-performance control strategy.

Methodology

The proposed DRMPC framework is built upon a $T$-step predictor learned from offline trajectory data. The core innovation lies in how the framework handles the propagation of uncertainty through the system's dynamics.

Wasserstein Ambiguity Sets

Rather than assuming a single fixed distribution for system noise, the authors define an ambiguity set—a "ball" of potential distributions—using the Wasserstein metric. The center of this ball is the empirical distribution derived from available data, and its radius $\epsilon$ represents the uncertainty budget. A critical distinction in this work is the use of decision-dependent sets. Unlike standard Distributionally Robust Optimization (DRO), the center of the ambiguity set in this formulation shifts based on control inputs. This captures the reality that model errors propagate differently depending on the system's trajectory.

Safety via CVaR Constraints

To ensure system safety, the framework employs Conditional Value-at-Risk (CVaR) constraints. Unlike simple chance constraints that only bound the probability of failure, CVaR bounds the expected severity of "tail events" (the worst-case outcomes beyond a certain confidence threshold). This provides a more rigorous safety buffer for critical systems.

Computational Tractability

A significant contribution of this research is the proof that for piecewise affine costs and constraints, the distributionally robust problem—which is inherently infinite-dimensional—can be reformulated into a finite-dimensional convex optimization problem. This allows the controller to be implemented using standard, high-speed numerical solvers, making it viable for real-time applications.

Practical Implementation: Radius Estimation

One of the primary hurdles in applying Wasserstein-based DRO is selecting the uncertainty radius $\epsilon$. Theoretical bounds are often too conservative for practical use. The authors address this by introducing a data-driven "leave-one-out" cross-validation algorithm. This method allows practitioners to estimate a tighter, more effective radius directly from the available offline data, balancing safety and performance.

Experimental Results

The framework was evaluated using a synthetic 2D discrete-time linear time-invariant (LTI) system. The experiments focused on scenarios with limited data, using between 10 and 40 trajectories of length $T=5$, subjected to Gaussian additive disturbances.

Key Findings

  • Safety Guarantees: The DRMPC approach provided robust safety guarantees. Even with as few as 10 data samples, the controller maintained state constraints effectively.
  • Comparison with SAA: When compared to Sample Average Approximation (SAA) MPC, the DRMPC framework showed significantly fewer constraint violations. While SAA often failed in "data-poor" regimes due to over-fitting the empirical distribution, DRMPC remained reliable.
  • Performance Trade-offs: The results highlighted a clear trade-off: increasing the Wasserstein radius improves safety (reducing violations) but increases the control cost. However, as the sample size $N$ increases, the performance of DRMPC converges toward the optimal stochastic control, demonstrating its efficiency in both data-poor and data-rich environments.

Conclusion and Future Directions

This paper provides a mathematically rigorous yet practical framework for controlling systems with uncertain dynamics and noise. By robustifying against distributional mismatch in predicted trajectories, the authors simplify the optimization process while maintaining high safety standards via CVaR.

While the current work focuses on LTI systems, it opens several avenues for future research. Extending the framework to nonlinear dynamics and proving recursive feasibility—ensuring that a valid control solution will always exist in future time steps—remain important challenges for the broader adoption of DRMPC in complex, autonomous systems.

Summary updated

BibTeX
@inproceedings{micheli2022data,
  author = {Francesco Micheli and Tyler H. Summers and John Lygeros},
  title = {{Data-driven distributionally robust MPC for systems with uncertain dynamics}},
  booktitle = {CDC},
  year = {2022},
  doi = {10.1109/cdc51059.2022.9992469},
}
Figure