mlsanityData to 14 Oct 2026

Your Out-of-Distribution Detection Method is Not Robust!

arXiv 2209.15246 ↗First posted 30 Sep 2022cs.CV cs.LGcited by 16

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

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  4. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  5. 2013Intriguing properties of neural networkscited by 5,155
  6. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
  7. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  8. 2015Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networkscited by 2,054
  9. 2016Adversarial examples in the physical worldcited by 1,769
  10. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
  11. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  12. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
38 more
  1. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
  2. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
  3. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
  4. 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,318
  5. 2020Energy-based Out-of-distribution Detectioncited by 1,299
  6. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,268
  7. 2018Deep Anomaly Detection with Outlier Exposurecited by 942
  8. 2018Robustness May Be at Odds with Accuracycited by 880
  9. 2020Fast is better than free: Revisiting adversarial trainingcited by 727
  10. 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 685
  11. 2020RobustBench: a standardized adversarial robustness benchmarkcited by 661
  12. 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
  13. 2015Towards Open Set Deep Networkscited by 538
  14. 2018Object Detection with Deep Learning: A Reviewcited by 528
  15. 2018Threat of Adversarial Attacks on Deep Learning in Computer Vision: A Surveycited by 460
  16. 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
  17. 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 353
  18. 2018On the Effectiveness of Interval Bound Propagation for Training Verifiably Robust Modelscited by 328
  19. 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
  20. 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
  21. 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 207
  22. 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
  23. 2017Generative OpenMax for Multi-Class Open Set Classificationcited by 157
  24. 2021A Unified Survey on Anomaly, Novelty, Open-Set, and Out-of-Distribution Detection: Solutions and Future Challengescited by 154
  25. 2021Learning Placeholders for Open-Set Recognitioncited by 121
  26. 2020ATOM: Robustifying Out-of-distribution Detection Using Outlier Miningcited by 116
  27. 2020Learning Open Set Network with Discriminative Reciprocal Pointscited by 115
  28. 2020Hybrid Models for Open Set Recognitioncited by 109
  29. 2022POEM: Out-of-Distribution Detection with Posterior Samplingcited by 108
  30. 2020Adversarial Robustness on In- and Out-Distribution Improves Explainabilitycited by 73
  31. 2018Generative Adversarial Active Learning for Unsupervised Outlier Detectioncited by 65
  32. 2018Learning to Reconstruct Shapes from Unseen Classescited by 60
  33. 2020Robust Out-of-distribution Detection for Neural Networkscited by 57
  34. 2020ARAE: Adversarially Robust Training of Autoencoders Improves Novelty Detectioncited by 27
  35. 2020Open-set Adversarial Defensecited by 27
  36. 2022Open-set Adversarial Defense with Clean-Adversarial Mutual Learningcited by 21
  37. 2021Provably Robust Detection of Out-of-distribution Data (almost) for freecited by 18
  38. 2022Adversarial vulnerability of powerful near out-of-distribution detectioncited by 16

50 most cited of 53 All 53 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 4; 2024: 3; 2025: 6; 2026: 3.

16 papers.

Sort:

By area:

  1. 2023Encoding Time-Series Explanations through Self-Supervised Model Behavior Consistencycited by 42
  2. 2023Robust One-Class Classification with Signed Distance Function using 1-Lipschitz Neural Networkscited by 10
  3. 2025PatchGuard: Adversarially Robust Anomaly Detection and Localization through Vision Transformers and Pseudo Anomaliescited by 8
  4. 2025RODEO: Robust Outlier Detection via Exposing Adaptive Out-of-Distribution Samplescited by 7
  5. 2024Out-of-Distribution Data: An Acquaintance of Adversarial Examples -- A Surveycited by 6
  6. 2024Adversarially Robust Out-of-Distribution Detection Using Lyapunov-Stabilized Embeddingscited by 6
  7. 2025GHOST: Hallucination-Inducing Image Generation for Multimodal LLMscited by 4
  8. 2025Scanning Trojaned Models Using Out-of-Distribution Samplescited by 3
  9. 2024Deciphering the Definition of Adversarial Robustness for post-hoc OOD Detectorscited by 2
  10. 2026AI Security in the Foundation Model Era: A Comprehensive Survey from a Unified Perspectivecited by 1
  11. 2023Adapting Contrastive Language-Image Pretrained (CLIP) Models for Out-of-Distribution Detectioncited by 0
  12. 2023Familiarity-Based Open-Set Recognition Under Adversarial Attackscited by 0
4 more
  1. 2025HALO: Robust Out-of-Distribution Detection via Joint Optimisationcited by 0
  2. 2025Sharpness-Aware Geometric Defense for Robust Out-Of-Distribution Detectioncited by 0
  3. 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
  4. 2026A Robust Out-of-Distribution Detection Framework via Synergistic Smoothingcited by 0