cs.LGJul 24, 2026

An Insight on Evaluation Metrics Under the Imbalanced Case of Anomaly Detection

Authors: Romain HermaryNesryne MejriDjamila Aouada

Organizations: CVI2, University of Luxembourg Luxembourg, Luxembourg

Abstract

Anomaly detection is inherently characterised by severe class imbalance, making the interpretation of evaluation metrics challenging. Although metrics such as AUROC, AUPR, F1-score, and MCC are widely used, their values convey different meanings depending on the anomaly ratio. In this work, we analyse the behaviour of those four common anomaly detection metrics under varying levels of imbalance. We focus on the study of metric landscapes, visualisations that relate metric values to true positive and true negative rates, providing an intuitive view of metric preferences and stability. Our analysis offers practical guidance for interpreting and comparing anomaly detection results across datasets with different imbalance ratios.

Explore similar work

CardsList
  1. Why Ranking Anomaly Detection Algorithms Isn't as Reliable as You May Think

    Aug 5, 2026Simon Klüttermann, Jérôme Rutinowski, Frederik Polachowski +1Anomaly DetectionBenchmark Datasets