DMPC: A data-and model-driven approach to predictive control

Hassan Jafarzadeh, Cody Fleming

TL;DR

DMPC (Data-and Model-Driven Predictive Control) is a hybrid control framework that combines the reliability of physics-based models with the flexibility of "black-box" machine learning. It allows systems to optimize trajectories even when parts of the environment or cost function are completely unknown, providing mathematical guarantees for safety and performance improvement over successive trials.

What Problem Does This Paper Address?

In safety-critical fields like robotics and autonomous driving, we often face a dilemma. Traditional Model Predictive Control (MPC) is great because it uses physics to predict the future, but it fails when the environment is too complex to model (e.g., predicting wireless signal interference or complex aerodynamic turbulence). On the other hand, Reinforcement Learning (RL) can handle these "black-box" variables but is notoriously sample-inefficient and often ignores hard safety constraints during the learning process.

The authors tackle the challenge of controlling a system where the basic physics are known, but specific costs or constraints are hidden inside an exogenous data-driven system (like a neural network). The goal is to find an optimal path without needing a pre-defined reference trajectory or millions of trial-and-error simulations.

Methods

DMPC merges two worlds by splitting the control problem into a known "model-driven" part and an unknown "data-driven" part.

  1. Hybrid Cost Function: The controller minimizes a cost that includes a standard mathematical term (e.g., distance to goal) and a "black-box" term predicted by an external system (like an LSTM or Gaussian Process).
  2. Iterative Learning Logic: Borrowing from Iterative Learning Control (ILC), DMPC treats each trip from start to finish as an "iteration." It uses the trajectory from the previous successful run to guide the current one.
  3. Terminal State Selection: To guarantee that the controller doesn't get stuck or violate constraints, DMPC enforces a rule: the "end" of its short-term planning horizon must be a state that existed in the previous successful trajectory. This acts as a "safety net," ensuring the system always has a known feasible path to the finish line.
  4. Receding Horizon Optimization: At each time step, it compares a newly optimized path against a "shifted" version of the previous path, selecting whichever is cheaper.

Datasets

The paper does not use a standard static dataset. Instead, it evaluates the algorithm using a simulated kinematic bicycle model of an autonomous vehicle. The "data" is generated online as the vehicle interacts with an environment containing a non-convex, unknown cost function (representing uneven terrain or dangerous zones).

Key Insights and Ideas

  • The "Safety Net" Trajectory: The most clever insight is using the entirety of the previous iteration's trajectory as a set of candidate terminal states. This bypasses the need to calculate complex "control invariant sets" (a common headache in MPC) while still guaranteeing that the system won't fail in the next step.
  • Sample Efficiency over RL: Because DMPC knows the underlying physics of the vehicle, it doesn't have to "learn" how to drive from scratch. It only needs to learn the "shape" of the unknown cost function, making it far faster than pure RL.
  • Mathematical Guarantees: The authors provide proofs for recursive feasibility (if it worked once, it will work again) and asymptotic stability, ensuring the system actually reaches its goal rather than just wandering around.

Key Results

The authors compared DMPC against PILCO, a state-of-the-art Gaussian Process-based MPC method:

  • Convergence: DMPC reached a locally optimal solution in just 4 iterations.
  • Data Efficiency: DMPC required fewer than 2,900 data samples, whereas PILCO required 5,600 samples to achieve similar results.
  • Computational Speed: DMPC ran in half the time required by the GP-based approach.
  • No Reference Needed: Unlike many predictive controllers, DMPC successfully found the optimal path starting from a sub-optimal initial guess without needing a "perfect" human-provided reference.

Limitations and Future Work

  • Initial Feasibility: DMPC assumes you can find at least one feasible (even if very bad) path to the goal to start the first iteration. If the environment is so cluttered that a starting path cannot be found, the algorithm cannot begin.
  • Computational Complexity: The method uses integer programming to select the best terminal state from the previous path. As the trajectories get longer (more states), the search space grows exponentially ($O(2^T)$), which could slow down real-time performance on low-power hardware.
  • Black-Box Reliability: The system's performance is ultimately tied to the accuracy of the "black-box" predictor. If the machine learning model gives wildly incorrect predictions, the "optimal" trajectory will be flawed.

Future work could involve optimizing the integer programming step or extending the framework to handle dynamic obstacles that change between iterations.

Summary updated

BibTeX
@article{jafarzadeh2021dmpc,
  author = {Hassan Jafarzadeh and Cody Fleming},
  title = {{DMPC: A data-and model-driven approach to predictive control}},
  journal = {Automatica},
  year = {2021},
  url = {https://openreview.net/forum?id=Bo59Fzdoj5E},
}

Loading related content...

Figure