Transferable Neural CBFs via Generalized Closure

Nishant Jayesh Bhave, Parthib KhoundarXiv 2026 · arXiv

TL;DR

This paper introduces a formal framework for transferring learned Neural Control Barrier Functions (NCBFs) across different obstacle maps without retraining. By defining a "generalized closure" condition and a lifting theorem, the authors provide a way to verify safety in relative coordinates and guarantee it holds for any environment configuration.

What Problem Does This Paper Address?

Control Barrier Functions (CBFs) are powerful tools for ensuring the safety of autonomous systems, acting as mathematical "certificates" that prevent a controller from entering unsafe states. However, designing them by hand for complex, underactuated vehicles (like drones) is notoriously difficult.

While Neural Networks can learn these barriers from data (Neural CBFs), they are typically tied to a specific environment. If you move an obstacle or change the map, the safety guarantee vanishes, requiring expensive retraining and re-verification. A common workaround is to use relative coordinates (e.g., "distance to the nearest obstacle"), but this often discards crucial information needed to predict how those coordinates will evolve—a problem known as a lack of closure. This paper tackles the challenge of making these learned safety certificates truly "plug-and-play" across different maps.

Methods

The authors propose a three-pronged approach to ensure transferability:

  1. Generalized Closure: They define a condition where relative coordinates must determine their own time derivative, either exactly or up to a bounded "residual" (uncertainty). This residual explicitly accounts for the information lost when switching to a relative frame.
  2. Lifting Theorem: This is the mathematical "bridge." It proves that if a barrier condition is verified for a single obstacle in relative coordinates (accounting for the residual), that safety guarantee "lifts" to every obstacle in any possible map.
  3. Rank Test: Before even training a model, the authors provide a rank-based test to check if a chosen set of relative coordinates is sufficient. This helps designers avoid coordinate systems that might look intuitive but lead to safety failures (like obstacle penetration).

The researchers validated these methods on three systems: a double integrator, a planar aircraft, and a full 12-state quadrotor. They used CROWN (a certified bound propagation technique) to formally verify the neural network's behavior over boxes of relative coordinates.

Datasets

The study does not use standard vision datasets but rather simulated environments for training and evaluation:

  • Systems: Double Integrator, Planar VTOL (Vertical Take-Off and Landing) aircraft, and a 12-state Quadrotor.
  • Maps: Training was performed on maps containing one to four spherical obstacles.
  • Evaluation: The models were tested on 24 training maps and 24 completely "held-out" maps (unseen during training) to prove zero-shot transferability.

Key Insights and Ideas

  • Symmetry is not enough: Simply using coordinates that are invariant to rotation or translation (like distance) doesn't guarantee safety. The dynamics must "close." As shown in Figure 2, different coordinate choices lead to different ranks and residuals.
  • Body-Frame is King for Drones: For the 12-state quadrotor, the authors discovered that world-frame relative coordinates fail the closure test, leading to poor behavior near hover. However, expressing the state in the body-frame achieves exact closure, allowing the safety barrier to transfer perfectly.
  • Residuals as Safety Margins: By treating missing information as a residual set, the barrier can be trained to be robust against that uncertainty. This allows for valid safety certificates even when perfect closure isn't possible.
Table I: Summary of system dimensions, ranks, and residuals.

Key Results

  • Zero-Shot Transfer: The learned barriers were deployed on new, unseen maps without any retraining and successfully avoided all collisions.
  • Outperforming Hand-Designed Logic: The Neural CBFs were significantly less conservative and more effective than standard high-order CBFs (HOCBFs). In "fast-start" experiments (where the vehicle starts close to an obstacle at high speed), the NCBFs admitted and safely handled many scenarios where HOCBFs either failed or were too restrictive.
  • Perfect Safety Record: In 576 quadrotor deployment runs across various maps, the body-frame NCBF achieved zero collisions.
Figure 1: Quadrotor trajectories using the body-frame barrier. All 12 starts reach the goal safely.

As seen in Figure 4, the proposed method (Quad, one-step/backup) maintained a 0% collision rate and high reachability compared to baseline checks.

Table V: Deployment results showing zero collisions for the proposed transferable barriers.

Limitations and Future Work

  • Statistical vs. Global Proof: While the lifting theorem is a formal proof, the underlying relative barrier is verified over sampled regions. The authors note that the coverage is statistical, not a global proof over the entire infinite domain.
  • Discrete-Time Gap: The theory is developed for continuous-time systems, but real-world controllers operate in discrete-time steps. The authors used discrete-time safeguards (like a "one-step" lookahead) to bridge this gap, but these safeguards are not yet formally certified.
  • Static Obstacles: The current work focuses on static spherical obstacles. Future work could extend this to dynamic obstacles and more complex shapes.

Summary updated

Abstract

Classical control barrier functions (CBFs) provide safety constraints for controllers, but designing them by hand is difficult for underactuated vehicles and the resulting safe sets can be overly conservative. Neural CBFs can learn more informative barriers from data, yet a learned barrier is usually verified only for one fixed obstacle configuration. We study whether one neural barrier can be reused across environments by expressing the state relative to each obstacle. The key gap is that these relative coordinates may discard information needed to predict their own evolution. We give a generalized closure condition that represents this missing information as a residual and a lifting theorem that transfers a verified relative-coordinate barrier to every obstacle in a family. A rank test also identifies when symmetry alone cannot justify the transfer. We validate the conditions on a double integrator, a planar aircraft, and a 12-state quadrotor. Coordinates that fail the test lead to obstacle penetration or to a barrier condition that fails near hover, whereas body-frame coordinates close exactly for the quadrotor. The resulting barrier transfers to new maps without retraining and is effective in the reported deployment and fast-start experiments.
BibTeX
@misc{bhave2026transferable,
  author = {Nishant Jayesh Bhave and Parthib Khound},
  title = {{Transferable Neural CBFs via Generalized Closure}},
  year = {2026},
  eprint = {2611.20929},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20929},
}
Figure