Statistical Analysis of Nearest Neighbor Methods for Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
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. 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.
Key facts. Cited by 29 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Jul 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 4; 2023: 7; 2024: 6; 2025: 4; 2026: 4.
29 papers.
Sort:
By area:
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
- 2021Revisiting Mahalanobis Distance for Transformer-Based Out-of-Domain Detectioncited by 67
- 2023A Survey on Out-of-Distribution Detection in NLPcited by 31
- 2021GOLD: Improving Out-of-Scope Detection in Dialogues using Data Augmentationcited by 20
- 2022TPU-KNN: K Nearest Neighbor Search at Peak FLOP/scited by 18
- 2024Fundamental Limitations on Subquadratic Alternatives to Transformerscited by 9
- 2021Enhancing Unsupervised Anomaly Detection with Score-Guided Networkcited by 8
- 2024On the Detection of Reviewer-Author Collusion Rings From Paper Biddingcited by 7
- 2024Data Distribution Valuationcited by 5
- 2023Semi-Supervised Object Detection with Uncurated Unlabeled Data for Remote Sensing Imagescited by 4
- 2025Outlier Synthesis via Hamiltonian Monte Carlo for Out-of-Distribution Detectioncited by 4
- 2025We Need to Rethink Benchmarking in Anomaly Detectioncited by 4
17 more
- 2023k-NNN: Nearest Neighbors of Neighbors for Anomaly Detectioncited by 3
- 2023Understanding the limitations of self-supervised learning for tabular anomaly detectioncited by 3
- 2025Unsupervised Surrogate Anomaly Detectioncited by 3
- 2023Debunking Free Fusion Myth: Online Multi-view Anomaly Detection with Disentangled Product-of-Experts Modelingcited by 2
- 2024On the True Distribution Approximation of Minimum Bayes-Risk Decodingcited by 2
- 2024CKNN: Cleansed k-Nearest Neighbor for Unsupervised Video Anomaly Detectioncited by 2
- 2021Improving Novelty Detection using the Reconstructions of Nearest Neighbourscited by 1
- 2022Model-free feature selection to facilitate automatic discovery of divergent subgroups in tabular datacited by 1
- 2023CoLaDa: A Collaborative Label Denoising Framework for Cross-lingual Named Entity Recognitioncited by 1
- 2023Detecting and Learning Out-of-Distribution Data in the Open world: Algorithm and Theorycited by 1
- 2024Exploring the Impact of Outlier Variability on Anomaly Detection Evaluation Metricscited by 1
- 2026GPU-Accelerated ANNS: Quantized for Speed, Built for Changecited by 1
- 2022Sparsity-based Feature Selection for Anomalous Subgroup Discoverycited by 0
- 2025UniOD: A Universal Model for Outlier Detection across Diverse Domainscited by 0
- 2026Transformer Based Machine Fault Detection From Audio Inputcited by 0
- 2026Guided Discovery of New Behaviors using Diffusion Policiescited by 0
- 2026Streaming algorithms for robust max-min diversificationcited by 0
- 2026Streaming algorithms for robust max-min diversification1 Oct 2026
- 2026Guided Discovery of New Behaviors using Diffusion Policies7 Jun 2026
- 2026Transformer Based Machine Fault Detection From Audio Input14 Apr 2026
- 2026GPU-Accelerated ANNS: Quantized for Speed, Built for Change11 Jan 2026
- 2025We Need to Rethink Benchmarking in Anomaly Detection21 Jul 2025
- 2025UniOD: A Universal Model for Outlier Detection across Diverse Domains9 Jul 2025
- 2025Unsupervised Surrogate Anomaly Detection29 Apr 2025
- 2025Outlier Synthesis via Hamiltonian Monte Carlo for Out-of-Distribution Detection28 Jan 2025
- 2024Data Distribution Valuation6 Oct 2024
- 2024Fundamental Limitations on Subquadratic Alternatives to Transformers5 Oct 2024
- 2024Exploring the Impact of Outlier Variability on Anomaly Detection Evaluation Metrics24 Sep 2024
- 2024CKNN: Cleansed k-Nearest Neighbor for Unsupervised Video Anomaly Detection6 Aug 2024
17 more
- 2024On the True Distribution Approximation of Minimum Bayes-Risk Decoding31 Mar 2024
- 2024On the Detection of Reviewer-Author Collusion Rings From Paper Bidding12 Feb 2024
- 2023Debunking Free Fusion Myth: Online Multi-view Anomaly Detection with Disentangled Product-of-Experts Modeling28 Oct 2023
- 2023Detecting and Learning Out-of-Distribution Data in the Open world: Algorithm and Theory10 Oct 2023
- 2023Semi-Supervised Object Detection with Uncurated Unlabeled Data for Remote Sensing Images9 Oct 2023
- 2023Understanding the limitations of self-supervised learning for tabular anomaly detection15 Sep 2023
- 2023k-NNN: Nearest Neighbors of Neighbors for Anomaly Detection28 May 2023
- 2023CoLaDa: A Collaborative Label Denoising Framework for Cross-lingual Named Entity Recognition24 May 2023
- 2023A Survey on Out-of-Distribution Detection in NLP5 May 2023
- 2022TPU-KNN: K Nearest Neighbor Search at Peak FLOP/s28 Jun 2022
- 2022Out-of-Distribution Detection with Deep Nearest Neighbors13 Apr 2022
- 2022Model-free feature selection to facilitate automatic discovery of divergent subgroups in tabular data8 Mar 2022
- 2022Sparsity-based Feature Selection for Anomalous Subgroup Discovery6 Jan 2022
- 2021Improving Novelty Detection using the Reconstructions of Nearest Neighbours11 Nov 2021
- 2021Enhancing Unsupervised Anomaly Detection with Score-Guided Network10 Sep 2021
- 2021GOLD: Improving Out-of-Scope Detection in Dialogues using Data Augmentation7 Sep 2021
- 2021Revisiting Mahalanobis Distance for Transformer-Based Out-of-Domain Detection11 Jan 2021
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
- 2021Revisiting Mahalanobis Distance for Transformer-Based Out-of-Domain Detectioncited by 67
- 2023A Survey on Out-of-Distribution Detection in NLPcited by 31
- 2021GOLD: Improving Out-of-Scope Detection in Dialogues using Data Augmentationcited by 20
- 2022TPU-KNN: K Nearest Neighbor Search at Peak FLOP/scited by 18
- 2021Enhancing Unsupervised Anomaly Detection with Score-Guided Networkcited by 8
- 2024On the Detection of Reviewer-Author Collusion Rings From Paper Biddingcited by 7
- 2024Data Distribution Valuationcited by 5
- 2023Semi-Supervised Object Detection with Uncurated Unlabeled Data for Remote Sensing Imagescited by 4
- 2025Outlier Synthesis via Hamiltonian Monte Carlo for Out-of-Distribution Detectioncited by 4
- 2025We Need to Rethink Benchmarking in Anomaly Detectioncited by 4
- 2023k-NNN: Nearest Neighbors of Neighbors for Anomaly Detectioncited by 3
12 most cited of 27 All 27 (JSON)
- 2026Streaming algorithms for robust max-min diversification1 Oct 2026
- 2026Transformer Based Machine Fault Detection From Audio Input14 Apr 2026
- 2026GPU-Accelerated ANNS: Quantized for Speed, Built for Change11 Jan 2026
- 2025We Need to Rethink Benchmarking in Anomaly Detection21 Jul 2025
- 2025UniOD: A Universal Model for Outlier Detection across Diverse Domains9 Jul 2025
- 2025Unsupervised Surrogate Anomaly Detection29 Apr 2025
- 2025Outlier Synthesis via Hamiltonian Monte Carlo for Out-of-Distribution Detection28 Jan 2025
- 2024Data Distribution Valuation6 Oct 2024
- 2024Exploring the Impact of Outlier Variability on Anomaly Detection Evaluation Metrics24 Sep 2024
- 2024CKNN: Cleansed k-Nearest Neighbor for Unsupervised Video Anomaly Detection6 Aug 2024
- 2024On the True Distribution Approximation of Minimum Bayes-Risk Decoding31 Mar 2024
- 2024On the Detection of Reviewer-Author Collusion Rings From Paper Bidding12 Feb 2024
12 newest of 27 All 27 (JSON)