Abstract
This paper introduces Differentiable Robust Model Predictive Control (DT-MPC), a framework that enables robotic systems to automatically tune their own robustness parameters in real-time. By applying the Implicit Function Theorem (IFT) to tube-based MPC, the authors facilitate efficient gradient-based optimization of controller parameters. This allows robots to adapt to large disturbances and complex environments more effectively than standard fixed-parameter robust controllers, achieving significant improvements in success rates and safety across various benchmarks.
Introduction
Model Predictive Control (MPC) is a cornerstone of modern robotics, yet it frequently encounters a "robustness gap." Standard deterministic MPC assumes a perfect model; however, real-world factors like wind, friction, and sensor noise often cause robots to drift or crash. Tube-based MPC addresses this by splitting the controller into two layers: a nominal layer for path planning and an ancillary layer to keep the robot within a safe "tube" around that path.
Despite its benefits, tube-based MPC is difficult to tune. Parameters such as cost weights and safety margins are typically hand-tuned offline for specific scenarios. If the environment changes—for instance, a quadrotor moving from a calm room to a gusty corridor—fixed parameters may become overly conservative or dangerously aggressive. This research aims to make these parameters learnable and adaptive online.
Methodology
The authors propose a Differentiable Optimal Control (DOC) framework built on several key technical innovations:
- Implicit Function Theorem (IFT): Rather than "unrolling" optimization steps—which is memory-intensive and numerically unstable—the framework uses the IFT to compute exact gradients of the controller's output with respect to its parameters. This ensures $O(N)$ time complexity and $O(1)$ memory complexity, enabling real-time performance.
- Discrete Barrier States (DBaS): To handle safety constraints like obstacle avoidance, barrier functions are embedded directly into system dynamics, creating a differentiable format for the optimizer.
- DT-MPC Architecture: This differentiable logic is wrapped around a tube-based MPC structure. The robot monitors its own performance (e.g., drift from the nominal path) and performs gradient descent on its controller parameters at every time step.
Experimental Evaluation
The approach was evaluated across five nonlinear robotic simulations and one hardware testbed:
- Simulated Systems: Dubins Vehicle, Quadrotor (navigating 30 obstacles), 6-DOF Robot Arm, and locomotion tasks (Cheetah and Quadruped) from the DeepMind Control Suite.
- Hardware: A differential drive robot on the Robotarium testbed, tasked with navigating a corridor while avoiding dynamic obstacles not seen during training.
Results and Discussion
DT-MPC demonstrated substantial performance gains over non-adaptive tube-based MPC (NT-MPC). In the Quadrotor task, DT-MPC achieved a 76% success rate compared to just 14% for the baseline. For the Dubins vehicle, it reached 100% success versus the baseline's 14%. In robot arm experiments, safety violations were reduced from 56% to 10%.
Key insights from these results include:
- Online "Tube" Reshaping: The robot dynamically adjusts its uncertainty tube. When obstacles are distant, it prioritizes speed; near tight gaps, the gradients push the ancillary controller to track more aggressively, effectively shrinking the tube to ensure safety.
- Numerical Superiority: IFT-based gradients proved significantly more accurate than unrolling solver iterations, particularly when the solver has not perfectly converged.
- Recursive Feasibility: Relaxed barrier functions ensure the controller remains mathematically stable even under massive disturbances.
Conclusion
DT-MPC provides a robust, scalable method for real-time parameter adaptation in robotics. While the framework currently relies on a reasonably accurate nominal physics model and may be subject to local minima, its ability to handle out-of-distribution disturbances is a major advancement. Future work will focus on extending the framework to learn dynamical uncertainty models alongside controller parameters using neural networks.
Summary updated