NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SEEV: Synthesis with Efficient Exact Verification for ReLU Neural Barrier Functions

Hongchao Zhang, Zhizhen Qin, Sicun Gao, Andrew Clark

Abstract

Neural Control Barrier Functions (NCBFs) are essential for ensuring the safety of complex nonlinear autonomous systems. However, verifying these functions is often computationally intractable due to the "activation region explosion" inherent in ReLU-based neural networks. We introduce SEEV (Synthesis with Efficient Exact Verification), a framework that integrates a simplicity-promoting regularizer into the training process to facilitate rapid, exact verification. By focusing on the safety boundary and utilizing a hierarchical verification pipeline, SEEV achieves significant performance gains. Experimental results on systems up to 8 dimensions show that SEEV provides exact safety proofs orders of magnitude faster than existing baselines, which frequently fail to converge within reasonable time limits.

Introduction

In safety-critical applications such as unmanned aerial vehicles (UAVs) or robotic manipulators, ensuring that a system never enters an unsafe state is paramount. Control Barrier Functions (CBFs) serve as a mathematical "safety shield" for this purpose. While Neural Control Barrier Functions (NCBFs) can model highly complex nonlinear dynamics, their verification remains a significant bottleneck.

The piecewise-linear nature of ReLU networks means that verifying an NCBF requires checking every individual linear segment (activation region) the network creates. As the network depth or system dimensionality increases, the number of these regions grows exponentially. Existing exact verifiers often time out or require hours to prove safety for even low-dimensional systems, hindering their practical application in engineering.

The SEEV Framework

SEEV addresses the verification bottleneck through a co-design approach that simplifies the neural network's internal logic specifically where it matters most: the safety boundary.

Synthesis with Simplicity Regularization

The core of SEEV's synthesis phase is a novel Simplicity Regularizer ($L_B$). During training, the framework does not merely optimize for safety conditions; it also penalizes the "dissimilarity" of activation patterns near the safety boundary ($b(x)=0$). This pressure forces the neural network to utilize fewer, larger linear segments in critical regions. To maintain differentiability for gradient-based optimization, the authors employ a generalized sigmoid function to approximate these discrete activation patterns.

Overview of the SEEV framework, showing the synthesis loop with the boundary activation regularizer and the verification process.

Efficient Exact Verification

The verification process in SEEV is designed to be both exhaustive and efficient:

  1. Neural Breadth-First Search (NBFS): Instead of exploring the entire state space, SEEV uses a BFS-based approach to enumerate only the activation regions that intersect the safety boundary.
  2. Hierarchical Verification Pipeline: The verifier employs a multi-stage check. It first attempts to prove safety using "easy" sufficient conditions, such as interval over-approximations. More computationally expensive exact nonlinear solvers (e.g., dReal) are only invoked if these simpler checks are inconclusive.
Detailed verification pipeline including boundary hyperplane enumeration and hierarchical condition checking.

The framework operates within a Counterexample-Guided Inductive Synthesis (CEGIS) loop. If the verifier identifies a state where safety is violated, that counterexample is added to the training set, and the model is retrained until a provably safe NCBF is found.

Experimental Evaluation

The authors evaluated SEEV across four benchmark nonlinear systems: a 2D polynomial Darboux system, a 3D UAV Obstacle Avoidance (OA) task, a 6D Spacecraft Rendezvous (SR) mission, and an 8D high-order system (hi-ord8).

Key Results

  • Speed and Scalability: On the 2D Darboux system, SEEV completed verification in just 2.5 seconds, compared to 315 seconds for the previous state-of-the-art. Notably, SEEV successfully verified the 8D hi-ord8 system in approximately 22 seconds, while all other baselines timed out after 3 hours.
  • Complexity Reduction: In the 6D spacecraft scenario, the regularizer reduced the number of boundary hyperplanes from 6,371 to 627, demonstrating a 10x reduction in verification complexity without sacrificing safety coverage.
  • Training Reliability: The inclusion of counterexamples significantly bolstered the success rate of finding valid NCBFs. For the Darboux system, the success rate improved from 0% to 100% when CE-guided training was enabled.

Conclusion and Future Work

SEEV demonstrates that the "activation region explosion" in neural verification can be mitigated by co-designing the synthesis and verification processes. By regularizing the network to be "easy to verify" at the safety boundary, SEEV enables exact safety proofs for high-dimensional systems that were previously out of reach.

Future research directions include extending the framework to non-ReLU activation functions (like Tanh or Swish), addressing the "curse of dimensionality" for even higher-dimensional systems (e.g., 50D+), and incorporating robustness to model uncertainty or learned dynamics.

Summary updated

BibTeX
@inproceedings{zhang2024seev,
  author = {Hongchao Zhang and Zhizhen Qin and Sicun Gao and Andrew Clark},
  title = {{SEEV: Synthesis with Efficient Exact Verification for ReLU Neural Barrier Functions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=nWMqQHzI3W},
}
Figure