尽管强化学习(RL)算法已成功应用于众多序贯决策问题,但其向未预见测试环境的泛化仍是一个重大隐患。本文研究RL中的分布外(OOD)检测问题,其重点是在测试时识别RL智能体在训练环境中未曾遇到的情形。我们首先对RL中OOD检测的术语进行澄清,使其与其他机器学习领域的文献保持一致。随后,我们提出了新的OOD检测基准场景,将具有时间自相关性的异常引入智能体—环境循环的不同组成部分。我们认为,尽管这些场景与现实情形相关,但在当前文献中仍未得到充分研究。实验结果证实了我们的理论预测,表明最先进的OOD检测器无法识别此类异常。为解决这一问题,我们提出一种新颖的OOD检测方法,称为DEXTER(Detection via Extraction of Time Series Representations,通过提取时间序列表示进行检测)。DEXTER将环境观测视为时间序列数据,提取显著的时间序列特征,然后利用隔离森林算法集成来检测异常。我们发现,DEXTER能够在各基准场景中可靠识别异常,并且相较于最先进的OOD检测器以及从统计学中采用的高维变点检测器,均表现出更优性能。
英文摘要:
While reinforcement learning (RL) algorithms have been successfully applied across numerous sequential decision-making problems, their generalization to unforeseen testing environments remains a significant concern. In this paper, we study the problem of out-of-distribution (OOD) detection in RL, which focuses on identifying situations at test time that RL agents have not encountered in their training environments. We first propose a clarification of terminology for OOD detection in RL, which aligns it with the literature from other machine learning domains. We then present new benchmark scenarios for OOD detection, which introduce anomalies with temporal autocorrelation into different components of the agent-environment loop. We argue that such scenarios have been understudied in the current literature, despite their relevance to real-world situations. Confirming our theoretical predictions, our experimental results suggest that state-of-the-art OOD detectors are not able to identify such anomalies. To address this problem, we propose a novel method for OOD detection, which we call DEXTER (Detection via Extraction of Time Series Representations). By treating environment observations as time series data, DEXTER extracts salient time series features, and then leverages an ensemble of isolation forest algorithms to detect anomalies. We find that DEXTER can reliably identify anomalies across benchmark scenarios, exhibiting superior performance compared to both state-of-the-art OOD detectors and high-dimensional changepoint detectors adopted from statistics.
Rethinking the Comparison Unit in Sequence-Level Reinforcement Learning: An Equal-Length Paired Training Framework from Loss Correction to Sample Construction
C3: Rethinking Process Supervision via Confidence-Guided Credit Correction in Multi-Turn Reinforcement Learning
Beijing University of Posts and Telecommunications(北京邮电大学);Peking University(北京大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);University of International Business and Economics(对外经济贸易大学)
Rethinking Probability-Based Reinforcement Learning From Posterior Concentration
National University of Singapore(新加坡国立大学);The Hong Kong University of Science and Technology(香港科技大学);University of Science and Technology of China(中国科学技术大学)
Advancing Robustness in Deep Reinforcement Learning with an Ensemble Defense Approach
AImotion Bavaria, Technische Hochschule Ingolstadt(巴伐利亚AImotion、英格尔施泰特技术大学);School of Computation, Information and Technology, TU Munich(计算、信息与技术学院,慕尼黑技术大学)
Advancing Forest Fire Prevention: Deep Reinforcement Learning for Effective Firebreak Placement
University of Chile(智利大学);Universidad Tecnológica Metropolitana(大都会技术大学);Complex Engineering System Institute - ISCI(复杂工程系统研究所);Rey Juan Carlos University(胡安卡洛斯国王大学);Centre de Ciència i Tecnologia Forestal de Catalunya(加泰罗尼亚森林科学与技术中心)
Position Paper: Rethinking Privacy in RL for Sequential Decision-making in the Age of LLMs
Centre for Frontier AI Research (CFAR)(前沿人工智能研究所在);Institute of High Performance Computing (IHPC)(高性能计算研究所);Agency for Science, Technology and Research(科技研究局);D-ITET;ETH Zurich(苏黎世联邦理工学院);CCDS, Nanyang Technological University(南洋理工大学CCDS)
Rethinking Light Decoder-based Solvers for Vehicle Routing Problems
School of Computing and Information Systems, Singapore Management University(新加坡管理大学计算与信息系统学院);College of Computing and Data Science, Nanyang Technological University(南洋理工大学计算与数据科学学院)
Advancing network resilience theories with symbolized reinforcement learning
Beijing National Research Center for Information Science and Technology, Tsinghua University, Beijing, China(北京信息科学与技术国家研究中心,清华大学,北京,中国);Department of Electronic Engineering, Tsinghua University, Beijing, China(清华大学电子工程系,北京,中国);Department of Computer Science, Rensselaer Polytechnic Institute, Troy, NY, USA(罗切斯特理工学院计算机科学系,特洛伊,纽约,美国);Network Science and Technology Center, Rensselaer Polytechnic Institute, Troy, NY, USA(罗切斯特理工学院网络科学与技术中心,特洛伊,纽约,美国)