Exact Verification of ReLU Neural Control Barrier Functions (NeurIPS 2023)
Full Paper »
The preceding proposition motivates our overall approach to verifying a NCBF
- We conduct coarser-to-finer search by discretizing the state space into hyper-cubes and use linear relaxation based perturbation analysis (LiRPA) to identify grid squares that intersect the boundary
${x: b(x) = 0}$ . - We enumerate all possible activation sets within each hyper-cube using Interval Bound Propagation (IBP). We then identify the activation sets and intersections that satisfy
$b(x)=0$ using linear programming. - For each activation set and intersection of activation sets, we verify the conditions of Proposition \ref{prop:safety-condition}. In what follows, we describe each step in detail.
The above figure illustrates the proposed coarser-to-finer searching method. Hyper-cubes that intersect the safety boundaries are marked in red. When all possible activation sets are listed, we can identify exact activation set and intersections.
Darboux: We consider the Darboux system proposed by [1], a nonlinear open-loop polynomial system that has been widely used as a benchmark for constructing barrier certificates. The dynamic model is given in the supplement. We obtain the trained NCBF by following the method proposed in [2].
Obstacle Avoidance: We evaluate our proposed method on a controlled system [3]. We consider an Unmanned Aerial Vehicles (UAVs) avoiding collision with a tree trunk. We model the system as a Dubins-style [4] aircraft model. The system state consists of 2-D position and aircraft yaw rate
Spacecraft Rendezvous: We evaluate our approach on a spacecraft rendezvous problem from [5]. A station-keeping controller is required to keep the "chaser" satellite within a certain relative distance to the "target" satellite. The state of the chaser is expressed relative to the target using linearized Clohessy–Wiltshire–Hill equations, with state
hi-ord
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Clone the repo and navigate to the folder
git clone https://github.com/HongchaoZhang-HZ/exactverif-reluncbf-nips23.git
cd exactverif-reluncbf-nips23
Install packages via pip
pip install -r requirements.txt
Choose the system and corresponding NCBFs you want to verify and navigate to the folder, e.g., '/Darboux/darboux_2_64/' and run the code
python main.py
If our work is useful for your research, please consider citing:
@inproceedings{zhang2023exact,
title={Exact Verification of Re{LU} Neural Control Barrier Functions},
author={Zhang, Hongchao and Junlin, Wu and Yevgeniy, Vorobeychik and Clark, Andrew},
booktitle={Advances in neural information processing systems},
year={2023}
}
Distributed under the MIT License. See LICENSE.txt
for more information.
If you have any questions, please feel free to reach out to us.
Hongchao Zhang - Homepage - [email protected]
Project Link: https://github.com/HongchaoZhang-HZ/exactverif-reluncbf-nips23
This research was partially supported by the NSF (grants CNS-1941670, ECCS-2020289, IIS-1905558, and IIS-2214141), AFOSR (grant FA9550-22-1-0054), and ARO (grant W911NF-19-1-0241).