A General Framework For Detecting Anomalous Inputs to DNN Classifiers
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
Citing papers per year: 2021: 6; 2022: 6; 2023: 4; 2024: 4; 2025: 4.
24 papers.
Sort:
- 2021Detecting Adversarial Examples Is (Nearly) As Hard As Classifying Themcited by 48
- 2022Perturbation Learning Based Anomaly Detectioncited by 24
- 2023Detecting Adversarial Data by Probing Multiple Perturbations Using Expected Perturbation Scorecited by 20
- 2022Concept-based Explanations for Out-Of-Distribution Detectorscited by 16
- 2023Unsupervised Layer-wise Score Aggregation for Textual OOD Detectioncited by 15
- 2022CADet: Fully Self-Supervised Out-Of-Distribution Detection With Contrastive Learningcited by 11
- 2021SoK: Machine Learning Governancecited by 10
- 2024Towards Robust Vision Transformer via Masked Adaptive Ensemblecited by 4
- 2021Double-Adversarial Activation Anomaly Detection: Adversarial Autoencoders are Anomaly Generatorscited by 3
- 2021Unity is strength: Improving the Detection of Adversarial Examples with Ensemble Approachescited by 3
- 2025One Stone, Two Birds: Enhancing Adversarial Defense Through the Lens of Distributional Discrepancycited by 3
- 2021Adversarial Examples Detection with Bayesian Neural Networkcited by 2
12 more
- 2021FROB: Few-shot ROBust Model for Classification and Out-of-Distribution Detectioncited by 2
- 2022ADDMU: Detection of Far-Boundary Adversarial Examples with Data and Model Uncertainty Estimationcited by 2
- 2023Restricted Generative Projection for One-Class Classification and Anomaly Detectioncited by 2
- 2025Confidential Guardian: Cryptographically Prohibiting the Abuse of Model Abstentioncited by 2
- 2025Sample-Specific Noise Injection For Diffusion-Based Adversarial Purificationcited by 2
- 2022Out of Distribution Detection, Generalization, and Robustness Triangle with Maximum Probability Theoremcited by 0
- 2022Gradient Aligned Attacks via a Few Queriescited by 0
- 2023A Minimax Approach Against Multi-Armed Adversarial Attacks Detectioncited by 0
- 2024Optimal Zero-Shot Detector for Multi-Armed Attackscited by 0
- 2024Resilience and Security of Deep Neural Networks Against Intentional and Unintentional Perturbations: Survey and Research Challengescited by 0
- 2024Adversarial Detection with a Dynamically Stable Systemcited by 0
- 2025Anomaly Detection Based on Critical Paths for Deep Neural Networkscited by 0
- 2025Sample-Specific Noise Injection For Diffusion-Based Adversarial Purification6 Jun 2025
- 2025Confidential Guardian: Cryptographically Prohibiting the Abuse of Model Abstention29 May 2025
- 2025Anomaly Detection Based on Critical Paths for Deep Neural Networks20 May 2025
- 2025One Stone, Two Birds: Enhancing Adversarial Defense Through the Lens of Distributional Discrepancy4 Mar 2025
- 2024Adversarial Detection with a Dynamically Stable System11 Nov 2024
- 2024Resilience and Security of Deep Neural Networks Against Intentional and Unintentional Perturbations: Survey and Research Challenges31 Jul 2024
- 2024Towards Robust Vision Transformer via Masked Adaptive Ensemble22 Jul 2024
- 2024Optimal Zero-Shot Detector for Multi-Armed Attacks24 Feb 2024
- 2023Restricted Generative Projection for One-Class Classification and Anomaly Detection9 Jul 2023
- 2023Detecting Adversarial Data by Probing Multiple Perturbations Using Expected Perturbation Score25 May 2023
- 2023Unsupervised Layer-wise Score Aggregation for Textual OOD Detection20 Feb 2023
- 2023A Minimax Approach Against Multi-Armed Adversarial Attacks Detection4 Feb 2023
12 more
- 2022ADDMU: Detection of Far-Boundary Adversarial Examples with Data and Model Uncertainty Estimation22 Oct 2022
- 2022CADet: Fully Self-Supervised Out-Of-Distribution Detection With Contrastive Learning4 Oct 2022
- 2022Perturbation Learning Based Anomaly Detection6 Jun 2022
- 2022Gradient Aligned Attacks via a Few Queries19 May 2022
- 2022Out of Distribution Detection, Generalization, and Robustness Triangle with Maximum Probability Theorem23 Mar 2022
- 2022Concept-based Explanations for Out-Of-Distribution Detectors4 Mar 2022
- 2021FROB: Few-shot ROBust Model for Classification and Out-of-Distribution Detection30 Nov 2021
- 2021Unity is strength: Improving the Detection of Adversarial Examples with Ensemble Approaches24 Nov 2021
- 2021SoK: Machine Learning Governance20 Sep 2021
- 2021Detecting Adversarial Examples Is (Nearly) As Hard As Classifying Them24 Jul 2021
- 2021Adversarial Examples Detection with Bayesian Neural Network18 May 2021
- 2021Double-Adversarial Activation Anomaly Detection: Adversarial Autoencoders are Anomaly Generators12 Jan 2021
- 2021Detecting Adversarial Examples Is (Nearly) As Hard As Classifying Themcited by 48
- 2022Perturbation Learning Based Anomaly Detectioncited by 24
- 2023Detecting Adversarial Data by Probing Multiple Perturbations Using Expected Perturbation Scorecited by 20
- 2022Concept-based Explanations for Out-Of-Distribution Detectorscited by 16
- 2023Unsupervised Layer-wise Score Aggregation for Textual OOD Detectioncited by 15
- 2022CADet: Fully Self-Supervised Out-Of-Distribution Detection With Contrastive Learningcited by 11
- 2021SoK: Machine Learning Governancecited by 10
- 2024Towards Robust Vision Transformer via Masked Adaptive Ensemblecited by 4
- 2021Double-Adversarial Activation Anomaly Detection: Adversarial Autoencoders are Anomaly Generatorscited by 3
- 2021Unity is strength: Improving the Detection of Adversarial Examples with Ensemble Approachescited by 3
- 2025One Stone, Two Birds: Enhancing Adversarial Defense Through the Lens of Distributional Discrepancycited by 3
- 2021Adversarial Examples Detection with Bayesian Neural Networkcited by 2
12 most cited of 24 All 24 (JSON)
- 2025Sample-Specific Noise Injection For Diffusion-Based Adversarial Purification6 Jun 2025
- 2025Confidential Guardian: Cryptographically Prohibiting the Abuse of Model Abstention29 May 2025
- 2025Anomaly Detection Based on Critical Paths for Deep Neural Networks20 May 2025
- 2025One Stone, Two Birds: Enhancing Adversarial Defense Through the Lens of Distributional Discrepancy4 Mar 2025
- 2024Adversarial Detection with a Dynamically Stable System11 Nov 2024
- 2024Resilience and Security of Deep Neural Networks Against Intentional and Unintentional Perturbations: Survey and Research Challenges31 Jul 2024
- 2024Towards Robust Vision Transformer via Masked Adaptive Ensemble22 Jul 2024
- 2024Optimal Zero-Shot Detector for Multi-Armed Attacks24 Feb 2024
- 2023Restricted Generative Projection for One-Class Classification and Anomaly Detection9 Jul 2023
- 2023Detecting Adversarial Data by Probing Multiple Perturbations Using Expected Perturbation Score25 May 2023
- 2023Unsupervised Layer-wise Score Aggregation for Textual OOD Detection20 Feb 2023
- 2023A Minimax Approach Against Multi-Armed Adversarial Attacks Detection4 Feb 2023
12 newest of 24 All 24 (JSON)