[Paper Review] Reachable Set Estimation and Safety Verification for Piecewise Linear Systems with Neural Network Controllers
This paper proposes a layer-by-layer polytope-based method to estimate the output reachable set of ReLU neural network controllers in piecewise linear systems. By formulating reachable set computation as operations on unions of polytopes, the approach enables finite-time reachable set estimation for closed-loop systems and safety verification through intersection checks with unsafe regions, demonstrated effectively in a numerical example with verified safety over [0,5] but uncertainty over [0,10].
In this work, the reachable set estimation and safety verification problems for a class of piecewise linear systems equipped with neural network controllers are addressed. The neural network is considered to consist of Rectified Linear Unit (ReLU) activation functions. A layer-by-layer approach is developed for the output reachable set computation of ReLU neural networks. The computation is formulated in the form of a set of manipulations for a union of polytopes. Based on the output reachable set for neural network controllers, the output reachable set for a piecewise linear feedback control system can be estimated iteratively for a given finite-time interval. With the estimated output reachable set, the safety verification for piecewise linear systems with neural network controllers can be performed by checking the existence of intersections of unsafe regions and output reach set. A numerical example is presented to illustrate the effectiveness of our approach.
Motivation & Objective
- Address the challenge of formal safety verification for piecewise linear systems controlled by neural networks, which are typically treated as black boxes with unpredictable behavior.
- Overcome the lack of formal guarantees in neural network controllers, especially under input perturbations, by enabling reachability analysis for closed-loop systems.
- Develop a computationally tractable method to estimate the reachable set of the entire closed-loop system by first estimating the output reachable set of the ReLU neural network controller.
- Enable safety verification by checking for intersections between the estimated reachable set and predefined unsafe regions in the state space.
- Provide a systematic framework for safety verification in hybrid systems with neural network controllers using convex hull over-approximation and polyhedral operations.
Proposed method
- Formulate the output reachable set computation of a ReLU neural network as a sequence of polytope operations, treating each layer’s output as a union of polytopes.
- Use convex hull over-approximation to compute the reachable set of each layer’s output, ensuring conservative but computationally feasible estimation.
- Apply a layer-by-layer propagation method that maps input uncertainty sets through each ReLU layer using linear transformations and activation constraints.
- Integrate the estimated neural network reachable set into the closed-loop piecewise linear system dynamics to compute the overall system reachable set over a finite time horizon.
- Estimate the finite-horizon reachable set of the closed-loop system by iteratively applying the system dynamics to the previous reachable set, using convex hulls to maintain over-approximation.
- Perform safety verification by checking whether the estimated reachable set intersects with a predefined unsafe region; no intersection implies safety.
Experimental results
Research questions
- RQ1How can the output reachable set of a ReLU neural network controller be computed efficiently and conservatively for use in closed-loop system analysis?
- RQ2Can the reachable set of a piecewise linear system with a ReLU neural network controller be estimated over a finite time interval using polyhedral operations?
- RQ3What is the relationship between the reachable set of the neural network controller and the overall closed-loop system reachable set?
- RQ4How can safety verification be formally performed for such hybrid systems using reachable set estimation?
- RQ5To what extent does the proposed method detect potential unsafe behavior even when simulation trajectories do not enter unsafe regions?
Key findings
- The proposed method successfully computes the output reachable set of a ReLU neural network controller using a layer-by-layer polytope operation framework, enabling conservative over-approximation.
- The reachable set of the closed-loop piecewise linear system is estimated over finite time intervals [0,5] and [0,10], with the convex hull-based over-approximation capturing all 400 simulated trajectories.
- Safety verification confirms that the system is safe over [0,5] because the estimated reachable set does not intersect the unsafe region defined by ||x - [4,4]^T||_∞ ≤ 1.
- Over [0,10], the estimated reachable set intersects the unsafe region, indicating that safety cannot be guaranteed despite no simulated trajectory entering the unsafe set.
- The method reveals potential safety risks that simulation alone might miss, demonstrating the value of formal reachable set estimation in safety-critical control systems.
- The approach is computationally feasible and scalable for systems with ReLU-based neural network controllers, as shown in the numerical example with a 2-layer network and 4 hidden neurons.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.