Theoretical Investigation on Inductive Bias of Isolation Forest
Qin-Cheng Zheng, Shao-Qun Zhang, Shen-Huan Lyu, Yuan Jiang, Zhi-Hua Zhou
Abstract
Isolation Forest (iForest) is one of the most widely used unsupervised anomaly detectors, owing to its efficiency and performance on large-scale tasks. Despite its broad applications, there is still a lack of theoretical understanding of iForest's empirical success. In this work, we study the inductive bias of iForest and examine when and to what extent it performs well. The main idea is to characterize the random growth process of iForest, in which both split dimensions and split values are selected randomly. We model the growth process of iForest as a random walk and derive the expected path length function, the outcome of iForest that determines the anomaly score, by analyzing the hitting time of the absorbing state. The infinite-sample size analysis reveals that, unlike -Nearest Neighbor (-NN), whose score reflects only the local density, the iForest path length combines the density and the centrality. Since central points naturally have larger path lengths, iForest is therefore less sensitive to central anomalies. Analyses of fixed datasets corroborate this finding and further show that iForest is more parameter-adaptive than -NN. Our study provides a theoretical understanding of the effectiveness of iForest and establishes a foundation for further exploration.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on1
Related papers
- Anomaly Detection by an Ensemble of Random Pairs of HyperspheresWalid Durani, Collin Leiber, Khalid Durani, Claudia Plant et al.NeurIPS 2025 · 3 citations
- Privacy-Preserving Outlier Detection with High Efficiency over Distributed DatasetsGuanghong Lu, Chunhui Duan, Guohao Zhou, Xuan Ding et al.INFOCOM 2021 · 6 citations
- 6Forest: An Ensemble Learning-based Approach to Target Generation for Internet-wide IPv6 ScanningTao Yang, Zhiping Cai, Bingnan Hou, Tongqing ZhouINFOCOM 2022 · 49 citations
- Efficient Distributed Approximate k-Nearest Neighbor Graph Construction by Multiway Random Division ForestSang-Hong Kim, Ha-Myung ParkKDD 2023 · 4 citations
- Online Isolation ForestFilippo Leveni, Guilherme Weigert Cassales, Bernhard Pfahringer, Albert Bifet et al.ICML 2024 · 5 citations
