CP-NCBF: A Conformal Prediction-based Approach to Synthesize Verified Neural Control Barrier Functions
Manan Tayal, Aditya Singh, Pushpak Jagtap, Shishir Kolathaya
TL;DR
CP-NCBF introduces split-conformal prediction into neural Control Barrier Function (NCBF) synthesis to obtain probabilistic safety guarantees with a tunable safety-accuracy trade-off. The method trains an NCBF with a robustness margin, iteratively calibrating via conformal scores to ensure, with high confidence, that safety constraints hold across the state space using finite samples. Empirical results on autonomous driving and aerial/quadruped tasks show CP-NCBF achieving larger safe regions and better scalability than Lipschitz-regularized and grid-based baselines, while maintaining quantified safety guarantees. This approach enables safer, more efficient deployment of neural controllers in high-dimensional, safety-critical systems by reducing conservatism without sacrificing formal probabilistic assurances.
Abstract
Control Barrier Functions (CBFs) are a practical approach for designing safety-critical controllers, but constructing them for arbitrary nonlinear dynamical systems remains a challenge. Recent efforts have explored learning-based methods, such as neural CBFs (NCBFs), to address this issue. However, ensuring the validity of NCBFs is difficult due to potential learning errors. In this letter, we propose a novel framework that leverages split-conformal prediction to generate formally verified neural CBFs with probabilistic guarantees based on a user-defined error rate, referred to as CP-NCBF. Unlike existing methods that impose Lipschitz constraints on neural CBF-leading to scalability limitations and overly conservative safe sets--our approach is sample-efficient, scalable, and results in less restrictive safety regions. We validate our framework through case studies on obstacle avoidance in autonomous driving and geo-fencing of aerial vehicles, demonstrating its ability to generate larger and less conservative safe sets compared to conventional techniques.
