Skip to main content
QUICK REVIEW

[Paper Review] Infinite-Horizon Differentiable Model Predictive Control

Sebastian East, Marco Gallieri|arXiv (Cornell University)|Jan 7, 2020
Advanced Control Systems OptimizationEngineering27 references6 citations
TL;DR

This paper proposes a differentiable, infinite-horizon linear quadratic MPC framework that ensures closed-loop stability via the discrete-time algebraic Riccati equation (DARE). By deriving the analytical gradient of the DARE solution, the method enables gradient-based training for imitation learning while enforcing hard constraints through an augmented Lagrangian and pre-stabilizing control, achieving stable, robust control with short prediction horizons.

ABSTRACT

This paper proposes a differentiable linear quadratic Model Predictive Control (MPC) framework for safe imitation learning. The infinite-horizon cost is enforced using a terminal cost function obtained from the discrete-time algebraic Riccati equation (DARE), so that the learned controller can be proven to be stabilizing in closed-loop. A central contribution is the derivation of the analytical derivative of the solution of the DARE, thereby allowing the use of differentiation-based learning methods. A further contribution is the structure of the MPC optimization problem: an augmented Lagrangian method ensures that the MPC optimization is feasible throughout training whilst enforcing hard constraints on state and input, and a pre-stabilizing controller ensures that the MPC solution and derivatives are accurate at each iteration. The learning capabilities of the framework are demonstrated in a set of numerical studies.

Motivation & Objective

  • To develop a differentiable MPC framework that ensures closed-loop stability for imitation learning in safety-critical systems.
  • To enable gradient-based optimization of MPC cost functions by deriving the analytical derivative of the DARE solution.
  • To enforce hard state and input constraints robustly during training using an augmented Lagrangian method.
  • To improve numerical accuracy and conditioning of the MPC optimization via a pre-stabilizing linear feedback controller.
  • To demonstrate that short finite prediction horizons can achieve infinite-horizon performance and stability guarantees.

Proposed method

  • The infinite-horizon cost is derived from the solution of the discrete-time algebraic Riccati equation (DARE), ensuring stabilizing properties in closed-loop.
  • An analytical derivative of the DARE solution is derived using matrix calculus, enabling backpropagation through the stationary solution.
  • A pre-stabilizing linear state-feedback controller is applied to improve QP conditioning and numerical accuracy of the MPC solution.
  • The MPC optimization uses an augmented Lagrangian method to enforce hard constraints on states and inputs, guaranteeing feasibility throughout training.
  • The total control input is computed as a perturbation from the pre-stabilized feedback, ensuring stability and accurate gradient computation.
  • Differentiable quadratic programming (QP) solvers are used to enable end-to-end training of the MPC cost matrices via backpropagation.

Experimental results

Research questions

  • RQ1Can the solution of the discrete-time algebraic Riccati equation (DARE) be made fully differentiable to support gradient-based learning in MPC?
  • RQ2How can hard constraints on states and inputs be enforced during training while maintaining feasibility and convergence?
  • RQ3Can a short finite prediction horizon in MPC achieve infinite-horizon stability and performance guarantees?
  • RQ4What role does a pre-stabilizing controller play in improving the numerical accuracy and conditioning of the MPC optimization and gradient computation?
  • RQ5To what extent can imitation learning recover the true cost function of an expert MPC controller using differentiable MPC with DARE-based terminal cost?

Key findings

  • The proposed method successfully learns the true cost matrices $ Q $ and $ R $ for a mass-spring-damper system, with imitation loss converging to low values, especially for longer prediction horizons ($ N = 15, 20 $).
  • For the vehicle platooning model, all learned controllers satisfied hard constraints on inter-vehicle separation and converged to the correct steady-state spacing, even with $ N = 5 $.
  • Prediction errors were minimized for $ N = 20 $, indicating accurate long-term forecasting and effective use of the infinite-horizon cost, while shorter horizons showed larger errors when constraints were active.
  • The analytical derivative of the DARE solution enabled stable and accurate gradient computation, allowing convergence to local minima in both test cases.
  • The augmented Lagrangian method ensured strict constraint satisfaction and problem feasibility throughout training, even when constraints were active.
  • The pre-stabilizing controller significantly improved the conditioning of the QP and enhanced the accuracy of the MPC solution and its gradients.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.