arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2212.01838cs.LGcs.LO
收藏

自动机学习与屏蔽

Automata Learning meets Shielding

Graz University of Technology(格拉茨技术大学);Silicon Austria Labs(奥地利硅实验室);Lamarr Security Research(拉马尔安全研究院);Aalborg University(奥尔堡大学)

Martin Tappler, Stefan Pranger, Bettina Könighofer, Edi Muškardin, Roderick Bloem, Kim Larsen

摘要:

安全性仍然是强化学习(RL)研究的主要挑战之一。在本文中,我们解决的问题,如何避免在概率和部分未知的环境中探索的RL代理的安全违规。我们的方法结合了自动机学习马尔可夫决策过程(MDP)和屏蔽合成的迭代方法。最初,表示环境的MDP是未知的。代理开始探索环境并收集痕迹。从收集的痕迹,我们被动地学习抽象地代表环境的安全相关方面的MDP。给定一个学习的MDP和一个安全规范,我们构建一个屏蔽。对于学习的MDP内的每个状态-动作对,屏蔽器计算关于执行动作导致在接下来的$k$步骤内违反来自当前状态的规范的可能性的精确概率。在构建屏蔽之后,在运行时期间使用屏蔽,并且屏蔽阻止从代理引起太大风险的任何动作。屏蔽代理继续探索环境并收集有关环境的新数据。迭代地,我们使用收集的数据来学习新的具有更高准确性的MDP,从而产生能够防止更多安全违规的屏蔽。我们实现了我们的方法,并提出了一个详细的案例研究的Q学习代理探索光滑的Gridworlds。在我们的实验中,我们表明,随着智能体在训练过程中探索越来越多的环境,改进的学习模型会产生能够防止许多安全违规行为的屏蔽。

英文摘要:

Safety is still one of the major research challenges in reinforcement learning (RL). In this paper, we address the problem of how to avoid safety violations of RL agents during exploration in probabilistic and partially unknown environments. Our approach combines automata learning for Markov Decision Processes (MDPs) and shield synthesis in an iterative approach. Initially, the MDP representing the environment is unknown. The agent starts exploring the environment and collects traces. From the collected traces, we passively learn MDPs that abstractly represent the safety-relevant aspects of the environment. Given a learned MDP and a safety specification, we construct a shield. For each state-action pair within a learned MDP, the shield computes exact probabilities on how likely it is that executing the action results in violating the specification from the current state within the next $k$ steps. After the shield is constructed, the shield is used during runtime and blocks any actions that induce a too large risk from the agent. The shielded agent continues to explore the environment and collects new data on the environment. Iteratively, we use the collected data to learn new MDPs with higher accuracy, resulting in turn in shields able to prevent more safety violations. We implemented our approach and present a detailed case study of a Q-learning agent exploring slippery Gridworlds. In our experiments, we show that as the agent explores more and more of the environment during training, the improved learned models lead to shields that are able to prevent many safety violations.

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

↑