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 paper provides a pioneer work to investigate the safety and robustness of RL under observational attacks for future safe RL studies.
翻译:安全强化学习(RL) 培训一项政策,在满足安全限制的同时最大限度地增加任务奖励; 虽然先前的工作侧重于业绩的最佳性,但我们发现,许多安全RL问题的最佳解决办法并不健全,而且对精心设计的观察扰动并不安全; 我们正式分析了在安全RL环境下设计有效的州对立攻击者的独特性; 我们表明,标准RL任务的基线对立攻击技术并不总是对安全RL有效,我们提出了两种新办法―― 一种是最大限度地增加费用,另一种是最大限度地增加奖励。 一项有趣的反直觉发现是,最高奖励攻击是强大的,因为它既能引起不安全的行为,又能通过维持奖励使攻击隐蔽。 我们还提议一个更有效的安全RL对抗训练框架,并通过全面试验来评价它。 这份文件为未来安全RL研究的观察攻击下RL的安全和稳健提供了一项先驱工作。