Skip to content
Robotics.world

Research

Neural Integral Control Barrier Functions for Agile Collision Avoidance

Standard control barrier function safety filters rest on three assumptions: the dynamics must be control affine, the barrier must be known in closed form, and a nominal controller must be given.

The paper’s first page · arXiv:2611.02626
arXiv
2611.02626 · Preprint · not peer-reviewed
Published
2026-11-02
Authors
Dasari Raj Vamsi, Vrushabh Zinage, Efstathios Bakolas, Rohan Chandra

In plain words

Standard control barrier function safety filters rest on three assumptions: the dynamics must be control affine, the barrier must be known in closed form, and a nominal controller must be given. Integral CBFs remove the first assumption and absorb input constraints, but still assume the other two.

Key results

  • Real-time on a single core. The filter runs above 100 Hz on one CPU core, with one small quadratic program per control step.
  • Exact input-constraint satisfaction. The method holds the input constraint on every episode of a benchmark where a jointly trained baseline (SABLAS) holds it on 53.38% of episodes.

AI summary

Overview

Research area: Safe control / robotics — learning-based safety filters for nonlinear systems, combining control barrier functions (CBFs) with neural network learning.

Technical level: Advanced. The paper assumes familiarity with control barrier functions, quadratic programs, forward invariance, neural ODEs, and imitation learning.

Scope (one sentence): The paper presents a modular framework that learns a system's dynamics, a nominal controller, and a barrier function entirely from data, then assembles them into an analytic integral control barrier function (ICBF) safety filter that enforces actuator limits exactly and is validated on agile vehicle racing.

What This Paper Is About

Standard control barrier function safety filters rest on three assumptions: the dynamics must be control affine, the barrier must be known in closed form, and a nominal controller must be given. Integral CBFs remove the first assumption and absorb input constraints, but still assume the other two. This paper asks whether ICBF-based safety can be guaranteed when the dynamics, the ICBF formulation, and the nominal controller are all unknown, and answers by learning each of the three components separately from data while keeping the ICBF construction itself analytic. A second, central idea is that safety labels for the learned barrier should reflect viability — whether some emergency maneuver can still avoid the constraint under actuator limits — rather than the geometry of the obstacles.

Key Contributions

  1. A complete learned realization of the ICBF safety filter. Dynamics are learned with a Neural ODE, the nominal controller by imitation of an unconstrained planner, and a state barrier by supervised regression. Every ICBF quantity (the extended barrier, the row, the right-hand side) is obtained analytically by automatic differentiation through the three frozen networks, rather than assumed or learned as a penalty term.

  2. Viability-based barrier labeling. A state is labeled safe only if at least one maneuver from a finite library, rolled out through the learned dynamics with the actuator model in the loop, keeps the system clear over a horizon. The label is tanh((1/κ) max_μ c_μ(x)). Geometric labels describe where the system is at an instant; viability labels describe whether the constraint can still be met, a distinction that grows with speed.

  3. Feasibility and input-invariance guarantees (Proposition 1). Actuator range and rate limits enter the online quadratic program as hard bounds, while only the learned barrier rows carry slack. The program is therefore feasible at every state, the input constraints are exact and never traded against barrier rows, and both the admissible set and its relaxed superset are forward invariant.

  4. An error bound between learned and true-model filters (Theorem 6). The gap between the input produced from the learned triplet and the input the same construction would produce from the true dynamics, controller, and barrier is bounded, decomposed into an integral-law term and a QP-solution-map term; the amount of authority the input retains over the barrier is identified as governing the remaining gap.

Main Findings

  • Unsafe episodes eliminated in agile racing: On a 6-D dynamic bicycle model with F1TENTH parameters, filtering an MPPI planner with the learned ICBF at 4.0 m/s leaves 0 of 200 held-out layouts unsafe, against 12 for the planner alone (p = 0.0005, paired exact McNemar test), at an unchanged success rate. All parameters were frozen before those layouts were generated.

  • Real-time on a single core: The filter runs above 100 Hz on one CPU core, with one small quadratic program per control step.

  • Exact input-constraint satisfaction: The method holds the input constraint on every episode of a benchmark where a jointly trained baseline (SABLAS) holds it on 53.38% of episodes.

  • Robustness to plant mismatch: The advantage over the baseline is retained under large errors in the plant friction.

  • Feasibility on every step: The online program was feasible at all 74,590 control steps of the racing evaluation.

  • Closed-form barriers written for the wrong dynamics fail: An analytical HOCBF-QP written for a kinematic model that the vehicle does not obey is unsafe on 29% to 35% of episodes, because the barrier it enforces is certified for different dynamics than those in force.

  • Viability labels behave as intended: Enlarging the backup-maneuver library can only increase the maximum clearance, so the labeled safe set grows monotonically toward the true viability kernel, and a state inside the constraint receives a negative clearance for every maneuver, so no geometrically unsafe state is labeled safe. These properties are verified empirically and used to fix the horizon and library size.

  • Enforcement margin: Because the barrier is fit from finite data, the filter enforces h_θ − η ≥ 0 for a margin η chosen as the smallest value at which the measured false-safe rate on held-out labeled states is zero.

  • Not reported in the available excerpt: the numeric sizes of the dynamics dataset (N_τ) and the imitation dataset (N_c), the exact success-rate values, and the detailed results of the sections covering the kinematic vehicle, quadrotor with suspended pendulum, SABLAS comparison, and friction-perturbation study beyond the summaries above.

Methodology in Plain English

The approach trains three separate pieces in sequence, each with its own measurable objective, and then wires them into a standard safety filter.

  1. Learn the physics. A neural ODE is fit to short trajectories collected by deliberately exciting the actuators over the full admissible range (not by logging an existing controller). The loss combines agreement with recorded state derivatives and multi-step rollout error, so drift is penalized rather than single-step accuracy alone. The same learned one-step transition map is reused later to simulate backup maneuvers.

  2. Learn the planner. An unconstrained expert is rolled out from randomized starts on an obstacle-free version of the task, with a fraction of actions perturbed so the data covers states off the expert's own distribution — important because the filter itself will push the system off that distribution. A network is then cloned by regression on normalized action error. Crucially, the filter consumes this network through its Jacobian, which builds the integral law that pulls the actual input toward the nominal one.

  3. Learn the barrier — on viability, not geometry. For sampled states, a library of emergency maneuvers is simulated forward through the learned dynamics with steering slew and motor lag in the loop. The label is a squashed function of the best minimum clearance achieved by any maneuver. This captures the fact that at high speed a state outside an obstacle can still be unsafe because braking distance and steering authority, not obstacle shape, decide avoidability.

  4. Assemble the filter analytically. The extended barrier and the constraint row are formed by automatic differentiation through the frozen networks — no closed form for the dynamics or the barrier is needed anywhere. The online program solves for an auxiliary input that keeps the barrier nonnegative, with slack allowed only on the learned barrier rows. Because the ICBF construction lifts the input into the state, the program returns a rate; the command sent to the actuators is obtained by integrating that rate over one control period, initialized from the learned nominal controller (whose output layer is bounded and scaled to the actuator ranges).

  5. Theory. The paper proves the program is always feasible with exact input limits, and bounds the deviation of the computed input from what the true models would give. The bound is stated for the single-row program of the underlying ICBF theorem; the authors explicitly do not claim the same explicit constants for the deployed multi-row program with slack and the input box.

Why This Matters

Impact on research. The paper separates learning from safety enforcement: instead of folding constraint satisfaction into a differentiable training penalty where an optimizer trades safety against task performance, it moves safety into the online program. This makes each learned module independently verifiable, makes the error propagation analyzable, and removes the tracking-versus-constraint trade-off. It also reframes what a learned barrier should be trained on — viability under actuator limits rather than obstacle geometry — which is a conceptual correction to a broad literature of geometrically labeled learned barriers. The Feasibility/input-invariance result and the error bound give the approach a theoretical footing that penalty-based learned filters lack.

Real-world applications:

  • Agile ground vehicles and racing: the demonstrated setting, F1TENTH-scale dynamic bicycle models at 4.0 m/s, where braking distance dominates avoidability.
  • Drones with slung payloads: the paper evaluates a quadrotor carrying a suspended pendulum, a system that is not control affine and has input limits.
  • Factory and warehouse robots: hard state and actuator constraints while a performance objective pushes hardware to its limits.
  • Multi-robot teams and autonomous road vehicles: settings where the nominal planner is a black box and the true dynamics are only available as data.

Industry relevance. The filter is one small quadratic program per control step and runs above 100 Hz on a single CPU core, which matters for embedded deployment where neural-MPC-style alternatives are too expensive. Because it assumes no closed-form model, it fits workflows where a plant is identified from logged data, and because actuator limits are hard bounds rather than penalties, the returned commands are guaranteed admissible — a property fleet-safety and certification processes care about. The demonstrated retention of the input-constraint advantage under large friction errors speaks to deployment on surfaces whose properties are imperfectly known.

Future Directions

  1. Extending the error bound to the deployed program. The constants of Theorem 6 are proved for the single-row ICBF program; for the multi-row program with slack and the input box, the governing constant becomes a Hoffman constant of the active set and is not uniform across active-set changes. Closing this gap is a direct open problem.

  2. Scaling the viability labeling. The safe set converges toward the true viability kernel only as the maneuver library and horizon grow, and the paper uses empirical checks to fix both. How to choose or learn the library, and how the finite-horizon inner approximation degrades in higher-dimensional state spaces, remain open.

  3. Hardware deployment and richer disturbance models. The simulation studies read state derivatives from the plant directly, whereas on hardware they would be differenced from recorded states or the derivative term dropped. The authors note that additive disturbances can be handled with the DO-ICBF of Zinage et al. (2023), but this is not evaluated here.

  4. Replacing the learned nominal controller with an external planner. The framework permits substituting any planner for the cloned policy, in which case the integral law reduces to a simple tracking term; the paper reports both variants, but how well the guarantees transfer to arbitrary black-box planners with different smoothness properties is not settled.

Target Audience

Robotics and control researchers working on safety-critical autonomy, safe reinforcement learning, and learning-based control; graduate students familiar with CBFs and QPs who want a template for learning a full safety filter from data; and practitioners in autonomous driving, drone autonomy, and warehouse robotics who need provable actuator-limit satisfaction at embedded control rates without a closed-form plant model. Readers primarily interested in benchmark-level empirical comparisons will find the evaluation narrower than the theoretical framing, and the paper is not beginner-friendly.

Authors’ abstract

Control barrier functions (CBFs) are a standard way to keep a planner inside a safe set, but they assume control affine dynamics, a barrier function given in closed form, and a known nominal controller. Integral control barrier functions (ICBFs) remove the first assumption and absorb input constraints, yet they still assume a given nominal controller and a barrier function. In this work, we present an approach to learn all three from data, using neural ordinary differential…

The full abstract on arXiv
Read the original paper

Related papers