Skip to main content
QUICK REVIEW

[Paper Review] Incorporating Feedback into Tree-based Anomaly Detection

Shubhomoy Das, Weng‐Keen Wong|arXiv (Cornell University)|Aug 30, 2017
Anomaly Detection Techniques and ApplicationsComputer Science2 references43 citations
TL;DR

This paper proposes IF-AAD, a novel method that enhances Isolation Forests by incorporating binary analyst feedback to refine anomaly rankings in real time. By treating tree nodes as weighted components in an ensemble and reweighting them based on feedback, IF-AAD significantly reduces the number of false positives analysts must inspect, achieving up to twice as many true anomalies detected as the baseline Isolation Forest.

ABSTRACT

Anomaly detectors are often used to produce a ranked list of statistical anomalies, which are examined by human analysts in order to extract the actual anomalies of interest. Unfortunately, in realworld applications, this process can be exceedingly difficult for the analyst since a large fraction of high-ranking anomalies are false positives and not interesting from the application perspective. In this paper, we aim to make the analyst's job easier by allowing for analyst feedback during the investigation process. Ideally, the feedback influences the ranking of the anomaly detector in a way that reduces the number of false positives that must be examined before discovering the anomalies of interest. In particular, we introduce a novel technique for incorporating simple binary feedback into tree-based anomaly detectors. We focus on the Isolation Forest algorithm as a representative tree-based anomaly detector, and show that we can significantly improve its performance by incorporating feedback, when compared with the baseline algorithm that does not incorporate feedback. Our technique is simple and scales well as the size of the data increases, which makes it suitable for interactive discovery of anomalies in large datasets.

Motivation & Objective

  • To address the semantic mismatch between algorithmic outliers and human-defined anomalies in tree-based anomaly detection.
  • To reduce the burden on analysts by minimizing the number of false positives they must manually inspect during anomaly discovery.
  • To develop a scalable, interactive method that dynamically adapts anomaly rankings using real-time feedback.
  • To evaluate whether feedback can be effectively incorporated at the node level in tree ensembles, rather than just at the ensemble output level.
  • To demonstrate that weighting both internal and leaf nodes improves performance over leaf-only weighting in feedback-driven anomaly detection.

Proposed method

  • The method models each tree node in an Isolation Forest as a weighted component in an ensemble, where weights are updated based on analyst feedback.
  • Binary feedback (true anomaly or nominal) is used to reweight nodes via an active learning framework, adjusting the contribution of each node to the final anomaly score.
  • The algorithm uses a linear combination of node weights to compute anomaly scores, with feedback influencing the weights of nodes along the path of each instance.
  • Feedback is incorporated iteratively: after each labeling, the system re-evaluates node weights to prioritize regions containing true anomalies and deprioritize false positives.
  • The approach extends Active Anomaly Discovery (AAD) to tree-based detectors by treating individual tree nodes as adjustable components, enabling fine-grained adaptation.
  • A variant, IF-AAD-Leaf, restricts weighting to leaf nodes only, allowing comparison of the impact of internal node weighting.

Experimental results

Research questions

  • RQ1Can analyst feedback be effectively used to improve the ranking of true anomalies in tree-based anomaly detection?
  • RQ2Does incorporating feedback at the node level—rather than just at the ensemble level—lead to better performance in anomaly discovery?
  • RQ3How does the inclusion of weights on internal nodes affect the performance of feedback-driven anomaly detection compared to leaf-only weighting?
  • RQ4To what extent does IF-AAD reduce the number of false positives that must be inspected before discovering a significant portion of true anomalies?
  • RQ5How does the feedback mechanism influence the algorithm’s focus across the feature space in real-world datasets?

Key findings

  • IF-AAD consistently outperforms the baseline Isolation Forest, detecting up to twice as many true anomalies in the same number of queries across eight benchmark datasets.
  • On average, IF-AAD reduces the number of queries required to discover 90% of true anomalies by 30-50% compared to the baseline.
  • The feedback mechanism successfully shifts the algorithm’s focus away from regions with previously labeled nominal instances, such as the (30,-50) region in Abalone and (60,-60) in ANN-Thyroid-1v3.
  • The algorithm increases focus on regions containing previously labeled true anomalies, such as (-20,-20) in Abalone and (0,-10) in ANN-Thyroid-1v3, as confirmed by t-SNE visualizations.
  • IF-AAD-Leaf, which weights only leaf nodes, performs slightly worse than IF-AAD, indicating that internal node weighting contributes to improved performance, though the majority of benefit comes from leaf-level feedback.
  • The time to incorporate feedback scales linearly with the number of labeled instances, with 100 labels taking approximately 40 seconds on the ANN-Thyroid-1v3 dataset, demonstrating scalability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.