Provably Safe, Yet Scalable Reinforcement Learning
Kai S. Yun, Zeyang Li, Navid Azizan
NeurIPS 2026
Abstract. Safe reinforcement learning (RL) aims to learn policies that optimize rewards while satisfying constraints. Predominant approaches rely on soft-constrained policy optimization, which has achieved empirical success but does not provide formal safety guarantees for the learned policy. In contrast, methods with strict guarantees typically rely on explicit certificate functions, whose construction requires the direct synthesis and verification of control-invariant sets, a process that scales poorly with state dimension and often yields overly conservative behavior. In this paper, we present the Provably Safe, yet Scalable RL (PS2-RL) framework, a novel two-phase architecture for learning provably safe policies in a scalable manner, designed to overcome the key bottlenecks of prior methods. Rather than explicitly computing invariant sets, PS2-RL leverages a learned backup policy to forward-integrate the system dynamics, generating an implicit control-invariant set online. In the first phase, the backup policy is trained with the safe-arrival value function to achieve rapid, safe recovery to the certified base set for invariant-set construction. In the second phase, an RL policy is trained end-to-end through a differentiable projection layer that strictly enforces the safety guarantees induced by the learned backup policy. By maximizing the volume of the implicit control-invariant set in the first phase, the resulting PS2 policy from the second phase is performant and scalable, while maintaining provable safety. Crucially, PS2-RL imposes no restrictions on the underlying RL algorithm and can be plugged into any existing training pipeline. We establish theoretical guarantees for the proposed framework and evaluate it on robotic control tasks with state dimensions up to 10, a regime in which prior provably safe RL methods struggle or become impractical.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (spotlight) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (spotlight)
Read decision
Meta-review
Reviewers reach a consensus in recommending acceptance for this paper. Reviewers agree that this paper has the following strengths:
- The paper addresses an important bottleneck in backup-CBF methods: the conservatism and manual design burden of the backup policy.
- Strong theoretical contribution and high relevance to the field: many prior works tried to learn a safe behavior but lacked the formal proofs to ensure safety. Methods that formally ensure safety are often too conservative to achieve strong performance. Prior work has shown that integrating the safety guarantees in the RL training is generally beneficial, so the proposed concept is highly relevant.
- Differentiable end-to-end training through the safety constraint. Applying HardNet-CVX to BCBF so that the task policy trains through the projection layer rather than around it is the paper's most concrete practical contribution.
- The experimental results are strong. The learned safe-arrival policy improves substantially over an analytic backup policy in both environments, and the PSP variants maintain 100% sampled safety.
Overall, this paper makes solid contributions to safe reinforcement learning and merits acceptance.
Final justification
After the rebuttal and discussion among the reviewers and AC, the reviewers reach a consensus that this paper makes solid contributions to safe reinforcement learning, and therefore we recommend acceptance.
Read meta-review
Meta-review
Reviewers reach a consensus in recommending acceptance for this paper. Reviewers agree that this paper has the following strengths:
- The paper addresses an important bottleneck in backup-CBF methods: the conservatism and manual design burden of the backup policy.
- Strong theoretical contribution and high relevance to the field: many prior works tried to learn a safe behavior but lacked the formal proofs to ensure safety. Methods that formally ensure safety are often too conservative to achieve strong performance. Prior work has shown that integrating the safety guarantees in the RL training is generally beneficial, so the proposed concept is highly relevant.
- Differentiable end-to-end training through the safety constraint. Applying HardNet-CVX to BCBF so that the task policy trains through the projection layer rather than around it is the paper's most concrete practical contribution.
- The experimental results are strong. The learned safe-arrival policy improves substantially over an analytic backup policy in both environments, and the PSP variants maintain 100% sampled safety.
Overall, this paper makes solid contributions to safe reinforcement learning and merits acceptance.
Final justification
After the rebuttal and discussion among the reviewers and AC, the reviewers reach a consensus that this paper makes solid contributions to safe reinforcement learning, and therefore we recommend acceptance.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work addresses the central challenge in safe reinforcement learning: learning policies that are both formally provably safe and performant without the prohibitive cost of explicitly synthesizing control-invariant sets. PSP-RL proposes a two-phase framework built on the Backup Control Barrier Function (BCBF) paradigm. Phase I trains a safe-arrival policy using a novel indicator-based value function that encodes time-optimal recovery to a certified base set. Phase II trains a task policy end-to-end through a differentiable control-invariant layer, a QP projection onto the BCBF-admissible input set computed from the frozen backup policy. The framework is evaluated on a 3-dimensional unicycle lane-keeping task and a 10-dimensional quadrotor powerloop maneuver.
Strengths and weaknesses
Strengths
S1. Clean two-phase decomposition with sound theoretical grounding. The separation between enlarging the invariant set (Phase I) and optimizing within it (Phase II) is principled and well-motivated. Theorem 4.2 honestly states the relationship between the two subproblems and the original Problem 1, including the inequality , the paper does not overclaim optimality. The proof chain from Proposition D.3 through Theorems 4.2 and 4.3 is logically complete within its stated assumptions.
S2. Novel safe-arrival value function with precise theoretical meaning. The indicator-based objective is a genuine contribution over prior approaches that use dense geometric rewards such as barrier function values. The optimal value directly encodes time-optimal recovery, and the full theoretical development in Appendix E — including the Bellman equation, -contraction property, and feasibility preservation (Proposition E.6) — is rigorous and self-contained. This is the most novel technical element of the paper.
S3. Differentiable end-to-end training through the safety constraint. Applying HardNet-CVX to BCBF so that the task policy trains through the projection layer rather than around it is the paper's most concrete practical contribution. The ablation in Table 12 validates this directly: training through the CIL improves position, velocity, and attitude tracking by 43–53% compared to post-hoc filtering. This result is clean and reproducible.
S4. Careful experimental design. 10 seeds × 1,000 episodes, IQM with 95% confidence intervals, 7 baselines covering penalty methods, CMDP methods, and provably safe methods, plus paired ablations in Appendix H.3. The statistical practice is above average for the safe RL literature.
S5. Honest limitations discussion. The paper clearly states that formal guarantees require control-affine analytic dynamics or a differentiable simulator. Appendix F.4 discusses how to relax this to a general differentiable simulator via automatic differentiation. The limitation regarding hardware validation is acknowledged as future work.
Weaknesses
W1. The formal safety guarantee has a gap between theory and implementation.
Theorem 4.3 requires exact BCBF constraints. The implementation uses a slack-regularized QP (Eq. 120) with scalar slack shared across all BCBF rows:
minimize subject to , with
When , the executed action lies outside and Theorem 4.3 does not apply.
Table 7 shows delta stays near empirically, but there is no formal bound connecting nonzero delta to safety violation magnitude. The slack exists precisely because discretization and numerical integration errors can make K_\text{BCBF}} appear empty, meaning the guarantee is under pressure exactly when it is most needed, near the boundary of .
The paper should either provide a formal bound on violation as a function of , or explicitly qualify that the provably safe claim holds only approximately in the implemented system.
W2. The precondition is only empirically verified for the quadrotor.
For the unicycle, is approximated via a dense grid search, reasonable given . For the quadrotor, is never explicitly computed. Instead, Phase II initial states are sampled from a task-relevant distribution around the powerloop reference and filtered by empirical rollout success. This means:
- The formal precondition is never formally verified for the quadrotor
- The safety guarantee reduces to an empirical one: safe on the tested distribution
- States near the boundary of not covered by the sampled distribution have no verified guarantee
The paper presents PSP-RL as provably safe, but for the primary high-dimensional experiment, the guarantee is conditional on an empirically, not formally, verified precondition. This distinction should be stated explicitly.
W3. The scalability claim is not well-supported by the experiments.
The paper claims scalability to high-dimensional systems, but the evidence consists of:
- Unicycle: , , 4 safety constraints, trivially within reach of classical methods including Hamilton-Jacobi reachability and SOS programming
- Quadrotor: , , 1 safety constraint, a single ceiling bound , giving a BCBF QP with only 102 rows Neither experiment tests the regime where scalability is genuinely challenged. The quadrotor has a single 1-dimensional safety constraint despite a 10-dimensional state. A more convincing scalability demonstration would involve multiple simultaneous safety constraints, higher state dimensions (), or systems where the safety constraint has high relative degree throughout.
Furthermore, training times directly contradict the scalability claim:
| Task | State dim | Training time (Phase II) |
|---|---|---|
| Unicycle | 4.6 hours | |
| Quadrotor | 14 hours |
The unicycle taking 4.6 hours reveals that the overhead from the backup rollout, sensitivity computation ( variational ODE for 100 steps), and differentiable QP solve dominates even at trivial scale, approximately 7–10x slower than standard SAC on the same task. Extrapolating to or to systems with multiple simultaneous safety constraints suggests training times of days. The paper should include a computational complexity analysis as a function of , , , and number of safety constraints.
W4. No hardware validation.
Given that the primary claimed contribution is provably safe real-world deployment, the complete absence of hardware experiments is notable. Discretization errors, model mismatch, sensor noise, and actuation delays could each activate the slack or violate the sampled-data conditions in ways that simulation does not reveal.
Questions
Q2 (W2 ). Can you provide a formal bound on safety violation magnitude as a function of the slack ? Specifically, if at some timestep, what is the worst-case deviation from , and does this deviation accumulate over time? Without such a bound the implementation does not formally satisfy Theorem 4.3, and the "provably safe" claim requires qualification.
Q3 (W3). For the quadrotor experiment, can you formally verify beyond empirical sampling? If not, please explicitly state that the safety guarantee for the quadrotor is conditional on the empirically verified precondition rather than formally proven. How sensitive are the results to the choice of the sampled design region ?
Q4 (W4 — Score-relevant). Can you provide a computational complexity analysis showing how training time scales with , , , and number of safety constraints? The 4.6-hour training time for the unicycle suggests the overhead is large even at trivial scale. What is the expected training time at or with 10 simultaneous safety constraints?
Q5 (W4). Why was the quadrotor experiment designed with only a single safety constraint? A system with multiple simultaneous constraints, for example, both a ceiling and a floor bound, or position bounds in multiple axes, would be a more convincing demonstration of scalability. Can you provide such an experiment or explain why a single constraint sufficiently demonstrates the framework's capabilities?
Limitations
The authors identify the key limitation, requirement for control-affine analytic dynamics or a differentiable simulator, and discuss relaxation in Appendix F.4. However, two important limitations are not adequately discussed:
-
The gap between the formal guarantee and the slack-regularized implementation is acknowledged in passing (Appendix F.6.1) but never formally bounded. The paper should either provide a bound or qualify the "provably safe" claim.
-
The fact that is only empirically verified for the quadrotor reduces the formal guarantee to an empirical one for the primary high-dimensional experiment. This is not stated explicitly anywhere in the paper.
Final justification
The rebuttal resolved my main concerns. The authors removed the slack from the implemented QP, clarified that the quadrotor reset set is certified through the BCBF condition, and added a multi-constraint experiment with a clearer complexity analysis. The remaining limitations are primarily matters of scope rather than corrctness. I therefore increase my recommendation from borderline reject to borderline accept.
Formatting concerns
No major formatting or anonymity violations detected. The related work is deferred entirely to Appendix C with only a brief pointer in the main text, which makes it harder to assess originality without consulting the appendix, but this is a stylistic choice rather than a formatting violation. No anonymity concerns.
5 comments
Thank you for your response. Most concerns have been addressed adequately. some minor questions:
1- Could you clarify whether the hard QP remained feasible at every Phase-II training and evaluation step across all reported seeds? 2- Please also state the numerical feasibility tolerance used by the solver and how solver failures or near-infeasible solutions were handled. This is important because removing the slack resolves the formal gap only if the hard constraint is consistently feasible and enforced to sufficient numerical accuracy.
Thank you.
Thank you sincerely for the positive feedback. We are glad that most of the concerns have been addressed. We also appreciate the excellent follow-up questions.
- Yes, we confirmed that the hard QP remained feasible at every Phase-II training and evaluation step across all reported seeds.
- Solver tolerances: We used QP solver tolerances of for the unicycle and for the quadrotor.
Numerical failure handling: While a QP solve might fail because of numerical difficulties even when the QP itself is feasible, the solver success rates across all seeds during Phase-II training were % for the unicycle and % for the quadrotor. During evaluation, the corresponding success rates were % and %, respectively.
For the rare numerical failures, we directly use the composed backup action . We numerically verified that the backup actions used in these cases were feasible solutions to the QP, i.e., they satisfied all QP constraints. This is also consistent with BCBF Theorem 2 [1]: for , the exact hard QP is feasible, and
Therefore, the backup policy itself provides a natural fallback with feasibility and safety guarantees.
We will make these details more explicit in the revised version. Thank you again for these insightful questions, which have helped us improve the paper.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The authors propose a provably safe RL framework that provides provable safety guarantees for high-dimensional control-affine systems. The paper assumes a known, deterministic, and control-affine system model and a small, analytical safe control invariant set. Their formulation is based on control barrier functions (CBFs). First, they assume access to a base CBF controller and set. Constructing a relatively small safe set with a CBF is typically possible for most control-affine systems, so this is a reasonable assumption. They then build on the Backup CBF (BCBF) paper [12], where the core idea is that you have access to a backup policy that brings the system back in the base set within a given time horizon T while staying within the safe set. The BCBF paper then proves that you can construct an induced control-invariant set C_T from the backup policy and base set, which yields an implicit CBF. The authors then derive that one can construct a set of safe actions from the BCBF if the backup policy is fixed and fully differentiable.
They split their core methodology into two parts: First, they learn a safe backup policy, which they call a safe-arrival policy using RL. For this, they propose a special Q-value function that penalizes leaving the safe set and rewards a fast arrival time to the base set. After training this function, they train the policy in a CBF-RL fashion, where they solve the optimization problem that aims to minimize the deviation from the RL policy while keeping the input within the safe input set induced by the learned BCBF.
My biggest concern was: if the safe-arrival policy is learned, how can it be provably safe? The key point is that the authors assume knowledge of a perfect deterministic system model. They can then forward propagate the safe-arrival policy through the system model to determine if the learned safe-arrival policy would bring the system to the base set. This guarantees safety.
The authors prove the safety and optimality of their approach, although a lot of the proofs are within the appendix due to space constraints.
The paper compares their approach against other safe RL methods and a BCBF-RL approach with an analytical backup function instead of a learned one. They evaluate on two high-dimensional complex dynamical systems. Their method significantly outperforms all other baselines.
Strengths and weaknesses
Strength
- Strong theoretical contribution and high relevance to the field: many prior works tried to learn a safe behavior but lacked the formal proofs to ensure safety. Methods that formally ensure safety are often too conservative to achieve strong performance. Prior work has shown that integrating the safety guarantees in the RL training is generally beneficial, so the proposed concept is highly relevant. If this work is extended with uncertain system dynamics, it could provide safety for highly complex autonomous systems, for which analytical solutions are hard to find.
- Figure 1 is essential to understanding the proposed method.
- The authors aim to provide a full proof of the safety and optimality of the entire system. Their proofs and derivations are mostly clear and possible to follow. As the system proposed by the authors combines multiple ideas (BCBF and RL), it is naturally notation-heavy.
- The experimental evaluation reports statistically significant results (10 seeds and 95% CI reported), which is required for good RL work.
- The results are very convincing. Their method significantly outperforms an analytical BCBF-RL approach. Note that if there were uncertain system dynamics, finding an analytical solution would be very hard, but learning a safe-arrival policy would still be possible.
Weaknesses
Major
- My number one critique point is that the assumption of a perfect, deterministic system model is only explicitly mentioned in the limitations. This is a highly unrealistic assumption. You will never have a perfect system model. The definition of a model is that you abstract away certain parts of the system. The authors should add this assumption to the abstract, introduction, and assumptions section. (In my evaluation, I assume that the authors will do this for the revised version. If not, I will adjust my rating accordingly.) That being said, I totally understand that for a first progress, it makes sense to make this assumption and derive the necessary theory for an unrealistic assumption first. The next step will be to add model uncertainty and system noise. However, it is fine to move that to future work.
- Section 4 is lacking some clarity:
- Section 4.1.1 BCBF-admissible input set is very hard to understand, but highly important. I was not able to fully follow the derivation here. Additionally, I did not understand how you construct in practice.
- I personally did not benefit from the introduction of the subproblems.
- Assumption 4.1 and Theo 4.1 felt like they could be merged into a simple assumption that \mathcal{B} exists and moved to the preliminaries.
- Expect the BCBF-admissible input set part, Section 4.1, would benefit from simplification and more intuitive explanation rather than theorems/proofs.
Minor
- Krasoski et al. 2023 Provably safe RL survey and Brunke et al. 2022 Safe RL survey should be cited -> Highly relevant.
- Introduce zero-order hold discretization
- In 4.1.1:
- Where does the come from?
- Derivation or intution of the terms would be nice.
- The set notation in (6) is incorrect.
- Please add how you can construct the explicit set in practice.
- What is the finite reference measure ?
- In Section 4.4, it would be helpful to add an intuition for the proofs.
- Experiments: please add how the analytical safe arrival policy is constructed.
- Please enlarge the axis, label, and legend text in Figure 2.
- Report the reward as well as the tracking errors.
- Although Fig. 3 looks cool, I did not understand it at all. Probably videos on a website would work better and give additional space for the methods.
- Are there any further realistic limitations? They currently read like the method is perfect under the given assumptions, which feels quite unrealistic for anyone who has done RL experiments before.
- The bibliography is quite messy; aim for consistency in the citation style.
Questions
- Where does the come from?
- Please add how you can construct the explicit set in practice.
- How did you construct the analytical policy?
Limitations
Are there any further realistic limitations? They currently read like the method is perfect under the given assumptions, which feels quite unrealistic for anyone who has done RL experiments before.
Potential problems could maybe be:
- For high-dimensional state spaces, the safe-arrival function is hard to learn as is large.
- Optimization problem is solvable in theory, but sometimes fails in practice
- Slow training times in certain situations
- Training brittle to hyperparameters
Final justification
All of my concerns were addressed.
Formatting concerns
no
3 comments
Rebuttal
We thank the reviewer for the very positive assessment and for the concrete suggestions on clarity. We agree that the current presentation makes the model assumptions and the BCBF construction harder to locate than they should be. We commit to making the assumption explicit in the abstract, introduction, and problem formulation sections in the revised version.
Please note that in our response below, we numbered the major/minor weaknesses and questions in order (for example, first bullet point in major weakness as "Major-W1").
[Major-W1] Model assumption: we will foreground it
We will explicitly state the theorem’s model scope in the abstract, introduction, and problem formulation (assumptions), rather than leaving it primarily to the limitations. The revised abstract and introduction will contain language such as, "Our guarantees are established for a deterministic control-affine model." We will further add a dedicated Assumptions paragraph in the Problem Formulation section, making the perfect, deterministic, control-affine system model assumptions explicit.
We also agree with the reviewer's positioning of this work. Our current work is the grounding theoretical framework for future extensions to uncertainty, process noise, perception error, or input delay. Robust/adaptive PSP-RL extensions and hardware validation are important next steps, and we will state this scope explicitly in as future work.
[Major-W2/Minor-W3,W5/Q1,Q2] Clarity of Section 4
Intuition and explicit construction of
The intended construction is simpler than the notation currently suggests. At a current state :
- Freeze the composed backup policy , roll it forward to , and compute the flow sensitivity .
- Consider a candidate current input . The term maps its instantaneous effect at to backup-rollout node .
- Require every future safe-set barrier and the terminal base-set barrier to satisfy its CBF derivative inequality. Because the rollout and are fixed, each condition is affine in .
- Stack those rows:
The CIL is simply the Euclidean projection of the nominal policy output onto this polytope, and its explicit form is detailed in Appendix F.6.1, Eq. (106) - (119). We will move a compact version and its intuition into the main text.
Derivation of and the term
The derivation of comes directly from the cited Backup CBF paper [1, Sec. 3]: is the time derivative of along the closed loop, and is its base analogue for at the backup horizon . Each is a standard CBF derivative, with the composition supplying input dependence through , which is exactly why the relative-degree problem disappears in PSP-RL. For example, the is derived as follows:
The subtraction term here comes from the rolling-window term. The BCBF rows constrain safety at points indexed by relative backup time . As real time advances by , the constrained point itself drifts along the backup flow by . The base condition is evaluated at the advancing endpoint , so it has no corresponding subtraction term. We will add this chain-rule intuition along with the equations.
Reorganizing Section 4 and proof intuition
- The introduction of the subproblems will remain only as a concise formalization of this decomposition.
- We will also condense Assumption 4.1 and Theorem 4.1 in the main text to “a certified local pair exists and is obtainable from the local LQR/Lyapunov construction,” with the constructive detail in the Appendix.
- The proof intuition will be stated before the formal results: Phase I changes the size of , not the validity of the BCBF construction. Once is frozen, the backup input is feasible in for every . Therefore, the CIL is nonempty there, and any projected Phase-II policy preserves .
Regarding set notation in (6)
We want to fix this correctly and are not certain which mismatch the reviewer has in mind. We will correct it right away once verified.
[Minor-W4] Finite reference measure
The finite reference measure is simply the chosen notion of “set size” on the compact design region . It may be Lebesgue volume, a counting measure on a grid, or a task-relevant sampling measure. In the unicycle experiment, it is approximated on the dense grid; in the quadrotor, it is approximated by the task-relevant state library. These are detailed in Appendix G, and we will explain with examples in the main text.
[Minor-W6] Analytic safe-arrival policies
For the unicycle, the analytic safe-arrival policy is the same LQR used as the base controller. For the quadrotor, it is an aggressive cascaded PID-style recovery controller: an outer loop damps translation, regulates altitude toward hover, and becomes ceiling-aware; its virtual acceleration is converted to thrust and desired attitude, and an inner quaternion controller tracks that attitude until entering . The certified base controller then takes over. These are detailed in Appendix G, and we will provide shortened details in the main text.
[Minor-W8] Training returns
We will add the requested returns in our revised version. Each entry below is the undiscounted episode return averaged over the trainer’s checkpoint-evaluation episodes, then summarized across ten seeds:
| Method | Unicycle return, mean s.d. | Quadrotor return, mean s.d. |
|---|---|---|
Above are the returns for the models submitted in the initial version (trained with slack). The returns of the trained without slack are essentially the same: -1926.56 66.81 for unicycle, -903.87 381.74 for quadrotor. The revised version will have the returns from the expanded ten-seed trainings without slack.
Note that these returns support the same conclusion as the tracking metrics: enlarging the backup-induced set materially improves downstream task performance.
Other revisions and limitations
[Minor-W1] We will cite the suggested safe-RL surveys, [Minor-W2] introduce ZOH discretization in Problem Formulation, [Minor-W7] enlarge the axes/labels/legends in Fig. 2, and [Minor-W11] standardize the bibliography.
[Minor-W9] We will also rewrite the Fig. 3 caption and annotations. Its left and middle panels compare recoveries from various states under the learned and analytic safe-arrival policies, where the terminal segments controlled by are colored in yellow. These two figures emphasize the performance of the safe-arrival policy over the analytic one, highlighting Phase I's effectiveness. The right panel shows how the resulting PSP policies track the powerloop. Figures 7 and 8 in the Appendix show the same figures from various viewpoints. We have generated the corresponding trajectory videos and will include them on the project page (no link is included here in accordance with the rebuttal policy).
[Minor-W10, Limitations] We address the remaining concerns and questions below:
- The current guarantee assumes a known deterministic model and certified base pair.
- The Phase-I design region and training budget affect the size of and hence performance/conservatism, but not the validity of the certificate for states in .
- Increasing the backup horizon increases the size of at the cost of more rollout nodes and QP rows.
- In terms of training the safe-arrival policy in a high-dimensional state space, it is important to clarify that the dimensionality trades against performance, never safety. is a design choice, and shrinking it shrinks the certified region, and thus the initial state support . However, invariance is a property of , so any state admitted by the rollout test is safe regardless of how large was.
- The majority of the training time is from Phase II. However, the guarantee costs no Phase II training time at all (ablation study's Table 12 shows Vanilla policy + CIL is 100% safe with the layer added only at evaluation), so training time buys performance inside the certified set. Phase I and the composed CIL provide the safety guarantee, where Phase I training is much faster, and paid once.
- It is worth noting that the Phase-II hyperparameters are transferred without tuning: the class- gains are identical across both environments (Table 9), and Phase II reuses the same SAC settings as the unconstrained, vanilla tracking policy. In other words, the tuning effort was in the RL backbone, as usual and expected of any RL training, not specific to Phase II.
These revisions should make both the guarantees and the practical boundaries of the current contribution substantially clearer. We thank the reviewer again, as this review will visibly improve the paper.
[1] Yuxiao Chen, Mrdjan Jankovic, Mario Santillo, and Aaron D. Ames. Backup control barrier functions: Formulation and comparative study. In 2021 60th IEEE Conference on Decision and Control (CDC), 2021.
Thank you
Looks good to me. Thank you for addressing my remaining concerns.
Thank you for the careful review and the great feedback. We will include the clarifications discussed during the review process in the revision.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes PSP-RL, a two-phase framework for provably safe reinforcement learning based on backup control barrier functions. The central idea is to avoid explicit synthesis of a global invariant set. Instead, Phase I learns a safe-arrival backup policy whose rollouts implicitly define a backup-induced recoverable/invariant state set : the set of states from which the backup policy can reach a small certified base set within horizon while remaining in the safe set . Phase II then freezes this learned backup policy and trains the task RL policy through a differentiable control-invariant layer, which projects actions into the BCBF-admissible control set . This action set is sufficient to preserve invariance of the learned backup-induced state set.
The paper's main contributions are an indicator-based safe-arrival value function for learning the backup policy, a differentiable projection layer implementing the BCBF constraints, theoretical safety guarantees for the resulting projected policy, and empirical validation on unicycle lane-keeping and 10D quadrotor powerloop tracking tasks.
Strengths and weaknesses
Strengths
-
The paper addresses an important bottleneck in backup-CBF methods: the conservatism and manual design burden of the backup policy. Learning the safe-arrival component is a compelling way to enlarge the induced recoverable set without explicitly computing a global invariant set.
-
The safe-arrival value function is a strong technical contribution. Its indicator-based construction directly captures the event of reaching the certified base set before failure, and the discounted version yields a clean Bellman recursion. This provides a natural RL-compatible surrogate for enlarging the backup-induced invariant set.
-
The two-phase structure is conceptually appealing. Phase I learns a better implicit state certificate by improving the backup policy, while Phase II uses the frozen backup policy to construct state-dependent admissible control sets for the task policy. This separation also avoids a moving-target issue during task-policy training.
-
The experimental results are strong. The learned safe-arrival policy improves substantially over an analytic backup policy in both environments, and the PSP variants maintain 100% sampled safety. The ablation showing that end-to-end training through the control-invariant layer outperforms post-hoc filtering is particularly useful.
Weaknesses
-
The translation of the safety guarantees from the theoretical framework (exact or sufficiently accurate dynamics, valid sampled-data enforcement, etc.) to the implementation, where the authors use finite-mesh enforcement and a slack-regularized QP, is not clear to me. The reported slack values are small, which is reassuring, but the formal guarantee corresponds to the hard, exact constraint setting. The distinction between the theorem and implementation could be made sharper.
-
The statement that the learned safe-arrival policy "does not require certification" could be clarified. The safe-arrival policy is not certified as a standalone safe controller; rather, once frozen, its rollouts define the BCBF constraints, and safety is guaranteed for the projected Phase II policy that satisfies those constraints.
-
The control-invariant layer is useful, but its novelty seems more incremental, since it relies on existing differentiable projection/HardNet-CVX machinery. The main novelty appears to be the learned safe-arrival backup policy and its value-function formulation, together with the integration into the BCBF pipeline.
-
The baseline comparison is broad, but some comparisons would benefit from additional justification. For example, CBF-RL is evaluated without the runtime filter, following the cited protocol, but this makes its deployment setting less directly comparable to methods whose filters remain active. The quadrotor HOCBF baseline is also structurally limited because its constraint acts directly only through thrust and not body rates, which may make PSP-RL's advantage partly dependent on the chosen baseline certificate construction.
Minor Comments
The exposition is slightly non-linear: Subproblem 1 is presented before Subproblem 2, but Phase I solves Subproblem 2 and Phase II solves Subproblem 1. This is not a major issue, but it adds cognitive load.
Figure 1 is difficult to read, likely due to rasterization or scaling. A cleaner vectorized version would improve readability.
Questions
-
How do the authors verify that the evaluation/training initial-state support is contained in the learned backup-induced set , especially for the 10D quadrotor where dense verification may be infeasible?
-
The formal guarantee assumes exact BCBF constraints, but the implementation uses finite-mesh rollout constraints and a slack-regularized QP. Under what precise conditions does the implemented controller retain the formal safety guarantee? Is the reported small slack only an empirical diagnostic, or is there a bound showing safety despite nonzero slack?
-
Can the authors clarify the exact role of the learned safe-arrival policy in the proof? It seems the learned policy is not certified as a standalone safe controller, but once frozen, its rollouts define and the BCBF constraints. Is that interpretation correct?
-
Can the authors provide more intuition or empirical evidence about how conservative $ \Pi_{\mathrm{BCBF}}(\pi_b^\star) $ is relative to the true safe policy class ? For example, are there states/actions that are safe but excluded by the learned backup-induced certificate?
-
Is there a reason for evaluating CBF-RL without a deployment-time filter while PSP-RL keeps its projection layer active? Also, for the quadrotor, is the HOCBF baseline disadvantaged because the chosen HOCBF constraint acts directly only on thrust and not body rates?
Limitations
yes
Formatting concerns
n/a
3 comments
Rebuttal
We thank the reviewer for a careful and technically accurate reading, and in particular for questions that pointed to exactly the right experiments. We have run all of them. New results: (i) we removed the QP slack entirely and re-ran Phase II training and evaluation with the hard QP; (ii) we computed the maximal control-invariant set for the unicycle via Hamilton–Jacobi reachability and compared it against our ; (iii) we reevaluated CBF-RL with its runtime filter retained. The remaining questions are also answered here.
Please note that we numbered the weaknesses in order (first bullet point as W1, ..., last as W4).
[W1, Q2] Thm. 4.3 vs. the implementation: the slack is now gone
The reviewer is correct that Theorem 4.3 applies to the hard BCBF-admissible set. A positive slack in Eq. (120), however small, is not covered by that theorem. Prompted by the review, we removed the slack and ran two new studies. First, we reevaluated all submitted PSP checkpoints (analytic/learned backup policies on both tasks) with the hard QP. Episode safety was unchanged in all four cases, and the largest absolute change in any RMSE IQM was . Second, we retrained the learned-backup-policy variant () end-to-end with the hard QP for five seeds:
| Task | Hard-QP RMSE IQM [95% CI] | Episode safety % IQM [95% CI] | Training return, mean s.d. |
|---|---|---|---|
| Unicycle | ; ; | ||
| Quadrotor | ; ; |
These results closely match the submitted models evaluated using the hard QP ( for the unicycle and for the quadrotor). We will therefore make Eq. (119), with no slack during either training or deployment, the default and primary PSP-RL implementation. We will expand the five-seed hard-QP to the full ten-seed scope in the revision.
On the finite mesh: we agree the correspondence deserves an explicit paragraph and will add one. The point worth making here is that the mesh is not an approximation layered onto a continuous-time controller after the fact — the controller is sampled-data by construction (Rem. 3.1), the backup flow and its sensitivity are integrated on the same grid at which the action is held by ZOH, and the base controller is a discrete-time LQR synthesized at that same , so the safety conditions are enforced in exactly the discretization in which they were designed.
[Q1] Verifying for quadrotor
Dense construction of the entire set is unnecessary. Invariant-set membership is constructive:
For Phase II, a candidate reset is admitted only after rolling out the frozen backup policy and checking these safe-trajectory and terminal-base-set conditions. Equivalently, the Phase-II reset distribution is conditioned on this membership predicate, so its support is contained in by construction, and no global gridding of the 10D set is required.
[W2, Q3] Role of the learned safe-arrival policy
Yes, the reviewer’s interpretation is exactly correct. The learned safe-arrival policy is not claimed to be a standalone certified controller. After it is frozen and composed with the certified base controller into ( on the base set, elsewhere), its rollouts define . The safety claim in Theorem 4.3 is a statement about the projected Phase-II policy , not about or individually. The phrase "does not require certification" was meant as "does not require a separately synthesized certificate for the safe-arrival policy itself." We will make it clear in our revision.
[Q4] How conservative is relative to ?
We measured it where ground truth is computable. We solved the Hamilton-Jacobi (HJ) reachability problem for the unicycle to obtain the maximal invariant set, and compared it with the set induced by a learned backup policy using a longer backup horizon: the learned backup-induced set covers % of the maximal HJ set. Since the HJ solution numerically approximates the maximal invariant set in this tractable example, this shows that the learned BCBF certificate recovers essentially all of it, and the safe-but-excluded region is small rather than structural. We will add the overlay figure and these metrics in the revised version as an empirical measure of .
[W4, Q5] CBF-RL with filter and the HOCBF baseline
On the CBF-RL filter. We originally evaluated CBF-RL without its runtime filter because this matches the cited CBF-RL deployment protocol and its official implementation. To provide the directly comparable setting requested, we reran it with the filter active:
| Task / method | Position RMSE IQM | Velocity RMSE IQM | Heading/attitude RMSE IQM | Safety |
|---|---|---|---|---|
| Unicycle, CBF-RL + filter (10 seeds) | % | |||
| Unicycle, PSP-RL hard QP (5 seeds) | % | |||
| Quadrotor, CBF-RL + filter (10 seeds) | % | |||
| Quadrotor, PSP-RL hard QP (5 seeds) | % |
The reviewer's prediction is confirmed: the filter restores 100% sampled safety for CBF-RL, while PSP-RL retains substantially lower tracking error. We will report the CBF-RL results with the filter active in the revised version.
On the HOCBF. We think this is a substantive finding rather than an artifact of our choice. For this system of , HJ and sum-of-squares invariant-set synthesis are not tractable, so HOCBF is the strongest explicit-CBF construction available, i.e., we chose it as the best option, not a weak one. Its limitation is intrinsic to explicit construction here: has relative degree 2 in thrust and higher in the body rates, so the HOCBF condition (App. G.4) is affine in thrust alone and carries no direct body-rate dependence, leaving the filter unable to use the control authority needed for agile attitude recovery. This is precisely the gap the construction in PSP-RL closes: because rows enter through , they are relative-degree-one in every actuator, so the layer modulates thrust and body rates simultaneously. We will make this more explicit in the main text.
Other revisions and minor comments
- Novelty (W3). We agree with the reviewer’s characterization of novelty. The principal technical novelty is the safe-arrival value function and its use to learn a backup policy that enlarges the implicit invariant set. The CIL builds on differentiable convex projection, and its contribution here is the end-to-end instantiation. We will sharpen this positioning.
- Exposition (Minor 1). We will smooth the connections between the two Subproblems and the Phases. Our ordering follows the problem statement, but the reviewer is right that it can be difficult to read, and we will make this clearer in the revised version.
- Figure 1 (Minor 2). Fully vectorized and larger in the revised version.
- We will also publish a project website with rendered videos of the quadrotor rollouts (links are not permitted in the response).
Thank you again. These questions materially improved the paper, and we are glad to run anything further during the discussion period.
Thanks to the authors for their detailed response. All my questions have been sufficiently answered.
Thank you for your careful review and for confirming that our response addressed your questions. We greatly appreciate your constructive feedback, which helped us improve the paper.
Comments on the paper
1 comment
Dear Reviewers, please read the rebuttal and indicate whether it addresses your concerns
Dear Reviewers,
Since the rebuttal period (author + reviewer + AC discussion) is approaching its deadline, please read the authors’ rebuttal and other reviews, indicate whether the rebuttal addresses your concerns, and ask further questions if you have any. If your opinion changes, please adjust your score accordingly.
Thank you!
AC
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We thank the reviewer for concrete, actionable questions, and for recognizing our main contributions. We ran new controlled experiments on the two central issues raised: (i) eliminating QP slack and (ii) increasing the number of simultaneous quadrotor safety constraints. We also provide the computational complexity analysis and address all the questions.
[W1/Q2/L1] The slack is now gone
We agree on the exact mathematical point: if the softened problem returns δ⋆>0, that action is not covered by Theorem 4.3. Prompted by the review, we first reevaluated every submitted PSP checkpoint with the hard QP. Safety was unchanged in all four analytic/learned and unicycle/quadrotor conditions, and the maximum absolute change in any RMSE IQM was 0.0285. More importantly, we then retrained the learned-backup-policy variant end-to-end with no slack in any Phase-II training or evaluation solve, using five seeds:
These closely match the submitted models when reevaluated with the hard QP (0.5215/0.8279/0.1082 for the unicycle and 0.5738/0.9346/0.4515 for the quadrotor). We will make the hard formulation in Eq. (119) the default for both training and deployment. We will further expand the five-seed hard-QP to the full ten-seed scope. Since the revised controller fixes δ≡0, a slack-to-violation bound is no longer needed for the claimed implementation.
[W2/Q3/L2] X0⊆CT(πb⋆) is verified constructively, and CT(πb⋆) is formally certified for all experiments
CT(πb⋆) is a certified control-invariant set in every experiment. Explicitly computing that set for the 10D quadrotor is intractable, but the BCBF construction is designed so that no explicit global representation is required, and hence no dense gridding. For a frozen backup policy πb⋆,
Under the BCBF theorem, this predicate certifies membership, and CT(πb⋆) is control-invariant and a subset of S [1, Thm. 1].
In quadrotor Phase II, every candidate reset is admitted only if this predicate holds. Hence, the accepted support satisfies X0⊆CT(πb⋆) by construction, not by empirical estimate. X0 is, by definition, a formally verified subset of the certified control-invariant set. We will make this clear in the revised version.
The Phase-I design region Ω is separate: its coverage shapes the size and task usefulness of CT(πb⋆), and hence conservatism and downstream performance, but not whether the set is invariant. Phase I therefore does not require Ω⊆CT(πb⋆).
Finally, CT(πb⋆) need not be the maximal control-invariant subset of S, and we do not claim it to be. A maximal set could be larger, but cannot be retrieved for the 10D system. Maximality concerns conservatism rather than correctness: a backup-induced invariant set retains its control-invariance guarantee even when it does not cover every state from which some other safe controller might recover.
[W3/Q5] Multiple simultaneous constraints and relative degree
Although the submitted quadrotor safety specification is scalar, it is not dynamically first-order in relative degree or decoupled. The altitude bound has relative degree two with respect to thrust and higher relative degree with respect to body-rate commands, and it is enforced through the complete 10D quaternion dynamics under tight four-input limits. The HOCBF condition (App. G.4) is thus affine in thrust alone, leaving its filter unable to use the attitude authority an aggressive recovery needs. The KBCBF rows instead enter through Ψπb(x,t′)g(x) and are relative-degree-one in every actuator, so the CIL modulates thrust and body rates simultaneously. At 10D, other methods for computing an explicit invariant set, such as grid-based HJ and verified sum-of-squares, are intractable due to the curse of dimensionality.
We nevertheless added a five-seed hard-QP experiment with 3 safety constraints: pz≤3, px≤1, and px≥−1. We use the same budgets and hyperparameters for both Phases as the one-safety-constraint setting. The QP grows from 110 to 312 inequalities (2.84×) while retaining four decision variables.
The nearly threefold increase in rows raises end-to-end training time by 13.0% and inference time by 40.4%, not by a factor of three. Higher velocity/attitude errors are expected because the walls restrict the aggressive flip. Importantly, all three constraints have zero violations. We will expand this experiment to ten seeds and include the trajectories and quantitative table in the revised version.
[Q4] Complexity in n,m,N,nS
On the dimensionality of the quadrotor. n=10 is already a demanding regime for provably safe RL, especially under tight actuator limits. The dedicated survey [2] benchmarks a 6D planar quadrotor and notes that demonstrations on high-dimensional nonlinear systems remain rare.
On the complexity analysis. We would like to first make two points. (i) Per projected action, cost is linear in N, at most linear in nS, and the state dimension n never enters the QP. Instead, it only affects how rows are built, leaving an m-variable quadratic program, where m is the actuator count. (ii) Phase-II wall-clock is (number of RL updates) x (per-update cost), and the update count is set by the performance target, not by the guarantee. That is the quantifier in Thm. 4.3, which holds for any πϕ: once Phase I supplies the certificate, the hard CIL renders any nominal policy safe, and Phase II only improves performance within the certified set. Table 12 in the ablation studies confirms it: the CIL attached post hoc to an unconstrained vanilla policy gives 100% safety with no Phase II training, and end-to-end Phase II then improves the performance with the same safety guarantee. The reported 4.6hr/13hr training times are thus the price of task performance on a 2017-era V100 machine, and the user may stop anywhere during training while keeping the full guarantee at sub-millisecond inference time.
Formally, let nB be the number of terminal base-set inequalities and nS the number of safety inequalities. With N+1 rollout nodes, the hard QP has nc=(N+1)nS+nB+2m inequalities, and m decision variables. For a structure-exploiting primal-dual interior point solver
qpax, eliminating the diagonal inequality block yields an m×m reduced system. With IQP iterations, the per-projection cost is O(IQP(ncm2+m3)). Hence the QP cost is linear in NnS for fixed m, while m controls the primal dimension. The state dimension n does not affect the QP dimensions, and only enters through rollout and sensitivity construction. This is conservatively O(Nn3) if Ψ is fully materialzed, but you only need O(Nn2(m+1)) in practice with directional sensitivities, since only the m+1 columns [g(x),f(x)] are needed. However, actual wall-clock also depends on conditioning, solver, compute machine, compilation, etc.Regarding the reviewer's two examples. With n=20, the QP is untouched, and only the sensitivity subroutine grows: 8x worst case or 4x directionally, against a total in which the SAC update is largely unaffected. With nS=10,N=100,m=4, we have nc=1019 rows but four decision variables, which is 3.27× our three-constraint run. Fitting our two measured configurations linearly in nc puts nS=10 at ≈20 hrs and 1.6 ms per inference. Neither case is days, and, as mentioned above, wall-clock depends on the user's desired performance, as with any RL algorithm. These are two-point extrapolations on nine-year-old hardware, and are expected to be much faster on newer GPUs with optimized batching and compilation.
[W4] Hardware scope
The current contribution establishes theory and numerical validation, and does not claim hardware validation. Hardware guarantees additionally require robust/adaptive treatment of model mismatch, disturbances, uncertainty, sensing error, and delay. We expect the current work to serve as the foundational theoretical work for such extensions. We will foreground this scope and identify that extension and hardware evaluation as future work.
We thank the reviewer for a thorough review. We hope the hard-QP ablation, X0 clarification, multiple-constraint experiment, and complexity analysis resolve the central concerns.
[1] Yuxiao Chen, Mrdjan Jankovic, Mario Santillo, and Aaron D. Ames. Backup control barrier functions: Formulation and comparative study. In 2021 60th IEEE Conference on Decision and Control (CDC), 2021.
[2] Hanna Krasowski, Jakob Thumm, Marlon Müller, Lukas Schäfer, Xiao Wang, and Matthias Althoff. Provably safe reinforcement learning: Conceptual analysis, survey, and benchmarking. Transactions on Machine Learning Research, 2023.