A Uniform Framework for Anomaly Detection in Deep Neural Networks
Not on the map. Why?
Abstract (arXiv)
Deep neural networks (DNN) can achieve high performance when applied to In-Distribution (ID) data which come from the same distribution as the training set. When presented with anomaly inputs not from the ID, the outputs of a DNN should be regarded as meaningless. However, modern DNN often predict anomaly inputs as an ID class with high confidence, which is dangerous and misleading. In this work, we consider three classes of anomaly inputs, (1) natural inputs from a different distribution than the DNN is trained for, known as Out-of-Distribution (OOD) samples, (2) crafted inputs generated from ID by attackers, often known as adversarial (AD) samples, and (3) noise (NS) samples generated from meaningless data. We propose a framework that aims to detect all these anomalies for a pre-trained DNN. Unlike some of the existing works, our method does not require preprocessing of input data, nor is it dependent to any known OOD set or adversarial attack algorithm. Through extensive experiments over a variety of DNN models for the detection of aforementioned anomalies, we show that in most cases our method outperforms state-of-the-art anomaly detection methods in identifying all three classes of anomalies.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 28 of its 56 references that are in the map. First posted on arXiv 6 Oct 2021.
Builds on
28 of 56 references.
References · 28
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2016Adversarial examples in the physical worldcited by 1,762
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
- 2018Deep Anomaly Detection with Outlier Exposurecited by 939
- 2015The Limitations of Deep Learning in Adversarial Settingscited by 784
16 more
- 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
- 2019Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detectioncited by 560
- 2017Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methodscited by 542
- 2017Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networkscited by 484
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
- 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
- 2018Characterizing Adversarial Subspaces Using Local Intrinsic Dimensionalitycited by 280
- 2017Detecting Adversarial Samples from Artifactscited by 244
- 2018To Trust Or Not To Trust A Classifiercited by 205
- 2018Deep k-Nearest Neighbors: Towards Confident, Interpretable and Robust Deep Learningcited by 203
- 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
- 2018Improving Reconstruction Autoencoder Out-of-distribution Detection with Mahalanobis Distancecited by 74
- 2019Detecting Adversarial Samples Using Influence Functions and Nearest Neighborscited by 72
- 2019Detecting Out-of-Distribution Inputs in Deep Neural Networks Using an Early-Layer Outputcited by 20
- 2020Adversarial Detection and Correction by Matching Prediction Distributionscited by 7
- 2020Fast Distance-based Anomaly Detection in Images Using an Inception-like Autoencodercited by 4
Built on by
Citing papers per year: 2023: 2; 2024: 1; 2025: 1.
4 papers.
- 2023A Low-cost Strategic Monitoring Approach for Scalable and Interpretable Error Detection in Deep Neural Networkscited by 6
- 2023Self-Aware Trajectory Prediction for Safe Autonomous Drivingcited by 5
- 2025MetaSel: A Test Selection Approach for Fine-tuned DNN Modelscited by 3
- 2024Global Clipper: Enhancing Safety and Reliability of Transformer-based Object Detection Modelscited by 1
- 2025MetaSel: A Test Selection Approach for Fine-tuned DNN Models21 Mar 2025
- 2024Global Clipper: Enhancing Safety and Reliability of Transformer-based Object Detection Models5 Jun 2024
- 2023A Low-cost Strategic Monitoring Approach for Scalable and Interpretable Error Detection in Deep Neural Networks31 Oct 2023
- 2023Self-Aware Trajectory Prediction for Safe Autonomous Driving16 May 2023