Skip to main content
QUICK REVIEW

[论文解读] Toward Deep Supervised Anomaly Detection: Reinforcement Learning from Partially Labeled Anomaly Data

Guansong Pang, Anton van den Hengel|arXiv (Cornell University)|Sep 15, 2020
Anomaly Detection Techniques and ApplicationsComputer Science参考文献 21被引用 19
一句话总结

本文提出 DPLAN,一种深度强化学习框架,通过联合利用部分标记的异常数据与未标记数据,实现广义异常检测。通过模拟异常偏向的环境并优化探索与利用的综合奖励,DPLAN 在 48 个真实世界数据集上显著优于最先进方法,训练时间延长后 AUC-PR 最高提升 98%。

ABSTRACT

We consider the problem of anomaly detection with a small set of partially labeled anomaly examples and a large-scale unlabeled dataset. This is a common scenario in many important applications. Existing related methods either exclusively fit the limited anomaly examples that typically do not span the entire set of anomalies, or proceed with unsupervised learning from the unlabeled data. We propose here instead a deep reinforcement learning-based approach that enables an end-to-end optimization of the detection of both labeled and unlabeled anomalies. This approach learns the known abnormality by automatically interacting with an anomaly-biased simulation environment, while continuously extending the learned abnormality to novel classes of anomaly (i.e., unknown anomalies) by actively exploring possible anomalies in the unlabeled data. This is achieved by jointly optimizing the exploitation of the small labeled anomaly data and the exploration of the rare unlabeled anomalies. Extensive experiments on 48 real-world datasets show that our model significantly outperforms five state-of-the-art competing methods.

研究动机与目标

  • 解决在仅有少量部分标记异常的情况下,同时检测已知和未知异常的挑战。
  • 克服现有方法忽略未标记异常或将标注与检测视为解耦步骤的局限性。
  • 通过联合学习已标记异常与主动探索未标记数据中的新异常,实现端到端的异常检测优化。
  • 开发一种可扩展、高效且泛化能力强的深度强化学习框架,支持更深的网络结构,并在已标记样本之外实现更好的泛化能力。

提出的方法

  • 设计一个基于神经网络的异常检测智能体,与由已标记和未标记数据构建的模拟环境进行交互。
  • 创建一种异常偏向的模拟环境,以在利用已知异常的同时,有效探索未标记数据中稀有的未知异常。
  • 定义一个综合奖励函数,整合来自已标记异常的监督信号(外部奖励)和从未标记数据中检测到的伪异常(内在奖励)。
  • 使用深度 Q 网络(DQN)进行策略学习,使智能体能够通过序列决策,在已知异常的利用与新异常的探索之间实现平衡。
  • 实施两阶段训练流程:首先使用已标记异常预训练特征编码器;其次在模拟环境中通过强化学习微调整个 DPLAN 智能体。
  • 利用随机优化方法,确保训练时间与步数呈线性关系,支持高效离线训练,并通过单次前向传播实现实时推理。

实验结果

研究问题

  • RQ1深度强化学习智能体能否在仅利用少量部分标记异常的同时,有效发现大规模未标记数据中的未知异常?
  • RQ2外部奖励与内在奖励的整合在多大程度上改善了对已知异常的利用与对新异常探索之间的平衡?
  • RQ3当已标记数据未涵盖所有异常类别时,DPLAN 在多大程度上能超越已标记异常进行泛化?
  • RQ4模型架构深度与训练时长在多大程度上影响 DPLAN 智能体的性能与泛化能力?
  • RQ5与现有异常检测方法相比,DPLAN 在训练与推理方面的计算效率如何?

主要发现

  • DPLAN 在 48 个真实世界数据集上显著优于五种最先进方法,平均 AUC-ROC 提升 17%,AUC-PR 提升 47%(相对于最佳基线 REnv)。
  • 在 Hypothyroid 和 Subnormal 数据集中,将训练步数从 20,000 增加到 100,000,AUC-PR 分别提升 23% 和 98%,表明其在训练步数上具有强大的可扩展性。
  • 内在奖励模块有效促进了对未标记数据的探索,使 AUC-PR 平均提升 47%,优于仅依赖外部奖励的方法。
  • DPLAN 在不同表示维度(10–320)下保持稳定性能,最优性能出现在 20 维,且在模型深度增加时无显著性能下降,而对比方法则表现退化。
  • DPLAN 实现了快速在线推理——在所有数据集上对超过 275,000 个测试样本的推理时间均低于 3 秒,速度超过 iForest 和 REPEN,同时保持高精度。
  • 异常偏向的模拟环境至关重要:若移除该环境,AUC-PR 性能下降超过 47%,证实其在有效探索未知异常中的关键作用。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。