Koopman Control Barrier Filters in Reinforcement Learning: Why Calibrated Margins Fail and How to Certify the Closed Loop

arXiv:2605.26452 · cs.RO, cs.LG, cs.SY, eess.SY · Submitted 2026-05-26 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Robotics Radio. Generated commentary on the latest robotics and control papers.

Rosa: We're looking at the paper: "Koopman Control Barrier Filters in Reinforcement Learning".

Paper summary: Rosa: So this paper talks about this new framework called Robust Koopman Control Barrier Filters for Safe Actor-Critic Reinforcement Learning. It claims they've built a way to combine sample efficiency from off-policy deep reinforcement learning with a data-driven CBF safety filter where the constraint stays convex even for nonlinear robotic systems.

Dev: That sounds like it tries to solve the problem of getting safety guarantees in model-free RL without needing perfect knowledge of the system dynamics.

Taro: Yeah, and they do this by lifting those nonlinear dynamics into a space where they behave almost linearly, which is what Koopman operator theory lets us do.

Rosa: Exactly. The core idea is to lift the nonlinear dynamics into a space of observables where evolution is approximately linear, and then build affine constraints in that lifted space, which makes the safety filter easier to handle.

Dev: So how do they actually enforce that safety filter? Is it just a simple penalty term in the training objective?

Rosa: No, it’s more involved. They use a quadratic-program safety layer to enforce those constraints directly during runtime.

Taro: That sounds like it tries to make the system react in real time when things go wrong instead of just trying to learn around them later.

Dev: And they get that by training the critic on the action actually executed by the environment, which is u safe at time t, while the actor is regularized with a differentiable CBF proposal penalty that nudges it toward actions already known to be feasible.

Rosa: So the actor isn't just trying to maximize reward anymore; it's also being pushed away from unsafe territory during learning.

Taro: That makes sense for real-world failure modes, because if the world misbehaves, you want the agent to produce an action that is already safe and doesn't require a massive correction later.

Dev: It’s interesting how they integrate it with Soft Actor-Critic, where the replay buffer stores both nominal and executed actions, and critics are trained specifically on those executed safe actions.

Rosa: That brings us to how they handle the uncertainty of the Koopman approximation. They account for finite-dimensional Koopman approximation error by tightening the CBF condition using a projected residual margin estimated from held-out rollout data.

Dev: So they calculate some kind of margin, rho, based on a quantile computed from that held-out data, and then use it to enforce a safety filter condition like hK(Azt + BUt) at least (one - eta)hK(zt) + rho <ref:2605.26452#pg1>.

Taro: That margin is what directly links the model error—the error in their Koopman approximation—to the actual constraint used by the controller.

Rosa: So, when their model is less accurate, they make the safety filter stricter based on that margin.

Dev: That’s a clever way to make it robust against errors in the learned dynamics model, but what about those structural limitations they admit?

Taro: They point out a few things that keep them from being perfect. One limitation is the relative degree of the barrier; it needs to have relative degree one with respect to the action, meaning c times B cannot be zero.

Paper summary: Rosa: And another is irreducible prediction error, especially when contact dynamics produce those non-smooth state transitions, like in HalfCheetah where their margin rho doesn't decrease meaningfully even as they increase the dictionary size M.

Dev: They also mention that tight CBF parameters, for example a value of eta equal to zero point seven in the Walker environment, can cause the quadratic program safety layer to dominate the actor updates, which leads to a degenerate policy.

Rosa: And another issue is that it’s a one-step certificate; they aren't using multi-step planning horizons for safety.

Taro: Plus, they have to hand-specify the barrier functions for each environment, and when the quadratic program becomes infeasible without slack, which means when slack is zero, the filter doesn't actually enforce the formal CBF condition anymore.

Dev: So despite all this complexity and these known failures under certain conditions, they still report that on CartPole stabilization and tracking tasks, Robust Koopman Control Barrier Filters for Safe Actor-Critic Reinforcement Learning achieves a violation rate of exactly zero point zero across all seeds while matching or exceeding unconstrained SAC returns.

Rosa: That perfect zero violation rate on CartPole is impressive because it shows that even with these limitations, the approach works very well on simpler tasks where they can control the dynamics precisely.

Dev: So, what does this mean for us when we think about deploying RL in more complex robotic systems outside of simple CartPole environments?

Taro: It suggests that while the current setup has these known sticking points with contact dynamics or high-dimensional state spaces, the way they make model error explicit through that projected residual margin rho is a reliable diagnostic.

Rosa: That margin itself is measurable before training, which means we can check how effective the filter should be across more than three orders of magnitude in different scenarios.

Dev: The paper's title, Koopman Control Barrier Filters in Reinforcement Learning: Why Calibrated Margins Fail and How to Certify the Closed Loop, really summarizes the main tension here. It’s about why using just calibrated margins isn't enough for safety guarantees, and how they manage to certify that closed loop system when you have that uncertainty.

Rosa: It shows that combining model-based safety filters with off-policy learning can give you a strong structure, but it also clearly lays out where the real challenges are—the reliance on accurate dynamics and the issues arising from those finite-dimensional approximations.

Taro: I think what matters most is that they provide a concrete, data-driven way to tighten that margin using empirical quantiles from held-out rollout data.

Dev: And for someone running a real-time loop, it’s important to see how the critic training on the executed safe action helps bridge that gap between the learned policy and what's actually safe in deployment.

Rosa: It moves safety enforcement from being just a post-hoc reward penalty to an integrated part of the learning process itself.

Conclusion: Rosa: So we're wrapping up our look at this paper about Koopman Control Barrier Filters in Reinforcement Learning.

Dev: It’s about how they take that idea of using data to make safety filters work, and they show why the simple margin adjustments aren't enough for real control.

Rosa: Right, so the title points out that calibrated margins fail and how to actually certify the closed loop system instead of just hoping it works.

Dev: Basically, they prove that relying on a fixed margin derived from data isn't robust enough for nonlinear systems when things go wrong in real-time.

Rosa: It explains how they build a way to account for the errors in their Koopman model itself, using that projected residual margin we talked about earlier.

Dev: And they show that this margin tells you exactly how much extra safety buffer you need based on the data you collected before training even starts.

Rosa: So what does this actually change for someone who just listens to the show? It means that instead of just tweaking a few numbers, researchers can get a better idea of where their safety filter is going to break down.

Dev: It gives them a diagnostic tool that predicts how effective the filter will be across huge changes in the system's behavior.

Rosa: And it opens up some ideas for future work, like using different types of Koopman models or learning the barrier functions together with the dynamics.

Dev: Yeah, so this isn't just about getting a better RL reward; it’s about building a verifiable safety case that actually holds up under real-world noise and approximation errors.

cs.RO, cs.LG, cs.SY, eess.SY

Submitted: 2026-05-26

Updated: 2026-11-30

Comments: 25 pages, 6 figures, 12 tables. Version 3 replaces the study of versions 1 and 2 after an audit and a full rerun; the appendix "Changes from earlier versions" lists the earlier claims that are not supported

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 76/100

The gist: Robust Koopman-CBF SAC proposes a safety-filtered actor–critic framework that learns a finite-dimensional Koopman predictor from data, constructs affine CBF constraints in the lifted space…

Key concepts

Koopman Operator Theory
This theory allows complex, nonlinear systems (like robots) to be approximated by a set of linear equations in a higher-dimensional space called the 'observable space.' By learning this linear model from data, the authors can predict future system behavior more accurately than traditional methods.
CBF Constraints
Control Barrier Functions (CBFs) are mathematical functions used to define safe regions around a robot. In this method, these constraints are formulated in the lifted Koopman space. This allows for a safety filter that ensures the robot's actions always keep it within a predefined safe boundary.
Projected Residual Margin ($ ho$)
This margin quantifies the error between the true nonlinear dynamics and the linear Koopman approximation. By using this data-driven margin to tighten the CBF constraint, researchers can account for model inaccuracies, leading to a more robust safety filter that performs well even with imperfect models.

Terminology

Summary

Robust Koopman-CBF SAC proposes a safety-filtered actor–critic framework that learns a finite-dimensional Koopman predictor from data, constructs affine CBF constraints in the lifted space, and enforces them through a quadratic-program safety layer. p. 0

Where the paper says it

Control barrier functions (CBFs) provide a principled mechanism for enforcing forward invariance through minimally invasive safety filters, but their use in model-free RL is limited by the need for accurate dynamics and hand-designed barrier certificates. We propose Robust Koopman-CBF SAC, a safety-filtered actor–critic framework that learns a finite-dimensional Koopman predictor from data, constructs affine CBF constraints in the lifted space, and enforces them through a quadratic-program safety layer.

<ref:2605.26452#pg1, Robust Koopman Control Barrier Filters for Safe Actor-Critic Reinforcement Learning>. p. 0
Where the paper says it

JOURNAL OF LATEX CLASS FILES, VOL. 0, JANUARY 2026 1 Robust Koopman Control Barrier Filters for Safe Actor-Critic Reinforcement Learning Dhruv S.

This method achieves zero constraint violations on CartPole stabilization and tracking while matching or exceeding unconstrained SAC returns. p. 0
Where the paper says it

The critic is trained on the executed safe action, while the actor is regularized toward the Koopman-CBF feasible set, reducing dependence on the filter over training. Across safe-control benchmarks, the method achieves zero constraint violations on CartPole stabilization and tracking while matching or exceeding unconstrained SAC returns.

<ref:2605.26452#pg1, Across safe-control benchmarks, the method achieves zero constraint violations on CartPole stabilization and tracking while matching or exceeding unconstrained SAC returns>. p. 0
Where the paper says it

The critic is trained on the executed safe action, while the actor is regularized toward the Koopman-CBF feasible set, reducing dependence on the filter over training. Across safe-control benchmarks, the method achieves zero constraint violations on CartPole stabilization and tracking while matching or exceeding unconstrained SAC returns.

Pruning redundant reasoning tokens

The core idea is to combine the sample efficiency of off-policy deep RL with a data-driven CBF safety filter whose constraint remains convex for nonlinear robotic systems.<ref:2605.26452#pg1, Can we combine the sample efficiency of off-policy deep RL with a datadriven CBF safety filter whose constraint remains convex for nonlinear robotic systems? p. 0

Where the paper says it

These assumptions are restrictive for robot learning, where the dynamics may be nonlinear, partially unknown, and difficult to model accurately [5]. This paper studies the following question: Can we combine the sample efficiency of off-policy deep RL with a datadriven CBF safety filter whose constraint remains convex for nonlinear robotic systems?

We answer this question using Koopman operator theory>. p. 0
Where the paper says it

This paper studies the following question: Can we combine the sample efficiency of off-policy deep RL with a datadriven CBF safety filter whose constraint remains convex for nonlinear robotic systems? We answer this question using Koopman operator theory.

This involves lifting nonlinear dynamics into a space of observables where evolution is approximately linear. p. 0
Where the paper says it

We answer this question using Koopman operator theory. Koopman methods lift nonlinear dynamics into a space of observables in which the evolution is approximately linear.

<ref:2605.26452#pg1, Koopman methods lift nonlinear dynamics into a space of observables in which the evolution is approximately linear>. p. 0
Where the paper says it

We answer this question using Koopman operator theory. Koopman methods lift nonlinear dynamics into a space of observables in which the evolution is approximately linear.

The authors introduce a robust Koopman-CBF condition that tightens the barrier inequality using a projected residual margin. p. 0
Where the paper says it

Our work differs by using a residual-robust lifted barrier filter inside off-policy actor–critic learning and by training critics on the actions actually executed after filtering. We therefore introduce a robust Koopman-CBF condition that tightens the barrier inequality using a residual margin.

<ref:2605.26452#pg1, Our work differs by using a residual-robust lifted barrier filter inside off-policy actor–critic learning and by training critics on the actions actually executed after filtering>. p. 0
Where the paper says it

Recent work has connected Koopman representations with CBF synthesis [8] and neural Koopman-CBF learning for unknown nonlinear systems [9]. Our work differs by using a residual-robust lifted barrier filter inside off-policy actor–critic learning and by training critics on the actions actually executed after filtering.

How the training signal is built

The framework integrates with Soft Actor-Critic (SAC) such that the critic is trained on the action actually executed by the environment, u safe t.<ref:2605.26452#pg1, The critic is trained on the action actually executed by the environment, u_safe_t, while the actor receives a differentiable CBF proposal penalty that encourages it to produce actions that are already feasible >. p. 1

Where the paper says it

The slack variable diagnoses infeasibility under actuator limits and model error; it is not treated as a certificate. The critic is trained on the action actually executed by the environment, u safe t , while the actor receives a differentiable CBF proposal penalty that encourages it to produce actions that are already feasible.

The actor loss includes the standard SAC term and a CBF proposal penalty: Lπ(θ) = Est∼B, unom t ∼ πθ[α log πθ(u nom tst) − min i Qϕi(st, unom t) + λhlcbf(zt, unom t)]. p. 6
Where the paper says it

The critic is trained using the executed action: LQ(ϕi) = EB hQϕi (st, usafe t ) − yt 2 i (64) For the target, the next nominal action is sampled from the current actor, u nom t+1 ∼ πθ(·|st+1) (65) then filtered: u safe t+1 = ΠKCBF(zt+1, unom t+1 ) (66) The soft target is yt =rt + γ(1 − dt)[min i=1,2 Qϕ¯i (st+1, usafe t+1) − α log πθ(u nom t+1 |st+1)] (67) CBF-based safety layers have previously been used to project RL actions onto safe action sets and to guide exploration during learning [14], [24]. The actor loss includes the standard SAC term and a CBF proposal penalty: Lπ(θ) =Est∼B, unom t ∼πθ [α log πθ(u nom t |st) − min i Qϕi (st, unom t ) + λhℓcbf(zt, unom t )] (68) where ℓcbf(z, u) = X J j=1 max 0, bj (z) − a ⊤ j u 2 (69) The penalty encourages the actor to produce actions that are already feasible, thereby reducing filter intervention over training.

<ref:2605.26452#pg1, The actor loss includes the standard SAC term and a CBF proposal penalty: Lπ(θ) = Est∼B, unom t ∼ πθ[α log πθ(u nom tst) − min i Qϕi(st, unom t) + λhlcbf(zt, unom t)]. p. 6
Where the paper says it

The critic is trained using the executed action: LQ(ϕi) = EB hQϕi (st, usafe t ) − yt 2 i (64) For the target, the next nominal action is sampled from the current actor, u nom t+1 ∼ πθ(·|st+1) (65) then filtered: u safe t+1 = ΠKCBF(zt+1, unom t+1 ) (66) The soft target is yt =rt + γ(1 − dt)[min i=1,2 Qϕ¯i (st+1, usafe t+1) − α log πθ(u nom t+1 |st+1)] (67) CBF-based safety layers have previously been used to project RL actions onto safe action sets and to guide exploration during learning [14], [24]. The actor loss includes the standard SAC term and a CBF proposal penalty: Lπ(θ) =Est∼B, unom t ∼πθ [α log πθ(u nom t |st) − min i Qϕi (st, unom t ) + λhℓcbf(zt, unom t )] (68) where ℓcbf(z, u) = X J j=1 max 0, bj (z) − a ⊤ j u 2 (69) The penalty encourages the actor to produce actions that are already feasible, thereby reducing filter intervention over training.

The replay buffer stores both nominal and executed actions; critics are trained on executed safe actions, and the actor is regularized by a CBF feasibility penalty >. p. 5
Where the paper says it

Online, the SAC actor proposes a nominal action that is projected through a robust Koopman-CBF QP before execution. The replay buffer stores both nominal and executed actions; critics are trained on executed safe actions, and the actor is regularized by a CBF feasibility penalty.

Where the gains come from

The robustness of the safety filter is achieved by accounting for finite-dimensional Koopman approximation error using a projected residual margin.<ref:2605.26452#pg1, To account for finite-dimensional Koopman approximation error, the CBF condition is tightened using a projected residual margin estimated from held-out rollout data >. p. 0

Where the paper says it

We propose Robust Koopman-CBF SAC, a safety-filtered actor–critic framework that learns a finite-dimensional Koopman predictor from data, constructs affine CBF constraints in the lifted space, and enforces them through a quadratic-program safety layer. To account for finite-dimensional Koopman approximation error, the CBF condition is tightened using a projected residual margin estimated from held-out rollout data.

This margin is defined as ρ = q1−δ(c⊤ri) N i=1 (6) where q1−δ is an empirical or conformal quantile computed from held-out rollout data. p. 1
Where the paper says it

0, JANUARY 2026 2 denote the Koopman residual. Since the barrier depends on the residual only through c ⊤rt, we estimate a projected residual margin ρ = q1−δ {|c ⊤ri |}N i=1 (6) where q1−δ is an empirical or conformal quantile computed from held-out rollout data.

<ref:2605.26452#pg1, The safety filter then enforces hK(Azt + But) ≥ (1 − η)hK(zt) + ρ (7)>. p. 1
Where the paper says it

Since the barrier depends on the residual only through c ⊤rt, we estimate a projected residual margin ρ = q1−δ {|c ⊤ri |}N i=1 (6) where q1−δ is an empirical or conformal quantile computed from held-out rollout data. The safety filter then enforces hK(Azt + But) ≥ (1 − η)hK(zt) + ρ (7) This margin directly links data-driven model error to the CBF constraint used by the controller.

This margin directly links data-driven model error to the CBF constraint used by the controller. p. 1
Where the paper says it

Since the barrier depends on the residual only through c ⊤rt, we estimate a projected residual margin ρ = q1−δ {|c ⊤ri |}N i=1 (6) where q1−δ is an empirical or conformal quantile computed from held-out rollout data. The safety filter then enforces hK(Azt + But) ≥ (1 − η)hK(zt) + ρ (7) This margin directly links data-driven model error to the CBF constraint used by the controller.

<ref:2605.26452#pg1>.

Structural limitations and diagnostics

The experiments expose six structural limitations of the proposed method.<ref:2605.26452#pg1>. These include: 1) Relative degree: The CBF-QP requires the lifted barrier to have relative degree 1 with respect to the action (c⊤B ≠ 0). p. 1

Where the paper says it

These results demonstrate that a Koopman-CBF filter can enforce state constraints without sacrificing performance when the lifted model and barrier are well aligned. On Safety HalfCheetah and Safety Walker velocity-constrained tasks, the method exposes a more nuanced picture: the filter can reduce violations in some settings, but high residual margins, frequent slack activation, and relative-degree mismatch limit its effectiveness.

<ref:2605.26452#pg1> 2) Irreducible prediction error: When contact dynamics produce non-smooth state transitions (HalfCheetah, ρ = 1. p. 1
Where the paper says it

On Safety HalfCheetah and Safety Walker velocity-constrained tasks, the method exposes a more nuanced picture: the filter can reduce violations in some settings, but high residual margins, frequent slack activation, and relative-degree mismatch limit its effectiveness. Rather than obscuring these failures, we use them to identify the conditions under which Koopman-CBF safety filters are appropriate and the extensions needed for contact-rich locomotion, including high-order and multi-step Koopman-CBF constraints.

782), no practical dictionary size M reduces ρ to a regime where the filter is effective. p. 0
Where the paper says it

On high-dimensional Safety Gymnasium locomotion tasks, the method reduces violations in some settings but also exposes important limitations of first-order velocity barriers and linear EDMD models, motivating high-order and multi-step KoopmanCBF extensions. These results suggest that robust KoopmanCBF filters are a promising bridge between model-free RL and certifiable safety, while clarifying the structural conditions under which such filters remain effective.

<ref:2605.26452#pg1>. 3) Policy collapse under over-constraint: Tight CBF parameters (η = 0. p. 0
Where the paper says it

These assumptions are restrictive for robot learning, where the dynamics may be nonlinear, partially unknown, and difficult to model accurately [5]. This paper studies the following question: Can we combine the sample efficiency of off-policy deep RL with a datadriven CBF safety filter whose constraint remains convex for nonlinear robotic systems?

7, Walker) cause the QP to dominate actor updates, producing a degenerate policy. p. 1
Where the paper says it

One line of work formulates safety through constrained Markov decision processes and optimizes policies subject to expected cumulative cost constraints. Constrained Policy Optimization (CPO) provides monotonicstyle policy improvement guarantees for constraint satisfaction under trust-region updates [3], while Lagrangian actor–critic methods incorporate adaptive dual penalties into standard RL objectives.

<ref:2605.26452#pg1>. 4) One-step certificate: The CBF condition is enforced stepwise; no multi-step planning horizon is used. p. 8
Where the paper says it

Theorem 3 (One-Step High-Probability Residual Coverage). Under Assumption 4, P |c ⊤ j r∗| ≤ ρj ≥ 1 − α (93) Consequently, if the zero-slack robust KCBF condition is enforced using ρj , then the one-step safety implication in Theorem 2 holds with probability at least 1 − α for barrier j.

<ref:2605.26452#pg1>. 5) Static barrier design: Barrier functions are hand-specified per environment. p. 0
Where the paper says it

Constrained policy optimization methods address expected cumulative costs, but their guarantees are typically trajectorydistributional rather than pointwise and do not directly enforce forward invariance of a user-specified safe set [3]. Control barrier functions (CBFs) offer a complementary safety paradigm.

<ref:2605.26452#pg1>. 6) Slack degrades the certificate: When the QP is infeasible without slack (ξ = 0), the filter no longer enforces a formal CBF condition. p. 2
Where the paper says it

Our method addresses the dynamics-modeling challenge through Koopman lifting and makes model error explicit through a residual margin. However, our experiments also confirm a known limitation of CBF-QP methods: if the barrier has the wrong relative degree or the input constraints make the CBF inequality infeasible, slack-based filters no longer provide a formal certificate.

<ref:2605.26452#pg1>. The projected residual ρ, measurable before training, serves as a reliable diagnostic that predicts filter effectiveness across more than three orders of magnitude. p. 1
Where the paper says it

4) We provide an empirical evaluation across safe-control and Safety Gymnasium benchmarks, showing strong zero-violation results on CartPole tasks and diagnosing the structural limitations of first-order Koopman-CBF filters on high-dimensional locomotion. 5) We show that a robust Koopman-CBF filter provides pointwise safety on tasks where the projected Koopman residual ρ is small, and we identify ρ as a pre-training computable diagnostic that predicts filter effectiveness.

p. 1
Where the paper says it

4) We provide an empirical evaluation across safe-control and Safety Gymnasium benchmarks, showing strong zero-violation results on CartPole tasks and diagnosing the structural limitations of first-order Koopman-CBF filters on high-dimensional locomotion. 5) We show that a robust Koopman-CBF filter provides pointwise safety on tasks where the projected Koopman residual ρ is small, and we identify ρ as a pre-training computable diagnostic that predicts filter effectiveness.

p. 1
Where the paper says it

4) We provide an empirical evaluation across safe-control and Safety Gymnasium benchmarks, showing strong zero-violation results on CartPole tasks and diagnosing the structural limitations of first-order Koopman-CBF filters on high-dimensional locomotion. 5) We show that a robust Koopman-CBF filter provides pointwise safety on tasks where the projected Koopman residual ρ is small, and we identify ρ as a pre-training computable diagnostic that predicts filter effectiveness.

<ref:2605.26452#pg1>.

The method achieves zero constraint violations on CartPole and Quadrotor tasks while matching or exceeding unconstrained SAC returns.<ref:2605.26452#pg1, On CartPole stabilization and tracking, KCBF-SAC achieves a violation rate of exactly 0. p. 0

Where the paper says it

The critic is trained on the executed safe action, while the actor is regularized toward the Koopman-CBF feasible set, reducing dependence on the filter over training. Across safe-control benchmarks, the method achieves zero constraint violations on CartPole stabilization and tracking while matching or exceeding unconstrained SAC returns.

p. 0
Where the paper says it

The critic is trained on the executed safe action, while the actor is regularized toward the Koopman-CBF feasible set, reducing dependence on the filter over training. Across safe-control benchmarks, the method achieves zero constraint violations on CartPole stabilization and tracking while matching or exceeding unconstrained SAC returns.

000 across all seeds while matching unconstrained SAC return: 88. p. 1
Where the paper says it

We evaluate on safe-control-gym, which exposes constraints, symbolic dynamics, and disturbances for safe learning-based robotic control [10], and Safety Gymnasium, a recent Safe RL benchmark suite with safety-critical single and multi-agent tasks and SafePO baselines [11]. On CartPole stabilization and tracking, Robust Koopman-CBF SAC achieves zero constraint violations across seeds while matching or exceeding unconstrained SAC returns.

p. 1
Where the paper says it

We evaluate on safe-control-gym, which exposes constraints, symbolic dynamics, and disturbances for safe learning-based robotic control [10], and Safety Gymnasium, a recent Safe RL benchmark suite with safety-critical single and multi-agent tasks and SafePO baselines [11]. On CartPole stabilization and tracking, Robust Koopman-CBF SAC achieves zero constraint violations across seeds while matching or exceeding unconstrained SAC returns.

6 ± 0.3 (vs. SAC 88.5 ± 0.6) on stabilization and 97. p. 0
Where the paper says it

The critic is trained on the executed safe action, while the actor is regularized toward the Koopman-CBF feasible set, reducing dependence on the filter over training. Across safe-control benchmarks, the method achieves zero constraint violations on CartPole stabilization and tracking while matching or exceeding unconstrained SAC returns.

p. 0
Where the paper says it

The critic is trained on the executed safe action, while the actor is regularized toward the Koopman-CBF feasible set, reducing dependence on the filter over training. Across safe-control benchmarks, the method achieves zero constraint violations on CartPole stabilization and tracking while matching or exceeding unconstrained SAC returns.

0 ± 1.5 (vs SAC 95. p. 0
Where the paper says it

Control barrier functions (CBFs) provide a principled mechanism for enforcing forward invariance through minimally invasive safety filters, but their use in model-free RL is limited by the need for accurate dynamics and hand-designed barrier certificates. We propose Robust Koopman-CBF SAC, a safety-filtered actor–critic framework that learns a finite-dimensional Koopman predictor from data, constructs affine CBF constraints in the lifted space, and enforces them through a quadratic-program safety layer.

p. 0
Where the paper says it

Control barrier functions (CBFs) provide a principled mechanism for enforcing forward invariance through minimally invasive safety filters, but their use in model-free RL is limited by the need for accurate dynamics and hand-designed barrier certificates. We propose Robust Koopman-CBF SAC, a safety-filtered actor–critic framework that learns a finite-dimensional Koopman predictor from data, constructs affine CBF constraints in the lifted space, and enforces them through a quadratic-program safety layer.

6 ± 0.5) on tracking > <ref:2605. p. 3
Where the paper says it

JOURNAL OF LATEX CLASS FILES, VOL. 0, JANUARY 2026 4 For trajectory-tracking tasks, we distinguish between the physical state xt and the task reference x ref t .

26452#pg1, On CartPole stabilization and tracking, KCBF-SAC achieves a violation rate of exactly 0.000 across all seeds while matching unconstrained SAC return: 88.6 ± 0.3 (vs SAC 88. p. 0
Where the paper says it

Control barrier functions (CBFs) provide a principled mechanism for enforcing forward invariance through minimally invasive safety filters, but their use in model-free RL is limited by the need for accurate dynamics and hand-designed barrier certificates. We propose Robust Koopman-CBF SAC, a safety-filtered actor–critic framework that learns a finite-dimensional Koopman predictor from data, constructs affine CBF constraints in the lifted space, and enforces them through a quadratic-program safety layer.

5 ± 0.6) on stabilization and 97.0 ± 1.5 (vs SAC 95.6 ± 0.5) on tracking>. p. 0
Where the paper says it

The critic is trained on the executed safe action, while the actor is regularized toward the Koopman-CBF feasible set, reducing dependence on the filter over training. Across safe-control benchmarks, the method achieves zero constraint violations on CartPole stabilization and tracking while matching or exceeding unconstrained SAC returns.

The method is evaluated across two benchmark families: Safe-Control-Gym and Safety Gymnasium.<ref:2605.26452#pg1>. On Safety Gymnasium locomotion, KCBF-SAC reduces violations from 77. p. 0

Where the paper says it

Across safe-control benchmarks, the method achieves zero constraint violations on CartPole stabilization and tracking while matching or exceeding unconstrained SAC returns. On high-dimensional Safety Gymnasium locomotion tasks, the method reduces violations in some settings but also exposes important limitations of first-order velocity barriers and linear EDMD models, motivating high-order and multi-step KoopmanCBF extensions.

8% (SAC) to 37. p. 0
Where the paper says it

Control barrier functions (CBFs) provide a principled mechanism for enforcing forward invariance through minimally invasive safety filters, but their use in model-free RL is limited by the need for accurate dynamics and hand-designed barrier certificates. We propose Robust Koopman-CBF SAC, a safety-filtered actor–critic framework that learns a finite-dimensional Koopman predictor from data, constructs affine CBF constraints in the lifted space, and enforces them through a quadratic-program safety layer.

0% while achieving return 2607 ± 202. p. 4
Where the paper says it

The physical state xt or modeling state yt may be partially embedded in st. The goal is to learn a policy that maximizes expected return while maintaining safety: max π Eπ "X∞ t=0 γ t r(st, ut) # (32) s.

<ref:2605.26452#pg1>. The fundamental cause is that ground-contact impacts produce sharp, non-smooth velocity transitions that the linear EDMD model cannot capture with M = 32 RBFs; for the RBF dictionary class used here, ρ does not decrease meaningfully with dictionary size in our experiments.<ref:2605.26452#pg1>.

The paper suggests several extensions: Discrete-time Koopman-CBFs for higher-relative-degree systems [25] can address relative-degree limitations without case-by-case composite barrier construction.<ref:2605.26452#pg1, Discrete-time Koopman CBFs for higher relative degree systems [25] can address relative degree limitations without case-by-case composite barrier construction>. p. 3

Where the paper says it

High-order CBFs extend barrier conditions to constraints with relative degree greater than one, where the control input does not appear in the first derivative or one-step barrier variation. This issue arises naturally in robotic systems with position or altitude constraints, since control often affects acceleration rather than position directly [17].

Multi-step Koopman prediction horizons can reduce the gap between the 1-step certificate and multi-step trajectory safety. p. 1
Where the paper says it

On Safety HalfCheetah and Safety Walker velocity-constrained tasks, the method exposes a more nuanced picture: the filter can reduce violations in some settings, but high residual margins, frequent slack activation, and relative-degree mismatch limit its effectiveness. Rather than obscuring these failures, we use them to identify the conditions under which Koopman-CBF safety filters are appropriate and the extensions needed for contact-rich locomotion, including high-order and multi-step Koopman-CBF constraints.

<ref:2605.26452#pg1>. Online Koopman model adaptation would allow ρ to decrease as the agent explores safer regions of the state space. p. 5
Where the paper says it

0, JANUARY 2026 6 Offline Koopman-CBF construction Online safe interaction loop SAC updates from filtered transitions Rollout data (yt, ut, yt+1) Lift zt = ψ(yt) EDMD model zt+1 ≈ Azt + But Residual margin ρ = q0. 95(|c⊤r|) Lifted barrier hK(z) = c⊤z + d KCBF params A, B, c, d, ρ Environment xt, rt, ct Model state yt = [xt, et] Lift zt = ψ(yt) SAC actor πθ Robust KCBF-QP minu ∥u − u nom∥ 2 + λξξ 2 a⊤ j u + ξj ≥ bj (z) Safe action u saf e t Step env xt+1 state/ref zt u nom t A, B, c, d, ρ Replay buffer (s, z, unom, usaf e, r, s′ , d) Critic update Qϕ(s, usaf e) Filtered target u saf e t+1 = ΠKCBF (zt+1, unom t+1 ) Actor update SAC loss + CBF penalty Update θ, ϕ same KCBF filter Fig.

<ref:2605.26452#pg1>. Joint learning of the lifting map and barrier certificate [9] would remove the dependence on handdesigned barriers, and conformal calibration [22] offers a principled approach to tightening ρ with distribution-free coverage guarantees.<ref:2605.26452#pg1, Joint learning of the lifting map and barrier certificate [9] would remove the dependence on handdesigned barriers, and conformal calibration [22] offers a principled approach to tightening ρ with distribution-free coverage guarantees>. The projected residual ρ, measurable before training, serves as a reliable diagnostic that predicts filter effectiveness across more than three orders of magnitude.<ref:2605.26452#pg1>.

The paper concludes that the projected residual ρ serves as a reliable diagnostic that predicts filter effectiveness across more than three orders of magnitude.<ref:2605.26452#pg1>. This relationship follows directly from the structure of the robust CBF condition. p. 1

Where the paper says it

Our contributions are: 1) We introduce a robust Koopman-CBF safety filter for model-free actor–critic RL, in which nonlinear dynamics are lifted to an approximately linear controlled system and safety is enforced through an affine QP constraint. 2) We propose a projected residual margin for finitedimensional Koopman model error, yielding a directly implementable robust discrete-time CBF condition.

<ref:2605.26452#pg1>. The projected residual ρ, measurable before training, serves as a reliable diagnostic that predicts filter effectiveness across more than three orders of magnitude.<ref:2605.26452#pg1>. The method is motivated by several extensions. p. 0
Where the paper says it

Across safe-control benchmarks, the method achieves zero constraint violations on CartPole stabilization and tracking while matching or exceeding unconstrained SAC returns. On high-dimensional Safety Gymnasium locomotion tasks, the method reduces violations in some settings but also exposes important limitations of first-order velocity barriers and linear EDMD models, motivating high-order and multi-step KoopmanCBF extensions.

<ref:2605.26452#pg1>.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Robust Koopman-CBF SAC can enforce pointwise safety constraints by using an affine QP constraint derived from a lifted linear model of nonlinear dynamics, allowing it to maintain zero constraint violations on CartPole stabilization and tracking while matching or exceeding unconstrained SAC returns.

  2. The system can utilize a projected residual margin for finite-dimensional Koopman model error, estimated from held-out rollout data, to tighten the barrier inequality using a projected residual margin estimated from held-out rollout data as described in Section II and III.

  3. The actor can be regularized toward the Koopman-CBF feasible set through an actor side CBF feasibility penalty, which reduces dependence on the filter over training by encouraging it to produce actions that are already feasible.

  4. The critic is trained on the executed safe action rather than nominal actions, ensuring transition consistency by using the critic is trained on the action actually executed by the environment, u safe t, as noted in Section F and Proposition 2.

  5. The system can diagnose filter effectiveness through measurable metrics such as slack rate and slack magnitude, which serve as a direct feasibility diagnostic when the robust Koopman-CBF condition is solved with nonzero slack or when slack is required.

  6. For high-dimensional locomotion tasks like Safety Gymnasium, the system can identify structural limitations by monitoring the relationship between projected residual margin rho and violation rate, indicating regimes where the robust CBF condition alternates between trivially satisfied (when hK 0).

  7. The control mechanism can be made more general for higher-relative-degree systems by employing discrete-time Koopman barriers, addressing the limitation that The CBF-QP requires the lifted barrier to have relative degree 1 with respect to the action.

Abstract

Safety filters built on control barrier functions (CBFs) can make reinforcement learning (RL) policies safe step by step, but only if the model inside the filter is accurate on the states the policy visits. We study Koopman CBF filters, where nonlinear dynamics are lifted to an approximately linear predictor and a residual margin tightens the constraint. First, we show that a margin calibrated on data from one policy fails on the policies RL produces, with coverage as low as 0.03, and trace this to closed-loop identification with weak excitation; designed excitation restores coverage to between 0.88 and 0.96 on quadrotor tasks. Second, we certify the closed loop directly, where candidate margins are tested in a fixed order on fresh episodes, which bounds the probability of an unsafe episode without assumptions on the model. Third, we train the learner with the filter as part of the environment and show that action aliasing stalled 4 of 10 runs until a penalty on filter corrections was added. On six Safe-Control-Gym tasks with five seeds, no episode of the method violates a constraint its filter protects, at higher return than penalty and Lagrangian baselines on Quadrotor 3D. A Lagrange multiplier covers the constraints without a barrier row, and with the filter added after training, 114 of 120 baseline policies were certified, against 78 without it. On two navigation tasks whose cost coincides with the encoded boundary, the filter is safe and certified on one and fails on the other, the task with the lower actuation authority in a check made before training. On locomotion the filter still violates its velocity limit on up to 2.4% of steps, and a certified margin costs most of the return.

Sources

Related papers