Authors: Hongchao Zhang, Manan Tayal, Jackson Cox, Pushpak Jagtap, Shishir Kolathaya, Andrew Clark
Organizations: Electrical and Systems Engineering Department, McKelvey School of Engineering, Washington University in St. Louis, St. Louis, MO 63130 USA · Center for Cyber-Physical Systems, Indian Institute of Science (IISc), Bengaluru.
Control Barrier Functions (CBFs) are utilized to ensure the safety of control systems. CBFs act as safety filters in order to provide safety guarantees without compromising system performance. These safety guarantees rely on the construction of valid CBFs. Due to their complexity, CBFs can be represented by neural networks, known as neural CBFs (NCBFs). Existing works on the verification of the NCBF focus on the synthesis and verification of NCBFs in deterministic settings, leaving the stochastic NCBFs (SNCBFs) less studied. In this work, we propose a verifiably safe synthesis for SNCBFs. We consider the cases of smooth SNCBFs with twice-differentiable activation functions and SNCBFs that utilize the Rectified Linear Unit or ReLU activation function. We propose a verification-free synthesis framework for smooth SNCBFs and a verification-in-the-loop synthesis framework for both smooth and ReLU SNCBFs. and we validate our frameworks in three cases, namely, the inverted pendulum, Darboux, and the unicycle model.
Figures & tables
Symbol
Description
Symbol
Description
X
State space
α(⋅)
Class K function
XS
Safe set
V
Diffusion coefficient
XU
Unsafe set
f,g
Drift, control vector fields
XI
Initial safe set
θ
Neural-network parameters
D
Super-0-level set of B(x)
N
Sample size
B(x)
CBF candidate
ϵˉ
Sampling radius
TABLE I : Notation Table
Fig. 1 : Workflow of the synthesis with verification in the loop.
Fig. 2 : Experimental results on the inverted pendulum. (a) B(x) over X : blue and red denote the safe ( B≥−ψ∗ ) and unsafe ( B<ψ∗ ) regions; black boxes mark the initial safe and unsafe boundaries, and the trained SNCBF boundary (black dots) separates them. (b) 3D plot of B(x) over X . (c) Trajectories initialized in the safe set under SNCBF-QP with different reference controllers.
Fig. 3 : Vehicle trajectories under the SNCBF-QP controller at reaction distances of 6 , 8 , and 12 m from the pedestrian; all successfully maneuver to avoid the pedestrian.
Baseline
Smooth SNCBF
Verifiability
No
Yes
Coverage
14.8%
72.5%
Training Time
39.4 minutes
64.2 minutes
TABLE II : Comparison of baseline and smooth SNCBF synthesis proposed in Algorithm 1 .
N
5.4×107
2×106
2.5×105
3.12×104
2×103
ψ
−0.04
−0.13
−0.25
−0.49
−1.20
Ts
64.2
26.5
17.3
12.1
7.25
rc
78.65%
78.20%
76.53%
76.72%
72.66%
TABLE III : Sensitivity analysis of sampling budget N (and implicitly ϵˉ ) on the unicycle system.
Formal verification of neural control barrier functions (NCBFs) remains challenging, especially for neural networks with nonlinear activations like tanh. Existing CROWN-based methods rely on conservative linear relaxations for Jacobian bounds, limiting scalability. We propose LightCROWN, which computes tighter Jacobian bounds by exploiting the analytical properties of activation functions. Experiments on nonlinear control systems including the inverted pendulum, Dubins car, and planar quadrotor demonstrate that LightCROWN improves verification success rates up to 100%, while enhancing speed and scalability. Our approach provides a generalizable improvement for CROWN-based frameworks, enabling more efficient verification of complex NCBFs. The code can be found at github.com/Autonomous-Systems-and-Control-Lab/verify-neural-CBF.
Jun Zhang, Haibo Zhang, Chun Liu +2
School of Mechatronic Engineering and Automation, Shanghai University, Shanghai, China · Beijing Institute of Control Engineering, Beijing, China · School of Mechatronic Engineering and Automation, Shanghai2026 University, Shanghai, China +1
As the number of autonomous robots continues to grow, safety becomes increasingly important. Control barrier functions (CBFs) provide a theoretically grounded framework for ensuring safety, but existing design methods often face limitations in effectiveness, scalability, or interpretability, and may result in overly conservative safe sets. In this paper, we propose VertexCBF, a framework for learning neural CBFs in a scalable, systematic, and explainable way. We approximate the stationary Hamilton--Jacobi value function using a neural network trained via a combination of physics-informed and sparsely supervised learning. By exploiting control-affine dynamics and a convex polytope control set, under which the Hamiltonian is maximized at the control vertices, we efficiently generate supervision points via GPU-parallel vertex-restricted tree search, while a residual architecture guarantees that the learned CBF is never larger than the specified constraint function. We evaluate the method on 15 systems and compare it against relevant baselines, showing that it reliably recovers large safe sets where the baselines are conservative or fail completely. In addition, we perform a hardware experiment in which a mobile robot safely avoids pedestrians using a neural CBF trained with our method.
Bojan Derajić, Sebastian Bernhard, Wolfgang Hönig
Technical University of Berlin, Germany · AUMOVIO, Germany · Technical University of Applied Sciences Augsburg, Germany +1
Robust control barrier functions (CBFs) provide a principled mechanism for smooth safety enforcement under worst-case disturbances. However, existing approaches typically rely on explicit, closed-form structure in the dynamics (e.g., control-affine) and uncertainty models. This has led to limited scalability and generality, with most robust CBFs certifying only conservative subsets of the maximal robust safe set. In this paper, we introduce a new robust CBF framework for general nonlinear systems under bounded uncertainty. We first show that the safety value function solving the dynamic programming Isaacs equation is a valid robust discrete-time CBF that enforces safety on the maximal robust safe set. We then adopt the key reinforcement learning (RL) notion of quality function (or Q-function), which removes the need for explicit dynamics by lifting the barrier certificate into state-action space and yields a novel robust Q-CBF constraint for safety filtering. Combined with adversarial RL, this enables the synthesis and deployment of robust Q-CBFs on general nonlinear systems with black-box dynamics and unknown uncertainty structure. We validate the framework on a canonical inverted pendulum benchmark and a 36-D quadruped simulator, achieving substantially less conservative safe sets than barrier-based baselines on the pendulum and reliable safety enforcement even under adversarial uncertainty realizations on the quadruped.
Donggeon David Oh, Duy P. Nguyen, Haimin Hu +1
Department of Electrical and Computer Engineering, Princeton University, Princeton, NJ 08540, USA · Department of Computer Science, Johns Hopkins University, Baltimore, MD 21218, USA