PIDForest: Anomaly Detection via Partial Identification

Parikshit Gopalan, Vatsal Sharan, Udi Wieder
12/8/2019
cs.LGstat.ML

Official code: vatsalsharan/pidforest (26 stars, Jupyter Notebook, MIT, last commit 2020-02-18).

Abstract

We consider the problem of detecting anomalies in a large dataset. We propose a framework called Partial Identification which captures the intuition that anomalies are easy to distinguish from the overwhelming majority of points by relatively few attribute values.

Show full abstract

Formalizing this intuition, we propose a geometric anomaly measure for a point that we call PIDScore, which measures the minimum density of data points over all subcubes containing the point. We present PIDForest: a random forest based algorithm that finds anomalies based on this definition. We show that it performs favorably in comparison to several popular anomaly detection methods, across a broad range of benchmarks. PIDForest also provides a succinct explanation for why a point is labelled anomalous, by providing a set of features and ranges for them which are relatively uncommon in the dataset.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the PIDForest algorithm for anomaly detection

266Jupyter Notebook, PythonOct 27, 20196 years agoMIT

Similar Papers

Cite this paper

@article{gopalan2019pidforest,
  title  = {PIDForest: Anomaly Detection via Partial Identification},
  author = {Parikshit Gopalan and Vatsal Sharan and Udi Wieder},
  year   = {2019},
  eprint = {1912.03582},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.03582}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1912.03582.svg)](https://codeofpaper.com/paper/1912.03582)

Discussion