Statistical Analysis of Nearest Neighbor Methods for Anomaly Detection

Xiaoyi Gu, Leman Akoglu, Alessandro Rinaldo
7/8/2019
stat.MLcs.LGmath.ST

Official code: xgu1/DTM (2 stars, Python, last commit 2019-10-27).

Abstract

Nearest-neighbor (NN) procedures are well studied and widely used in both supervised and unsupervised learning problems. In this paper we are concerned with investigating the performance of NN-based methods for anomaly detection.

Show full abstract

We first show through extensive simulations that NN methods compare favorably to some of the other state-of-the-art algorithms for anomaly detection based on a set of benchmark synthetic datasets. We further consider the performance of NN methods on real datasets, and relate it to the dimensionality of the problem. Next, we analyze the theoretical properties of NN-methods for anomaly detection by studying a more general quantity called distance-to-measure (DTM), originally developed in the literature on robust geometric and topological inference. We provide finite-sample uniform guarantees for the empirical DTM and use them to derive misclassification rates for anomalous observations under various settings. In our analysis we rely on Huber's contamination model and formulate mild geometric regularity assumptions on the underlying distribution of the data.

View on arXivView PDF

Code Implementations(1)

xgu1/DTMOfficial100%
20PythonOct 27, 20197 years ago

Similar Papers

Cite this paper

@article{gu2019statistical,
  title  = {Statistical Analysis of Nearest Neighbor Methods for Anomaly Detection},
  author = {Xiaoyi Gu and Leman Akoglu and Alessandro Rinaldo},
  year   = {2019},
  eprint = {1907.03813},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.03813}
}

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/1907.03813.svg)](https://codeofpaper.com/paper/1907.03813)

Discussion