Is Your Safe Controller Actually Safe? A Critical Review of CBF Tautologies and Hidden Assumptions
Taekyung Kim · 2026
Read Is Your Safe Controller Actually Safe? A Critical Review of CBF Tautologies and Hidden Assumptions by Taekyung Kim (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-06954.txt.
Introduction
Kim reviews control barrier functions in robotic safety, asking whether a safe controller is safe. Barrier theory is established, yet he finds a gap between assumed and built safe controllers under input limits. He stresses the candidate-versus-valid distinction, studying dynamics, actuation limits, and class-K functions. He shows some safe policies cover only passively safe systems. Examples include single integrators or kinematic manipulators, where safety comes from physics and constraints prevent collisions. Low-dimensional examples show when barrier formulations give guarantees and when misuses break them.
Catalog record
| CREATOR | Taekyung Kim |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 29564 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2603.06954
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Is Your Safe Controller Actually Safe? A Critical Review of CBF Tautologies and Hidden Assumptions Taekyung Kim Abstract This tutorial provides a critical review of the practical application of Control Barrier Functions (CBFs) in robotic safety. While the theoretical foundations of CBFs are well-established, I identify a recurring gap between the mathematical assumption of a safe controller’s existence and its constructive realization in systems with input constraints. I highlight the distinction between candidate and valid CBFs by analyzing the interplay of system dynamics, actuation limits, and class- 𝒦 \mathcal{K} functions. I further show that some purported demonstrations of safe robot policies or controllers are limited to passively safe systems, such as single integrators or kinematic manipulators, where safety is already inherited from the underlying physics and even naive geometric hard constraints suffice to prevent collisions. By revisiting simple low-dimensional examples, I show when CBF formulations provide valid safety guarantees and when they fail due to common misuses. I then provide practical guidelines for constructing realizable safety arguments for systems without such passive safety. The goal of this tutorial is to bridge the gap between theoretical guarantees and actual implementation, supported by an open-source interactive web demonstration that visualizes these concepts intuitively. [Code] [Web Demo] \DeclareCaptionFont mysize Preliminaries Consider a control-affine dynamical system with state {\bm{x}}\in\mathcal{X}\subset\mathbb{R}^{n} and control input {\bm{u}}\in\mathcal{U}\subset\mathbb{R}^{m} , where \mathcal{U} encodes admissible actuation. The dynamics are \dot{{\bm{x}}}=f({\bm{x}})+g({\bm{x}}){\bm{u}}. (1) Unless stated otherwise, I assume f and g are locally Lipschitz on \mathcal{X} and that \mathcal{U} is nonempty. Consequently, for any locally Lipschitz feedback policy \pi:\mathcal{X}\to\mathcal{U} , the closed-loop system admits well-defined solutions. I denote by \mathcal{S} the set of instantaneously safe states, i.e., states that satisfy the hard safety specifications (e.g., geometric collision-free constraints, joint limits). A safe set (or controlled-invariant set ) is any set \mathcal{C}\subseteq\mathcal{S} that the closed-loop system can be kept inside for all future time. Definition 1 (Forward Invariance) . A set \mathcal{C} is forward invariant under the closed-loop dynamics if for every initial condition {\bm{x}}(0)\in\mathcal{C} , the solution satisfies {\bm{x}}(t)\in\mathcal{C} for all t\geq 0 . I Tautological Safety Guarantees A recurring failure mode in safety-critical control is a result that is mathematically correct yet algorithmically non-constructive: the safety property is effectively assumed in the hypothesis and then restated as the conclusion. A stripped-down version of this pattern can be written as follows. Assumption 1 (Existence of a Safe Controller) . There exists a control policy \pi_{s}:\mathcal{X}\to\mathcal{U} such that for any initial condition {\bm{x}}_{0}\in\mathcal{C} , the closed-loop trajectories satisfy {\bm{x}}(t)\in\mathcal{C} for all t\geq 0 . Fig. 1: https://cbf.taekyung.me : interactive web demonstration of the CBF Playground. The demo contrasts passively safe (driftless) systems (single integrator, kinematic manipulator), for which naive geometric constraints already prevent collisions, and a system with inertia (double integrator), where feasibility depends on actuation limits, velocity bounds, and class- \mathcal{K} tuning. Theorem 1 (Safety Guarantee) . Under Assumption 1 , the closed-loop system controlled by \pi_{s} renders the set \mathcal{C} forward invariant. Proof. Immediate from the definition of forward invariance. ∎ Theorem 1 is intentionally vacuous: it formalizes the statement “the system is safe if there exists a controller that keeps it safe.” The reason to spell out this tautology is that the same logical structure often reappears in modern presentations of Control Barrier Functions (CBFs) when the verification of hypotheses is skipped. To keep the discussion precise, I restate the standard CBF definition and theorem. Definition 2 (CBF [ 4 ] ) . Let h:\mathcal{X}\to\mathbb{R} be continuously differentiable and define the set \mathcal{C}\coloneqq\{{\bm{x}}\in\mathcal{X}\mid h({\bm{x}})\geq 0\} . The function h is a control barrier function (CBF) for System ( 1 ) on a set D\subseteq\mathcal{X} if there exists an extended class \mathcal{K}_{\infty} function \alpha such that \sup_{{\bm{u}}\in\mathcal{U}}\left[L_{f}h({\bm{x}})+L_{g}h({\bm{x}}){\bm{u}}\right]\geq-\alpha\big(h({\bm{x}})\big)\quad\forall{\bm{x}}\in D, (2) where L_{f}h({\bm{x}}) and L_{g}h({\bm{x}}) denote the Lie derivatives of h along f and g , respectively. Given a CBF h and \alpha , the set of admissible control inputs at state {\bm{x}} is K_{\textup{cbf}}({\bm{x}};\alpha)\coloneqq\left\{{\bm{u}}\in\mathcal{U}\mid L_{f}h({\bm{x}})+L_{g}h({\bm{x}}){\bm{u}}\geq-\alpha\big(h({\bm{x}})\big)\right\}. Theorem 2 ( [ 4 ] ) . Let \mathcal{C}=\{{\bm{x}}\mid h({\bm{x}})\geq 0\} with h\in C^{1} and assume \nabla h({\bm{x}})\neq 0 for all {\bm{x}}\in\partial\mathcal{C} . If h is a CBF on a set D satisfying \mathcal{C}\subseteq D\subseteq\mathcal{X} , then any locally Lipschitz controller {\bm{u}}({\bm{x}})\in K_{\textup{cbf}}({\bm{x}};\alpha) for all {\bm{x}}\in D renders \mathcal{C} forward invariant for System ( 1 ). The key point is where the burden of proof sits . Theorem 2 is correct, but it is conditional on: i) showing that the proposed h is actually a CBF, i.e., that ( 2 ) holds on an appropriate domain under the true input bounds \mathcal{U} ; and ii) ensuring well-posedness (e.g., local Lipschitz continuity of the implemented feedback law) [ 1 ] . If these hypotheses are assumed rather than verified, then the “CBF safety guarantee” collapses back to the tautology of Theorem 1 : it is safe because I assumed the existence of a controller that keeps it safe. To make the common gap explicit, I distinguish between a candidate CBF and a valid CBF. Definition 3 (Candidate CBF [ 10 ] ) . Let \tilde{h}:\mathcal{X}\to\mathbb{R} be continuously differentiable and define \tilde{\mathcal{C}}\coloneqq\{{\bm{x}}\in\mathcal{X}\mid\tilde{h}({\bm{x}})\geq 0\} . Any such \tilde{h} with \tilde{\mathcal{C}}\subseteq\mathcal{S} is called a candidate CBF. In many robotics applications, a candidate \tilde{h} is chosen from geometry (often, \tilde{\mathcal{C}}=\mathcal{S} ). This is a reasonable starting point, but it does not by itself justify the use of Theorem 2 . The missing step is to verify that the CBF feasibility condition holds everywhere on the claimed safe set: K_{\textup{cbf}}({\bm{x}};\alpha)\neq\emptyset\quad\forall{\bm{x}}\in\tilde{\mathcal{C}}. (3) When ( 3 ) fails, any downstream “CBF-QP” controller is undefined at those states, and the formal safety claim does not apply. II Defining Safety and Common Fallacies Before discussing how to construct valid certificates, I formalize what I mean by a safe system and separate it from weaker notions that frequently appear in practice. II-A Safety as Forward Invariance Definition 4 (Safe Autonomous System) . Consider the closed-loop dynamics \dot{{\bm{x}}}=f({\bm{x}})+g({\bm{x}})\pi_{s}({\bm{x}}) , where \pi_{s}:\mathcal{X}\to\mathcal{U} is locally Lipschitz. The system is a safe autonomous system with respect to \mathcal{C} if \mathcal{C} is forward invariant under the closed-loop dynamics, i.e., for all {\bm{x}}_{0}\in\mathcal{C} , the solution satisfies {\bm{x}}(t)\in\mathcal{C} for all t\geq 0 . In set-based approaches, \mathcal{C} is typically represented as the superlevel set of a scalar function h . The challenge is not writing down a candidate \tilde{h} , but proving (or at least rigorously validating) that it satisfies the derivative inequality required for a CBF 1 1 1 I strictly distinguish between a candidate CBF (an arbitrary differentiable constraint function) and a CBF (a function verified to satisfy ( 2 )). . II-B Distinguishing Empirical Success from Formal Safety II-B 1 Empirical validation is not safety. Finite-horizon experiments (in simulation or hardware) can demonstrate performance and reveal failure modes, but they do not establish forward invariance. Even a system that succeeds for 10^{6} trials 2 2 2 In practice, demonstrations often rely on even fewer trials, typically in the range 10^{1} to 10^{2} . can fail on the next rollout if the invariance property is not proven. II-B 2 Safety-informed is not safe. Safety is a hard constraint : unsafe states are inadmissible. In contrast, many learning and optimization pipelines encode safety as a soft penalty that can be traded off against