Abstract
Anomaly detection in Decision Support Systems (DSS) often faces a "labeling bottleneck," where unsupervised models fail to capture domain-specific nuances and supervised models require prohibitively large labeled datasets. This paper introduces ALIF (Active Learning-based Isolation Forest), a "human-in-the-loop" framework that enhances the classic Isolation Forest by incorporating expert feedback. By querying a domain expert for a small number of labels and performing lightweight updates to the forest structure, ALIF significantly improves detection accuracy for domain-specific anomalies. Our results across 18 real-world datasets show that ALIF outperforms state-of-the-art active learning methods while remaining computationally efficient.
Introduction
In many real-world applications, there is a critical distinction between a statistical outlier and a domain-specific anomaly. While an outlier is simply a rare data point, an anomaly represents a behavior of interest to the system designer, such as fraud or equipment failure. Standard unsupervised models, like the Isolation Forest (IF), are effective at identifying outliers but often miss anomalies that do not reside in low-density regions. Conversely, fully supervised models are often impractical due to the high cost of data labeling.
ALIF bridges this gap by transforming the unsupervised IF into an active learning system. It strategically selects data points for human review, allowing the model to learn the user's specific definition of an anomaly with minimal manual effort.
The ALIF Framework
The ALIF methodology consists of a cyclic process that integrates human expertise into the learning loop.
The process follows three main stages:
- Unsupervised Initialization: A standard Isolation Forest is constructed using the available unlabeled data.
- Active Querying: The system selects a data point to be labeled by a human "oracle." The authors explored two primary strategies: "Most Anomalous" (querying points with the highest current anomaly scores) and "Maximum Uncertainty" (querying points where tree predictions vary most).
- Lightweight Update: Instead of retraining the entire forest, ALIF updates the "depth" of the leaves containing the labeled point. If a point is confirmed as an anomaly, its leaf depth is decreased to increase its score; if normal, the depth is increased.
This update mechanism is computationally efficient, with a complexity linear to the number of trees ($O(n_T)$), making it suitable for real-time DSS applications.
Experimental Evaluation
The researchers evaluated ALIF using 18 real-world datasets from the ODDS library (e.g., Breastw, Cardio, Vowels) and a synthetic "Square Toroid" dataset.
Key Insights
A significant finding was that the "Most Anomalous" querying strategy generally outperformed "Maximum Uncertainty." This is particularly advantageous for DSS, where experts are naturally inclined to investigate high-risk flags. Furthermore, ALIF demonstrated "one-sided learning" capabilities, improving performance even when only one class (e.g., normal points) was labeled.
The importance of human feedback is highlighted by datasets like "vowels," where anomalies may form their own clusters rather than appearing as isolated outliers.
Results
ALIF consistently outperformed the leading competitor, IF-AAD (Active Anomaly Discovery). On the synthetic toroidal dataset—a scenario where standard IF typically fails—ALIF achieved near-perfect classification within just 25 iterations. The "Piece-wise Linear" update strategy was identified as the most stable approach for depth adjustment across various benchmarks.
Conclusion
ALIF provides a robust and efficient solution for enhancing anomaly detection in environments where labeled data is scarce but expert knowledge is available. By focusing on "human-in-the-loop" updates, it successfully aligns statistical models with domain-specific requirements. Future work will explore incorporating leaf density into the update logic and developing hybrid querying strategies to further optimize the active learning process.
Summary updated