Manuscript Offprint
arXiv:2610.08765LBA-CBF: Rapidly Adaptive Safety Filters via Parallel Dynamics Inference
Maitham F. AL-Sunni
Timeea-Andreea Radu
Hassan Almubarak
Henry Z. Liao
Michael Görner
Francesco Maurelli
John M. Dolan
Abstract—Control barrier functions (CBFs) certify commands through an assumed dynamics model, so an abrupt, unmeasured regime change can undermine the certificate exactly when safety matters most. We present Look-Back Adaptive Control Barrier Functions (LBA-CBF), which rank a finite bank of candidate dynamics by recent prediction error over a short look-back window and enforce the high-order CBF condition against every model within a tolerance of the best, spanning best-fit adaptation to full-bank robust filtering. The dynamics may depend nonlinearly on the unknown parameters, and no switching model or continuously parameterized estimator is required. We prove that any feasible filtered input satisfies the true CBF condition whenever a safety-representative candidate is retained. In quadrotor simulation with abrupt wind reversals and an unknown payload, LBA-CBF is safe and reaches the goal from all random initial conditions, matching an oracle, while adaptive and robust baselines achieve 0–88% success. Banks of up to 250,000 models run inside the control loop, and Crazyflie 2.1 and F1TENTH experiments demonstrate adaptation to wind, payload release, and varying tire-road friction. Code, videos, and project details are available at:
I. INTRODUCTION
A control safety filter is only as trustworthy as the dynamics model used inside its barrier condition. Control barrier functions (CBF) [1] keep the state inside a safe set with minimal deviation from a nominal controller, but certify each input through the predicted evolution of the barrier under an assumed dynamics model. An abrupt, unmeasured change of dynamics regime, such as an unknown payload, a sudden wind gust, or a change in tire-road friction, therefore undermines the filter exactly when safety matters most.
Two main remedies exist. Robust CBFs certify the barrier against a fixed worst-case uncertainty set [2], which can be conservative in a way that online data cannot reduce. Adaptive and learning-based CBFs reduce this conservatism by estimating unknown parameters or model errors online, but abrupt regime changes must be absorbed through an estimation transient. Robust adaptive CBFs combine adaptation
Look-Back Rapid Adaptation

Fig. 1: Overview of the LBA-CBF framework. The look-back stage ranks candidate models by recent prediction error and retains a prediction-plausible set, while the look-ahead computes a control input satisfying the CBF constraints for every retained model.
with set-based uncertainty descriptions [3], but under the standard constant-parameter formulation the admissible parameter set contracts as measurements accumulate and does not re-expand when the dynamics change. Safety certification thus remains tied either to a fixed uncertainty description or to the transient of a continuously updated estimate.
We propose Look-Back Adaptive Control Barrier Functions (LBA-CBF), whose architecture is illustrated in Fig. 1. Rather than committing the safety filter to a single continuously evolving estimate, LBA-CBF maintains a finite bank of candidate dynamics models and, at every control step, evaluates them in parallel by their prediction error over a look-back window of length W. The best-fitting model can be used directly for rapid adaptation, while a prediction-plausible set retains models whose recent errors lie within a tolerance of the minimum and enforces the CBF condition for all retained models. After W new transitions, pre-change observations no longer contribute to the residual, so the filter adapts to changes without a switching model.
M. F. AL-Sunni is with the Department of Electrical & Computer Engineering, Carnegie Mellon University, Pittsburgh, PA, USA. Email: malsunni@andrew.cmu.edu
T. Radu, M. Görner, and F. Maurelli are with the School of Computer Science & Engineering, Constructor University, Bremen, Germany. Email: {tradu,migoerner,fmaurelli}@constructor.university
H. Almubarak is with the Control & Instrumentation Engineering Department, King Fahd University of Petroleum and Minerals, Dhahran, Saudi Arabia. Email: halmubarak@kfupm.edu.sa
H. Z. Liao and J. M. Dolan are with the Robotics Institute, Carnegie Mellon University, Pittsburgh, PA, USA. Email: {hzl, jdolan}@andrew.cmu.edu
CBFs reduce conservatism through online parameter adaptation [6]. Robust adaptive CBFs (RaCBFs) combine adaptation with set-membership identification [3], with extensions to high-relative-degree constraints [7]. Alternatively, safety can be embedded into an adaptive controller by augmenting the parametrically uncertain dynamics with barrier states [8]. More recent approaches accommodate time-varying uncertainty: robust CBFs in [9] admit time-varying parameters that enter the dynamics nonlinearly and use set-membership estimation to reduce conservatism, while [10] combines finite-time estimation of time-varying parameters with RaCBFs under a structured parameterization and bounded parameter variation. Disturbance-observer [11] and [12] approaches instead estimate and compensate model mismatch through observer or adaptive dynamics. In contrast, LBA-CBF does not require a continuously parameterized estimator or an affine-in-parameter uncertainty model: it ranks a finite bank of candidate dynamics directly from recent prediction error and certifies the barrier against the dynamics hypotheses retained by the moving look-back window.
-
Switched dynamics and regime change: CBF methods for hybrid and switched systems construct mode-dependent safety conditions under a specified hybrid structure [13], while learning-based approaches have estimated mode-specific barrier residuals for switching systems [14]. In contrast, LBA-CBF treats the active dynamics regime as latent and infers it from recent state-action transitions without requiring known guards or a transition model.
-
Multiple-model methods: Adaptation through a finite bank of candidate dynamics is a classical multiple-model control idea [15]. More recently, multiple-model reasoning has appeared in safety-critical control: [16] combines CBF constraints with MPC for jump Markov linear systems under uncertain mode estimates, while [17] uses a supervisory multi-observer bank to estimate unknown parameters within an adaptive safety controller. Most closely related to our inference mechanism, the look-back bank of [18, 19] ranks candidate vehicle models over a short window and selects the best-fitting model for adaptive racing model predictive control (MPC). LBA-CBF instead uses the windowed prediction residual for safety certification, retaining the best-fitting dynamics or a prediction-plausible subset and enforcing the high-order CBF (HOCBF) against them.
B. Contributions
The main contributions of this work are:
• Look-back adaptive safety filtering. LBA-CBF ranks a finite bank of candidate dynamics by recent prediction error and enforces the CBF condition against the best-fitting models. The parameters may enter the dynamics nonlinearly, including through the input gain, and no switching model or continuously parameterized estimator is required.
• Safety guarantee and adaptive-to-robust filtering. Every feasible LBA-CBF input satisfies the CBF condition of the true dynamics whenever the retained set contains a safety-representative model. A finite tolerance that guarantees this exists whenever the bank contains such a model, and the same tolerance spans best-fit adaptation and full-bank robust filtering.
• Real-time implementation and robotic validation. A parallel JAX implementation runs banks of up to 250,000 models inside the control loop. In quadrotor simulation, LBA-CBF is safe and reaches the goal from all random initial conditions, outperforming adaptive and robust baselines. Experiments on a Crazyflie 2.1 and an F1TENTH race car demonstrate adaptation to wind, a swinging payload with an abrupt release, and varying tire-road friction.
II. PROBLEM FORMULATION
A. Robotic systems with changing dynamics regimes
Consider the discrete-time robotic system
where , , , and denote the time index, state, control input, and unobserved dynamics parameter, respectively. We assume that and are compact.
parametrizes to represent the active dynamics regime of the robot. Such regimes arise from changes in payload, contact, terrain friction, or aerodynamic loading. We do not assume that the active regime is directly observed or that its evolution follows a known switching law. Moreover, need not be affine in the unknown parameter .
Safety of the robot is represented by the path constraint , which defines the safe set
A controller is safe if every closed-loop trajectory from an admissible initial condition satisfies for all , i.e., it renders controlled invariant.
B. Discrete-time high-order control barrier functions
We use discrete-time HOCBFs to construct the safety filter, making the dependence on the dynamics parameter explicit, since the filter will evaluate this condition under different candidate models.
We say that has relative degree for (1) if the input first affects the safety function after steps, i.e., is independent of the applied inputs for and depends on for .
Definition 1 (Discrete-time HOCBF [4, 20, 21]). Let . For a parameter , define and, for ,
By the relative-degree property the right-hand side is independent of for , so are functions of the state alone and we write ; is the first term in which the input appears. The order-r HOCBF condition at time is
If (4) is enforced at every step and for , then the safe set is forward invariant [5].
For , (4) reduces to the relative-degree-one discrete-time CBF condition . Problem. Given the uncertain system (1), the safe set , a nominal controller and recent observed state-action transitions, our objective is to construct a real-time safety filter that minimally modifies while accounting for the unobserved and potentially changing dynamics regime .
III. LBA-CBF: RAPIDLY ADAPTIVE SAFETY FILTERS
The proposed LBA-CBF framework consists of three stages. First, a finite bank of candidate dynamics models is constructed over the operating regimes. Second, a look-back module evaluates how well each candidate explains the most recent transitions and retains a set of prediction-plausible models. Third, the safety filter enforces the CBF condition against every retained model and returns the admissible input closest to the nominal command.
A. Finite dynamics model bank
Let be a finite bank of candidate parameter values. Each induces a candidate transition map, yielding the finite family of dynamics models
The bank may be constructed from physically meaningful parameter ranges, system-identification results, expert-designed operating modes, simulation-based domain randomization, or other finite collections of candidate dynamics. In our experiments, we use structured grids over prescribed parameter ranges because they provide simple and reproducible coverage of the operating regimes. However, the LBA-CBF construction itself requires only a finite candidate bank and is not tied to a particular sampling strategy.
B. Look-back model plausibility
At every control step, the bank produces one-step predictions in parallel from the measured previous transition: the pair is broadcast to all M candidate models and stepped in one batched evaluation,
where is the bank evaluated at step and is the prediction of candidate . Once is measured, each candidate is scored by its quadratic one-step prediction error
Here is diagonal with positive entries and weights each state by its recent innovation scale, so that dimensions with different units contribute comparably; recovers the unweighted residual. The look-back module aggregates these scores over the most recent transitions through the windowed prediction loss
which is maintained recursively as . This recursive structure allows each candidate's score to be updated in constant time per step and the look-back module in per step, independent of the window length (for , the sum accumulates without subtraction).
The window length controls the tradeoff between responsiveness to changes in the active regime and noise rejection. A longer window accumulates prediction errors over more transitions and therefore produces a smoother residual landscape but reacts more slowly to a change in the active dynamics. A shorter window, on the other hand, responds more rapidly to regime changes, at the cost of greater sensitivity to measurement and process noise.
A natural regime estimate is the empirical-risk minimizer
For safety filtering, however, collapsing the residual landscape to a single minimizer can be overly optimistic. Over a finite look-back window, multiple candidate models may explain the observed transitions almost equally well and hence the recent data may not support a unique regime selection. More importantly, the residual criterion measures predictive consistency with past transitions, whereas safety depends on the CBF evolution induced by the candidate dynamics. Consequently, the minimum-residual model need not be the model most relevant to the current safety constraint.
Therefore, we retain the model ambiguity that remains unresolved by the recent data rather than committing to a single candidate. Let
Then, for a tolerance , we define the prediction-plausible set
C. Multi-model LBA-CBF safety filter
For each candidate model j, define its model-dependent CBF value at time k by
where is generated according to Definition 1. Thus, is precisely the CBF condition that would be imposed if were the active dynamics regime.
The LBA-CBF safety filter enforces the model-dependent CBF condition for every candidate in the plausible set:
(13)
When the model-dependent CBF constraints are affine in u, (13) reduces to a quadratic program (QP); more generally, the same construction defines a constrained safety-filter optimization. We define the corresponding feasible control set
Remark 1 (Adaptive-to-robust continuum). If , then and consequently : increasing only adds model-dependent CBF constraints and weakly shrinks the admissible control set. Letting , the extreme recovers a best-fit, minimum-residual safety filter, while any yields , i.e., the CBF condition is enforced over the entire model bank. The tolerance therefore interpolates between single-model adaptation and full-bank robust filtering.
Both stages of a control step parallelize across models: the M prediction losses are independent across candidates, as are the model-dependent CBF evaluations over . We exploit this with vectorized JAX [22], which runs on CPU or GPU and keeps large banks inside the control loop.
D. Safety guarantee
The prediction-plausible set determines which candidates the filter accounts for, but prediction error alone does not connect a candidate to the true safety constraint, so we introduce a bank-adequacy condition in the barrier domain.
Define the CBF value of the true current dynamics as
Assumption 1 (Safety-representative bank). For every time k, the candidate bank contains at least one model whose CBF prediction is no more optimistic than that of the true current dynamics. Specifically,
Assumption 1 does not require to lie in the bank, only a candidate whose barrier prediction is conservative.
Lemma 1 (Safety transfer). Suppose Assumption 1 holds at time k, the safety-representative candidate satisfies , and the safety-filter problem (13) is feasible. Then its solution satisfies the CBF condition for the true current dynamics:
Proof. Since , the constraints of (13) give , so by Assumption 1, .
Lemma 1 reduces satisfaction of the true CBF condition to inclusion of a safety-representative candidate in the prediction-plausible set. We next establish that a sufficiently large tolerance always exists under Assumption 1.
Lemma 2 (Existence of a sufficient plausible-set tolerance). Let be a safety-representative candidate satisfying Assumption 1, and define Then,
and every satisfying guarantees .
Proof. Since is the minimum loss over the bank, . Furthermore, , which gives (17). Thus, for any , Hence, by (11), .
Remark 2 (Selection of ). Lemma 2 establishes the existence of a tolerance sufficient to retain a safety-representative model, but it does not prescribe an online value for that tolerance, i.e. and hence are not known to the controller. In this work, is therefore treated as a design parameter and selected empirically. Smaller values retain fewer dynamics hypotheses and generally yield a less restrictive safety filter, whereas larger values retain more unresolved model ambiguity and impose a larger collection of safety constraints.
It is worth noting that (17) provides a conservative certified endpoint. In particular, any
necessarily satisfies under Assumption 1 and recovers the full-bank robust safety filter.
The recursion of Definition 1 is defined for a fixed parameter, whereas the active regime varies with . For this is immaterial, since does not depend on the parameter. For the intermediate functions are parameter-dependent, and propagating their sign across a regime change requires the following condition.
Assumption 2 (Regime-change compatibility). For every and every , implies .
Assumption 2 constrains only the transition between consecutive regimes: it requires that the change from to does not by itself render an intermediate barrier function negative at the state reached. It is vacuous for .
Theorem 1 (Conditional closed-loop safety of LBA-CBF). Let for . Suppose that for every , Assumption 1 and Assumption 2 hold, the selected tolerance satisfies , and the safety-filter problem (13) is feasible. Then the true order-r CBF condition is satisfied at every time step:
Consequently, the safe set S is rendered forward invariant.
Proof. For any time , and Lemma 2 imply . Since the safety-filter problem (13) is feasible, Lemma 1 then gives . For the forward-invariance conclusion, suppose for . Applying (3) to and descending the chain gives for , since . Assumption 2 carries this to the incoming regime, for , while is parameter-free. The induction therefore closes and for all .
IV. EXPERIMENTAL VALIDATION
We evaluate LBA-CBF in one simulation study and two hardware studies; a video of the full hardware runs is on the project's website. The simulation compares LBA-CBF with four adaptive and robust CBF baselines, together with a fixed-model nominal CBF and an oracle given the true parameters, from identical initial conditions on a task whose payload scales the input, and ablates the look-back window W and the bank size M. On hardware, LBA-CBF is compared with the same filter using a fixed model, so that adaptation is the only difference. On a Crazyflie 2.1 quadrotor, it filters a linear quadratic regulator (LQR) under fan-induced wind and under a swinging payload that is then cut loose. On an F1TENTH race car [23], we experiment with slippery plastic and rubber tires where the proposed work identifies the model of a CBF-constrained MPC. The car's tire parameters enter the Fiala model nonlinearly, so no linear-in-parameter adaptive/robust CBF [3, 6] applies.
A. Quadrotor: Simulation Experiments
- Task, dynamics, and filter: The vehicle must descend from a start band to a goal at m through five windy gates (Fig. 3), each includes obstacles of radius 0.32 m leaving a 0.84 m corridor. The corridors alternate between and m on the rows m, so the vehicle must move laterally between gates while all obstacles are constrained. The 26 initial conditions are drawn uniformly at random over m and m, with an initial descent of 0.4 m/s that reaches the first gate while every estimator is still converging from ; runs last 40 s at dt = 0.02 s. The nominal LQR regulates straight to the goal, so all obstacle avoidance comes from the safety filter.
The vehicle is the planar quadrotor
(20)
with , , rotor thrusts , pitch (distinct from the parameter vector ), mass , gravitational acceleration , rotor separation , and moment of inertia .
Four horizontal bands, bounded at , 0, and m, carry a lateral wind N whose sign alternates between bands, so each of the three band crossings is an instantaneous, unannounced reversal of the disturbance—the regime change of Subsection II-A. Outside a calm pocket of radius 0.3 m at the goal, where wind and drag vanish, the drag coefficients are , and everywhere an unknown payload raises the mass by , so that becomes in (20) and . The payload therefore scales the control-input term of (1), nonlinearly in ; the hardware bank lumps it into , whereas here it is modeled explicitly.
Each safety constraint is enforced by a second-order CBF on the collective thrust. Because at the two thrusts enter that condition only through their sum, leaving no lateral
(A) ablation on hyperparameters

(B) compute
Fig. 2: Ablation over bank size M and window W. (A) One-step prediction error (star indicates minimum). (B) Control rate vs. M.
authority, we add a fourth-order CBF on the differential thrust, whose tilt bends the straight nominal reference around obstacles. Both are enforced at 50 Hz. The QP is solved by sequential least-squares quadratic programming. Fixed-gain CBFs do not guarantee feasibility under input limits; when the solver fails, which in every case we examined occurred because no admissible input satisfied all conditions, the implementation applies the nominal command.
The bank is a grid over plus the zero model, , spanning N ( the true wind), , and ; no grid value coincides with the true wind, drag, or , although the wind axes contain the true . We use (0.1 s) and enforce the barrier against every model whose windowed residual lies within of the lowest, as in Subsection III-C: certifies the best-fitting model, while and retain sets of tens of candidates out of M, whose size varies from step to step, widening whenever the recent data separates the bank less sharply. Unless stated otherwise, LBA-CBF refers to .
- Baselines and metrics: We evaluate three adaptive CBF filters and one robust CBF filter, alongside fixed-model and oracle references. The disturbance-observer CBF (DOB-CBF) [11] low-pass filters the nominal model's planar force residual at bandwidth . The adaptive CBF ( -AC) [12] estimates the same force using a predictor-based adaptation law and a 33 rad/s low-pass filter. The high-order robust adaptive CBF (HO-RaCBF) [7] updates the force estimate by gradient descent within a priori bounds , with a robustness margin that contracts with excitation. All three adaptive baselines drive the same two-channel filter as LBA-CBF, retaining both the second-order thrust condition and the fourth-order tilt condition. The robust CBF (R-CBF) [2] applies worst-case robustification to the second-order thrust condition using bounds on wind and drag. The fixed-model Nominal CBF assumes , whereas the Oracle receives the true at every step. The three adaptive baselines use additive planar-force uncertainty models, which support their observer constructions and the linear-in-parameter formulation of HO-RaCBF. These implementations do not explicitly identify the payload-dependent input gain. In contrast, LBA-CBF's model bank includes the payload parameter, allowing its predictions to account for changes in control effectiveness. The experiment thus evaluates the complete adaptation designs under simultaneous wind variation and payload mismatch.
(A) Oracle CBF (truth)

(B) LBA-CBF ( )
(C) HO-RaCBF
(D) -AC + CBF
(E) DOB-CBF
(F) R-CBF
(G) Nominal CBF

-- Oracle CBF (truth)
LBA-CBF
HO-RaCBF
-AC + CBF
DOB-CBF
R-CBF
Nominal CBF
obstacle
wind direction
goal
starts
Fig. 3: Quadrotor simulation: all 26 trajectories per method, ordered as in Table I. The vehicle descends from the grey squares to the goal (star) through five gates of paired obstacles (grey discs, whose edge is ); the wind blows along the red arrows, in the shaded bands and in the white ones. (A) Oracle, (B) LBA-CBF, (C) HO-RaCBF, (D) -AC, (E) DOB-CBF, (F) R-CBF, (G) Nominal CBF.
TABLE I: Quadrotor simulation, 26 random initial conditions per method. A success is both safe and reached. is averaged over the 13 starts on which every method with a nonzero success rate succeeded; n/a otherwise. is the plausible-set tolerance.
| Method | Safe [%] | Reached [%] | Success [%] | ΔU |
|---|---|---|---|---|
| Oracle CBF (truth) | 100 | 100 | 100 | 47.2 |
| LBA-CBF (η = 0) | 100 | 100 | 100 | 42.6 |
| LBA-CBF (η = 0.01) | 100 | 100 | 100 | 32.7 |
| LBA-CBF (η = 0.05) | 100 | 100 | 100 | 31.6 |
| HO-RaCBF | 88 | 100 | 88 | 395.2 |
| -AC + CBF | 69 | 92 | 62 | 61.1 |
| DOB-CBF | 62 | 100 | 62 | 73.4 |
| R-CBF | 100 | 0 | 0 | n/a |
| Nominal CBF | 46 | 0 | 0 | n/a |
A run is safe if for all ten obstacles, and reached if its terminal position lies within of the goal. A success requires both safety and reaching the goal.
The cumulative intervention is . Because this quantity accumulates along each method's trajectory, we compare it on the common subset of 13 initial conditions for which every method with nonzero success rate completed the task safely.
- Results: Table I and Fig. 3 summarize all the runs. LBA-CBF succeeds from every initial condition, matching the Oracle, while -AC and DOB-CBF each succeed from : collisions in 8 and 10 runs, plus two -AC runs that stall, safely, in the start band. HO-RaCBF succeeds from but bows wide of the obstacles (Fig. 3(C)), at the intervention of LBA-CBF. All observed adaptive-baseline collisions were preceded by CBF infeasibility near an obstacle and application of the nominal fallback command.
TABLE II: Effect of the plausible-set tolerance : median closest approach to any obstacle over the all runs, each row flown from the same course and start.
| Method | Closest distance to an obstacle [cm] |
|---|---|
| Oracle CBF (truth) | 15.2 |
| LBA-CBF (η = 0) | 16.7 |
| LBA-CBF (η = 0.01) | 21.0 |
| LBA-CBF (η = 0.05) | 26.7 |
Neither R-CBF nor the Nominal CBF ever reaches the goal, and R-CBF is safe on every run only because it climbs out of the arena within 0.35 s and never returns (Fig. 3(F)). On the paired set, the intervention of LBA-CBF is comparable to the Oracle's (42.6 vs. 47.2), while DOB-CBF needs as much and -AC .
Effect of . Because the tolerances succeed on nearly every start, success rate cannot separate them, but the safety margin can. We fly the oracle and LBA-CBF on the original course and on randomly drawn courses that keep the five gates but shift each corridor laterally by 0.15–0.45 m and each gate row by up to 0.10 m, each with its own 26 random starts (Table II). The margin grows with : keeps a larger clearance than on 81% of paired runs, and than on 94%, confirming increasing robustness.
Ablation. Fig. 2 varies and at , using the same initial conditions and process noise of per step on . The smallest bank () has persistently high prediction error. Expanding the bank to include () reduces the error, while additional parameter axes provide little improvement for . The window length
(A) Exp. 1: hover, wind

(B) Exp. 2: fly to goal, wind
(C) Exp. 3: hover, payload
Fig. 4: Crazyflie 2.1: LBA-CBF vs. Nominal CBF. (A) hover and (B) flight to a goal, both in wind; (C) hover with a swinging payload. Top: xy trajectories, obstacle (grey disc), wind (red arrows), target (star). Bottom: barrier value ; is a violation.

Fig. 5: Crazyflie 2.1 hardware setups for Experiments 1–3.
balances noise sensitivity and adaptation speed. At , the ranking depends on a single noisy transition; longer windows retain pre-change data for longer.
Compute. On a CPU (Apple M1 Pro, JAX), the bank update takes 0.95 ms at the deployed and 6.9 ms at kHz and 145 Hz.
B. Quadrotor: Hardware Experiments
We deploy LBA-CBF on a Crazyflie 2.1 [24] tracked by a motion-capture system. An LQR running at 50 Hz produces the nominal horizontal accelerations , which the safety filter modifies so that the vehicle avoids a circular obstacle (Fig. 5). The filter uses (20) in the horizontal plane around an upright cylinder: no gravity term, no drag, and the commanded horizontal accelerations in place of the rotor thrusts. The unknown parameters are the planar external forces , used for both wind and payload.
The bank is a uniform grid over , , spanning N in Experiments 1 and 2 and N in Experiment 3, where the payload produces smaller forces; a grid covers the unknown wind and payload intensities uniformly, with a look-back window throughout. In all experiments, we set , selecting the best-fit endpoint of LBA-CBF, which keeps a smaller set of barrier constraints, allowing us to isolate the look-back adaptation mechanism while minimizing the online optimization cost.
Experiment 1 (hover under wind). The vehicle hovers beside the obstacle while the fan pushes it toward the unsafe set; see Fig. 4(A). With the Nominal CBF, the vehicle hovered for only approximately 8s before crashing into the obstacle. With LBA-CBF, it hovered for more than twice as long with the fan running, and h remained at or above zero.
Experiment 2 (flight to a goal under wind). The vehicle flies past the obstacle to a goal while the fan pushes it toward the obstacle; see Fig. 4(B). Across eight repetitions, LBA-CBF kept throughout, whereas the Nominal CBF crossed in six of the eight runs shown.
Experiment 3 (hover with a swinging payload). A mass hangs from the vehicle on a rope; see Fig. 4(C). Because the payload swings, the disturbance never settles, so the filter must follow a continuously changing regime rather than converge to one. After confirming that LBA-CBF maintained safety in this condition, we cut the rope in flight, imposing a second, abrupt change of the dynamics. The same test was not possible with the Nominal CBF, which had already violated the constraint with the payload attached.
C. Safe Extreme Driving: Hardware Experiments
We deploy LBA-CBF on an F1TENTH autonomous racing platform as the model used inside a CBF-constrained MPC, and compare it with the same controller using a fixed nominal model identified on rubber tires. As in [19], the vehicle follows a single-track dynamic bicycle model with Fiala tire forces [25], parameterized by the front and rear cornering stiffnesses and friction coefficients, . The bank contains 10 000 models over N/rad, N/rad, and , and is evaluated in JAX with . The same bank is used for both tire conditions, while the nominal model remains fixed. The MPC is implemented in acados [26] with horizon and s, and runs at 25 Hz. We report model quality as the P-step prediction error: the deviation between the state obtained by propagating a model over the MPC horizon under the applied inputs and the measured state.
Experiment 1 (plastic tires, adaptive drifting): With LBA-CBF, the car is able to stabilize over 6 laps even with consistent tire slippage with minimal conservatism (Fig. 6). The nominal model is overconservative in its optimization, causing it to deviate significantly from the track and crash.

Fig. 6: Experiment 1: nominal-model tracking (top left), LBA-CBF tracking (top right), and LBA-CBF's friction estimates and P-step prediction error (bottom).
In both experiments the friction estimates for LBA-CBF converge, and the LBA-CBF model achieves substantially lower prediction error than the nominal model Fig. 6, Fig. 7.
Experiment 2 (rubber tires, inconsistent acceleration): With LBA-CBF, the car is able to stabilize over 5 laps with minimal conservatism despite some tire slippage and intermittent acceleration and deceleration (Fig. 7). The nominal model is again overconservative, and significant departure from the reference trajectory causes a crash.

Fig. 7: Experiment 2: nominal-model tracking (top left), LBA-CBF tracking (top right), and LBA-CBF's friction estimates and P-step prediction error (bottom).
V. CONCLUSIONS
We introduced LBA-CBF, a safety filter that uses recent prediction error to decide which dynamics hypotheses the barrier must be certified against: a finite bank is ranked over a look-back window, and a single tolerance spans best-fit adaptation and full-bank robust filtering. In simulation and on Crazyflie 2.1 and F1TENTH hardware, it adapts at control rate to abrupt wind reversals, an unmodeled payload, and changes of tire, where fixed-model, robust, and continuously adapting filters become unsafe or overly conservative. The guarantee remains conditional on bank adequacy and on filter feasibility; constructive conditions for these, and online adaptation of the tolerance, are left to future work.
REFERENCES
[1] A. D. Ames, X. Xu, J. W. Grizzle, and P. Tabuada, “Control barrier function based quadratic programs for safety critical systems,” IEEE Transactions on Automatic Control, vol. 62, no. 8, pp. 3861–3876, 2017.
[2] M. Jankovic, “Robust control barrier functions for constrained stabilization of nonlinear systems,” Automatica, vol. 96, pp. 359–367, 2018.
[3] B. T. Lopez, J.-J. E. Slotine, and J. P. How, “Robust adaptive control barrier functions: An adaptive and data-driven approach to safety,” IEEE Control Systems Letters, vol. 5, no. 3, pp. 1031–1036, 2021.
[4] W. Xiao and C. Belta, “Control barrier functions for systems with high relative degree,” in 2019 IEEE 58th Conference on Decision and Control (CDC), 2019, pp. 474–479.
[5] Y. Xiong, D.-H. Zhai, M. Tavakoli, and Y. Xia, “Discrete-time control barrier function: High-order case and adaptive case,” IEEE Transactions on Cybernetics, vol. 53, no. 5, pp. 3231–3239, 2022.
[6] A. J. Taylor and A. D. Ames, “Adaptive safety with control barrier functions,” in 2020 American Control Conference (ACC), 2020, pp. 1399–1405.
[7] M. H. Cohen and C. Belta, “High order robust adaptive control barrier functions and exponentially stabilizing adaptive control lyapunov functions,” in 2022 American Control Conference (ACC), 2022, pp. 2233–2238.
[8] M. F. AL-Sunni, H. Almubarak, and J. M. Dolan, “Safety embedded adaptive control using barrier states,” in 2025 American Control Conference (ACC), 2025, pp. 303–308.
[9] T. Pati and S. Z. Yong, “Robust control barrier functions for uncertain parameter-varying control affine systems with set-membership parameter estimation,” IEEE Transactions on Automatic Control, vol. 70, no. 11, pp. 7564–7571, 2025.
[10] E. L. Diget, Y. Kim, and C. Sloth, “Safety critical control of a system with element-wise estimation of unknown time-varying parameters,” International Journal of Robust and Nonlinear Control, vol. 36, no. 1, pp. 274–285, 2026.
[11] Y. Wang and X. Xu, “Disturbance observer-based robust control barrier functions,” in 2023 American Control Conference (ACC), 2023, pp. 3681–3687.
[12] Q. Nguyen and K. Sreenath, “L1 adaptive control barrier functions for nonlinear underactuated systems,” in 2022 American Control Conference (ACC), 2022, pp. 721–728.
[13] S. Yang, M. Black, G. Fainekos, B. Hoxha, H. Okamoto, and R. Mangharam, "Safe control synthesis for hybrid systems through local control barrier functions," in 2024 American Control Conference (ACC), 2024, pp. 344–351.
[14] M. Aali and J. Liu, “Learning piecewise residuals of control barrier functions for safety of switching systems using multi-output gaussian processes,” in 2024 European Control Conference (ECC), 2024, pp. 1942–1947.
[15] K. Narendra and J. Balakrishnan, “Adaptive control using multiple models,” IEEE Transactions on Automatic Control, vol. 42, no. 2, pp. 171–187, 1997.
[16] Z. Laouar, Q. H. Ho, R. Mazouz, T. Becker, and Z. N. Sunberg, “Feasibility-guided safety-aware model predictive control for jump markov linear systems,” in 2024 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2024, pp. 12718–12725.
[17] T. Li, L. Long, and C. Huang, “Supervisory adaptive safety control for uncertain nonlinear systems,” Journal of the Franklin Institute, vol. 361, no. 9, p. 106 882, 2024.
[18] M. F. AL-Sunni, H. Almubarak, K. Horng, and J. M. Dolan, “LLA-MPC: Fast adaptive control for autonomous racing,” in 2025 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2025, pp. 1969–1976.
[19] H. Z. Liao, M. F. AL-Sunni, and J. M. Dolan, “LLA-MPC on embedded hardware: Rapid adaptive control with thousands of parallel models,” arXiv preprint arXiv:2610.03616, 2026.
[20] A. Agrawal and K. Sreenath, “Discrete control barrier functions for safety-critical control of discrete systems with application to bipedal robot navigation,” in Proceedings of Robotics: Science and Systems, 2017.
[21] J. Zeng, B. Zhang, and K. Sreenath, “Safety-critical model predictive control with discrete-time control barrier function,” in 2021 American Control Conference (ACC), 2021, pp. 3882–3889.
[22] J. Bradbury et al., JAX: Composable transformations of Python+NumPy programs, version 0.3.13, 2018.
[23] M. O'Kelly, H. Zheng, D. Karthik, and R. Mangharam, "F1tenth: An open-source evaluation environment for continuous control and reinforcement learning," in Proceedings of the NeurIPS 2019 Competition and Demonstration Track, 2020, pp. 77–89.
[24] W. Giernacki, M. Skwierczyński, W. Witwicki, P. Wroński, and P. Kozierski, "Crazyflie 2.0 quadrotor as a platform for research and education in robotics and control engineering," in 2017 22nd International Conference on Methods and Models in Automation and Robotics (MMAR), 2017, pp. 37–42.
[25] V. Zhang, S. M. Thornton, and J. C. Gerdes, “Tire modeling to enable model predictive control of automated vehicles from standstill to the limits of handling,” in Proceedings of the 14th international symposium on advanced vehicle control, Nagoya, Japan, 2018, pp. 14–18.
[26] R. Verschueren et al., “Acados—a modular open-source framework for fast embedded optimal control,” Mathematical Programming Computation, vol. 14, no. 1, pp. 147–183, 2022.