We Need to Rethink Benchmarking in Anomaly Detection

Philipp Röchner, Simon Klüttermann, Franz Rothlauf, Daniel SchlörarXiv 2025 · DOI

TL;DR

Current anomaly detection benchmarks are flawed, leading to a stagnation in progress where simple methods perform as well as complex ones. This paper argues for a shift towards "scenario-specific benchmarking," where algorithms are evaluated within defined contexts that reflect real-world application characteristics, leading to more meaningful progress and practical guidance.

What Problem Does This Paper Address?

Anomaly detection, a crucial technique for identifying rare and unusual patterns in data (e.g., fraud, network attacks, medical anomalies), faces a significant challenge in how its performance is evaluated. Despite a constant stream of new algorithms, studies consistently show that simple, established methods like k-Nearest Neighbors (kNN) often perform comparably to state-of-the-art deep learning approaches. This "stagnation" is attributed to the current benchmarking practices, which rely on large, diverse collections of datasets. The authors argue that this aggregated approach masks crucial differences in how algorithms perform across various applications, leading to a false sense of progress and making it difficult for practitioners to select the right tools for their specific needs. A simple "Quantiles" algorithm, for instance, can achieve competitive benchmark scores despite failing on basic anomaly types, highlighting the inadequacy of current evaluation methods.

Methods

The paper proposes a fundamental shift in anomaly detection evaluation, moving from a "one-size-fits-all" approach to scenario-specific benchmarking. This involves:

  • Defining Scenarios: Instead of evaluating on a broad collection of datasets, the authors advocate for grouping applications into "scenarios" based on shared structural properties. These properties include anomaly type, data modality, processing time, and evaluation priorities. This allows for more focused and meaningful comparisons.
  • Scenario-Specific Components: The paper suggests that anomaly detection pipelines should be analyzed and developed at the component level (preprocessing, model selection, ensembles) within these defined scenarios. This modular approach helps isolate the impact of individual components and promotes reusability.
  • Tailored Evaluation: Evaluation objectives and protocols should be adapted to the specific scenario. This means selecting metrics (e.g., ROC-AUC vs. PR-AUC) and evaluation procedures (e.g., handling low anomaly ratios) that align with the scenario's priorities and constraints.

Datasets

The paper references several existing benchmarks and datasets, including:

  • ADBench: Used to illustrate the limitations of aggregated rankings, showing how simple baselines can perform comparably to state-of-the-art methods.
  • TSB-AD: Mentioned as an example of a benchmark that attempts to distinguish anomaly types for time-series anomaly detection.
  • BMAD: Highlighted for organizing datasets and tasks around clinical contexts for medical imaging anomaly detection.
  • Cybersecurity Datasets: Such as UNSW-NB15, BoT-IoT, TON-IoT, and CSE-CIC-IDS2018, which are categorized by attack type.

The authors do not introduce a new dataset but propose a framework for curating and standardizing existing datasets to fit scenario-specific evaluations.

Key Insights and Ideas

  • The "Quantiles" Paradox: A simple algorithm that only checks for extreme values in features can achieve competitive benchmark scores, revealing that current benchmarks are not discerning enough to differentiate true algorithmic advancements.
  • Fragmentation vs. Depth: While a broad range of datasets offers generality, scenario-specific evaluation offers "within-scenario depth," leading to more meaningful comparisons and hypothesis-driven research.
  • Context is King: Anomaly detection is inherently application-dependent. A "one-size-fits-all" approach fails because the definition of an anomaly and the requirements for detecting it vary significantly across domains.
  • Modular Components: Evaluating anomaly detection components (preprocessing, model selection) in isolation within specific scenarios can lead to more reusable and impactful advancements than solely focusing on end-to-end pipeline performance.
  • Beyond Accuracy: Standard metrics like ROC-AUC might not always capture the true objectives of an application. Scenarios allow for the consideration of other crucial factors like diversity, severity, and fairness.

Key Results

The paper is primarily a position paper advocating for a new benchmarking paradigm. Therefore, it doesn't present quantitative results in the traditional sense of reporting accuracy improvements. However, it uses the example of the "Quantiles" algorithm on the ADBench benchmark to qualitatively demonstrate the problem:

  • The "Quantiles" algorithm achieved a second-place ranking on ADBench, with performance statistically indistinguishable from state-of-the-art methods like DeepSVDD, GoAD, and OCSVM.
  • This competitive performance was achieved despite the "Quantiles" algorithm failing on simple cases, such as anomalies within an annulus of normal points, underscoring the inadequacy of the benchmark.

Limitations and Future Work

The authors acknowledge several points:

  • Iterative Refinement: The proposed taxonomy of structural properties for defining scenarios is not exhaustive and will require iterative refinement based on community feedback and further research.
  • Practicality of Scenarios: While the goal is to avoid an impractical number of scenarios, the paper suggests that scenarios should cover a minimum number of applications to be meaningful and that scenarios with indistinguishable performance should be merged.
  • Low Anomaly Ratios: Evaluating in scenarios with low anomaly ratios poses challenges for statistical power and requires robust evaluation protocols, which are still an open research area.
  • Theoretical Analysis: While scenarios can facilitate theoretical analysis, implicit assumptions in algorithms can still make this challenging.

The paper calls for community collaboration to:

  1. Develop a taxonomy and define scenarios.
  2. Curate scenario-specific datasets.
  3. Conduct scenario-specific research on algorithms and components.
  4. Enable practitioners to use the scenario taxonomy for algorithm selection and provide feedback.

Summary updated

BibTeX
@misc{rochner2025we,
  author = {Philipp Röchner and Simon Klüttermann and Franz Rothlauf and Daniel Schlör},
  title = {{We Need to Rethink Benchmarking in Anomaly Detection}},
  year = {2025},
  eprint = {2507.15584},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.15584},
}
Figure