Skip to main content
QUICK REVIEW

[Paper Review] Large Scale Model Predictive Control with Neural Networks and Primal Active Sets

Steven W. Chen, Tianyu Wang|arXiv (Cornell University)|Oct 23, 2019
Advanced Control Systems OptimizationEngineering9 citations
TL;DR

This paper proposes a hybrid explicit-implicit model predictive control (MPC) framework that uses a fully connected ReLU neural network to provide warm starts for an online primal active set solver, ensuring recursive feasibility and asymptotic stability. The method achieves a 2× speedup in online inference time compared to the best benchmark method on large-scale problems with thousands of variables.

ABSTRACT

This work presents an explicit-implicit procedure to compute a model predictive control (MPC) law with guarantees on recursive feasibility and asymptotic stability. The approach combines an offline-trained fully-connected neural network with an online primal active set solver. The neural network provides a control input initialization while the primal active set method ensures recursive feasibility and asymptotic stability. The neural network is trained with a primal-dual loss function, aiming to generate control sequences that are primal feasible and meet a desired level of suboptimality. Since the neural network alone does not guarantee constraint satisfaction, its output is used to warm start the primal active set method online. We demonstrate that this approach scales to large problems with thousands of optimization variables, which are challenging for current approaches. Our method achieves a 2x reduction in online inference time compared to the best method in a benchmark suite of different solver and initialization strategies.

Motivation & Objective

  • Address the scalability challenge of explicit MPC in high-dimensional systems with thousands of optimization variables.
  • Overcome the limitations of pure neural network approximations in MPC by ensuring constraint satisfaction and stability through an online QP solver.
  • Develop an efficient data generation method for training neural networks in high-dimensional convex sets defined by constraints.
  • Enable fast online inference with theoretical guarantees on feasibility and stability using warm starts and early termination.
  • Demonstrate that neural network-based MPC can scale to large problems while maintaining performance and safety guarantees.

Proposed method

  • Train a fully connected ReLU neural network using a primal-dual loss function based on the Lagrangian to approximate the optimal MPC control law.
  • Use the neural network's output as a warm start for an online primal active set method to accelerate convergence.
  • Apply a geometric random walk algorithm to efficiently generate large, high-dimensional training datasets of feasible states and optimal solutions.
  • Integrate early termination in the primal active set solver using a duality gap threshold to reduce online computation time while maintaining suboptimality bounds.
  • Derive certificates of primal feasibility and suboptimality from the neural network’s predictions to guarantee recursive feasibility and asymptotic stability.
  • Use the SQOPT solver with periodic suboptimality checks and adaptive tolerance reduction to balance accuracy and speed.

Experimental results

Research questions

  • RQ1Can a learned neural network control policy be combined with an online QP solver to ensure recursive feasibility and asymptotic stability in MPC for large-scale systems?
  • RQ2How can high-dimensional training data for MPC approximation be efficiently generated when standard sampling methods fail due to constraint complexity?
  • RQ3To what extent does using a neural network as a warm start improve online inference speed compared to traditional initialization methods in large-scale MPC?
  • RQ4Does early termination of the active set solver provide significant speedups when combined with neural network warm starts, and how does it affect suboptimality?
  • RQ5Can the proposed method scale to problems with thousands of optimization variables while maintaining theoretical guarantees and practical performance?

Key findings

  • The proposed method achieves a 2× reduction in online inference time compared to the best benchmark method in a standard MPC benchmark suite.
  • Neural network warm starts combined with early termination yield a 12.9× speedup over optimal solution computation, compared to only 2.2× for Hot start methods.
  • The method maintains recursive feasibility and asymptotic stability by deriving primal feasibility and suboptimality certificates from the neural network’s output.
  • Even with a suboptimality gap of 8.8%, the NN-based method achieves a 2× speedup over the Hot start baseline, demonstrating that high suboptimality is acceptable for fast inference.
  • The geometric random walk algorithm enables efficient generation of large, high-dimensional training datasets, overcoming the limitations of gridding and rejection sampling.
  • When terminated at a duality gap threshold of η < 0.1, the NN-based method is only 1.1× slower than the Hot start method, indicating minimal performance loss for high-accuracy solutions.

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.