arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.02594cs.LGcs.AIcs.SE
收藏

SMARLA:一种用于深度强化学习智能体的安全监控方法

SMARLA: A Safety Monitoring Approach for Deep Reinforcement Learning Agents

School of Electrical Engineering and Computer Science (EECS), University of Ottawa(电气工程与计算机科学系,渥太华大学);Software and Information Technology Engineering Department, École de Technologie Supérieure(软件与信息技术工程系,高等技术学院);Lero SFI Research Center and University of Limerick(Lero SFI研究中心和利默里克大学);Department of Research and Development, General Motors(研发部,通用汽车)

Amirhossein Zolfagharian, Manel Abdellatif, Lionel C. Briand, Ramesh S

AI总结:

SMARLA是一种用于深度强化学习智能体的安全监控方法,通过状态抽象和Q值预测安全违规,实现早期检测与低假阳性率的平衡。

摘要:

深度强化学习(DRL)通过使智能体与环境交互来学习最优策略,在自动驾驶、医疗保健和机器人等领域取得了显著进展。然而,DRL在安全关键领域中的应用带来了挑战,尤其是关于所学策略的安全性。DRL智能体专注于最大化奖励,可能会选择不安全的动作,导致安全违规。因此,运行时的安全监控对于确保这些智能体的安全运行至关重要,特别是在不可预测和动态的环境中。本文介绍了SMARLA,一种专为DRL智能体设计的黑盒安全监控方法。SMARLA利用机器学习来通过观察智能体的行为来预测安全违规。该方法基于Q值,这些值反映了在特定状态下采取动作的预期奖励。SMARLA采用状态抽象来减少状态空间的复杂性,提高监控模型的预测能力。这种抽象使能够提前检测到不安全的状态,从而在事故发生前实施纠正和预防措施。我们对三个广泛用于DRL研究的典型案例进行了定量和定性验证。实证结果表明,SMARLA在预测安全违规方面具有很高的准确性,假阳性率低,并且能够在智能体执行过程中大约一半的时间点预测违规,即在违规发生之前。我们还讨论了不同的决策标准,基于预测违规概率的置信区间,以触发安全机制,以在早期检测和低假阳性率之间取得平衡。

英文摘要:

Deep Reinforcement Learning (DRL) has made significant advancements in various fields, such as autonomous driving, healthcare, and robotics, by enabling agents to learn optimal policies through interactions with their environments. However, the application of DRL in safety-critical domains presents challenges, particularly concerning the safety of the learned policies. DRL agents, which are focused on maximizing rewards, may select unsafe actions, leading to safety violations. Runtime safety monitoring is thus essential to ensure the safe operation of these agents, especially in unpredictable and dynamic environments. This paper introduces SMARLA, a black-box safety monitoring approach specifically designed for DRL agents. SMARLA utilizes machine learning to predict safety violations by observing the agent's behavior during execution. The approach is based on Q-values, which reflect the expected reward for taking actions in specific states. SMARLA employs state abstraction to reduce the complexity of the state space, enhancing the predictive capabilities of the monitoring model. Such abstraction enables the early detection of unsafe states, allowing for the implementation of corrective and preventive measures before incidents occur. We quantitatively and qualitatively validated SMARLA on three well-known case studies widely used in DRL research. Empirical results reveal that SMARLA is accurate at predicting safety violations, with a low false positive rate, and can predict violations at an early stage, approximately halfway through the execution of the agent, before violations occur. We also discuss different decision criteria, based on confidence intervals of the predicted violation probabilities, to trigger safety mechanisms aiming at a trade-off between early detection and low false positive rates.

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

↑