Mapping back and forth between model predictive control and neural networks
Ross Drummond, Pablo R Baldivieso-Monasterios, Giorgio Valmorbida
TL;DR
This work establishes an exact correspondence between linear-quadratic MPC and implicit neural networks, showing that the MPC solution $\mathbf{u}^*(x)$ can be represented as the fixed point of an implicit NN $y(x)=W\phi(y(x))+Yx+b$ with $u^*(x)=W_f\phi(y(x))+Y_fx$. It then introduces an explicit unraveling of this implicit network into a feed-forward NN $w[j+1]=D\phi(w[j])+\zeta+f(w[j])$, where a designed feedback $f$ accelerates convergence, enabling accurate approximation with finite depth and bounding the error. The paper also provides a converse construction: given an implicit NN, one can recover MPC-like cost structures by piecewise-linear approximations and corresponding LMIs to ensure interior-region consistency. Together, these results bridge model-based MPC and data-driven NN controllers, offering a scalable, explainable framework for representing and approximating MPC through neural networks.
Abstract
Model predictive control (MPC) for linear systems with quadratic costs and linear constraints is shown to admit an exact representation as an implicit neural network. A method to "unravel" the implicit neural network of MPC into an explicit one is also introduced. As well as building links between model-based and data-driven control, these results emphasize the capability of implicit neural networks for representing solutions of optimisation problems, as such problems are themselves implicitly defined functions.
