about
Extended Isolation Forest (arxiv.org)
3 points by pplonski86 on Mar 13, 2019 | hide | past | pdf | discuss on HN

In plain words: Anomaly scores from the usual isolation forest, which cuts data with straight axis-aligned slices, show stripe-like artifacts. Letting each cut use a randomly tilted plane removes those artifacts and steadies the scores, with no extra computation time.

Abstract

We present an extension to the model-free anomaly detection algorithm, Isolation Forest. This extension, named Extended Isolation Forest (EIF), resolves issues with assignment of anomaly score to given data points. We motivate the problem using heat maps for anomaly scores. These maps suffer from artifacts generated by the criteria for branching operation of the binary tree. We explain this problem in detail and demonstrate the mechanism by which it occurs visually. We then propose two different approaches for improving the situation. First we propose transforming the data randomly before creation of each tree, which results in averaging out the bias. Second, which is the preferred way, is to allow the slicing of the data to use hyperplanes with random slopes. This approach results in remedying the artifact seen in the anomaly score heat maps. We show that the robustness of the algorithm is much improved using this method by looking at the variance of scores of data points distributed along constant level sets. We report AUROC and AUPRC for our synthetic datasets, along with real-world benchmark datasets. We find no appreciable difference in the rate of convergence nor in computation time between the standard Isolation Forest and EIF.

Sahand Hariri, Matias Carrasco Kind, Robert J. Brunner
arXiv:1811.02141 · cs.LG, astro-ph.IM, stat.ML · submitted Nov 6, 2018 · updated Jul 8, 2020
abstract · pdf · html · 12 pages; 21 figures, Published. Open source code in https://github.com/sahandha/eif

add comment on HN