Skip to main content
QUICK REVIEW

[Paper 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 Science21 references19 citations
TL;DR

This paper proposes DPLAN, a deep reinforcement learning framework that jointly exploits partially labeled anomalies and unlabeled data for generalized anomaly detection. By simulating an anomaly-biased environment and optimizing a combined reward for exploration and exploitation, DPLAN significantly outperforms state-of-the-art methods on 48 real-world datasets, achieving up to 98% AUC-PR improvement with extended training.

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.

Motivation & Objective

  • Address the challenge of detecting both known and unknown anomalies when only a small set of partially labeled anomalies is available.
  • Overcome the limitations of existing methods that either ignore unlabeled anomalies or treat labeling and detection as decoupled steps.
  • Enable end-to-end optimization of anomaly detection by jointly learning from labeled anomalies and actively exploring novel anomalies in unlabeled data.
  • Develop a scalable, efficient, and generalizable deep reinforcement learning framework that supports deeper architectures and improves generalization beyond labeled examples.

Proposed method

  • Design a neural network-based anomaly detection agent that interacts with a simulated environment constructed from labeled and unlabeled data.
  • Create an anomaly-biased simulation environment to enable effective exploration of rare, unknown anomalies in unlabeled data while exploiting known anomalies.
  • Define a combined reward function that integrates supervisory signals from both labeled anomalies (external reward) and pseudo-anomalies detected in unlabeled data (intrinsic reward).
  • Use deep Q-networks (DQN) for policy learning, enabling the agent to balance exploitation of known abnormality and exploration of novel anomalies through sequential decision-making.
  • Implement a two-stage training process: first, pre-train the feature encoder using labeled anomalies; second, fine-tune the entire DPLAN agent via reinforcement learning on the simulated environment.
  • Leverage stochastic optimization to ensure training time scales linearly with steps and enable efficient offline training, with fast online inference via single forward pass.

Experimental results

Research questions

  • RQ1Can a deep reinforcement learning agent effectively learn from a small set of partially labeled anomalies while simultaneously discovering unknown anomalies in large-scale unlabeled data?
  • RQ2How does the integration of external and intrinsic rewards improve the balance between exploitation of known anomalies and exploration of novel anomalies?
  • RQ3To what extent can DPLAN generalize beyond the given labeled anomalies, especially when the labeled data does not cover all anomaly classes?
  • RQ4How does the architecture depth and training duration affect the performance and generalization of the DPLAN agent?
  • RQ5What is the computational efficiency of DPLAN compared to existing anomaly detection methods in terms of training and inference?

Key findings

  • DPLAN significantly outperforms five state-of-the-art methods across 48 real-world datasets, with an average AUC-ROC improvement of 17% and AUC-PR improvement of 47% over the best baseline (REnv).
  • On the Hypothyroid and Subnormal datasets, extending training from 20,000 to 100,000 steps led to a 23% and 98% relative improvement in AUC-PR, respectively, demonstrating strong scalability with training steps.
  • The intrinsic reward module enables effective exploration of unlabeled data, resulting in a 47% average AUC-PR gain over methods that rely only on external rewards.
  • DPLAN maintains stable performance across different representation dimensionality sizes (10–320), with optimal performance at 20 dimensions, and shows no significant degradation with increased depth, unlike competing methods.
  • DPLAN achieves fast online inference—under 3 seconds for over 275,000 test instances across all datasets—surpassing iForest and REPEN in speed while maintaining high accuracy.
  • The anomaly-biased simulation environment is critical: removing it reduces performance by over 47% in AUC-PR, confirming its role in enabling effective exploration of unknown anomalies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.