Forward Invariance in Neural Network Controlled Systems
Akash Harapanahalli, Saber Jafarpour, Samuel Coogan
TL;DR
This work addresses safety certification for nonlinear systems controlled by neural networks by constructing forward-invariant sets under disturbances. It introduces a dynamical embedding framework built from localized first-order inclusion functions, enabling single-trajectory evaluation to generate nested invariant hyper-rectangles and extending to paralleletopes via a linear transform. Key contributions include two inclusion-function strategies (natural and Jacobian-based), a monotone embedding dynamics with Nagumo-type invariance guarantees, and a paralleletope extension with practical Python tooling demonstrated on an 8D leader–follower system. The results show converging families of invariant/attracting sets and provide a scalable offline method for searching safe invariant regions around learning-enabled controllers. This framework lays groundwork for robust, safety-aware design of learning-enabled controllers and suggests avenues for online extensions and broader NN architectures.
Abstract
We present a framework based on interval analysis and monotone systems theory to certify and search for forward invariant sets in nonlinear systems with neural network controllers. The framework (i) constructs localized first-order inclusion functions for the closed-loop system using Jacobian bounds and existing neural network verification tools; (ii) builds a dynamical embedding system where its evaluation along a single trajectory directly corresponds with a nested family of hyper-rectangles provably converging to an attractive set of the original system; (iii) utilizes linear transformations to build families of nested paralleletopes with the same properties. The framework is automated in Python using our interval analysis toolbox $\texttt{npinterval}$, in conjunction with the symbolic arithmetic toolbox $\texttt{sympy}$, demonstrated on an $8$-dimensional leader-follower system.
