Papers › Effectiveness of Tree-based Ensembles for Anomaly Discovery: Insights, Batch and...

Effectiveness of Tree-based Ensembles for Anomaly Discovery: Insights, Batch and Streaming Active Learning

23 Jan 2019arXiv:1901.08930archive 2025-07-28

Shubhomoy Das, Md. Rakibul Islam, Nitthilan Kannappan Jayakodi, Janardhan Rao Doppa

In many real-world AD applications including computer security and fraud prevention, the anomaly detector must be configurable by the human analyst to minimize the effort on false positives. One important way to configure the detector is by providing true labels (nominal or anomaly) for a few instances. Recent work on active anomaly discovery has shown that greedily querying the top-scoring instance and tuning the weights of ensemble detectors based on label feedback allows us to quickly discover true anomalies. This paper makes four main contributions to improve the state-of-the-art in anomaly discovery using tree-based ensembles. First, we provide an important insight that explains the practical successes of unsupervised tree-based ensembles and active learning based on greedy query selection strategy. We also present empirical results on real-world data to support our insights and theoretical analysis to support active learning. Second, we develop a novel batch active learning algorithm to improve the diversity of discovered anomalies based on a formalism called compact description to describe the discovered anomalies. Third, we develop a novel active learning algorithm to handle streaming data setting. We present a data drift detection algorithm that not only detects the drift robustly, but also allows us to take corrective actions to adapt the anomaly detector in a principled manner. Fourth, we present extensive experiments to evaluate our insights and our tree-based active anomaly discovery algorithms in both batch and streaming data settings. Our results show that active learning allows us to discover significantly more anomalies than state-of-the-art unsupervised baselines, our batch active learning algorithm discovers diverse anomalies, and our algorithms under the streaming-data setup are competitive with the batch setup.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1901.08930")

Code

Syntology Ran 0 of 21 code samples harvested from 2 repositories linked to this paper; 21 have no recorded run.

By repository: official repository: 5 samples from 1 repository, 0 ran; community (archive-listed): 16 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

shubhomoydas/ad_examples officialmentioned in papermentioned on GitHubtf report
freedombenLiu/ad_examples mentioned on GitHubtfMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

21 samples harvested; 0 ran; 0 honoured the contract we drafted; 21 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

21unverified

Licence: 0 of the 21 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

describe_instances shubhomoydas/ad_examples/ad_examples/aad/demo_aad.py official repository unverified MIT (permissive) · 151fc694a94564e2 · report
detect_anomalies_and_describe shubhomoydas/ad_examples/ad_examples/aad/demo_aad.py official repository unverified MIT (permissive) · f958c10e9cffa78e · report
prepare_aad_model shubhomoydas/ad_examples/ad_examples/aad/aad_stream.py official repository unverified MIT (permissive) · 99863fb4df7a185c · report
prepare_stream_anomaly_detector shubhomoydas/ad_examples/ad_examples/aad/aad_stream.py official repository unverified MIT (permissive) · 3cf89ba27b591b36 · report
train_aad_model shubhomoydas/ad_examples/ad_examples/aad/aad_stream.py official repository unverified MIT (permissive) · 8f255acab32975b3 · report
aad_loss_gradient_linear freedombenLiu/ad_examples/ad_examples/aad/aad_loss.py community (archive-listed) unverified MIT (permissive) · 8badd090540c89ba · report
aad_loss_linear freedombenLiu/ad_examples/ad_examples/aad/aad_loss.py community (archive-listed) unverified MIT (permissive) · c14e158c80a69604 · report
estimate_qtau freedombenLiu/ad_examples/ad_examples/aad/aad_base.py community (archive-listed) unverified MIT (permissive) · eb82e43983ab9524 · report
evaluate_forest_original freedombenLiu/ad_examples/ad_examples/aad/aad_test_support.py community (archive-listed) unverified MIT (permissive) · f83d93a9883765bf · report
get_aad_command_args freedombenLiu/ad_examples/ad_examples/aad/aad_globals.py community (archive-listed) unverified MIT (permissive) · e3cbbcf9de858a91 · report
get_aad_metrics_structure freedombenLiu/ad_examples/ad_examples/aad/aad_base.py community (archive-listed) unverified MIT (permissive) · f3f7f564b0d36cdb · report
get_aad_model freedombenLiu/ad_examples/ad_examples/aad/aad_support.py community (archive-listed) unverified MIT (permissive) · a7f5521ccb2189dd · report
get_budget_topK freedombenLiu/ad_examples/ad_examples/aad/aad_base.py community (archive-listed) unverified MIT (permissive) · be92dddc5f891292 · report
get_first_val_not_marked freedombenLiu/ad_examples/ad_examples/aad/aad_globals.py community (archive-listed) unverified MIT (permissive) · 8693d09b634b4c69 · report
get_first_vals_not_marked freedombenLiu/ad_examples/ad_examples/aad/aad_globals.py community (archive-listed) unverified MIT (permissive) · 407db3dd36ec6a4d · report
get_mean_euclidean_distance freedombenLiu/ad_examples/ad_examples/aad/query_model_euclidean.py community (archive-listed) unverified MIT (permissive) · 4f9fdcf28e80b3bc · report
get_min_euclidean_distance freedombenLiu/ad_examples/ad_examples/aad/query_model_euclidean.py community (archive-listed) unverified MIT (permissive) · 3aaf622d2fa22ace · report
get_rulesets freedombenLiu/ad_examples/ad_examples/aad/aad_ruleset_support.py community (archive-listed) unverified MIT (permissive) · 2633e06aed91c4d2 · report
get_score_ranges freedombenLiu/ad_examples/ad_examples/aad/aad_support.py community (archive-listed) unverified MIT (permissive) · 35491236d4cbf696 · report
prepare_conjunctive_rulesets freedombenLiu/ad_examples/ad_examples/aad/aad_ruleset_support.py community (archive-listed) unverified MIT (permissive) · b6e9c8b277dfd2e6 · report
summarize_aad_metrics freedombenLiu/ad_examples/ad_examples/aad/aad_support.py community (archive-listed) unverified MIT (permissive) · 61602ce877390332 · report

Tasks

Active LearningAnomaly DetectionComputer SecurityDrift Detection

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Interpretability

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections