ORN-CBF: Learning Observation-conditioned Residual Neural Control Barrier Functions via Hypernetworks
Bojan Derajić, Sebastian Bernhard, Wolfgang Hönig · 2025
Read ORN-CBF: Learning Observation-conditioned Residual Neural Control Barrier Functions via Hypernetworks by Bojan Derajić, Sebastian Bernhard, Wolfgang Hönig (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2509-16614.txt.
Introduction
Bojan Derajić, Sebastian Bernhard, and Wolfgang Hönig work on keeping robots safe in a 2025 control paper. A barrier function acts like an invisible fence that a robot must not cross. Designing such fences by hand is hard. Learned fences help, but they must adapt to what the robot sees around it.
Their method learns a fence that adjusts to sensor input. A second network shapes that adjustment on the fly. Tests ran in simulation and on real hardware. A ground robot and a drone both took part. Success rates rose, and the method held up in new places. Safer fences could widen where robots can work alone.
Catalog record
| CREATOR | Bojan Derajić, Sebastian Bernhard, Wolfgang Hönig |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 37 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2509-16614
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
ORN-CBF: Learning Observation-conditioned Residual Neural Control Barrier Functions via Hypernetworks Bojan Derajić, Sebastian Bernhard, Wolfgang Hönig Abstract Control barrier functions (CBFs) have been demonstrated as an effective method for safety-critical control of autonomous systems. Although CBFs are simple to deploy, their design remains challenging, motivating the development of learning-based approaches. Yet, issues such as suboptimal safe sets, applicability in partially observable environments, and lack of rigorous safety guarantees persist. In this work, we propose observation-conditioned neural CBFs based on Hamilton-Jacobi (HJ) reachability analysis, which approximately recover the maximal safe sets. We exploit certain mathematical properties of the HJ value function, ensuring that the predicted safe set never intersects with the observed failure set. Moreover, we leverage a hypernetwork-based architecture that is particularly suitable for the design of observation-conditioned safety filters. The proposed method is examined both in simulation and hardware experiments for a ground robot and a quadcopter. The results show improved success rates and generalization to out-of-domain environments compared to the baselines. I INTRODUCTION One of the most prominent and well-established approaches to safety-critical control is the so-called safety filtering . This approach functions by monitoring the nominal control (obtained from, e.g., a performance-oriented controller or a human operator) and modifying it when necessary to maintain safe operation of the system. The nominal control is usually modified by a switching mechanism or through an optimization procedure [ 1 ] . In this paper, we focus on the second approach, which specifically utilizes control barrier functions (CBFs). CBFs, inspired by control Lyapunov functions, are scalar functions defined over the system’s state space that characterize control invariant sets based on Nagumo’s Theorem on set invariance [ 2 , 3 ] . In practice, the key advantage of using CBFs is emphasized for control-affine systems, where the safety filtering is reduced to solving a quadratic program (QP) and can be performed with high frequency [ 4 ] . However, even though CBFs provide an elegant way to enforce safety, the main difficulty lies in designing a proper CBF. This problem is especially complex for nonlinear systems with state and input constraints, and most of the existing approaches introduce certain assumptions or simplifications to obtain a solution [ 1 ] . Also, an additional layer of complexity is present for systems such as mobile robots that operate in unknown environments based on local observations. For such systems, the CBF must be generated in real time using the available observations, meaning that the existing methods for offline CBF design are not applicable [ 5 ] . In this paper, we propose a learning-based approach for designing observation-conditioned CBFs that advances beyond the limitations of existing methods thanks to a few key features. First, we use an efficient hypernetwork-based architecture where the hypernetwork parametrizes the main network given available observations, while the main network approximates the target function over the system’s state space. This architecture improves efficiency by inferring the hypernetwork (complex model) only once when a new observation becomes available, while the main network (simple model) is queried with high frequency for its value and gradient. Second, we use Hamilton-Jacobi (HJ) reachability analysis as the source of supervision during training, resulting in CBFs that approximately recover the maximal control invariant set [ 6 , 7 , 8 ] . Finally, instead of directly approximating the HJ value function, the main network approximates only the residual component with respect to the signed distance function (SDF). Since the residual function is always nonnegative [ 9 ] , by applying a nonnegative activation function at the output of the main network, the safe set associated with the predicted CBF never intersects with the observed failure set. The summary of the contributions is: • A novel observation-conditioned neural CBF for safe navigation of mobile robots in unknown environments with arbitrary distribution and shapes of obstacles. The proposed method approximately recovers the optimal safe set and it guarantees, by design, that the predicted safe set does not intersect with the observed failure set. • Extensive evaluation of the proposed ORN-CBF ( Fig. 1 ) method for a ground robot and a quadcopter, both in 3D simulations and hardware experiments, demonstrating its performance and application flexibility. Fig. 1: Safety filtering for autonomous systems operating based on environment observations with the proposed ORN-CBF method. II RELATED WORK There is a significant amount of work on CBFs published in recent years as they have been proven to be a powerful, yet elegant way to enforce safety [ 3 ] . Numerous researchers contributed through their work on different variants of CBFs, including exponential CBFs [ 10 ] , discrete-time CBFs [ 11 ] , robust CBFs [ 12 ] , adaptive CBFs [ 13 ] , etc. Nevertheless, designing a proper CBF for a general nonlinear system with state and control constraints remains the major challenge in the field [ 1 ] . The particularly relevant stream of research leverages machine learning to design CBFs in a more flexible and scalable way [ 14 ] . For example, learning CBFs from safe trajectories obtained via expert demonstrations is proposed in [ 15 ] , while the neural CBFs for systems with limited control are introduced in [ 16 ] . However, these approaches often fail to recover the maximal safe set, which can be obtained via HJ reachability analysis [ 8 ] . The connection between CBFs and HJ reachability is established in [ 6 ] , where the novel control-barrier value function (CBVF) is introduced as a method for systematic design of CBFs that recover the maximal safe set. This approach is further extended in [ 7 ] to iteratively refine candidate CBFs, hand-crafted or learned, in order to enlarge the initial safe set. Similarly, authors in [ 17 ] use HJ reachability to locally modify potentially unsafe regions associated with a neural CBF, improving the overall scalability. Still, these methods have been demonstrated only for systems operating in known environments, which is the key difference to our method. Regarding the design of neural CBFs in unknown environments, the method in [ 18 ] learns a neural approximation of an SDF for the given observation and uses it as a CBF. The main drawback is that the training is performed online, limiting its application to systems with slower dynamics. Differently, the authors in [ 19 ] use a discrete-time CBF, which requires predicting the sensor observation one time step into the future. This approach is feasible for simple sensors such as 2D laser scan, but might be impractical for more complex modalities. On the other hand, authors in [ 5 ] train a neural model to approximate the value function associated with the state-dependent Riccati equation based on a 2D laser scan and use it as CBF. The common downside of the observation-based CBFs mentioned above is that they fail to recover the optimal safe set and lack any safety guarantees. Similar to [ 20 ] and [ 9 ] that employ a neural approximation of the HJ value function for model predictive control (MPC) design, we use such an approximation as a CBF. We also exploit certain mathematical properties of the HJ value function, allowing us to guarantee that the