Learning Local Control Barrier Functions for Hybrid Systems
Shuo Yang, Yu Chen, Xiang Yin, George J. Pappas, Rahul Mangharam
TL;DR
This work tackles safety in hybrid dynamical systems by learning a local Control Barrier Function (CBF) refinement that scales to high dimensions. Building on local CBFs, it introduces a Control Barrier-Value Function (CBVF) learned via neural PDE solvers to approximate the Hamilton–Jacobi–Isaacs VI without grid-based methods, enabling safe switching in complex multi-mode systems. The approach yields a neural switch-aware safety controller that closely matches MPC performance while dramatically reducing online computation, demonstrated in high-dimensional autonomous racing and ACC with multi-friction roads. It also shows that standard backward-unsafe set computations can be avoided, simplifying safety synthesis. The results indicate substantial practical impact for real-time safety in large-scale robotic systems, with public code and extensive experimental validation.
Abstract
Hybrid dynamical systems are ubiquitous as practical robotic applications often involve both continuous states and discrete switchings. Safety is a primary concern for hybrid robotic systems. Existing safety-critical control approaches for hybrid systems are either computationally inefficient, detrimental to system performance, or limited to small-scale systems. To amend these drawbacks, in this paper, we propose a learning-enabled approach to construct local Control Barrier Functions (CBFs) to guarantee the safety of a wide class of nonlinear hybrid dynamical systems. The end result is a safe neural CBF-based switching controller. Our approach is computationally efficient, minimally invasive to any reference controller, and applicable to large-scale systems. We empirically evaluate our framework and demonstrate its efficacy and flexibility through two robotic examples including a high-dimensional autonomous racing case, against other CBF-based approaches and model predictive control.
