$p$-DkNN: Out-of-Distribution Detection Through Statistical Testing of Deep Representations
Adam Dziedzic, Stephan Rabanser, Mohammad Yaghini, Armin Ale, Murat A., Erdogdu, Nicolas Papernot

TL;DR
The paper introduces p-DkNN, a method that uses statistical testing of deep neural network representations to detect out-of-distribution data and estimate uncertainty, improving safety in critical applications.
Contribution
p-DkNN is a novel inference procedure that leverages hidden layer representations for OOD detection and uncertainty estimation, grounded in statistical hypothesis testing.
Findings
Effective OOD detection with high accuracy
Balances abstention and correct classification
Resists adversarial attacks by requiring meaningful input changes
Abstract
The lack of well-calibrated confidence estimates makes neural networks inadequate in safety-critical domains such as autonomous driving or healthcare. In these settings, having the ability to abstain from making a prediction on out-of-distribution (OOD) data can be as important as correctly classifying in-distribution data. We introduce -DkNN, a novel inference procedure that takes a trained deep neural network and analyzes the similarity structures of its intermediate hidden representations to compute -values associated with the end-to-end model prediction. The intuition is that statistical tests performed on latent representations can serve not only as a classifier, but also offer a statistically well-founded estimation of uncertainty. -DkNN is scalable and leverages the composition of representations learned by hidden layers, which makes deep representation learning…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Anomaly Detection Techniques and Applications · Cardiac Arrest and Resuscitation
