mlsanityData to 14 Oct 2026

A General Framework For Detecting Anomalous Inputs to DNN Classifiers

arXiv 2007.15147 ↗First posted 29 Jul 2020cs.LG cs.CR stat.MLcited by 24

Not on the map. Why?

Abstract (arXiv)

Detecting anomalous inputs, such as adversarial and out-of-distribution (OOD) inputs, is critical for classifiers (including deep neural networks or DNNs) deployed in real-world applications. While prior works have proposed various methods to detect such anomalous samples using information from the internal layer representations of a DNN, there is a lack of consensus on a principled approach for the different components of such a detection method. As a result, often heuristic and one-off methods are applied for different aspects of this problem. We propose an unsupervised anomaly detection framework based on the internal DNN layer representations in the form of a meta-algorithm with configurable components. We proceed to propose specific instantiations for each component of the meta-algorithm based on ideas grounded in statistical testing and anomaly detection. We evaluate the proposed methods on well-known image classification datasets with strong adversarial attacks and OOD inputs, including an adaptive attack that uses the internal layer representations of the DNN (often not considered in prior work). Comparisons with five recently-proposed competing detection methods demonstrates the effectiveness of our method in detecting adversarial and OOD inputs.

Key facts. Cited by 24 papers in the map (data through 14 Oct 2026). First posted on arXiv 29 Jul 2020.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2021: 6; 2022: 6; 2023: 4; 2024: 4; 2025: 4.

24 papers.

Sort:

  1. 2021Detecting Adversarial Examples Is (Nearly) As Hard As Classifying Themcited by 48
  2. 2022Perturbation Learning Based Anomaly Detectioncited by 24
  3. 2023Detecting Adversarial Data by Probing Multiple Perturbations Using Expected Perturbation Scorecited by 20
  4. 2022Concept-based Explanations for Out-Of-Distribution Detectorscited by 16
  5. 2023Unsupervised Layer-wise Score Aggregation for Textual OOD Detectioncited by 15
  6. 2022CADet: Fully Self-Supervised Out-Of-Distribution Detection With Contrastive Learningcited by 11
  7. 2021SoK: Machine Learning Governancecited by 10
  8. 2024Towards Robust Vision Transformer via Masked Adaptive Ensemblecited by 4
  9. 2021Double-Adversarial Activation Anomaly Detection: Adversarial Autoencoders are Anomaly Generatorscited by 3
  10. 2021Unity is strength: Improving the Detection of Adversarial Examples with Ensemble Approachescited by 3
  11. 2025One Stone, Two Birds: Enhancing Adversarial Defense Through the Lens of Distributional Discrepancycited by 3
  12. 2021Adversarial Examples Detection with Bayesian Neural Networkcited by 2
12 more
  1. 2021FROB: Few-shot ROBust Model for Classification and Out-of-Distribution Detectioncited by 2
  2. 2022ADDMU: Detection of Far-Boundary Adversarial Examples with Data and Model Uncertainty Estimationcited by 2
  3. 2023Restricted Generative Projection for One-Class Classification and Anomaly Detectioncited by 2
  4. 2025Confidential Guardian: Cryptographically Prohibiting the Abuse of Model Abstentioncited by 2
  5. 2025Sample-Specific Noise Injection For Diffusion-Based Adversarial Purificationcited by 2
  6. 2022Out of Distribution Detection, Generalization, and Robustness Triangle with Maximum Probability Theoremcited by 0
  7. 2022Gradient Aligned Attacks via a Few Queriescited by 0
  8. 2023A Minimax Approach Against Multi-Armed Adversarial Attacks Detectioncited by 0
  9. 2024Optimal Zero-Shot Detector for Multi-Armed Attackscited by 0
  10. 2024Resilience and Security of Deep Neural Networks Against Intentional and Unintentional Perturbations: Survey and Research Challengescited by 0
  11. 2024Adversarial Detection with a Dynamically Stable Systemcited by 0
  12. 2025Anomaly Detection Based on Critical Paths for Deep Neural Networkscited by 0