Extracting Forward Invariant Sets from Neural Network-Based Control Barrier Functions
Training Neural Networks (NNs) to serve as Barrier Functions (BFs) is a popular way to improve the safety of autonomous dynamical systems. Despite significant practical success, these methods are not generally guaranteed to produce true BFs in a provable sense, which undermines their intended use as safety certificates. In this paper, we consider the problem of formally certifying a learned NN as a BF with respect to state avoidance for an autonomous system: viz. computing a region of the state space on which the candidate NN is provably a BF. In particular, we propose a sound algorithm that efficiently produces such a certificate set for a shallow NN. Our algorithm combines two novel approaches: it first uses NN reachability tools to identify a subset of states for which the output of the NN does not increase along system trajectories; then, it uses a novel enumeration algorithm for hyperplane arrangements to find the intersection of the NN's zero-sub-level set with the first set of states. Thus, our algorithm soundly finds a subset of states on which the NN is certified as a BF. We demonstrate the effectiveness of our algorithm via scalability experiments and two case studies.
Authors
- Yasser Shoukry (ORCID: https://orcid.org/0000-0002-8224-8477)
- James Ferlez (ORCID: https://orcid.org/0000-0002-1872-6315)
- Goli Vaisi (ORCID: https://orcid.org/0009-0006-1849-7539)
Institutions
- University of California, Irvine (US)
Publication Details
- Published
- 2025-05-06
- DOI
- https://doi.org/10.1145/3716863.3718050
- Primary Topic
- Fault Detection and Control Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00