- The paper introduces LightCROWN, a framework that leverages analytic activation properties to yield tighter Jacobian bounds for neural control barrier function verification.
- The methodology employs a four-stage pipelineโincluding subregion search and interval arithmeticโto efficiently certify safety in high-dimensional nonlinear systems.
- Empirical results show up to a 1.48ร improvement in verification rates and 61% faster performance, highlighting the frameworkโs scalability and robustness.
Efficient Verification of Neural Control Barrier Functions with Smooth Nonlinear Activations
Introduction and Motivation
The formal verification of neural control barrier functions (NCBFs) for safety-critical continuous-time systems presents significant computational challenges, particularly when networks use smooth nonlinear activations such as tanh. Classical methodsโSMT solvers, MIP, Lipschitz constraintsโoffer theoretical guarantees but suffer in scalability or restrict expressiveness. CROWN-based frameworks have emerged as the scalable approach, propagating interval bounds to facilitate tractable verification. However, their effectiveness diminishes when Jacobian bounds are computed via generic linear relaxations, resulting in overly conservative bounds and degraded performance.
LightCROWN addresses this by exploiting the analytic properties of smooth activation functions directly, yielding strictly tighter Jacobian bounds and facilitating efficient verification on complex nonlinear robotic systems, including the inverted pendulum, Dubins car, and planar quadrotor.
Consider a nonlinear control system xห=f(x,u), with state space DโRn and input set UโRk. Safety is encoded as forward invariance of a set C:={xโฃh(x)โค0}, where h(x), the NCBF, is modeled as a neural network. Forward invariance is guaranteed when the CBF condition
Lfโh(x)+ฮฑ(h(x))โค0
holds, where Lfโh(x) is the Lie derivative, and ฮฑ is a class-K function.
Due to the high-dimensional, non-convex nature of the neural network zero-level set xห=f(x,u)0, the verification domain is reduced to a conservative union of axis-aligned hyper-rectangular subregions covering xห=f(x,u)1. Safety verification entails checking the CBF condition in each subregion, which reduces to interval arithmetic for the Lie derivative and Jacobian over the region.
LightCROWN Verification Pipeline
The verification pipeline consists of four major stages, as depicted in (Figure 1):
Figure 1: Overview of the verification pipeline, including subregion search, system bounding, Jacobian bounding, and verification condition checking.
- Subregion Search: Using gridded state space, subregions containing boundary crossings (where xห=f(x,u)2 changes sign at vertices) are retained for verification.
- System Dynamics Bounding: Affine Taylor bounds are computed entrywise using mid-point linearization and Hessian-based remainders for the nonlinear system dynamics over each subregion.
- Jacobian Bounding: Backward interval propagation yields Jacobian bounds for the NCBF. LightCROWN computes exact interval bounds for activation derivatives by exploiting monotonicity and derivative extrema, rather than defaulting to generic linear relaxations.
- Lie Derivative Bound/Condition Checking: The maximal value of xห=f(x,u)3 in the subregion is efficiently computed via decomposed interval products, pairing positive/negative components for maximality, and checking the CBF invariance condition.
The technical innovation of LightCROWN lies in direct analytic bounding of activation derivatives: for xห=f(x,u)4, the maximum is attained at zero, minimum at the endpoint, and for more general activations, critical points and endpoints are systematically evaluated.
Experimental Results
LightCROWN is evaluated on three benchmark systems: Inverted Pendulum (2D), Dubins Car (3D), Planar Quadrotor (6D), with NCBFs modeled as 2-layer xห=f(x,u)5-activated MLPs. Verification is conducted under both regular and adversarial training regimes, varying the safety margin parameter xห=f(x,u)6 and network size.
Across all systems, LightCROWN demonstrates consistently higher verified rates and improved scalability, especially under adversarial training:
- Inverted Pendulum: All methods have comparable verified rates (xห=f(x,u)791%) under regular training, but LightCROWN achieves better computational efficiency.
- Dubins Car: LightCROWN attains the peak verified rate (86.0%) at xห=f(x,u)8, retaining robust performance as xห=f(x,u)9 increases.
- Planar Quadrotor: At DโRn0, LightCROWN achieves a 1.48DโRn1 higher verified rate than CROWN, and is 61% faster.
Under adversarial training, LightCROWNโs verified rates remain stable and less sensitive to DโRn2, while CROWN and BBV degrade, particularly on higher-dimensional models.
Boundary Discretization Sensitivity
Figure 2: Verified rate and verification time as a function of subregion count under regular training, for various DโRn3 values.
LightCROWN consistently achieves superior rates on coarse boundary discretization, and while higher DโRn4 induces some โreversalโ (the rate dips below that of CROWN/BBV), this effect vanishes under adversarial training, where LightCROWN outperforms in both tightness and speed.
Figure 3: Verified rate and verification time under adversarial training, demonstrating consistent superiority of LightCROWN across discretization granularity.
Scalability with Network Size
LightCROWN maintains high verified rates as hidden layer width increases, with a significant advantage on large networks (128 units, DโRn5: 78% certified vs 53% for CROWN/BBV).
Figure 4: Verified rate and verification time as a function of network size for the Dubins Car model, across different DโRn6 values.
Practical and Theoretical Implications
The LightCROWN framework provides a practically scalable solution for the formal verification of NCBFs with smooth activations. The tighter Jacobian bounds enable efficient certification of forward invariance for complex neural architectures and high-dimensional nonlinear systemsโdirectly applicable to safety-critical domains such as autonomous vehicles and UAVs. The method readily transfers to sensitivity analysis, robustness certification, and Lipschitz estimation in learning-enabled control.
Adversarial training further enhances verifiability by increasing margin robustness, making LightCROWN suitable for integration into safety-constrained learning pipelines.
Future Directions
Potential future work includes hybrid verification approaches combining LightCROWNโs efficient interval bounding with exact solvers (SMT/MIP) for intractable subregions, incorporation of higher-order approximation techniques, and extension to more general classes of nonlinear systems or hybrid control settings.
Conclusion
LightCROWN advances the state-of-the-art by formally certifying safety in complex neural control systems using direct analytic bounds on activation derivatives. Empirical evaluation validates its scalability, speed, and robustness across diverse nonlinear benchmarks. The framework constitutes a generalizable improvement to CROWN-based verification and strengthens the formal deployment of NCBFs in safety-critical AI and robotics applications.