[Paper Review] Reach-SDP: Reachability Analysis of Closed-Loop Systems with Neural Network Controllers via Semidefinite Programming
This paper proposes Reach-SDP, a novel semidefinite programming-based method for forward reachability analysis of linear time-varying systems with neural network controllers in closed-loop. By abstracting nonlinear activation functions and projection operators using quadratic constraints, the method computes outer-approximations of reachable sets, enabling finite-time safety and constraint satisfaction verification. It is the first convex-optimization approach for such systems, validated on a double integrator and a 6D quadrotor model.
There has been an increasing interest in using neural networks in closed-loop control systems to improve performance and reduce computational costs for on-line implementation. However, providing safety and stability guarantees for these systems is challenging due to the nonlinear and compositional structure of neural networks. In this paper, we propose a novel forward reachability analysis method for the safety verification of linear time-varying systems with neural networks in feedback interconnection. Our technical approach relies on abstracting the nonlinear activation functions by quadratic constraints, which leads to an outer-approximation of forward reachable sets of the closed-loop system. We show that we can compute these approximate reachable sets using semidefinite programming. We illustrate our method in a quadrotor example, in which we first approximate a nonlinear model predictive controller via a deep neural network and then apply our analysis tool to certify finite-time reachability and constraint satisfaction of the closed-loop system.
Motivation & Objective
- To address the lack of formal safety and stability guarantees in closed-loop systems with neural network controllers.
- To develop a scalable, convex-optimization-based method for reachability analysis that handles nonlinearities and control constraints.
- To enable finite-time verification of safety and constraint satisfaction in neural network-controlled dynamical systems.
- To extend reachability analysis to systems with projection operators and sector-bounded/slope-restricted nonlinearities.
- To provide a computationally tractable alternative to exact reachability methods for complex, nonlinear control systems.
Proposed method
- The method abstracts nonlinear activation functions and control projection operators as quadratic constraints (QCs), enabling convex relaxation of the system dynamics.
- It formulates the reachable set computation as a semidefinite program (SDP), leveraging the S-procedure and congruence transformations to preserve system structure.
- The approach uses a basis vector that combines state, activation, and control variables to represent the neural network's input-output behavior.
- It applies sector-bounded and slope-restricted nonlinearity conditions to bound the behavior of ReLU and other activation functions within convex constraints.
- The method computes outer-approximations of forward reachable sets by solving a single SDP, avoiding iterative flow pipe constructions or piecewise polynomial approximations.
- It supports systems with linear time-varying dynamics and control inputs subject to convex constraints, including state and actuator limits.
Experimental results
Research questions
- RQ1Can quadratic constraints be used to abstract nonlinear activation functions and projection operators in neural network controllers to enable convex reachability analysis?
- RQ2How can semidefinite programming be leveraged to compute outer-approximations of reachable sets in closed-loop systems with neural network controllers?
- RQ3What is the accuracy and scalability of this approach compared to exact or piecewise polynomial methods in verifying safety and constraint satisfaction?
- RQ4Can the method verify finite-time reachability and constraint satisfaction in systems with complex, nonlinear dynamics and control constraints?
- RQ5To what extent can this method be applied to real-world control systems such as quadrotors with learned controllers?
Key findings
- Reach-SDP successfully computes outer-approximations of forward reachable sets for a double integrator system, verifying that all initial states in an ellipsoidal set reach a goal region within 1 second while satisfying state constraints.
- For the 6D quadrotor model, the method verified that all initial states in the ellipsoidal set 𝒳₀ reach the goal set 𝒢 in (px, py, pz)-space within 1 second, under both state and actuator constraints.
- The method achieved verification without requiring exact system models, relying instead on a learned neural network policy approximating a nonlinear MPC controller.
- The computed reachable sets were shown to outer-approximate the true reachable sets, with visual comparisons in Figure 3 and 4 confirming conservative but valid over-approximation.
- The approach demonstrated scalability and computational feasibility on a high-dimensional system (6D quadrotor) with complex control constraints and nonlinear dynamics.
- This is the first convex-optimization-based method for reachability analysis of closed-loop systems with neural network controllers, offering a significant step toward formal verification of learned control policies.
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.