Safe reinforcement learning (RL) trains a policy to maximize the task reward while satisfying safety constraints. While prior works focus on the performance optimality, we find that the optimal solutions of many safe RL problems are not robust and safe against carefully designed observational perturbations. We formally analyze the unique properties of designing effective state adversarial attackers in the safe RL setting. We show that baseline adversarial attack techniques for standard RL tasks are not always effective for safe RL and proposed two new approaches - one maximizes the cost and the other maximizes the reward. One interesting and counter-intuitive finding is that the maximum reward attack is strong, as it can both induce unsafe behaviors and make the attack stealthy by maintaining the reward. We further propose a more effective adversarial training framework for safe RL and evaluate it via comprehensive experiments. This work sheds light on the inherited connection between observational robustness and safety in RL and provides a pioneer work for future safe RL studies.
翻译:安全强化学习(RL) 培训一项政策,在满足安全限制的同时最大限度地增加任务奖励; 虽然先前的工作侧重于业绩的最佳性,但我们发现,许多安全RL问题的最佳解决办法对于精心设计的观察扰动不是健全和安全的; 我们正式分析在安全RL环境中设计有效的州对立攻击者的独特性; 我们显示,标准RL任务的基准对抗攻击技术并不总是对安全RL有效, 并提出了两种新办法―― 一种是最大限度地增加费用,另一种是最大限度地增加奖励。 一项有趣的反直觉发现是,最高奖励攻击是强大的,因为它既能引起不安全的行为,又能通过维持奖励使攻击隐蔽。 我们还提议一个更有效的安全RL对抗训练框架,并通过全面试验来评价它。 这项工作揭示了RL的观察强力和安全性之间遗留下来的联系,并为未来的安全RL研究提供先驱工作。