Abstract
Anomaly detection (AD) is a crucial task in machine learning with various applications, such as detecting emerging diseases, identifying financial frauds, and detecting fake news. However, obtaining complete, accurate, and precise labels for AD tasks can be expensive and challenging due to the cost and difficulties in data annotation. To address this issue, researchers have developed AD methods that can work with incomplete, inexact, and inaccurate supervision, collectively summarized as weakly supervised anomaly detection (WSAD) methods. In this study, we present the first comprehensive survey of WSAD methods by categorizing them into the above three weak supervision settings across four data modalities (i.e., tabular, graph, time-series, and image/video data). For each setting, we provide formal definitions, key algorithms, and potential future directions. To support future research, we conduct experiments on a selected setting and release the source code, along with a collection of WSAD methods and data.
Introduction
Anomaly Detection (AD) is the "needle in a haystack" problem of machine learning—identifying deviant patterns in everything from financial fraud to medical imaging. Traditionally, researchers treated this as either an unsupervised task (no labels) or a fully supervised task (perfect labels). However, real-world data is often messy, with labels being expensive, rare, and unreliable.
This survey addresses the "weakly supervised" middle ground, which the authors categorize into three distinct challenges:
- Incomplete Supervision: Labels are missing for most of the data (semi-supervised).
- Inexact Supervision: Labels are coarse-grained, such as knowing a video contains an anomaly without knowing the exact timeframe.
- Inaccurate Supervision: Labels are noisy or incorrect due to human error or sensor failures.
Taxonomy of WSAD Methods
The authors organize the WSAD landscape into three primary pillars based on the type of supervision weakness.
- AD with Incomplete Supervision: Focuses on semi-supervised approaches. Key techniques include Anomaly Feature Representation Learning (e.g., DeepSAD) and Active/Reinforcement Learning.
- AD with Inexact Supervision: Predominantly uses Multi-Instance Learning (MIL), where data is treated as "bags" containing at least one anomalous instance.
- AD with Inaccurate Supervision: Addresses label noise using Ensemble Learning (mixture-of-experts) and Denoising Networks.
Experimental Benchmarking
The survey benchmarks six representative algorithms (XGBOD, DeepSAD, REPEN, DevNet, PReNet, and FEAWAD) on 47 tabular datasets sourced from the ADBench and PyOD collections. The quantitative experiments focus on how label scarcity affects performance, particularly in low-label regimes.
Key Results and the "5% Threshold"
The experiments reveal a dramatic performance jump when moving from 1% to 5% labeled anomalies. This suggests that even a tiny investment in high-quality labeling can yield massive dividends for model reliability. For instance, XGBOD achieved an AUC-ROC of 80.03% with only 1% labeled anomalies, but performance scales significantly as more labels are added.
Despite high AUC-ROC scores, the authors note that there is still significant room for improvement in the AUC-PR (Precision-Recall) metric, which is a tougher measure for imbalanced data. At 1% labels, the best AUC-PR observed was only 54.52%.
Discussion and Future Directions
Several key insights emerged from this comprehensive review:
- Supervision Convertibility: Inexact supervision can often be treated as a special case of inaccurate supervision at the instance level.
- Modality Imbalance: While inexact supervision is heavily studied in video data, it remains under-explored in tabular and graph data.
- Failure of Standard WSL: Standard Weakly Supervised Learning often fails in AD due to extreme class imbalance, necessitating specialized loss functions like deviation loss.
Future research should focus on efficient label acquisition through human-in-the-loop systems, cross-modality adaptation of successful techniques (like MIL), and automated hyperparameter tuning to reduce reliance on hold-out validation sets.
Summary updated