mlsanityData to 7 Oct 2026

When Flatness Does (Not) Guarantee Adversarial Robustness

arXiv 2510.14231 ↗First posted 16 Oct 2025cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Despite their empirical success, neural networks remain vulnerable to small, adversarial perturbations. A longstanding hypothesis suggests that flat minima, regions of low curvature in the loss landscape, offer increased robustness. While intuitive, this connection has remained largely informal and incomplete. By rigorously formalizing the relationship, we show this intuition is only partially correct: flatness implies local but not global adversarial robustness. To arrive at this result, we first derive a closed-form expression for relative flatness in the penultimate layer, and then show we can use this to constrain the variation of the loss in input space. This allows us to formally analyze the adversarial robustness of the entire network. We then show that to maintain robustness beyond a local neighborhood, the loss needs to curve sharply away from the data manifold. We validate our theoretical predictions empirically across architectures and datasets, uncovering the geometric structure that governs adversarial vulnerability, and linking flatness to model confidence: adversarial examples often lie in large, flat regions where the model is confidently wrong. Our results challenge simplified views of flatness and provide a nuanced understanding of its role in robustness.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 65 of its 82 references that are in the map. First posted on arXiv 16 Oct 2025.

Builds on

65 of 82 references.

References · 65

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  4. 2016Densely Connected Convolutional Networkscited by 6,691
  5. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  6. 2013Intriguing properties of neural networkscited by 5,114
  7. 2016Wide Residual Networkscited by 3,057
  8. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  9. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  10. 2016Understanding deep learning requires rethinking generalizationcited by 1,657
  11. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
  12. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
38 more
  1. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
  2. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
  3. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  4. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
  5. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
  6. 2016Adversarial Machine Learning at Scalecited by 934
  7. 2018Robustness May Be at Odds with Accuracycited by 873
  8. 2017Ensemble Adversarial Training: Attacks and Defensescited by 833
  9. 2015The Limitations of Deep Learning in Adversarial Settingscited by 784
  10. 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 776
  11. 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 682
  12. 2017Exploring Generalization in Deep Learningcited by 595
  13. 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 511
  14. 2020Overfitting in adversarially robust deep learningcited by 504
  15. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  16. 2017Sharp Minima Can Generalize For Deep Netscited by 462
  17. 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 431
  18. 2019Unlabeled Data Improves Adversarial Robustnesscited by 415
  19. 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 357
  20. 2019Provably Robust Deep Learning via Adversarially Trained Smoothed Classifierscited by 328
  21. 2018Adversarially Robust Generalization Requires More Datacited by 318
  22. 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
  23. 2017PixelDefend: Leveraging Generative Models to Understand and Defend against Adversarial Examplescited by 243
  24. 2021Improving Robustness using Generated Datacited by 233
  25. 2018Lipschitz-Margin Training: Scalable Certification of Perturbation Invariance for Deep Neural Networkscited by 193
  26. 2017Formal Guarantees on the Robustness of a Classifier against Adversarial Manipulationcited by 182
  27. 2018Disentangling Adversarial Robustness and Generalizationcited by 171
  28. 2019Are Labels Required for Improving Adversarial Robustness?cited by 162
  29. 2020Understanding and Mitigating the Tradeoff Between Robustness and Accuracycited by 148
  30. 2020Bridging Mode Connectivity in Loss Landscapes and Adversarial Robustnesscited by 130
  31. 2017Fisher-Rao Metric, Geometry, and Complexity of Neural Networkscited by 99
  32. 2023A Modern Look at the Relationship between Sharpness and Generalizationcited by 91
  33. 2018Curriculum Adversarial Trainingcited by 89
  34. 2020Relative Flatness and Generalizationcited by 88
  35. 2018Universal Adversarial Trainingcited by 85
  36. 2019Normalized Flat Minima: Exploring Scale Invariant Definition of Flat Minima for Neural Networks using PAC-Bayesian Analysiscited by 58
  37. 2021Relating Adversarially Robust Generalization to Flat Minimacited by 57
  38. 2022On the Maximum Hessian Eigenvalue and Generalizationcited by 57

50 most cited of 65 All 65 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.