Reliably-stabilizing piecewise-affine neural network controllers
Filippo Fabiani, Paul J. Goulart
TL;DR
This work tackles the stability challenge of neural-network approximations to model predictive control by introducing a rigorous offline framework that certifies closed-loop stability through two computable metrics: the worst-case approximation error $ar{e}_eta$ and the Lipschitz constant $\(e,X_)$. It shows how to exactly compute these quantities via mixed-integer linear programs (MILPs) and provides a stability guarantee: if these metrics satisfy certain bounds, the NN-based controller stabilizes the discretetime system with exponential convergence to a neighborhood of the origin. The approach leverages the piecewise-affine nature of ReLU networks and the explicit structure of MPC through KKT conditions, enabling a practical workflow to design minimum-complexity NN controllers that inherit MPC properties. Numerical examples with coupled oscillators demonstrate feasibility and the value of offline certification for embedded applications, where online computation must be minimal. The work thus offers a principled path toward reliable, certified NN controllers that retain MPC performance while reducing online computational burden.
Abstract
A common problem affecting neural network (NN) approximations of model predictive control (MPC) policies is the lack of analytical tools to assess the stability of the closed-loop system under the action of the NN-based controller. We present a general procedure to quantify the performance of such a controller, or to design minimum complexity NNs with rectified linear units (ReLUs) that preserve the desirable properties of a given MPC scheme. By quantifying the approximation error between NN-based and MPC-based state-to-input mappings, we first establish suitable conditions involving two key quantities, the worst-case error and the Lipschitz constant, guaranteeing the stability of the closed-loop system. We then develop an offline, mixed-integer optimization-based method to compute those quantities exactly. Together these techniques provide conditions sufficient to certify the stability and performance of a ReLU-based approximation of an MPC control law.
