Model Predictive Control (MPC) is traditionally built on a "model-first" philosophy: if you can identify a perfect mathematical model of your system's physics, you can solve an optimization problem to find the perfect control actions. However, in the real world, models are almost always wrong. When the internal model used by the controller doesn't match the actual plant, the resulting control actions become suboptimal or even unsafe.
A growing body of research, led by researchers like Mario Zanon and Sebastien Gros, suggests a counter-intuitive solution: instead of trying to fix the model, we should "warp" the controller's objective function to compensate for the model's flaws.
The Controller as a Function Approximator
In standard Reinforcement Learning (RL), we often use Deep Neural Networks to approximate an optimal policy. While powerful, these "black-box" models struggle with safety constraints and lack interpretability. This research direction reframes MPC as a "structured function approximator" for RL.
As demonstrated in Data-Driven Economic NMPC Using Reinforcement Learning, an MPC scheme can deliver an optimal control policy even if its underlying physics model is incorrect. The key is to treat the stage costs and terminal costs as learnable parameters. By tuning these parameters using data-driven feedback, the controller learns to "want" things that lead to optimal behavior in the real world, effectively absorbing the errors of the physics model into the cost function.
Tricking the Planner into Success
Why does this work? Most MPC implementations suffer from inherent limitations: short prediction horizons, linearization errors, or unmodeled disturbances. Avik Jain and Anca D. Dragan argue in Optimal Cost Design for Model Predictive Control that we should design "surrogate" cost functions that purposefully trick the planner.
If a robot's model underestimates friction, a standard cost function will lead to overshooting. Instead of spending months refining the friction model, we can adjust the cost function to penalize velocity more heavily than the "ground truth" task requires. The planner, trying to minimize this surrogate cost, will produce the correct physical behavior. The cost function acts as a buffer that translates between the flawed internal world of the controller and the messy reality of the plant.
Bridging Control Theory and Reinforcement Learning
This approach provides a mathematical bridge between the two fields. Arash Bahari Kordabad and Mario Zanon proved in Equivalency of Optimality Criteria of Markov Decision Process and Model Predictive Control that a finite-horizon MPC scheme with an inexact model can perfectly capture the optimal policy of a complex Markov Decision Process (MDP) simply by adjusting its costs.
This synthesis allows for several practical advantages:
- Safety: You can use the hard constraints of MPC to ensure the system stays within safe bounds while using RL to optimize performance (Synthesis of Model Predictive Control and Reinforcement Learning).
- Efficiency: By reframing the problem as offline supervised learning, researchers like Shambhuraj Sawant have shown that high-performance controllers can be trained from "big data" without solving expensive optimization problems during the training loop (Learning-based MPC from Big Data Using Reinforcement Learning).
- Robustness: In applications like battery fast-charging, this method can achieve significant performance gains even with a 50% model-plant mismatch by using Bayesian Optimization to tune cost weights over multiple cycles (Safe Learning-Based Optimization of Model Predictive Control).
Ultimately, this direction shifts the focus from system identification (building a better model) to performance optimization (building a better behavior), using the cost function as the primary lever for correction.