Control barrier functions (CBFs) provide a tractable mechanism for enforcing safety constraints, but the system response depends strongly on their class-K function parameters. Under input constraints, these parameters affect both the feasibility of the underlying optimization problem and the tradeoff between conservative and aggressive responses. This paper proposes Online Adaptive CBF (OA-CBF), a framework for adapting CBF parameters at runtime to improve task performance under input constraints. We introduce locally validated CBF parameters as a finite-horizon validation target and train a probabilistic ensemble neural network to evaluate queried parameters rather than directly predict them. A graph-attention encoder provides a fixed-dimensional representation of variable-size environments, while the probabilistic ensemble characterizes epistemic uncertainty through disagreement among its members and aleatoric uncertainty through their individual predictive variances. To account for these uncertainties, we use conformal prediction to reject potentially out-of-distribution predictions, and distributionally robust conditional value-at-risk to assess the predicted safety risk across ensemble members. Among the retained candidates, OA-CBF selects the parameter with the best predicted progress metric and applies it through either an MPC-CBF or CBF-QP safety filter. Simulation studies on dynamic unicycle, planar and three-dimensional quadrotor, kinematic bicycle, and VTOL quadplane benchmarks show that OA-CBF reduces the conservatism of fixed-parameter CBF controllers while maintaining low collision and infeasibility rates.
翻译:暂无翻译