# VertexCBF: Improving Neural Control Barrier Functions via Vertex-Restricted Control Search

Robotics.world

> Designing a CBF that yields a large safe set — ideally the maximal controlled invariant subset of the state constraint set — is hard, and existing learned CBFs are often overly conservative or fail…

**arXiv**: 2609.12831 · Preprint · not peer-reviewed

**Published**: 2026-09-11 · revised · 2026-09-23

**Authors**: Bojan Derajić, Sebastian Bernhard, Wolfgang Hönig

## In plain words

Designing a CBF that yields a large safe set — ideally the maximal controlled invariant subset of the state constraint set — is hard, and existing learned CBFs are often overly conservative or fail outright on systems with limited actuation.

## AI summary

## Overview

**Research area:** Safe control for autonomous robots — specifically, learning-based control barrier functions (CBFs) grounded in Hamilton–Jacobi (HJ) reachability, applied to control-affine systems with bounded actuation.

**Technical level:** Advanced. The paper assumes familiarity with control barrier functions, CBF-QP safety filters, Hamilton–Jacobi reachability and neural function approximation, though the core idea is stated compactly enough to be followed by a graduate student in robotics or control.

**One-sentence scope:** The paper proposes VertexCBF, a method that learns a neural control barrier function approximating the stationary HJ safety value function by exploiting control-affine dynamics and polytope control sets so that supervision labels can be produced by a GPU-parallel search over control vertices only.

## What This Paper Is About

Designing a CBF that yields a *large* safe set — ideally the maximal controlled invariant subset of the state constraint set — is hard, and existing learned CBFs are often overly conservative or fail outright on systems with limited actuation. The authors aim to learn a neural CBF that stays within the user-specified constraint set but recovers close to the optimal safe set, using supervision that is cheap to generate rather than PDE solvers or full-control trajectory optimization. They also test whether the resulting certificate works on real hardware.

## Key Contributions

1. **A systematic learning framework for near-optimal neural CBFs.** VertexCBF approximates the stationary HJ safety value function with a neural network, trained with a combination of a physics-informed PDE loss and a sparse supervised loss, so the learned function approximates the maximal safe set rather than an arbitrary valid CBF.
2. **Vertex-restricted supervision generation.** The authors note that for control-affine dynamics with a compact convex polytope control set, the Hamiltonian is maximized at a control vertex, so finite-horizon labels can be computed by tree search over the (typically small) vertex set instead of full-control sampling or numerical PDE solving. The search is GPU-parallel, and approximate variants (beam search, stochastic beam search, branch-and-bound) are used when the tree is large.
3. **A residual parametrization with a hard upper bound.** The network outputs a non-negative residual subtracted from the constraint function, so the learned CBF can never exceed the constraint function and the learned safe set is always contained in the specified constraint set.
4. **Broad empirical and hardware evaluation.** The method is evaluated on 15 dynamical systems against two baselines, plus a mobile-robot hardware experiment avoiding pedestrians.

## Main Findings

- **PDE-only learning is unreliable.** The baseline following the PDE-based loss alone (labelled ND, "no data") fails badly on several systems: a false-safe rate of 100.00% on the inverted pendulum, 99.98% on the quadruped trunk, 88.14% on cart-pole, 76.45% on the landing rocket, and 36.80% on the 2D vertical drone. In the inverted-pendulum case it collapsed to a trivial constant solution with an empty predicted safe set for most seeds.
- **Full-control MPPI supervision is often conservative or empty.** The full-control data (FCD) baseline produced an empty predicted safe set for every seed on the 2D vertical drone, cart-pole and quadruped trunk (marked with a dash in Table 1), and on the relative unicycle had a false-unsafe rate of 37.07% and a false-safe rate of 0.26%.
- **Vertex-restricted data (VRCD) recovers large safe sets.** VertexCBF achieved the highest or tied-highest effective safe volume on the systems reported in Table 1, for example 0.22 versus 0.08 (FCD) on the inverted pendulum, 0.58 versus 0.00 (FCD) and 0.35 (ND) on the 2D vertical drone, 0.32 versus 0.06 (ND) on cart-pole, and 0.24 versus 0.09 (ND) and 0.02 (FCD) on the landing rocket.
- **Low false-safe rates across systems.** VRCD's false-safe rates are mostly near or below 1% on the higher-dimensional systems, such as 1.07% on the quadrotor (13 states, 4 controls), 1.00% on the 6-DoF underwater vehicle (12 states, 6 controls) and 0.07% on the quadruped trunk. Exceptions where FCD had a lower false-safe rate include the kinematic bicycle (0.52% versus 1.16%) and the dynamic unicycle (0.09% versus 0.23%).
- **Vertex search produces better labels than MPPI at equal budget.** In the inverted-pendulum illustration with 160 random initial states, full-control MPPI kept the system inside the constraint set for only a few initial states of the true safe set, whereas vertex-restricted beam search succeeded for all of them. The authors attribute this to MPPI spending budget on interior controls that are rarely optimal.
- **The method works on hardware.** In 10 trials with one or two pedestrians intentionally intercepting the robot, the robot avoided collision in all of them using the learned relative-unicycle CBF inside a CBF-QP filter. The CBF value drifted slightly negative during pedestrian passes, attributed to model mismatch (tire slip, unmodeled actuator dynamics, noisy and delayed perception) rather than infeasibility, since the QP uses a slack variable and training radii were inflated by a few centimeters.
- **A consistency result supports the discretization.** Appendix A shows the vertex-restricted Euler Bellman operator is a first-order consistent approximation of the continuous stationary HJB variational inequality, with O(Δt) error in the time-normalized Hamiltonian.

## Methodology in Plain English

The authors treat the safety value function from HJ reachability as the ideal CBF: it defines exactly which states can be kept safe forever. Computing it exactly requires solving a PDE, so they approximate it with a neural network and train that network two ways at once.

The first way is a "physics" loss: at many randomly sampled states, the network's output and gradient should satisfy the stationary Hamilton–Jacobi variational inequality. The Hamiltonian involves maximizing over all allowed controls, but because the dynamics are control-affine and the control set is a polytope, that maximum always occurs at a corner (vertex) of the control set. So the max over a continuum of controls becomes a max over a short finite list.

The second way is a data loss: they pick some states, and for each one run a finite-horizon tree search where each branch picks one control vertex. Since the branching factor is just the number of vertices, the search is cheap and can be run in parallel on a GPU; when the tree is too large they use beam search, stochastic beam search, or branch-and-bound. The best worst-case constraint value found is the label. Because a narrower beam only prunes options, the labels are lower bounds on the full vertex-restricted search, which errs toward smaller — not falsely larger — safe sets.

Architecturally, the network does not output the CBF directly. It outputs a non-negative residual (an MLP with sinusoidal activations and a softplus output) which is subtracted from the constraint function, so the learned CBF is always at most the constraint function and the predicted safe set can never spill outside the allowed region. Periodic states are encoded as sine/cosine pairs and other inputs rescaled to [-1, 1].

Validation is done by rollouts rather than theory: states are sampled with stratified rejection sampling so roughly half fall inside the predicted safe set, each is simulated forward under the Hamiltonian-maximizing policy, and the authors report false-safe rate, false-unsafe rate, and effective safe volume. All experiments ran on a single NVIDIA RTX 3090 24GB GPU.

## Why This Matters

**Impact on research.** The paper isolates supervision quality as the bottleneck in learning HJ-based CBFs: it shows that the same architecture, hyperparameters and PDE loss give drastically different results depending only on how the data labels are generated. It also offers a cheaper alternative to both PDE solvers and sampling-based trajectory optimization for label generation, and it argues for reporting both false-safe and false-unsafe rates rather than a single number, since the baselines trade one for the other.

**Real-world applications.**

- Mobile robots sharing space with people, as demonstrated with a skid-steer robot avoiding pedestrians.
- Aerial vehicles, including quadrotors (13 states, 4 controls) and powered landing rockets.
- Manipulators, evaluated with a 3-DOF arm.
- Legged and underwater robots, evaluated with a quadruped trunk model and a 6-DoF underwater vehicle.

**Industry relevance.** The method plugs directly into the standard CBF-QP safety filter architecture already used in deployed stacks: it needs only control-affine dynamics and box-like (polytope) actuator limits, both of which are standard in robot middleware. The residual parametrization gives practitioners a guarantee that the learned filter will not certify states outside the region they already consider permissible, which is an attractive property when certification or liability is a concern.

## Future Directions

- **Formal guarantees.** The authors state they provide no convergence guarantees or deterministic error bounds; they suggest strengthening validation with sample-based certification such as scenario optimization or conformal prediction. The error decomposition they give (discretization and vertex-restriction error, horizon truncation error, beam-pruning error) is a natural target for bounding.
- **Scalability of label generation.** The tree grows as M^K in the number of control vertices and horizon length. The method is demonstrated up to 13 states and 6 controls, but the authors note full humanoid whole-body models may be computationally prohibitive, suggesting reduced-order models or safety-critical subsystems instead.
- **Uncertain dynamics and perception-based constraints.** The hardware experiment exposed exactly this gap: tire slip, unmodeled actuator dynamics and delayed, noisy pedestrian detections caused small CBF violations, which were handled by inflating radii by a few centimeters rather than modeled.
- **Larger vertex sets.** Beyond raw scaling, better approximate search for systems where the control polytope has many vertices remains open.

## Target Audience

Graduate students and researchers in safe control, HJ reachability and learning-based robotics; robotics engineers who want to build CBF-QP safety filters without hand-designing barrier functions; and practitioners evaluating whether learned certificates are trustworthy enough for deployment around humans. Readers focused on formal verification should note the paper's explicit reliance on empirical rollout validation rather than proofs.

## Authors’ abstract

As the number of autonomous robots continues to grow, safety becomes increasingly important. Control barrier functions (CBFs) provide a theoretically grounded framework for ensuring safety, but existing design methods often face limitations in effectiveness, scalability, or interpretability, and may result in overly conservative safe sets. In this paper, we propose \emph{VertexCBF}, a framework for learning neural CBFs in a scalable, systematic, and explainable way. We…

[The full abstract on arXiv](https://arxiv.org/abs/2609.12831)

[Read the original paper](https://arxiv.org/abs/2609.12831)

## Related papers

- [OcclusionCBF: Backup Control Barrier Functions for Safe Navigation Among Hidden Dynamic Obstacles](https://robotics.world/paper/occlusioncbf-backup-control-barrier-functions-for-safe-navigation-among-2609.06342) 2026-09-06 · cs.RO · Key terms of the title in common
- [GAMBIT: Learning to Plan Continuous Multi-Robot Trajectories](https://robotics.world/paper/gambit-learning-to-plan-continuous-multi-robot-trajectories-2610.06290) 2026-10-05 · cs.RO · Also by Wolfgang Hönig
- [Neural Integral Control Barrier Functions for Agile Collision Avoidance](https://robotics.world/paper/neural-integral-control-barrier-functions-for-agile-collision-avoidance-2611.02626) 2026-11-02 · cs.RO · Key terms of the title in common
- [Unified Overview of Safety Certificate Functions: Techniques from Hamilton--Jacobi Reachability and Control Barrier Functions](https://robotics.world/paper/unified-overview-of-safety-certificate-functions-techniques-from-2611.07537) 2026-11-05 · cs.RO · Key terms of the title in common
- [Maze Runner: Autonomous Maze Navigation with Line-Based Localization and Control Barrier Functions](https://robotics.world/paper/maze-runner-autonomous-maze-navigation-with-line-based-localization-and-2611.12949) 2026-11-06 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/vertexcbf-improving-neural-control-barrier-functions-via-vertex-2609.12831
