Skip to main content
QUICK REVIEW

[Paper Review] How to Evaluate the Quality of Unsupervised Anomaly Detection Algorithms?

Nicolas Goix|arXiv (Cornell University)|Jul 5, 2016
Anomaly Detection Techniques and ApplicationsComputer Science33 citations
TL;DR

This paper proposes label-free evaluation criteria for unsupervised anomaly detection using Excess-Mass (EM) and Mass-Volume (MV) curves, which are adapted to high-dimensional data via feature sub-sampling and aggregation. The method achieves ~80% agreement with standard ROC and PR AUC rankings across 36 algorithm comparisons, demonstrating strong reliability without labeled data.

ABSTRACT

When sufficient labeled data are available, classical criteria based on Receiver Operating Characteristic (ROC) or Precision-Recall (PR) curves can be used to compare the performance of un-supervised anomaly detection algorithms. However , in many situations, few or no data are labeled. This calls for alternative criteria one can compute on non-labeled data. In this paper, two criteria that do not require labels are empirically shown to discriminate accurately (w.r.t. ROC or PR based criteria) between algorithms. These criteria are based on existing Excess-Mass (EM) and Mass-Volume (MV) curves, which generally cannot be well estimated in large dimension. A methodology based on feature sub-sampling and aggregating is also described and tested, extending the use of these criteria to high-dimensional datasets and solving major drawbacks inherent to standard EM and MV curves.

Motivation & Objective

  • To address the lack of reliable evaluation criteria for unsupervised anomaly detection when labeled data are unavailable.
  • To develop label-free performance metrics that preserve the ranking of anomaly detection algorithms as measured by ROC and PR curves.
  • To extend the applicability of EM and MV curves to high-dimensional datasets where standard estimation fails.
  • To validate the proposed criteria against established ROC and PR AUC benchmarks on real-world datasets.
  • To provide a scalable, flexible methodology for evaluating anomaly detection algorithms in industrial settings with limited labeling.

Proposed method

  • Proposes EM and MV curves as label-free evaluation criteria that are invariant under increasing transformations of the scoring function.
  • Introduces a feature sub-sampling and aggregation strategy to estimate EM and MV curves in high-dimensional data, overcoming the curse of dimensionality.
  • Employs Algorithm 1 to repeatedly sample subsets of features (e.g., m=50, d'=5), compute EM/MV scores on each subset, and aggregate results for final evaluation.
  • Uses empirical risk minimization principles to define numerical criteria based on EM and MV curves for algorithm comparison.
  • Applies the methodology to real labeled datasets to benchmark performance against ROC and PR AUCs, treating labels as hidden during EM/MV evaluation.
  • Validates the method across 12 datasets (e.g., adult, pima, spambase) in both novelty and unsupervised detection frameworks.

Experimental results

Research questions

  • RQ1Can EM and MV curves serve as reliable label-free alternatives to ROC and PR AUCs for evaluating unsupervised anomaly detection algorithms?
  • RQ2How can EM and MV curves be adapted to high-dimensional data where standard estimation fails?
  • RQ3To what extent do EM and MV scores recover the ranking of algorithms established by ROC and PR AUCs on real datasets?
  • RQ4Does feature sub-sampling and aggregation improve the stability and accuracy of EM and MV curve estimation in high dimensions?
  • RQ5How do EM and MV criteria perform on datasets with complex anomaly structures or low-dimensional support?

Key findings

  • The EM-based criterion correctly ranks algorithm pairs in 78% of 36 comparisons (28/36) when compared to ROC AUC, and in 81% (29/36) when compared to PR AUC.
  • The MV-based criterion achieves 75% agreement with ROC AUC and 72% with PR AUC across all 36 pairwise comparisons, with 76% agreement on pairs consistently ordered by both ROC and PR.
  • The EM criterion correctly recovers the full ranking of three algorithms (iForest, LOF, OCSVM) on all datasets except wilt and shuttle, where AUC values are very close.
  • The MV criterion makes only one additional error compared to EM, on the pair (iForest on pima, OCSVM on pima), and performs similarly on high-dimensional datasets.
  • On the shuttle dataset, both EM and MV criteria show reduced accuracy, likely due to very similar ROC AUC scores (0.996, 0.992, 0.999), making algorithm discrimination difficult.
  • The feature sub-sampling method enables reliable EM and MV estimation in high-dimensional settings, with m=50 and d'=5 serving as a balanced default configuration.

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.