- Rating
- 3
- Clarity
- 2
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
The paper presents an algorithm for solving constrained MDPs in continuous state/action spaces. The main idea is to maintain a GP dynamics model and enforce constraints on a finite number of samples from this model at each learning iteration. Theoretical results guarantee that each time a policy is evaluated on the real system, the expected cost of the trajectory will be bounded with high probability; further, the method is guaranteed to converge in finite iterations. Experimental results provide additional validation.
Strengths and weaknesses
Strengths
- The problem of ensuring safety during learning, but without access to a “safety filter,” is quite challenging and worthy of study.
- I quite like the scenario optimization style of approach this paper takes.
Weaknesses
- Missing what seems like a very relevant reference: Suttle et al, “Sampling-based Safe Reinforcement Learning for Nonlinear Dynamical Systems,” AISTATS 2024.
- Other missing references in the constrained RL section of the literature review:
- Li et al, “Augmented Lagrangian method for instantaneously constrained reinforcement learning problems,” CDC 2021
- Berkenkamp et al, “Safe model-based reinforcement learning with stability guarantees,” NeurIPS 2017
- … and many, many others that are not limited to the “constraint in expectation” formulation of CMDPs and are not structured as MPC.
- The distinction from scenario optimization and MPC is not clearly or credibly articulated: the related work section claims that these methods have not been applied in continuous CMDP settings, but (unless I am wrong) that setting falls within the standard case studied in scenario MPC (cf. standard references from Campi and Calafiore). The approach described below (6) in Section 5 is (apart from the restriction to GPs) quite similar in spirit to that in the standard Campi and Calafiore approach from scenario MPC. See also follow on work from the same authors that handles nonlinear dynamics.
- The noise sequence should be more explicitly described as a random process in Section 3.1 (ie., as opposed to an adversarially chosen sequence). This is necessary if we are to truly understand the expectation in (2).
- Above (4), I am confused: it seems that each episode consists of a single trajectory; yet, we are asked in (4) to ensure that the expectation of a function (over a distribution of trajectories) is bounded. What is the virtue in enforcing the constraint in expectation if we are drawing only a single sample from the distribution? Shouldn’t we be trying for a chance constraint, like “ensure cost on the sampled trajectory is bounded, with high probability?” Upon reading further, it seems like this is exactly what is being done; if so, please adjust the language around (4) to foreshadow this directly.
- It seems that Assumption 3 could be quite restrictive for any practical bound B from Assumption 2. At least, I expect that there are instances where Assumption 3 is not satisfied; for example, consider the well-known counterexample from Doyle in the paper “Guaranteed Margins for LQG Regulators” illustrating a linear-quadratic-Gaussian problem where the optimal feedback policy is not robustly stabilizing.
- Is the superscript 3 in Assumption 5 intended? If so, it deserves some explanation.
- In (5), is it not possible to model covariance between state coordinates in the GP dynamics model? Surely that can only help.
- is not clearly defined in Section 5.
- How is problem (8) solved on line 7 of Algorithm 1? Nothing has been said about the policy class or the reward/cost/infogain functions, so presumably this is a nonconvex program that we cannot be expected to solve in general. How does sub optimality affect the theoretical results?
- Theorem 1 should ideally be extended to cope with decaying error probability tolerances so that the overall probability of constraint violation throughout all episodes of training is bounded. It is unclear if this is already handled by the finite termination guarantee of Theorem 2; commentary would be appreciated.
- Results should use more than 5 seeds; error bars are completely overlapping in all cases in Figure 4, and I do not know what 95th percentile means in Figure 5 when it is only 5 seeds (i.e., shouldn’t it be increments of 20 percentile?)
- Why was ActSafe chosen as a baseline, but not any of the other references in safe RL (including ones that demonstrate in real hardware - there is plenty to choose from). Ultimately, for any set of baselines, it is also essential to provide a clear enough description of the baseline for readers to understand what they are doing and how it differs from the proposed approach.
- The deep ensembles described in the hardware paragraph must be explained more clearly in the main text and juxtaposed with the GP models used in the rest of the paper.
- The results in Figure 6 are extremely noisy and it is difficulty to detect a strong pattern that I am confident would reproduce between trials. (Three seeds is simply not enough to make any statistical assessment of reliability, either.)
- More generally, the experiments should be structured so as to more clearly show that the constraints hold (in expectation over infinitely many trajectory samples) at every iteration. Right now, Figure 4 tries to show something like this, but it is in terms of which I do not see defined, but I suspect is just the cost evaluated at the specific trajectory drawn at the n-th iteration.
- The dependence on GPs makes it unclear how scalable the method is (ie., in high dimensions and with lots of data).
Questions
- What is truly new about the proposed method, compared with existing literature in safe RL (cf. Berkenkamp’s 2017 NeurIPS paper for example) and scenario optimization and planning (which I believe establishes similar results to Theorem 1, i.e. for a given GP model classical results should be able to bound the number of samples you need to take in order to satisfy a chance constraint)?
- How restrictive are the assumptions? Are there nontrivial counterexamples where they do not hold?
- How is Problem (8) solved in practice? Relatedly, what is the function exactly, and what is the exact policy class?
- Do the experimental results hold up when there are >20 seeds?
Limitations
The authors could have been more clear in discussing limitations of the proposed approach (e.g., wrt scaling issues for GPs, number of dynamics samples that must be drawn to attain certificates, difficulty of solving problem (8), etc.).
Paper formatting concerns
n/a
Final justification
Thanks to the authors for their thoughtful response to my review, and for answering most of my questions. I have marginally raised my score to reflect several of my concerns being mostly allayed, however I have slightly decreased my confidence score to reflect uncertainty in precisely how the concerns in my own and other reviews will be reflected in the final manuscript.
I have no further substantial questions at this time. Thanks again to the authors for engaging in this process.
We thank the reviewer for the opportunity to clarify our contributions. Please find below our response to your questions.
1-2. related works
Despite its title, Suttle et al. [1] differs in: (1) methodology: they use policy gradients and control barrier functions and sample actions within rollouts; SBSRL is agnostic to those choices and samples dynamics during online planning; and (2) theory: SBSRL gives finite-time optimality and safety-during-learning guarantees, whereas [1] gives asymptotic convergence, and we found no safety-during-learning claim. Berkenkamp et al. [3] study safety as described through Lyapunov stability, representable in our more general CMDP formulation and assume an arbitrary reset oracle allowing "teleportation" to arbitrary states without needing to follow the dynamics; and discretize state-action spaces. SBSRL makes neither of these assumptions. Li et al. [2] reformulate CMDPs into instantaneous safety (see also [9]); instead, we require CMDP constraints during online learning, not only at convergence. We already cite [3] in Appendix F.2.
We will add this discussion to the main text.
3, Scenario optimization
Thank you for pointing this out. The statement in our Related Work that we apply sampled dynamics constraints “for the first time” to continuous-domain CMDPs was intended to distinguish our episodic CMDP learning formulation and guarantees, not to suggest that continuous or nonlinear control problems fall outside the scope of scenario optimization. We agree that the current wording is too broad and will fix that in the next revision. Scenario methods cover finite-horizon robust/stochastic control, including nonlinear and nonconvex MPC.
The distinction relevant to our analysis concerns the probabilistic guarantee. In the classical scenario approach, scenarios δ1,…,δM are sampled from a distribution P. With high confidence over the sampled scenarios, the returned decision has small violation probability. This controls the probability mass of unseen uncertainty realizations that violate the decision. It does not by itself certify constraint satisfaction for arbitrary fixed dynamics f⋆ that are not assumed to be drawn from P.
SBSRL instead treats f⋆ as fixed and assumes f⋆−μ belongs to a bounded RKHS ball. The result of Prajapat et al. ensures that, with high probability, the finite GP sample set contains at least one member uniformly within ζ of this fixed f⋆, even though f⋆ need not be a GP draw. Our truncation procedure preserves such a close sample throughout learning. Because the tightened expected-cost constraint is enforced on every sampled model, it holds in particular for the close sample, and the ζ-dependent tightening transfers feasibility to the true dynamics:
Jc(πn,f⋆)≤d
simultaneously for every training episode and for the returned policy.
We do not claim novelty for scenario constraints, GP sampling, or the close-sample argument of Prajapat et al. Relative to this literature, our contribution is to incorporate this safety certificate into an episodic finite-horizon CMDP algorithm with an epistemic-exploration constraint, and to prove the combined result of expected-cost safety throughout training, finite-time termination, and ϵ-near-optimality over the reachable component of the tightened true-safe policy set. We will revise the paper to make clear that the novelty lies in this end-to-end safe-learning result, rather than in sampled constraint enforcement itself.
4. Noise sequence
Assumption 1 defines the noise as i.i.d. Gaussian; we will also state this in Section 3.1.
5. Constraint (4)
Constraint (4) uses the standard CMDP expected accumulated-cost constraint [6]. Chance constraints are relevant and already identified as promising future work (lines 384–387), but are not studied here. In Theorem 1, "high probability" refers to randomness in the learning process and model-sampling: then, every selected policy satisfies the CMDP expectation constraint. We will clarify this.
6. Assumption 3
We agree that Assumption 3 can fail when B is too large. However, Doyle's example does not establish such a failure: it shows that a nominally optimal output-feedback LQG controller can have arbitrarily small robustness margins. Assumption 3 instead requires the existence of some policy, which is potentially conservative and suboptimal, that is safe for every model in F0B. Moreover, our setting is fully observed and finite-horizon; classical full-state LQR does possess guaranteed robustness margins. Assumption 3 is a substantive initial-feasibility condition: before any data are collected, an algorithm promising uniform safety must have some policy that is safe for every initially admissible model. It is nevertheless non-vacuous and directly checkable. If πˉ has nominal slack s:=d−Jc(πˉ,μ)>0, Lemma 3 gives
\leq J_c(\bar\pi,\mu)+\kappa B, \qquad \kappa:=\frac{T^2C_{\max}\sqrt{d_x\sigma_{\max}}}{\sigma_w}.$$ Thus, Assumption 3 holds for every $B<s/\kappa$, with $\Delta=s-\kappa B>0$. We will add this sufficient condition and clarify that the assumption excludes priors too broad to certify any safe fallback. **Q2. restrictive assumptions** Appendix A provides further details about the scope of our assumptions. While not a rigorous statement, we highlight that empirically, our work shows that safe initialization can be obtained in practice. Our experiments maintain safety from the "zeroth" iteration, which in our setting requires Assumption 3. **7. Assumption 5** The superscript 3 is intended and ensures existence of a finite $\bar n$ satisfying Theorem 2's sample-complexity bound. Appendix A.1 shows when the assumption holds. **9-10. Problem (8)** Eq. 2 defines $J_g$ for any scalar function $g$ on $\mathcal X\times\mathcal A$; here it is applied to $s_n$ (line 197). The difficulty of solving problem (8) is a common challenge in RL, so our theory assumes an exact oracle over deterministic policies. In practice this can only be approximated because costs and rewards are only assumed bounded, and how to do so is not an intended contribution of our paper. Our GP experiments use iCEM [7] for planning receding-horizon actions, while the deep implementation uses gradient descent with actor-critic MBPO [8] and an Augmented Lagrangian penalizer. **11. Theorem 1** The $1-2\delta$ probability already covers all training episodes. GP samples remain fixed throughout learning, so Lemma 2 contributes one $1-\delta$ event, while Lemma 1 holds simultaneously for all $n$ and contributes another. No episode-wise confidence decay is needed; the appendix provides further details. **12, 15** Appendix F reports 25 seeds for deep experiments, while hardware seeds were limited by physical access. GP experiments originally used five seeds, as common in safe RL, but we additionally ran SBSRL with 25 independent seeds: **Pendulum** |Method|Seeds|Reward|Max violation| |---|---:|---:|---:| |SBSRL|25|$-195.88\pm20.38$|$0\pm0$| |SBSRL (Fig. 4)|5|$-185.46\pm2.56$|$0\pm0$| |ActSafe (Fig. 4)|5|$-193.02\pm6.05$|$0.0229\pm0.0512$| **CartPole** |Method|Seeds|Reward|Max violation| |---|---:|---:|---:| |SBSRL|25|$-274.96\pm2.74$|$0\pm0$| |SBSRL (Fig. 4)|5|$-274.80\pm1.21$|$0\pm0$| |ActSafe (Fig. 4)|5|$-274.25\pm1.74$|$0.3029\pm0.6773$| As shown, SBSRL maintains safety and optimality while using 20 seeds. We will add these results to the paper based on your suggestion. **13. Baselines** ActSafe is the closest theory-backed algorithm using the same tasks and GP planning implementation, as it samples to approximate plausible dynamics; notably, we prove guarantees directly for a sampling-based formulation. Our exploration constraint also differs from its explore-then-commit approach. For the deep variant, we compare with SOOPER [5], a state-of-the-art safety-filter method for Safe RL. The three-run hardware study shows every available hardware run, and we will label it a resource-limited case study, not state-of-the-art performance. **14. Deep ensembles** We will move relevant discussion from Appendix F.2 to the main text. **16. $\hat J$** Expected cost needs averaging infinitely many trajectories, so it can only be estimated in practice. We average costs over separate evaluation episodes run in parallel at each episode's beginning. We apologize that $\widehat J$ was undefined. **17. GP scalability** The GP theory is limited to low-dimensional systems and moderate datasets because exact inference is cubic in the observations. The neural version scales to Humanoid and Quadruped (88- and 89-dimensional state-action spaces) and the race car's 45-dimensional observation, but is of course only an empirical heuristic without the GP guarantees. We would like to thank you again for your careful review of our paper. We hope that the discussion above helped clarifying your questions and would appreciate it if you'd consider increasing your score. --- [1] Suttle et al. "Sampling-based Safe Reinforcement Learning for Nonlinear Dynamical Systems", AISTATS 2024 [2] Li et al. "Augmented Lagrangian Method for Instantaneously Constrained Reinforcement Learning Problems", CDC 2021 [3] Berkenkamp et al. "Safe Model-based Reinforcement Learning with Stability Guarantees". NeurIPS 2017 [4] Calafiore et al. "The Scenario Approach to Robust Control Design". IEEE Transactions on Automatic Control 2006 [5] Wendl et al. "Safe Exploration via Policy Priors". ICLR 2026 [6] Altman. "Constrained Markov Decision Processes". 1999 [7] Pinneri et al. "Sample-efficient Cross-Entropy Method for Real-time Planning", CoRL 2020. [8] Janner et al. "When to trust your model: model-based policy optimization", NeurIPS 2019. [9] Curi et al. "Safe reinforcement learning via confidence-based filters." CDC 2022.