Learning High-Order Control Barrier Functions for Safety-Critical Control with Gaussian Processes
Mohammad Aali, Jun Liu
TL;DR
The paper tackles safety guarantees for high-order control barrier functions (HOCBFs) under model uncertainty by introducing a Gaussian process (GP) framework to learn the residual impact of uncertainty on the safety certificate. By enforcing linear class-$\mathcal{K}$ functions, the residual becomes affine in the disturbance, allowing the uncertain safety constraint to be reformulated as a convex second-order cone program (SOCP) that can serve as a real-time safety filter. The authors derive probabilistic confidence bounds for the GP estimate and show how to convert the resulting uncertainty-aware constraint into an SOCP with tractable feasibility conditions. Two numerical studies—adaptive cruise control with collision avoidance and a quarter-car active suspension system—demonstrate that the GP-based SOCP-HOCBF maintains safety under significant model mismatch, outperforming a nominal QP-HOCBF and approaching the performance of a true-model oracle. The work provides a practical, data-driven approach to robust safety in control-affine systems, with future directions including relaxing global relative-degree assumptions.
Abstract
Control barrier functions (CBFs) have recently introduced a systematic tool to ensure system safety by establishing set invariance. When combined with a nominal control strategy, they form a safety-critical control mechanism. However, the effectiveness of CBFs is closely tied to the system model. In practice, model uncertainty can compromise safety guarantees and may lead to conservative safety constraints, or conversely, allow the system to operate in unsafe regions. In this paper, we use Gaussian processes to mitigate the adverse effects of uncertainty on high-order CBFs (HOCBFs). A properly structured covariance function enables us to convert the chance constraints of HOCBFs into a second-order cone constraint. This results in a convex constrained optimization as a safety filter. We analyze the feasibility of the resulting optimization and provide the necessary and sufficient conditions for feasibility. The effectiveness of the proposed strategy is validated through two numerical results.
