English

Deep Nearest Neighbor Anomaly Detection

Machine Learning 2020-02-25 v1 Computer Vision and Pattern Recognition Machine Learning

Abstract

Nearest neighbors is a successful and long-standing technique for anomaly detection. Significant progress has been recently achieved by self-supervised deep methods (e.g. RotNet). Self-supervised features however typically under-perform Imagenet pre-trained features. In this work, we investigate whether the recent progress can indeed outperform nearest-neighbor methods operating on an Imagenet pretrained feature space. The simple nearest-neighbor based-approach is experimentally shown to outperform self-supervised methods in: accuracy, few shot generalization, training time and noise robustness while making fewer assumptions on image distributions.

Keywords

Cite

@article{arxiv.2002.10445,
  title  = {Deep Nearest Neighbor Anomaly Detection},
  author = {Liron Bergman and Niv Cohen and Yedid Hoshen},
  journal= {arXiv preprint arXiv:2002.10445},
  year   = {2020}
}
R2 v1 2026-06-23T13:52:06.517Z