Thank you for engaging in the discussion and providing further clarification of the question. We really appreciate the reviewer for proposing this constructive suggestion to improve the quality of our work, making the generalization ability of ESPO more convincing and clearer. We provide **new experiments** as well as more dicussions. The results show the generalization ability of the proposed method ESPO to not only varying unsafe factors, but also diverse types of safety constraints.
- **New experiments on SafetyCarGoal1-v0 and SafetyPointGoal1-v0: ESPO has generalization ability to handle varying unsafe factors**. As the reviewer suggested, we conduct experiments on two new benchmarks SafetyCarGoal1-v0 and SafetyPointGoal1-v0: the car or the robot ball needs to navigate to the Goal’s location while circumventing Hazards that could vary in each running time. Hazards bring risks that could result in costs when an agent enters unsafe regions [5].
We follow the same experimental settings in this paper, The results show the required number of training steps when they reach the desired performance (reward) and satisfy the safety constraints, which show the superior sample efficiency of the proposed method ESPO.
- **The proposed algorithm ESPO also has the generalization ability to handle diverse types of safety constraints and a combination of them.** Notably, we would also like to highlight that we also conducted experiments on safe RL with constraints not only on velocities (SafetyHopperVelocity-v1 and SafetyAntVelocity-v1), but also others such as robot’s control force energy (SafetyReacher-v4, SafetyWalker-v4, SafetyHumanoidStandup-v4, see Section 5.1). ESPO showed superior performance on not only sample efficiency, but also reward perforamnce and safety satisfication.
**Table 1: Comparisons of the required sample steps for achieving the same desired reward while ensuring safety (cost limit: 15) on SafetyCarGoal1-v0 and SafetyPointGoal1-v0.**
| Task \ Algorithm | ESPO (Ours) | CUP [1] | PPOLag [2,3] | PCPO [4]|
|-----------------------------------|-------------|------|-------|---|
| SafetyCarGoal1-v0 (Reward:6.6) | 1.9 M | 4+ M | 2.4 M | 2.3 M|
| SafetyPointGoal1-v0 (Reward:3.7) | 0.7 M | 1.1 M | 4+ M | 1.7 M|
> [1] Yang, L., Ji, J., Dai, J., Zhang, L., Zhou, B., Li, P., ... & Pan, G. (2022). Constrained update projection approach to safe policy optimization. Advances in Neural Information Processing Systems, 35, 9111-9124.
[2] Ji, J., Zhou, J., Zhang, B., Dai, J., Pan, X., Sun, R., ... & Yang, Y. (2023). Omnisafe: An infrastructure for accelerating safe reinforcement learning research. arXiv preprint arXiv:2305.09304.
[3] Ray, A., Achiam, J., & Amodei, D. (2019). Benchmarking safe exploration in deep reinforcement learning. arXiv preprint arXiv:1910.01708, 7(1), 2.
[4] Yang, T. Y., Rosca, J., Narasimhan, K., & Ramadge, P. J. Projection-Based Constrained Policy Optimization. In International Conference on Learning Representations, 2020.
[5] Ji, J., Zhang, B., Zhou, J., Pan, X., Huang, W., Sun, R., ... & Yang, Y. (2023). Safety gymnasium: A unified safe reinforcement learning benchmark. Advances in Neural Information Processing Systems, 36.