Quantifying Statistical Significance of Deep Nearest Neighbor Anomaly Detection via Selective Inference
Not on the map. Why?
Abstract (arXiv)
In real-world applications, anomaly detection (AD) often operates without access to anomalous data, necessitating semi-supervised methods that rely solely on normal data. Among these methods, deep k-nearest neighbor (deep kNN) AD stands out for its interpretability and flexibility, leveraging distance-based scoring in deep latent spaces.Despite its strong performance, deep kNN lacks a mechanism to quantify uncertainty-an essential feature for critical applications such as industrial inspection. To address this limitation, we propose a statistical framework that quantifies the significance of detected anomalies in the form of p-values, thereby enabling control over false positive rates at a user-specified significance level (e.g.,0.05). A central challenge lies in managing selection bias, which we tackle using Selective Inference-a principled method for conducting inference conditioned on data-driven selections. We evaluate our method on diverse datasets and demonstrate that it provides reliable AD well-suited for industrial use cases.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 38 of its 62 references that are in the map. First posted on arXiv 18 Feb 2025.
Builds on
38 of 62 references.
References · 38
- 2018GANomaly: Semi-Supervised Anomaly Detection via Adversarial Trainingcited by 409
- 2022Diffusion Models for Medical Anomaly Detectioncited by 231
- 2018Adversarially Learned One-Class Classifier for Novelty Detectioncited by 202
- 2020Deep Nearest Neighbor Anomaly Detectioncited by 103
- 2013Exact post-selection inference, with application to the lassocited by 90
- 2014Optimal Inference After Model Selectioncited by 63
- 2014Exact Post-Selection Inference for Sequential Regression Procedurescited by 47
- 2020Selective Inference for Hierarchical Clusteringcited by 37
- 2017Valid Inference Corrected for Outlier Removalcited by 25
- 2019Testing for a Change in Mean After Changepoint Detectioncited by 25
- 2020Computing Valid p-value for Optimal Changepoint by Selective Inference using Dynamic Programmingcited by 25
- 2019Computing Valid p-values for Image Segmentation by Selective Inferencecited by 24
26 more
- 2021More Powerful Conditional Selective Inference for Generalized Lasso by Parametric Programmingcited by 24
- 2016Selective Inference for Group-Sparse Linear Modelscited by 21
- 2020Quantifying Statistical Significance of Neural Network-based Image Segmentation by Selective Inferencecited by 21
- 2022Selective inference for k-means clusteringcited by 21
- 2023Valid P-Value for Deep Learning-Driven Salient Regioncited by 17
- 2021Conditional Selective Inference for Robust Regression and Outlier Detection using Piecewise-Linear Homotopy Continuationcited by 16
- 2021Fast and More Powerful Selective Inference for Sparse High-order Interaction Modelcited by 15
- 2021Applications of Generative Adversarial Networks in Anomaly Detection: A Systematic Literature Reviewcited by 15
- 2014Exact Post Model Selection Inference for Marginal Screeningcited by 12
- 2018Image Anomalies: a Review and Synthesis of Detection Methodscited by 10
- 2023CAD-DA: Controllable Anomaly Detection after Domain Adaptation by Statistical Inferencecited by 10
- 2023REB: Reducing Biases in Representation for Industrial Anomaly Detectioncited by 9
- 2016Integrative Methods for Post-Selection Inference Under Convex Constraintscited by 7
- 2020More Powerful and General Selective Inference for Stepwise Feature Selection using the Homotopy Continuation Approachcited by 6
- 2024Statistical Test for Anomaly Detections by Variational Auto-Encoderscited by 6
- 2017Selective inference for the problem of regions via multiscale bootstrapcited by 5
- 2015Selective inference after cross-validationcited by 4
- 2020Approximate Post-Selective Inference for Regression with the Group LASSOcited by 4
- 2023Selective Inference for Changepoint detection by Recurrent Neural Networkcited by 4
- 2025si4onnx: A Python package for Selective Inference in Deep Learning Modelscited by 4
- 2016Exact Post-Selection Inference for Changepoint Detection and Other Generalized Lasso Problemscited by 3
- 2020Selective Inference for Latent Block Modelscited by 3
- 2024Statistical Test for Auto Feature Engineering by Selective Inferencecited by 3
- 2020Selective Inference for Additive and Linear Mixed Modelscited by 2
- 2024Statistical Inference for Feature Selection after Optimal Transport-based Domain Adaptationcited by 2
- 2025Change Point Detection in the Frequency Domain with Statistical Reliabilitycited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.