[Paper Review] Active Anomaly Detection via Ensembles
This paper proposes an active anomaly detection framework using ensemble models that leverages label-efficient active learning to improve anomaly detection in both batch and streaming settings. By exploiting the inherent uncertainty in ensemble scores and introducing compact anomaly descriptions and adaptive drift detection, the method achieves higher anomaly discovery rates and competitive performance with state-of-the-art unsupervised baselines, even under streaming data with concept drift.
In critical applications of anomaly detection including computer security and fraud prevention, the anomaly detector must be configurable by the analyst to minimize the effort on false positives. One important way to configure the anomaly detector is by providing true labels for a few instances. We study the problem of label-efficient active learning to automatically tune anomaly detection ensembles and make four main contributions. First, we present an important insight into how anomaly detector ensembles are naturally suited for active learning. This insight allows us to relate the greedy querying strategy to uncertainty sampling, with implications for label-efficiency. Second, we present a novel formalism called compact description to describe the discovered anomalies and show that it can also be employed to improve the diversity of the instances presented to the analyst without loss in the anomaly discovery rate. Third, we present a novel data drift detection algorithm that not only detects the drift robustly, but also allows us to take corrective actions to adapt the detector in a principled manner. Fourth, we present extensive experiments to evaluate our insights and algorithms in both batch and streaming settings. Our results show that in addition to discovering significantly more anomalies than state-of-the-art unsupervised baselines, our active learning algorithms under the streaming-data setup are competitive with the batch setup.
Motivation & Objective
- To address the challenge of high false positive rates in unsupervised anomaly detection by enabling human-in-the-loop configuration through active learning.
- To improve the diversity of anomalies presented to analysts without sacrificing detection performance.
- To develop a robust, principled method for detecting and adapting to data drift in streaming anomaly detection.
- To demonstrate that active learning with ensemble models achieves performance competitive with batch learning in streaming environments.
Proposed method
- Uses an ensemble of tree-based anomaly detectors to compute instance scores, with the ensemble score matrix ${f H}$ used to identify high-scoring (potentially anomalous) instances.
- Employs a greedy active learning strategy that queries labels for instances with the highest ensemble scores, leveraging the insight that such instances are most informative due to inherent uncertainty in the ensemble.
- Introduces a compact description formalism to summarize groups of discovered anomalies, enabling diverse query selection while preserving detection rate.
- Proposes a novel data drift detection algorithm based on Kullback-Leibler (KL) divergence to identify obsolete trees in the ensemble and trigger adaptive replacement.
- Implements a streaming active learning framework (SAL) that maintains a sliding window of data, dynamically replaces trees based on KL divergence, and updates model weights using analyst feedback.
- Uses uniform weight initialization (${f w}_{ ext{unif}}$) as a reliable prior to reduce variance and improve convergence in active learning.
Experimental results
Research questions
- RQ1How can anomaly detector ensembles be systematically leveraged for label-efficient active learning in anomaly detection?
- RQ2Can compact anomaly descriptions improve query diversity without degrading anomaly discovery performance?
- RQ3How can data drift in streaming settings be detected robustly and used to trigger principled model adaptation?
- RQ4To what extent can streaming active learning with feedback match the performance of batch active learning in real-world anomaly detection?
Key findings
- The proposed active learning algorithm (BAL) significantly outperforms state-of-the-art unsupervised baselines in anomaly discovery, especially when initialized with a uniform prior.
- The SAL (KL Adaptive) streaming algorithm achieves performance competitive with batch active learning, demonstrating the feasibility of real-time, feedback-driven anomaly detection.
- The use of compact anomaly descriptions enables diverse query selection while maintaining detection rates comparable to greedy querying strategies.
- The adaptive tree replacement strategy based on KL divergence effectively detects concept drift and improves model robustness, as shown in datasets like Covtype where drift is present.
- In the absence of drift (e.g., ANN-Thyroid-1v3), the model retains older trees longer, indicating stable performance, while in high-drift settings, frequent replacements occur.
- The method generalizes well: feedback-tuned detectors achieve better performance on unseen data, and SAL (KL Adaptive) consistently outperforms both unsupervised baselines and fixed-tree alternatives in streaming settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.