Skip to main content
QUICK REVIEW

[Paper Review] Supervised Anomaly Detection based on Deep Autoregressive Density Estimators

Tomoharu Iwata, Yuki Yamanaka|arXiv (Cornell University)|Apr 12, 2019
Anomaly Detection Techniques and ApplicationsComputer Science49 references8 citations
TL;DR

This paper proposes a supervised anomaly detection method using deep autoregressive density estimators that jointly maximize likelihood for normal instances and minimize likelihood for anomalous ones via a log-likelihood ratio regularization. The method achieves state-of-the-art performance on 16 datasets, especially with few labeled anomalies, outperforming both unsupervised and supervised baselines by leveraging exact density estimation and label-aware training.

ABSTRACT

We propose a supervised anomaly detection method based on neural density estimators, where the negative log likelihood is used for the anomaly score. Density estimators have been widely used for unsupervised anomaly detection. By the recent advance of deep learning, the density estimation performance has been greatly improved. However, the neural density estimators cannot exploit anomaly label information, which would be valuable for improving the anomaly detection performance. The proposed method effectively utilizes the anomaly label information by training the neural density estimator so that the likelihood of normal instances is maximized and the likelihood of anomalous instances is lower than that of the normal instances. We employ an autoregressive model for the neural density estimator, which enables us to calculate the likelihood exactly. With the experiments using 16 datasets, we demonstrate that the proposed method improves the anomaly detection performance with a few labeled anomalous instances, and achieves better performance than existing unsupervised and supervised anomaly detection methods.

Motivation & Objective

  • To address the limitation of unsupervised neural density estimators in not utilizing anomaly label information.
  • To improve anomaly detection performance when only a small number of labeled anomalous instances are available.
  • To combine the strengths of density estimation (for low-density region detection) and supervised learning (for discriminative boundary learning).
  • To develop a differentiable objective function that balances likelihood maximization for normal data and anomaly discrimination via regularization.
  • To demonstrate the method's superiority over existing unsupervised and supervised anomaly detection approaches on diverse real-world datasets.

Proposed method

  • Uses a deep autoregressive model (e.g., MADE) to model the data density with exact likelihood computation.
  • Defines the anomaly score as the negative log-likelihood of an instance under the learned density model.
  • Proposes a joint objective function that maximizes the log-likelihood of normal instances and penalizes high likelihood for anomalous instances via a log-likelihood ratio regularization term.
  • Introduces a hyperparameter λ to balance the trade-off between likelihood maximization and anomaly discrimination.
  • Trains the model using stochastic gradient descent on the differentiable objective, enabling end-to-end optimization.
  • Employs validation data to tune λ, automatically adapting the model to prioritize likelihood or discrimination based on dataset characteristics.

Experimental results

Research questions

  • RQ1Can a neural density estimator be effectively trained to exploit anomaly label information while maintaining exact likelihood computation?
  • RQ2Does incorporating label information through a regularization term improve anomaly detection performance, especially with few labeled anomalies?
  • RQ3How does the proposed method compare to unsupervised density estimators and standard supervised classifiers in terms of AUC and robustness across diverse datasets?
  • RQ4What is the optimal balance between likelihood maximization and anomaly discrimination, and how does it vary across datasets?
  • RQ5Can the method detect anomalies in regions with no normal instances, as well as in dense anomaly clusters, where traditional methods fail?

Key findings

  • The proposed method achieved the highest average AUC among 10 compared methods across 16 benchmark datasets.
  • With only three labeled anomalous instances, the method achieved an average AUC of 0.859, significantly outperforming unsupervised methods like MADE and supervised baselines like SVM on several datasets.
  • The method outperformed the unsupervised MADE baseline on Annthyroid, PenDigits, and Wilt, with statistically significant improvements in AUC.
  • The average AUC increased from 0.807 (0 anomalous instances) to 0.859 (5 anomalous instances), showing strong data efficiency.
  • Hyperparameter λ was found to be dataset-dependent, with optimal values ranging from low to high, indicating the need for adaptive tuning.
  • The method successfully detected all test anomalies in a synthetic example where unsupervised and supervised methods failed to detect anomalies in dense normal regions.

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.