# Ontology-Compiled Control Barrier Functions for Heterogeneous Robot Teams

Robotics.world

> Safety filters for teams of different robot types break down in three ways: the filter is missing a constraint that applies to a robot class, payload type or combination nobody anticipated at design…

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

**Published**: 2026-11-15

**Authors**: Peng Wu, Seyede Fatemeh Ghoreishi, Nathan Bastian, Mohsen Imani, Tian Lan, Mahdi Imani

## In plain words

Safety filters for teams of different robot types break down in three ways: the filter is missing a constraint that applies to a robot class, payload type or combination nobody anticipated at design time; the filter credits a robot with more braking authority than it actually has; and the filter contains constraints that are each satisfiable alone but exclude one another, so the quadratic program becomes infeasible.

## AI summary

## Overview

**Research area:** Safe control for multi-robot systems — specifically, control barrier function (CBF) safety filters combined with knowledge representation (OWL 2 description-logic ontologies) and multi-agent reinforcement learning.

**Technical level:** Advanced. The paper assumes familiarity with control barrier functions, quadratic programs, description logic (TBox/ABox, subsumption, property chains), and MARL training (MAPPO).

**Scope:** The paper presents OntoCBF, a pipeline that compiles a robot-domain ontology — taxonomy, typed relations, safety axioms and per-class dynamics profiles — into a per-agent CBF quadratic program, proves when a robot subclass may inherit its parent's safety certificate, shows that pairwise braking barriers admit unavoidable conflicts, and evaluates the approach in a simulated warehouse with up to 32 robots.

## What This Paper Is About

Safety filters for teams of different robot types break down in three ways: the filter is missing a constraint that applies to a robot class, payload type or combination nobody anticipated at design time; the filter credits a robot with more braking authority than it actually has; and the filter contains constraints that are each satisfiable alone but exclude one another, so the quadratic program becomes infeasible. The authors' goal is to let a formal ontology, rather than hand-maintained tables, decide which safety constraints are active for any team — including robot classes and payloads never seen during design — while proving exactly when an existing safety certificate carries over to a new class and when safety loss is unavoidable.

## Key Contributions

1. **Ontology-entailed, switching constraint sets.** The authors formulate safe control of heterogeneous teams whose active constraints are entailed online by a domain ontology, and compile those entailments into a CBF filter with one quadratic program per agent, trained jointly with a shared MAPPO policy with the filter in the loop.
2. **A formal certificate-inheritance theorem (Theorem 4).** The theorem shows that a subclass inherits exactly the constraints of its parent when it has the same subsumers in a designated signature (a classification test), and inherits its capabilities when it is a *dynamic subtype* — an inclusion of reachable velocity sets. For box-bounded double integrators this condition is also necessary, and reduces to comparing per-axis acceleration limits.
3. **Conflict results for pairwise barriers (Propositions 5–7).** With capabilities assigned this way, safety is lost only after a conflict; and with three interacting robots there exist states with all pairwise barriers positive from which every admissible input causes a collision — states that persist in larger teams under any fixed capability reduction.
4. **Warehouse evaluation with unseen classes and up to 32 robots.** Experiments show OntoCBF removes the missing-constraint and overestimated-capability failure modes, that every remaining violation follows a conflict, and that the learned policy reduces the rate of infeasible QPs by 18–41%.

## Main Findings

- **Missing constraints dominate naive filters.** A filter built from hand-written tables for the design classes (Flat) violates safety in 89–100% of the episodes in the unseen-class scenarios W1–W3, mostly through an omitted aerial–human axiom (76.2 violating constraint-steps per episode vs. 1.9) and an omitted hazard keep-out.
- **OntoCBF's residual violations are all conflicts.** Across all scenarios, including one with 32 robots, OntoCBF violates safety in 20–70% of episodes, each time after a conflict, with a median deepest intrusion of 10–17% of the keep-out distance. Each of the 466 violation onsets in W0, W1, W3 and W4 follows within 1 s a conflict of an agent of the violated constraint.
- **Conflicts are rare per step but precede every violation.** Conflicts precede only 1.9–3.3% of all agent-steps within the same window, and 98% of all infeasible QPs are conflicts (the remainder contain an inequality whose barrier is already negative).
- **Overestimated capability appears first as single-constraint failure, then as violation.** A HeavyDrone given the capability of Drone (Naive) shows single-constraint failures in 1% of encounters at γ = 1, 13% at γ = 3 and 100% at γ = 30, leading to violations from γ = 10 on, in 48% of encounters at γ = 30 with distances down to 0.75 m against a 1.0 m keep-out. OntoCBF stays free of failures and violations at every gain.
- **Ontology-implied constraints transfer for free.** W2 (hazardous payloads retyped as Chemical) reproduces W0 seed by seed, as the theory predicts, because the payload subclass adds no axiom instance.
- **Conservative defaults are safe but costly.** Flat-cons treats every unlisted robot or pair like the weakest listed one and violates safety less often than OntoCBF in every scenario (28 vs. 40% in W3), but achieves only 65% and 91% of OntoCBF's deliveries in W1 and W3. Untyped reaches 66% of OntoCBF's ordinary deliveries in W0.
- **Every ontology element matters.** Removing the property chain, the robot or payload taxonomy, or the defined class produces violations in at least 79% of the episodes where that element is needed; omitting the activation check leaves 217 pickups in W3 beginning inside a keep-out region.
- **Joint validity is not automatic.** A linear program at each of the 78,837 states visited in W0 shows the design family is jointly valid at 94.4% of states; HeavyDrones under Drone's capability break it at 853 of those states, and with their own capability form a new family valid at 91.6% of the states where the design family is.
- **Why conflicts arise.** At 56–68% of the onsets the robot was not even moving toward the other entity — conflicts concentrate when humans close in on a drone or a hazardous carrier, because each pairwise barrier assumes the robot devotes its full braking to that one pair.
- **Learning in the loop helps modestly.** Trained in W0 only, the MAPPO policy lowers episodes with a violation from 20–70% to 11–65% and cuts the infeasible-QP rate per agent-step with active constraints by 18–41%, with paired 95% bootstrap intervals below zero. Mean violating steps change by −8.3 to −2.3 and deliveries per courier by −0.11 to +0.04. Without the filter the policy violates safety in every episode.
- **Computational cost is small.** The filter takes at most 6.1 ms per step, and the full reasoning step 4.6 ms per event on one CPU core; rule saturation agrees with the HermiT reasoner on 72 random ABoxes and takes 0.06 ms per ABox against 332 ms.

## Methodology in Plain English

The team starts by writing down what the warehouse world contains in a formal ontology: a taxonomy of robot classes (Drone, Rover, Carrier, with LightDrone, HeavyDrone and Forklift as subtypes), a taxonomy of payloads (ending in Chemical under HazardousPayload), typed relations such as `near` and `carries`, a property chain that makes a carrier "nearCarried" to everyone near its payload, and a defined class HazardCarrier that automatically covers any agent currently holding a hazardous payload. Each robot class also carries a dynamics profile — here a per-axis acceleration limit and a nominal speed.

Safety requirements are stored as axioms of the form "whenever relation r holds between a of class C and b of class C′, keep distance at least D." A standard OWL reasoner (HermiT) classifies the ontology once offline. At run time, a lightweight rule engine reacts to sensed events — an entity entering or leaving a 7 m sensing radius, a pickup or a drop — and works out which axiom instances now apply. Because the ontology entails, for example, that a LightDrone is a Drone and therefore Aerial, the aerial–human keep-out applies to a robot class the designers never listed.

Each active constraint becomes a braking barrier from prior work, and the acceleration each agent must supply is split among the parties in proportion to their braking authority. Each agent collects its inequalities and solves a tiny two-dimensional quadratic program: stay as close as possible to the nominal command while satisfying every half-plane, inside its true acceleration box. If the feasible region is empty, it falls back to a soft-penalized version.

The inheritance rule is the conceptual core. A new class may reuse its nearest design ancestor's braking capability — and with it the parent's safety certificate — only if two independent tests pass: a description-logic test that the class has exactly the same relevant subsumers, and a dynamics test that it can produce every velocity its parent can. For a HeavyDrone the dynamics test fails (it brakes at 1.0 m/s² against Drone's 2.0), so it needs its own capability; for a LightDrone (3.0 m/s²) it passes.

Finally, a policy shared across agents is trained with MAPPO in the design scenario only, with the filter acting on its outputs. Agents see relative states, class embeddings tied along the taxonomy (so an unseen class is represented through its known ancestors), and the currently entailed keep-out distance; the reward penalizes filter intervention, infeasible QPs, violations and overspeed. The policy is then tested unchanged in scenarios with unseen robot classes, unseen payload types, unlisted (robot, payload) combinations, and a 32-robot tiled warehouse.

## Why This Matters

**Impact on research.** The paper connects two communities that rarely meet: knowledge representation and control-theoretic safety. It gives a precise, provable answer to the question "when can a new robot type reuse an existing safety certificate?" — separating logical subsumption from dynamic subtyping, and showing the latter is not optional for braking barriers. Its negative result is arguably more important than the positive one: pairwise braking barriers are provably incompatible on part of their own safe set once three robots interact, which formalizes a long-standing empirical observation that such QPs go infeasible in crowds. This redirects effort from "add more constraints" toward conflict-aware or joint-constraint filter design.

**Real-world applications:**

- **Warehouse and fulfillment automation**, where fleets mix drones, rovers, carriers and forklifts and gain new models over the fleet's lifetime.
- **Hospital and eldercare logistics**, where robots move among people who do not cooperate, and payloads may be hazardous.
- **Construction and industrial sites**, where ground robots must respect restricted zones that aerial robots may cross, matching the separation-distance language of ISO 2016 and ISO 2023 standards.
- **Fleet onboarding and certification**, where an engineer must decide whether a newly purchased robot model can reuse an approved safety case or needs a new one.

**Industry relevance.** The practical pitch is maintenance cost: covering three unseen-class scenarios took 10 ontology statements in OntoCBF versus 18 hand-written table entries in the baseline, and the ontology generalizes to combinations that were never enumerated. The demonstrated compute budget — under 6.1 ms per control step and 4.6 ms per reasoning event on a single CPU core — is compatible with real fleet controllers. The honest caveat is that OntoCBF still violates safety in 20–70% of episodes, so it removes two failure modes but not the third, and the authors are explicit that for classes such as HeavyDrone and Forklift "a certificate is still to be established."

## Future Directions

- **Certificate construction for non-inheriting classes.** HeavyDrone and Forklift receive their own capabilities but no inherited certificate; establishing one, and characterizing which capability assignments admit a certificate at all, is the obvious next step.
- **Conflict-aware filtering beyond pairwise barriers.** Proposition 7 shows pairwise braking barriers cannot be made forward invariant for three or more robots, and that any fixed capability reduction leaves such conflicts in large enough teams. Candidate remedies include joint multi-constraint QPs, priority or responsibility schemes that vary with context, or barriers over convex combinations of pairs.
- **Bounding the discrete-time gap.** The experiments use a 0.05 s zero-order hold and the authors state they do not bound the inter-sample effect. A sampled-data version of the invariance and conflict results would close the gap between the continuous-time proofs and the simulator.
- **Scaling and decentralizing the reasoner.** Reasoning is centralized over a shared ABox and each QP needs states and capabilities of entities within the sensing radius. Distributing entailment across agents, and testing whether the taxonomy-tied class embeddings transfer to genuinely out-of-distribution team compositions, are open engineering questions.

## Target Audience

Researchers and graduate students working on safe multi-agent reinforcement learning, control barrier functions and safety filters, and formal-methods or knowledge-representation approaches to robot safety. It is also relevant to robotics engineers who maintain safety specifications for mixed fleets and need to reason about whether a newly added robot model or payload type invalidates an existing safety case. Readers without background in CBFs or description logic will find Sections 3–5 heavy going, though the warehouse experiments in Section 6 are readable on their own.

## Authors’ abstract

Safety filters for heterogeneous robot teams fail because of missing constraints, overestimated braking capabilities and conflicts between individually satisfiable constraints. We present OntoCBF, which compiles a domain ontology with a class taxonomy, typed relations, safety axioms and a dynamics profile per robot class into a control barrier function filter with one quadratic program per agent. Description-logic entailment supplies the constraints of any team online,…

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

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

## Related papers

- [Sim2CBF: From Forward Simulations to Implicit Control Barrier Function Safety Filtering without Model Derivatives](https://robotics.world/paper/sim2cbf-from-forward-simulations-to-implicit-control-barrier-function-2611.22954) 2026-11-17 · 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
- [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
- [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
- [MOSS: Multimodal Origami Swamp Robot System](https://robotics.world/paper/moss-multimodal-origami-swamp-robot-system-2610.23813) 2026-10-16 · cs.RO · Also by Tian Lan

---

Canonical: https://robotics.world/paper/ontology-compiled-control-barrier-functions-for-heterogeneous-robot-2611.20306
