Skip to main content
QUICK REVIEW

[Paper Review] Statistical Evaluation of Anomaly Detectors for Sequences

Erik Scharwächter, Emmanuel Müller|arXiv (Cornell University)|Aug 13, 2020
Anomaly Detection Techniques and ApplicationsComputer Science21 references5 citations
TL;DR

This paper introduces time-tolerant precision and recall measures for point-based anomaly detection in sequential data, using temporal tolerance in confusion matrices to better reflect real-world detection delays. It demonstrates through simulations that standard precision and recall can overestimate performance, and proposes Monte Carlo null distributions to assess statistical significance, showing p < 0.0001 for observed results under permutation testing.

ABSTRACT

Although precision and recall are standard performance measures for anomaly detection, their statistical properties in sequential detection settings are poorly understood. In this work, we formalize a notion of precision and recall with temporal tolerance for point-based anomaly detection in sequential data. These measures are based on time-tolerant confusion matrices that may be used to compute time-tolerant variants of many other standard measures. However, care has to be taken to preserve interpretability. We perform a statistical simulation study to demonstrate that precision and recall may overestimate the performance of a detector, when computed with temporal tolerance. To alleviate this problem, we show how to obtain null distributions for the two measures to assess the statistical significance of reported results.

Motivation & Objective

  • To formalize precision and recall with temporal tolerance for point-based anomaly detection in sequential data.
  • To address the risk that standard precision and recall overestimate detector performance due to timing mismatches in sequential detection.
  • To develop and validate a statistical framework for assessing the significance of reported precision and recall values using Monte Carlo simulations.
  • To demonstrate that null distributions of true positives are approximately binomial for recall but overdispersed for precision, suggesting need for improved analytical models.

Proposed method

  • Proposes time-tolerant confusion matrices that allow matches between predicted and ground-truth anomalies within a temporal window δ.
  • Defines time-tolerant precision and recall as ratios of true positives (within δ) to total predicted and actual anomalies, respectively.
  • Uses Monte Carlo simulations with randomly permuted ground-truth sequences to generate null distributions for true positive counts.
  • Computes Monte Carlo p-values as the proportion of simulated runs yielding equal or higher true positive counts than observed.
  • Derives analytical null distributions based on binomial assumptions and compares them to empirical simulation results.
  • Employs a real-world earthquake detection use case using Twitter data and energy transient scores to evaluate the method.

Experimental results

Research questions

  • RQ1How can precision and recall be meaningfully redefined for sequential anomaly detection with temporal tolerance?
  • RQ2To what extent can standard precision and recall overestimate detector performance when timing mismatches are present?
  • RQ3What is the statistical behavior of time-tolerant precision and recall under the null hypothesis of no association between predictions and ground truth?
  • RQ4Are the null distributions of true positive counts under random permutations well-approximated by binomial distributions?
  • RQ5How can statistical significance of reported precision and recall values be rigorously assessed in sequential anomaly detection?

Key findings

  • Time-tolerant precision and recall can significantly overestimate detector performance when computed without statistical significance testing, even with moderate temporal tolerance (δ = 2).
  • Monte Carlo p-values for observed precision and recall were p < 0.0001, indicating high statistical significance in the earthquake detection case study.
  • The null distribution of true positives for recall closely follows a binomial distribution under random permutations.
  • The null distribution of true positives for precision exhibits overdispersion relative to the binomial model, suggesting a need for more nuanced analytical models.
  • The proposed method enables reliable assessment of anomaly detector performance by distinguishing signal from chance using permutation-based p-values.

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.