mlsanityData to 14 Oct 2026

Sharpness-Aware Geometric Defense for Robust Out-Of-Distribution Detection

arXiv 2508.17174 ↗First posted 24 Aug 2025cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Out-of-distribution (OOD) detection ensures safe and reliable model deployment. Contemporary OOD algorithms using geometry projection can detect OOD or adversarial samples from clean in-distribution (ID) samples. However, this setting regards adversarial ID samples as OOD, leading to incorrect OOD predictions. Existing efforts on OOD detection with ID and OOD data under attacks are minimal. In this paper, we develop a robust OOD detection method that distinguishes adversarial ID samples from OOD ones. The sharp loss landscape created by adversarial training hinders model convergence, impacting the latent embedding quality for OOD score calculation. Therefore, we introduce a bf Sharpness-aware Geometric Defense (SaGD) framework to smooth out the rugged adversarial loss landscape in the projected latent geometry. Enhanced geometric embedding convergence enables accurate ID data characterization, benefiting OOD detection against adversarial attacks. We use Jitter-based perturbation in adversarial training to extend the defense ability against unseen attacks. Our SaGD framework significantly improves FPR and AUC over the state-of-the-art defense approaches in differentiating CIFAR-100 from six other OOD datasets under various attacks. We further examine the effects of perturbations at various adversarial training levels, revealing the relationship between the sharp loss landscape and adversarial OOD detection.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 45 of its 54 references that are in the map. First posted on arXiv 24 Aug 2025.

Builds on

45 of 54 references.

References · 45

  1. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  2. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  3. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
  4. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  5. 2013Describing Textures in the Wildcited by 2,125
  6. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  7. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
  8. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
  9. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
  10. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
  11. 2020Energy-based Out-of-distribution Detectioncited by 1,299
  12. 2018Deep Anomaly Detection with Outlier Exposurecited by 942
33 more
  1. 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
  2. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
  3. 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
  4. 2021Towards Out-Of-Distribution Generalization: A Surveycited by 436
  5. 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
  6. 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 405
  7. 2019Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attackcited by 334
  8. 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
  9. 2019Hyperbolic Image Embeddingscited by 221
  10. 2022Extremely Simple Activation Shaping for Out-of-Distribution Detectioncited by 212
  11. 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
  12. 2020Torchattacks: A PyTorch Repository for Adversarial Attackscited by 158
  13. 2020Entropy Maximization and Meta Classification for Out-Of-Distribution Detection in Semantic Segmentationcited by 133
  14. 2022How to Exploit Hyperspherical Embeddings for Out-of-Distribution Detection?cited by 128
  15. 2020ATOM: Robustifying Out-of-distribution Detection Using Outlier Miningcited by 116
  16. 2022Hyperbolic Vision Transformers: Combining Improvements in Metric Learningcited by 111
  17. 2022Is Out-of-Distribution Detection Learnable?cited by 109
  18. 2020Boosting Adversarial Training with Hypersphere Embeddingcited by 97
  19. 2020On the Loss Landscape of Adversarial Training: Identifying Challenges and How to Overcome Themcited by 59
  20. 2020Robust Out-of-distribution Detection for Neural Networkscited by 57
  21. 2021Clipped Hyperbolic Classifiers Are Super-Hyperbolic Classifierscited by 57
  22. 2021Exploring Misclassifications of Robust Neural Networks to Enhance Adversarial Attackscited by 33
  23. 2020Open-set Adversarial Defensecited by 27
  24. 2022Open-set Adversarial Defense with Clean-Adversarial Mutual Learningcited by 21
  25. 2022Your Out-of-Distribution Detection Method is Not Robust!cited by 16
  26. 2023Sharpness-Aware Minimization Alone can Improve Adversarial Robustnesscited by 14
  27. 2022Rethinking Few-Shot Class-Incremental Learning with Open-Set Hypothesis in Hyperbolic Geometrycited by 12
  28. 2021Out-of-distribution Detection with Boundary Aware Learningcited by 11
  29. 2022Improving Adversarial Robustness by Putting More Regularizations on Less Robust Samplescited by 11
  30. 2021Adversarial Training Makes Weight Loss Landscape Sharper in Logistic Regressioncited by 5
  31. 2023Improving Adversarial Robustness with Hypersphere Embedding and Angular-based Regularizationscited by 5
  32. 2022Why Adversarial Training of ReLU Networks Is Difficult?cited by 4
  33. 2024Learning Multi-Manifold Embedding for Out-Of-Distribution Detectioncited by 3

Built on by

Not cited yet.