AC4MPC: Actor-Critic Reinforcement Learning for Nonlinear Model Predictive Control
Rudolf Reiter, Andrea Ghezzi, Katrin Baumgärtner, Jasper Hoffmann, Robert D. McAllister, Moritz Diehl
TL;DR
The paper addresses the challenge of achieving high-performance control for nonlinear systems by combining model predictive control (MPC) with actor-critic reinforcement learning (RL).AC4MPC uses a trained RL critic to approximate the terminal value and an actor rollout to initialize MPC, and augments RTI with parallel solvers to enable real-time operation.The authors provide a theoretical cost-decrease guarantee that holds without requiring globally optimal MPC solutions and demonstrate its effectiveness on a snow-hill toy example and a time-optimal autonomous driving overtaking scenario.The work offers a practical framework for leveraging RL in MPC with real-time capabilities and suggests guidelines for horizon and rollout lengths and networking choices.
Abstract
\Ac{MPC} and \ac{RL} are two powerful control strategies with, arguably, complementary advantages. In this work, we show how actor-critic \ac{RL} techniques can be leveraged to improve the performance of \ac{MPC}. The \ac{RL} critic is used as an approximation of the optimal value function, and an actor roll-out provides an initial guess for primal variables of the \ac{MPC}. A parallel control architecture is proposed where each \ac{MPC} instance is solved twice for different initial guesses. Besides the actor roll-out initialization, a shifted initialization from the previous solution is used. Thereafter, the actor and the critic are again used to approximately evaluate the infinite horizon cost of these trajectories. The control actions from the lowest-cost trajectory are applied to the system at each time step. We establish that the proposed algorithm is guaranteed to outperform the original \ac{RL} policy plus an error term that depends on the accuracy of the critic and decays with the horizon length of the \ac{MPC} formulation. Moreover, we do not require globally optimal solutions for these guarantees to hold. The approach is demonstrated on an illustrative toy example and an \ac{AD} overtaking scenario.
