Abstract
Anomaly detection often relies on active learning to query human experts, but experts are frequently uncertain, providing noisy, probabilistic "soft" labels. This paper introduces SLADe, a semi-supervised anomaly detector that uses a Gaussian Process to model the deviation between an unsupervised prior and these noisy soft labels. By smoothing predictions over local neighborhoods, SLADe effectively filters out human noise and outperforms existing baselines across various noise regimes.
1. Introduction
Because anomalies are rare by definition, obtaining labeled data for anomaly detection is notoriously difficult. To address this, active learning is often employed: an unsupervised model identifies the most informative data points and requests labels from a human expert. However, anomalies are frequently ambiguous. Instead of binary "Yes/No" labels, it is more realistic to solicit "soft labels"—probabilities representing the expert's confidence (e.g., "70% sure this is an anomaly").
A significant challenge arises because humans are often poorly calibrated, leading to noisy soft labels. Existing semi-supervised anomaly detection methods typically assume labels are either hard or perfectly accurate. Training standard models on noisy soft labels leads to significant performance degradation. This work introduces a method to learn effectively from actively acquired, noisy soft labels without allowing human error to compromise model integrity.
2. Methodology
The proposed SLADe (Soft Label Anomaly Detector) is a semi-supervised approach that integrates unsupervised learning with a Gaussian Process (GP). The framework operates through the following steps:
- Unsupervised Prior: SLADe utilizes a standard unsupervised anomaly detector (e.g., Isolation Forest) to generate base anomaly scores, normalized to a $[0, 1]$ range.
- Active Learning Loop: The system queries the user for soft labels on instances where the model exhibits high uncertainty—either where predictions are near 0.5 or in unexplored regions of the feature space.
- Modeling the Deviation: Rather than modeling soft labels directly, SLADe uses a GP to model the deviation between the user's noisy soft labels and the unsupervised prior. This allows the model to gracefully revert to the unsupervised prior in regions lacking labeled data.
- Noise-Robust Inference: To mitigate the impact of inaccurate human labels, SLADe smooths the GP's predictions by averaging them over a local Gaussian neighborhood around the test point. This spatial smoothing effectively "washes out" individual label noise through local consensus.
3. Experimental Evaluation
The authors evaluated SLADe on 21 standard benchmark datasets commonly used in anomaly detection research. To maintain computational efficiency for the Gaussian Process, datasets were subsampled to a maximum of 5,000 instances while preserving original anomaly ratios.
To simulate real-world conditions where ground-truth soft labels are unavailable, human annotators were simulated using a shallow Random Forest to generate smooth probability scores. Noise was artificially injected by flipping probabilities $p$ to $1-p$ for random subsets of labels at levels of 0%, 10%, and 20%.
4. Results and Discussion
Experimental results highlight several key strengths of the SLADe framework:
- Robustness to Noise: SLADe demonstrated superior resilience to increasing noise. When noise levels rose from 0% to 10%, SLADe showed the smallest performance drop (AUROC) in 13 of the 21 datasets.
- Superior Performance in High-Noise Regimes: At 20% noise, SLADe consistently outperformed baselines that learn directly from soft labels (e.g., GP, P-SVM) and those that convert soft labels to hard labels (e.g., SSDO, HIF).
- Agnosticism to the Prior: Sensitivity analysis confirmed that SLADe remains effective regardless of the specific unsupervised detector used to generate the prior (tested with Isolation Forest, LOF, k-NN, and One-Class SVM).
5. Conclusion and Future Work
SLADe provides a robust mechanism for incorporating uncertain human feedback into anomaly detection. While the use of Gaussian Processes limits scalability to very large datasets (necessitating the 5,000-instance cap in this study), the method's ability to filter noise through spatial smoothing and deviation modeling is a significant advancement. Future work may explore more scalable kernel methods or address the ethical implications of using non-expert crowdsourced labor for labeling tasks.
Summary updated