Your Out-of-Distribution Detection Method is Not Robust!
Not on the map. Why?
Abstract (arXiv)
Out-of-distribution (OOD) detection has recently gained substantial attention due to the importance of identifying out-of-domain samples in reliability and safety. Although OOD detection methods have advanced by a great deal, they are still susceptible to adversarial examples, which is a violation of their purpose. To mitigate this issue, several defenses have recently been proposed. Nevertheless, these efforts remained ineffective, as their evaluations are based on either small perturbation sizes, or weak attacks. In this work, we re-examine these defenses against an end-to-end PGD attack on in/out data with larger perturbation sizes, e.g. up to commonly used ε=8/255 for the CIFAR-10 dataset. Surprisingly, almost all of these defenses perform worse than a random detection under the adversarial setting. Next, we aim to provide a robust OOD detection method. In an ideal defense, the training should expose the model to almost all possible adversarial perturbations, which can be achieved through adversarial training. That is, such training perturbations should based on both in- and out-of-distribution samples. Therefore, unlike OOD detection in the standard setting, access to OOD, as well as in-distribution, samples sounds necessary in the adversarial training setup. These tips lead us to adopt generative OOD detection methods, such as OpenGAN, as a baseline. We subsequently propose the Adversarially Trained Discriminator (ATD), which utilizes a pre-trained robust model to extract robust features, and a generator model to create OOD samples. Using ATD with CIFAR-10 and CIFAR-100 as the in-distribution data, we could significantly outperform all previous methods in the robust AUROC while maintaining high standard AUROC and classification accuracy. The code repository is available at https://github.com/rohban-lab/ATD .
Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 53 of its 74 references that are in the map. First posted on arXiv 30 Sep 2022.
Builds on
53 of 74 references.
References · 53
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2013Intriguing properties of neural networkscited by 5,155
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2015Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networkscited by 2,054
- 2016Adversarial examples in the physical worldcited by 1,769
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
38 more
- 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
- 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,318
- 2020Energy-based Out-of-distribution Detectioncited by 1,299
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,268
- 2018Deep Anomaly Detection with Outlier Exposurecited by 942
- 2018Robustness May Be at Odds with Accuracycited by 880
- 2020Fast is better than free: Revisiting adversarial trainingcited by 727
- 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 685
- 2020RobustBench: a standardized adversarial robustness benchmarkcited by 661
- 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
- 2015Towards Open Set Deep Networkscited by 538
- 2018Object Detection with Deep Learning: A Reviewcited by 528
- 2018Threat of Adversarial Attacks on Deep Learning in Computer Vision: A Surveycited by 460
- 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
- 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 353
- 2018On the Effectiveness of Interval Bound Propagation for Training Verifiably Robust Modelscited by 328
- 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 207
- 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
- 2017Generative OpenMax for Multi-Class Open Set Classificationcited by 157
- 2021A Unified Survey on Anomaly, Novelty, Open-Set, and Out-of-Distribution Detection: Solutions and Future Challengescited by 154
- 2021Learning Placeholders for Open-Set Recognitioncited by 121
- 2020ATOM: Robustifying Out-of-distribution Detection Using Outlier Miningcited by 116
- 2020Learning Open Set Network with Discriminative Reciprocal Pointscited by 115
- 2020Hybrid Models for Open Set Recognitioncited by 109
- 2022POEM: Out-of-Distribution Detection with Posterior Samplingcited by 108
- 2020Adversarial Robustness on In- and Out-Distribution Improves Explainabilitycited by 73
- 2018Generative Adversarial Active Learning for Unsupervised Outlier Detectioncited by 65
- 2018Learning to Reconstruct Shapes from Unseen Classescited by 60
- 2020Robust Out-of-distribution Detection for Neural Networkscited by 57
- 2020ARAE: Adversarially Robust Training of Autoencoders Improves Novelty Detectioncited by 27
- 2020Open-set Adversarial Defensecited by 27
- 2022Open-set Adversarial Defense with Clean-Adversarial Mutual Learningcited by 21
- 2021Provably Robust Detection of Out-of-distribution Data (almost) for freecited by 18
- 2022Adversarial vulnerability of powerful near out-of-distribution detectioncited by 16
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2023: 4; 2024: 3; 2025: 6; 2026: 3.
16 papers.
Sort:
By area:
- 2023Encoding Time-Series Explanations through Self-Supervised Model Behavior Consistencycited by 42
- 2023Robust One-Class Classification with Signed Distance Function using 1-Lipschitz Neural Networkscited by 10
- 2025PatchGuard: Adversarially Robust Anomaly Detection and Localization through Vision Transformers and Pseudo Anomaliescited by 8
- 2025RODEO: Robust Outlier Detection via Exposing Adaptive Out-of-Distribution Samplescited by 7
- 2024Out-of-Distribution Data: An Acquaintance of Adversarial Examples -- A Surveycited by 6
- 2024Adversarially Robust Out-of-Distribution Detection Using Lyapunov-Stabilized Embeddingscited by 6
- 2025GHOST: Hallucination-Inducing Image Generation for Multimodal LLMscited by 4
- 2025Scanning Trojaned Models Using Out-of-Distribution Samplescited by 3
- 2024Deciphering the Definition of Adversarial Robustness for post-hoc OOD Detectorscited by 2
- 2026AI Security in the Foundation Model Era: A Comprehensive Survey from a Unified Perspectivecited by 1
- 2023Adapting Contrastive Language-Image Pretrained (CLIP) Models for Out-of-Distribution Detectioncited by 0
- 2023Familiarity-Based Open-Set Recognition Under Adversarial Attackscited by 0
4 more
- 2025HALO: Robust Out-of-Distribution Detection via Joint Optimisationcited by 0
- 2025Sharpness-Aware Geometric Defense for Robust Out-Of-Distribution Detectioncited by 0
- 2026SeNeDiF-OOD: Semantic Nested Dichotomy Fusion for Out-of-Distribution Detection Methodology in Open-World Classification. A Case Study on Monument Style Classificationcited by 0
- 2026A Robust Out-of-Distribution Detection Framework via Synergistic Smoothingcited by 0
- 2026A Robust Out-of-Distribution Detection Framework via Synergistic Smoothing5 May 2026
- 2026AI Security in the Foundation Model Era: A Comprehensive Survey from a Unified Perspective25 Mar 2026
- 2026SeNeDiF-OOD: Semantic Nested Dichotomy Fusion for Out-of-Distribution Detection Methodology in Open-World Classification. A Case Study on Monument Style Classification26 Jan 2026
- 2025GHOST: Hallucination-Inducing Image Generation for Multimodal LLMs29 Sep 2025
- 2025Sharpness-Aware Geometric Defense for Robust Out-Of-Distribution Detection24 Aug 2025
- 2025PatchGuard: Adversarially Robust Anomaly Detection and Localization through Vision Transformers and Pseudo Anomalies10 Jun 2025
- 2025HALO: Robust Out-of-Distribution Detection via Joint Optimisation27 Feb 2025
- 2025Scanning Trojaned Models Using Out-of-Distribution Samples28 Jan 2025
- 2025RODEO: Robust Outlier Detection via Exposing Adaptive Out-of-Distribution Samples28 Jan 2025
- 2024Adversarially Robust Out-of-Distribution Detection Using Lyapunov-Stabilized Embeddings14 Oct 2024
- 2024Deciphering the Definition of Adversarial Robustness for post-hoc OOD Detectors21 Jun 2024
- 2024Out-of-Distribution Data: An Acquaintance of Adversarial Examples -- A Survey8 Apr 2024
4 more
- 2023Familiarity-Based Open-Set Recognition Under Adversarial Attacks8 Nov 2023
- 2023Encoding Time-Series Explanations through Self-Supervised Model Behavior Consistency3 Jun 2023
- 2023Adapting Contrastive Language-Image Pretrained (CLIP) Models for Out-of-Distribution Detection10 Mar 2023
- 2023Robust One-Class Classification with Signed Distance Function using 1-Lipschitz Neural Networks26 Jan 2023
- 2023Encoding Time-Series Explanations through Self-Supervised Model Behavior Consistencycited by 42
- 2023Robust One-Class Classification with Signed Distance Function using 1-Lipschitz Neural Networkscited by 10
- 2025PatchGuard: Adversarially Robust Anomaly Detection and Localization through Vision Transformers and Pseudo Anomaliescited by 8
- 2025RODEO: Robust Outlier Detection via Exposing Adaptive Out-of-Distribution Samplescited by 7
- 2024Out-of-Distribution Data: An Acquaintance of Adversarial Examples -- A Surveycited by 6
- 2024Adversarially Robust Out-of-Distribution Detection Using Lyapunov-Stabilized Embeddingscited by 6
- 2024Deciphering the Definition of Adversarial Robustness for post-hoc OOD Detectorscited by 2
- 2023Adapting Contrastive Language-Image Pretrained (CLIP) Models for Out-of-Distribution Detectioncited by 0
- 2023Familiarity-Based Open-Set Recognition Under Adversarial Attackscited by 0
- 2025HALO: Robust Out-of-Distribution Detection via Joint Optimisationcited by 0
- 2025Sharpness-Aware Geometric Defense for Robust Out-Of-Distribution Detectioncited by 0
- 2026SeNeDiF-OOD: Semantic Nested Dichotomy Fusion for Out-of-Distribution Detection Methodology in Open-World Classification. A Case Study on Monument Style Classificationcited by 0
12 most cited of 13 All 13 (JSON)
- 2026A Robust Out-of-Distribution Detection Framework via Synergistic Smoothing5 May 2026
- 2026SeNeDiF-OOD: Semantic Nested Dichotomy Fusion for Out-of-Distribution Detection Methodology in Open-World Classification. A Case Study on Monument Style Classification26 Jan 2026
- 2025Sharpness-Aware Geometric Defense for Robust Out-Of-Distribution Detection24 Aug 2025
- 2025PatchGuard: Adversarially Robust Anomaly Detection and Localization through Vision Transformers and Pseudo Anomalies10 Jun 2025
- 2025HALO: Robust Out-of-Distribution Detection via Joint Optimisation27 Feb 2025
- 2025RODEO: Robust Outlier Detection via Exposing Adaptive Out-of-Distribution Samples28 Jan 2025
- 2024Adversarially Robust Out-of-Distribution Detection Using Lyapunov-Stabilized Embeddings14 Oct 2024
- 2024Deciphering the Definition of Adversarial Robustness for post-hoc OOD Detectors21 Jun 2024
- 2024Out-of-Distribution Data: An Acquaintance of Adversarial Examples -- A Survey8 Apr 2024
- 2023Familiarity-Based Open-Set Recognition Under Adversarial Attacks8 Nov 2023
- 2023Encoding Time-Series Explanations through Self-Supervised Model Behavior Consistency3 Jun 2023
- 2023Adapting Contrastive Language-Image Pretrained (CLIP) Models for Out-of-Distribution Detection10 Mar 2023
12 newest of 13 All 13 (JSON)