arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.09889cs.LGcs.AI
收藏

一种基于距离的深度强化学习异常检测框架

A Distance-based Anomaly Detection Framework for Deep Reinforcement Learning

University of Alberta(阿尔伯塔大学);Alberta Machine Intelligence Institute (Amii)(阿尔伯塔机器智能研究所);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)

Hongming Zhang, Ke Sun, Bo Xu, Linglong Kong, Martin Müller

AI总结:

本文提出基于马氏距离的深度强化学习异常检测框架MDX,可同时处理离线与在线场景下的随机、对抗和分布外异常,并通过鲁棒扩展与共形推断提升可靠性,在控制、游戏和自动驾驶实验中验证了有效性。

摘要:

在深度强化学习(RL)系统中,异常状态会带来显著风险,可能触发不可预测的行为和不安全的动作,从而阻碍RL系统在真实场景中的部署。对于可靠的决策系统而言,当遇到其无法处理的不熟悉观测时,必须具备发出警报的能力。本文提出了一种新颖的基于马氏距离(Mahalanobis distance,MD)的异常检测框架,称为MDX,用于深度RL算法。MDX同时处理离线与在线设置下的随机、对抗性和分布外(out-of-distribution,OOD)状态异常值。它在每个动作的类条件分布内利用马氏距离,并在高斯假设下的统计假设检验框架中运行。我们进一步通过引入鲁棒MD和共形推断技术,将其扩展为鲁棒且无分布假设的版本。通过在经典控制环境、Atari游戏和自动驾驶场景上的大量实验,我们证明了基于MD的检测框架的有效性。MDX为增强RL系统在真实应用中的安全性和可靠性提供了一种简单、统一且实用的异常检测工具。

英文摘要:

In deep reinforcement learning (RL) systems, abnormal states pose significant risks by potentially triggering unpredictable behaviors and unsafe actions, thus impeding the deployment of RL systems in real-world scenarios. It is crucial for reliable decision-making systems to have the capability to cast an alert whenever they encounter unfamiliar observations that they are not equipped to handle. In this paper, we propose a novel Mahalanobis distance-based (MD) anomaly detection framework, called \textit{MDX}, for deep RL algorithms. MDX simultaneously addresses random, adversarial, and out-of-distribution (OOD) state outliers in both offline and online settings. It utilizes Mahalanobis distance within class-conditional distributions for each action and operates within a statistical hypothesis testing framework under the Gaussian assumption. We further extend it to robust and distribution-free versions by incorporating Robust MD and conformal inference techniques. Through extensive experiments on classical control environments, Atari games, and autonomous driving scenarios, we demonstrate the effectiveness of our MD-based detection framework. MDX offers a simple, unified, and practical anomaly detection tool for enhancing the safety and reliability of RL systems in real-world applications.

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

↑