TL;DR
The authors introduce Actor-Critic Model Predictive Control (AC-MPC), a framework that embeds a differentiable MPC module directly into an actor-critic reinforcement learning pipeline. By combining RL’s long-term reasoning with MPC’s short-term dynamics-aware optimization, they achieve superhuman drone racing performance (up to 21 m/s) with significantly better robustness and out-of-distribution generalization than standard neural network policies.
What Problem Does This Paper Address?
In the world of robotics, there is a long-standing tension between Model Predictive Control (MPC) and Reinforcement Learning (RL).
MPC is the "classical" choice: it uses a physics model to plan actions over a short horizon. It is robust and handles system constraints well, but it requires experts to manually "hand-craft" cost functions and struggles with complex, high-level tasks where the "best" path isn't obvious.
RL is the "modern" choice: it learns from trial and error to optimize any reward signal. While flexible, RL policies (typically Multilayer Perceptrons or MLPs) are often "black boxes" that lack physical priors. This makes them brittle when faced with "out-of-distribution" (OOD) scenarios—like a sudden wind gust or a change in the robot's weight—and requires millions of samples to train.
The authors aim to bridge this gap: How can we create a controller that has the flexibility of RL but the physical groundedness and online replanning capabilities of MPC?
Methods
The core innovation is the AC-MPC architecture. Instead of the actor network outputting raw control commands (like motor thrusts), it outputs the parameters of a cost function ($Q$ and $p$ matrices) for a differentiable MPC module.
- Differentiable MPC as a Layer: The MPC is treated as the final "layer" of the actor policy. Because the solver is differentiable, the RL algorithm can backpropagate gradients through the optimization process to update the neural network that generates the costs.
- Neural Cost Map: A deep network maps raw observations to the MPC's quadratic cost coefficients. This allows the agent to learn "mode-switching"—for example, changing its cost priorities as it approaches a racing gate.
- Model Predictive Value Expansion (MPVE): The authors extend the framework by using the MPC’s short-term state predictions to "augment" the critic’s training. This re-uses the solver's work to improve the value function estimate, leading to better sample efficiency.
- Diagonal Parameterization: They empirically demonstrate that constraining the learned cost matrix ($Q$) to be diagonal makes the learning problem much more tractable than using full or Cholesky decompositions.
Datasets
The system was evaluated using:
- Flightmare & NeuroBEM: Simulators ranging from basic quadrotor dynamics to high-fidelity models incorporating complex aerodynamic effects (Blade Element Momentum theory).
- Racing Tracks: Four distinct configurations—Horizontal, Vertical, Circular, and the highly demanding "SplitS" track designed by professional pilots.
- Real-World Deployment: A physical "4s" quadrotor platform equipped with the Agilicious control stack, tested in a motion-capture arena.
Key Insights and Ideas
- Two Time Scales: The architecture naturally splits the labor. The MPC handles the immediate, short-term physics and constraints (the "how"), while the RL critic manages the long-term strategic value (the "where").
- The Hessian-Value Connection: One of the most striking findings is a systematic analysis showing that the Hessian of the learned value function closely matches the quadratic cost matrices generated by the neural network. This provides a theoretical bridge, suggesting that the RL agent is essentially learning to approximate the curvature of the optimal "cost-to-go."
- Prior Knowledge as a Regularizer: By embedding the dynamics model into the policy, the agent starts with a "common sense" understanding of flight. This allows it to use significantly less exploration noise during training compared to standard MLP-based RL.
Key Results
- Superhuman Performance: The AC-MPC reached speeds of 21 m/s in the real world, matching state-of-the-art model-free RL.
- Extreme Robustness: In tests where the drone's mass was increased by 27% or its inertia changed by 80% without retraining, AC-MPC maintained high success rates while standard RL policies (AC-MLP) crashed.
- Disturbance Rejection: When subjected to a wind gust equivalent to 1.5x the drone's weight, AC-MPC achieved an 83.3% success rate, compared to just 6.5% for the standard RL baseline.
- Sample Efficiency: The MPVE extension significantly sped up training, particularly in scenarios with limited memory or non-episodic tasks.
Limitations and Future Work
- State Constraints: The current differentiable MPC solver only supports input constraints (e.g., max thrust). It does not natively handle state constraints, meaning safety-critical limits like "don't hit that wall" must still be handled via reward penalties rather than hard optimization constraints.
- Computational Cost: Training is roughly 30x slower than standard RL because every forward and backward pass requires solving a batch of optimization problems. While inference is fast enough for real-time flight (50Hz+), the training bottleneck remains.
- Solver Reliability: The system assumes the MPC solver will always converge. In extreme edge cases with ill-conditioned cost weights, the solver might fail, leading to invalid control actions.
Future work suggests moving toward more efficient C++ implementations and developing differentiable solvers that natively support hard state constraints for even safer agile flight.
Summary updated