- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 4
- Quality
- 3
- Significance
- 4
Read review
Summary
This manuscript introduces Dyna-SAuR, a Dyna-style model-based RL algorithm that targets training-time safety which is minimizing failures incurred during learning rather than only for a converged policy. The main idea is that safety and model certainty can be merged: the method jointly learns a control policy and a state-dependent hyperplane-based action projection safety filter, both supported by an uncertainty-aware probabilistic-ensemble dynamics model, and trains the filter entirely inside the learned model to keep the system within a certain safe set that avoids both genuine failure states and regions where the model is uncertain. The contribution rests on three elements: 1) considering viability together with the uncertainty of the dynamics model via an RL-based approximate viability kernel; 2) a compact hyperplane action space with a bijective map to discriminating hyperplanes that intersect the bounded action space, and 3) a data-shaping scheme that oversamples informative initial states and approximates the filter MDP's stochasticity using temporally-correlated pink noise. Because the filter is conservative where the model is unreliable, deploying it lets the control policy safely collect data that expands the certain set and relaxes the filter on the next iteration. Empirical evaluations on CartPole and MuJoCo Walker, against PPO-Lagrangian, DH-RL, and Infoprop-Dyna demonstrate that Dyna-SAuR matches or exceeds the control performance of the safe-RL baselines while reducing accumulated failures during training by at least two orders of magnitude.
Strengths and weaknesses
Strengths:
-
The manuscript addresses an important and practical problem and makes a genuine conceptual advance. To my knowledge, it is the first method to train viability-based safety filters for systems without ground-truth dynamics or a pre-specified set of viable states, by coupling viability with model uncertainty. The framing is principled and directly motivates the algorithm's outer loop.
-
The manuscript provides clear theoretical analysis that underpins the design. The safety filter MDP construction is an interesting idea, while Theorem 5.1 and Lemma B.1 ground the action-space reformulation in theory rather than presenting it as an ad-hoc trick.
-
The manuscript demonstrates strong, consistent safety improvements with a methodologically solid evaluation: 10 seeds, 99% confidence intervals, an ablation removing each of the three components. The authors are also honest about negative findings, noting that certain-set expansion stagnates on the higher-dimensional Walker.
Weaknesses:
-
The safety guarantee is only as good as the epistemic-uncertainty estimate, which is the load-bearing assumption of the method and is currently under-examined. Everything hinges on a certain set defined by an entropy threshold, yet probabilistic-ensemble uncertainty is well-known to be miscalibrated; an overconfident model in an unsafe region would admit it into the safe set and the filter would permit failures. There is no calibration analysis, no sensitivity study on lambda_1, and no stress test of the "model is confident but wrong" failure mode.
-
The fairness of the safety accounting is unclear. Dyna-SAuR and Infoprop-Dyna receive an offline dataset D_0, while PPO-Lagrangian and DH-RL are warmstarted with the same amount of online interactions before counting violations. It is not stated whether failures incurred while collecting D_0 (or during warmstart) are counted for any method. If the headline claim excludes the unsafe data-collection phase that bootstraps every method, the comparison's interpretation changes materially.
-
The filter-evaluation gate is not clear. Algorithm 1 loops while filter evaluation is not successful, but the success criterion, whether the loop terminates, and whether a filter passing model-based evaluation can still be unsafe in the real environment, are not addressed in the main text.
-
Only two environments are shown, and the higher-dimensional one (Walker) is precisely where the central mechanism stagnates, so the claim of scaling beyond most viability-based filters rests on a single 17-D task.
-
The compute cost of the method is neither analyzed nor compared. By design, both the control policy and the safety filter are retrained from scratch at every Dyna iteration, and each filter-learning phase additionally reinitializes its Q-functions, policy, and replay buffer. Total training cost therefore scales with the number of Dyna iterations, yet neither this count nor the per-iteration cost is reported in the main text.
-
The related-work treatment of the safety-layer / action-correction line is incomplete. A seminal and closely related prior work, Dalal et al. (2018), "Safe Exploration in Continuous Action Spaces," is not cited, even though it shares Dyna-SAuR's central template: a safety layer inserted between policy and environment that corrects actions during learning, using a linear-in-action constraint model fit from logged data, to maintain near-zero violations while training.
Questions
-
Are failures incurred during collection of , and during the warm start given to PPO-Lagrangian and DH-RL, counted in the reported accumulated failures, and could you provide a table separating failures during bootstrap from failures during learning for all methods?
-
How sensitive is safety to lambda_1, and what happens when the ensemble is overconfident in an unsafe region? An ablation sweeping lambda_1 plus an ensemble calibration plot would directly answer whether the safety mechanism is robust or brittle.
-
The abstract and section 6 claim scaling beyond existing viability filters, yet the only high-dimensional task is where certain-set expansion stagnates; could you provide results on at least one additional/higher-dimensional safety task (e.g., another MuJoCo task or Safety-Gym), or otherwise temper the scalability language?
-
What is the success criterion for filter evaluation (Algorithm 5)? Is the inner while-loop guaranteed to terminate? Since evaluation occurs inside the learned model, what prevents a filter from passing it while being unsafe in the real environment? Surfacing these in the main text would improve soundness.
-
Could you quantify the compute overhead of the retrain-from-scratch design: the number of Dyna iterations, the per-iteration training cost, and a wall-clock (or GPU-hour) comparison of Dyna-SAuR against PPO-Lagrangian, DH-RL, and Infoprop-Dyna on both tasks?
Limitations
yes
Paper formatting concerns
I did not notice any formatting issues.
Final justification
The rebuttal satisfactorily clarified the failure accounting, filter stopping criterion, computational cost, and relationship to prior work. The main remaining concerns are the method’s dependence on potentially miscalibrated uncertainty estimates and scalability beyond the evaluated tasks. These limitations prevent a stronger score but they do not undermine the original and well-motivated method or its substantial empirical safety improvements. I therefore maintain my score of 5 (Accept)
We thank the reviewer for the careful reading and the positive review.
Contribution Type:
We would like to clarify the intended contribution type. We selected "General", which we believe is the appropriate category. The core contribution is an algorithm (Dyna-SAuR), including its design decisions (uncertainty-aware viability, compact filter action space representation, RL formulation of filter learning, data-shaping heuristics) and its empirical validation. We build on the core theoretical result of DH-RL [3], namely that state-dependent separating hyperplanes can represent a viability-based safety filter.
W1/Q2 (Sensitivity Lambda 1) [similar to reviewer 7qfY W3 and dr7G Q3]:
We agree that Dyna-SAuR depends directly on the accuracy of the dynamics model and on the initial buffer, we investigated this empirically.
To generate long and accurate predictions with the learned probabilistic ensemble, we rely on Infoprop [1]. Infoprop separates aleatoric and epistemic uncertainty and filters out the epistemic component arising from a lack of data over the course of a rollout. We want to be clear that this provides no formal guarantees on the uncertainty estimates themselves. However, Infoprop has been shown to produce accurate long-horizon rollouts across a diverse set of environments [1].
We verified the reliability of the rollouts empirically for our benchmark tasks by comparing filtered model rollouts against rollouts in the environment from the same initial states. The model rollouts track the ground truth closely over the horizons used during filter training. We will add a figure showing these comparisons to the Appendix.
The threshold λ1 is not set as a parameter directly but is defined as a quantile of the conditional entropy within the observed data [1]. Consequently, λ1 is auto-tuned throughout training. We take the 0.99 quantile for both evaluation tasks without further tuning, and similar ablations have not shown strong sensitivity to the uncertainty cutoff [2]. If the reviewer considers an ablation necessary, we will conduct one and add it to the Appendix.
W2/Q1 (Fairness of the Benchmarks):
Figure 5 does not report failures incurred during prior data collection for Dyna-SAuR or Infoprop, nor those incurred during the warm-start phase of PPO-Lagrangian and DH-RL. Counting of safety violations begins for all methods at the same point: after the warm-start phase for the model-free methods, and after prior data collection for the model-based ones. The warm-start phase comprises as many environment interactions as there are transitions in the prior dataset. Infoprop, being model-based, receives no warm-start phase and is instead given the same prior dataset as Dyna-SAuR to train its initial model.
DH-RL is in fact granted more than this. Before its warm-start phase it additionally interacts with the real environment to train its safety filter, and violations there are not counted either. Only afterwards does it receive the warm-start phase without violation counting for training its control agent under the learned filter. Dyna-SAuR, by contrast, never has access to the policy that generated the prior data and works from an off-policy dataset alone. We will put a stronger emphasis on failure counts in the main body of a revised version.
We would also like to stress that prior data collection is orthogonal to our approach. Whether or not violations occurred while the dataset was produced is irrelevant to Dyna-SAuR itself, since the prior data may equally well be logged data from any behavior policy (see our answer to reviewer 7qfY, W1). We did not log violations during warm-start or prior data collection for any method and therefore cannot report them retrospectively.
W3/Q4 (Stopping Safety Filter Training):
As this is an implementation detail, and given the space constraints of the main paper, we would like to keep the description of safety filter evaluation in Appendix A.2.2.
We use a patience-based stopping criterion for safety filter training, which makes it feasible to train a new safety filter from scratch in each iteration. We compute the average episode length across evaluation rollouts in which proposal actions are filtered by the current safety filter. Training is terminated if the average episode length does not exceed the best value observed so far by a minimum margin for a given number of timesteps, that is, we terminate filter training as soon as no further improvement is observed given the current quality of the dynamics model.
The while loop (Algorithm 1, line 3) therefore terminates eventually, as either the filter stops improving or it reaches the maximum achievable episode length, given by the environment's truncation horizon.
We cannot test the safety filter in the real environment to decide whether it is ready for deployment, since this could lead to safety violations with an untrained filter. The filter therefore has to be evaluated using the learned model. Of course, passing this evaluation in the model provides no formal guarantee of safety in the real environment, which is why we still observe some safety violations in our experiments. Nevertheless, this is the best obtainable safety filter when training relies on model interactions alone.
W4/Q3 (Scalability Language):
As discussed in the limitations (Section 8), the behavior on Walker could potentially be improved further. This is most likely due to the violation of the control-affinity assumption and to the fact that exploring the dynamics model becomes more challenging in high-dimensional spaces, a problem that could be addressed by active exploration. Nonetheless, Dyna-SAuR already scales substantially beyond any viability-based safe exploration method we are aware of. A non-exhaustive comparison is provided in Table 1. Consequently, we consider the scalability statement valid. We are willing to discuss specific formulations the reviewer considers overstated. Unfortunately, we are not able to generate additional results given the brevity of the rebuttal phase.
(Table 1)
W5/Q5 (Computational Overhead) [similar to 7qfY W6]:
We respectfully disagree that the total compute and the number of Dyna-SAuR iterations are absent from the paper. Computation time is reported in Appendix D.4, and the number of executed Dyna-SAuR iterations can be read off from Figure 5 as the number of green dots.
A single filter training run takes roughly 40 minutes for CartPole and roughly 7 hours for Walker, the difference reflecting the 6-dimensional action space over which the hyperplane has to discriminate between viable and unviable actions. In total, training amounts to 8 GPU hours for CartPole over 10 Dyna-SAuR iterations and 24 GPU hours for Walker over 3 Dyna-SAuR iterations, on a single H100 (Appendix D.4). We want to stress that the current codebase is not optimized for runtime.
Table 2 lists the wall-clock times for the benchmarked algorithms.
(Table 2)
We agree that Dyna-SAuR's per-iteration wall-clock times and the wall-clock times of the benchmarks are not yet reported, and we will add them to Appendix D.4.
W6 (Related Work):
We thank the reviewer for pointing us to [8]. We agree that this is work in the space of safe RL where a filter is learned from a data-driven model to provide training-time safety, and we will cite it in our related work section.
The differences from our work are the following. First, their approach relies on a model that is linear in the action and assumes that correcting a single action can always prevent failure in every state. The authors state explicitly that this is only plausible for systems where constraints can be met within one step, which amounts to treating safe and viable states as the same. Dyna-SAuR makes exactly this distinction, and our benchmarks are built such that it matters. Once the Walker is airborne and in an unviable state, no action can prevent the safety violation. The inertia of the CartPole plays a similar role. Second, their model carries no uncertainty estimate and is fixed after pretraining in all reported experiments, so there is no notion of where it can be trusted. Dyna-SAuR uses an uncertainty-aware model, restricts the filter to the certain set, and expands that set with data collected under the filter, which reduces conservatism over iterations.
[1] Frauenknecht et al.; On Rollouts in Model-based Reinforcement Learning; 2025
[2] Frauenknecht et al.; Trust the Model Where It Trusts Itself - Model-Based Actor Critic with Uncertainty-Aware Rollout Adaption; 2024
[3] Lavanakul et al.; Safety Filters for Black-Box Dynamical Systems by Learning Discriminating Hyperplanes; 2024
[4] Suttle et al.; Sampling-based Safe Reinforcement Learning for Nonlinear Dynamical Systems; 2024
[5] Cheng et al.; End-to-End Safe Reinforcement Learning through Barrier Functions for Safety-Critical Continuous Control Tasks; 2019
[6] Kong et al.; Differential High Order Control Barrier Function-Based Safe Reinforcement Learning; 2025
[7] Cohen et al.; Safe Exploration in Model-based Reinforcement Learning using Control Barrier Functions; 2023
[8] Dalal et al.; Safe Exploration in Continuous Action Spaces; 2018