Efficient Verification and Falsification of ReLU Neural Barrier Certificates
Dejin Ren, Yiling Xue, Taoran Wu, Bai Xue
TL;DR
This work addresses safety verification for continuous-time systems by introducing ReLU neural barrier certificates and a necessary and sufficient condition for their positive invariance. The condition is formulated on a per-valid-linear-region basis using Bouligand/Clarke tangent cones, avoiding derivative assumptions about ReLUs and enabling both verification and falsification via SMT and optimization. A boundary propagation algorithm efficiently enumerates a limited set of valid regions, and an IBP-based initialization seeds the search for initial regions. Empirical results demonstrate accurate verification and falsification across multiple systems, with improved scalability and reliability over prior methods, making ReLU neural barrier certificates more practical for safety-critical applications.
Abstract
Barrier certificates play an important role in verifying the safety of continuous-time systems, including autonomous driving, robotic manipulators and other critical applications. Recently, ReLU neural barrier certificates -- barrier certificates represented by the ReLU neural networks -- have attracted significant attention in the safe control community due to their promising performance. However, because of the approximate nature of neural networks, rigorous verification methods are required to ensure the correctness of these certificates. This paper presents a necessary and sufficient condition for verifying the correctness of ReLU neural barrier certificates. The proposed condition can be encoded as either an Satisfiability Modulo Theories (SMT) or optimization problem, enabling both verification and falsification. To the best of our knowledge, this is the first approach capable of falsifying ReLU neural barrier certificates. Numerical experiments demonstrate the validity and effectiveness of the proposed method in both verifying and falsifying such certificates.
