arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.04865cs.LG
收藏

基于形式化方法的强化学习算法安全性评估

On Assessing The Safety of Reinforcement Learning algorithms Using Formal Methods

Polytechnique Montréal(蒙特利尔理工学院)

Paulina Stevia Nouwou Mindom, Amin Nikanjam, Foutse Khomh, John Mullins

摘要:

强化学习在自动驾驶汽车、健康和航空等安全关键系统领域的应用越来越多,这就需要确保其安全性。现有的安全机制,如对抗性训练,对抗性检测和鲁棒学习并不总是适应所有的干扰,其中代理部署。这些干扰包括移动的对手,他们的行为可能是智能体无法预测的,事实上对智能体的学习有害。确保关键系统的安全性还需要对在扰动环境中演化的代理的行为给予正式保证的方法。因此,有必要提出适应代理所面临的学习挑战的新解决方案。在本文中,首先,我们生成对抗代理,代理的政策,提出移动的对手表现出缺陷。其次,我们使用奖励塑造和一个改进的Q-学习算法作为防御机制,以改善代理的策略,面对对抗性扰动。最后,概率模型检验是用来评估这两种机制的有效性。我们已经进行了实验,在一个离散的网格世界与一个单一的代理面临非学习和学习的对手。我们的研究结果表明,代理和对手之间的碰撞数量减少。概率模型检验提供了关于代理在对抗环境中的安全性的概率下限和上限。

英文摘要:

The increasing adoption of Reinforcement Learning in safety-critical systems domains such as autonomous vehicles, health, and aviation raises the need for ensuring their safety. Existing safety mechanisms such as adversarial training, adversarial detection, and robust learning are not always adapted to all disturbances in which the agent is deployed. Those disturbances include moving adversaries whose behavior can be unpredictable by the agent, and as a matter of fact harmful to its learning. Ensuring the safety of critical systems also requires methods that give formal guarantees on the behaviour of the agent evolving in a perturbed environment. It is therefore necessary to propose new solutions adapted to the learning challenges faced by the agent. In this paper, first we generate adversarial agents that exhibit flaws in the agent's policy by presenting moving adversaries. Secondly, We use reward shaping and a modified Q-learning algorithm as defense mechanisms to improve the agent's policy when facing adversarial perturbations. Finally, probabilistic model checking is employed to evaluate the effectiveness of both mechanisms. We have conducted experiments on a discrete grid world with a single agent facing non-learning and learning adversaries. Our results show a diminution in the number of collisions between the agent and the adversaries. Probabilistic model checking provides lower and upper probabilistic bounds regarding the agent's safety in the adversarial environment.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑