mlsanityData to 7 Oct 2026

On the Robustness of Bayesian Neural Networks to Adversarial Attacks

arXiv 2207.06154 ↗First posted 13 Jul 2022cs.LG cs.AI cs.CRcited by 12

Not on the map. Why?

Abstract (arXiv)

Vulnerability to adversarial attacks is one of the principal hurdles to the adoption of deep learning in safety-critical applications. Despite significant efforts, both practical and theoretical, training deep learning models robust to adversarial attacks is still an open problem. In this paper, we analyse the geometry of adversarial attacks in the large-data, overparameterized limit for Bayesian Neural Networks (BNNs). We show that, in the limit, vulnerability to gradient-based attacks arises as a result of degeneracy in the data distribution, i.e., when the data lies on a lower-dimensional submanifold of the ambient space. As a direct consequence, we demonstrate that in this limit BNN posteriors are robust to gradient-based adversarial attacks. Crucially, we prove that the expected gradient of the loss with respect to the BNN posterior distribution is vanishing, even when each neural network sampled from the posterior is vulnerable to gradient-based attacks. Experimental results on the MNIST, Fashion MNIST, and half moons datasets, representing the finite data regime, with BNNs trained with Hamiltonian Monte Carlo and Variational Inference, support this line of arguments, showing that BNNs can display both high accuracy on clean data and robustness to both gradient-based and gradient-free based adversarial attacks.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 54 of its 85 references that are in the map. First posted on arXiv 13 Jul 2022.

Builds on

54 of 85 references.

References · 54

  1. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  2. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  3. 2013Intriguing properties of neural networkscited by 5,114
  4. 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
  5. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
  6. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  7. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
  8. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
  9. 2018Robustness May Be at Odds with Accuracycited by 873
  10. 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 656
  11. 2017Deep Neural Networks as Gaussian Processescited by 617
  12. 2019A Simple Baseline for Bayesian Uncertainty in Deep Learningcited by 555
38 more
  1. 2015Weight Uncertainty in Neural Networkscited by 554
  2. 2017Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methodscited by 542
  3. 2017Wild Patterns: Ten Years After the Rise of Adversarial Machine Learningcited by 411
  4. 2017Adversarial Examples: Attacks and Defenses for Deep Learningcited by 350
  5. 2018Gaussian Process Behaviour in Wide Deep Neural Networkscited by 314
  6. 2017Detecting Adversarial Samples from Artifactscited by 244
  7. 2018When Gaussian Process Meets Big Data: A Review of Scalable GPscited by 205
  8. 2018Understanding Measures of Uncertainty for Adversarial Example Detectioncited by 177
  9. 2018Bayesian Deep Convolutional Networks with Many Channels are Gaussian Processescited by 164
  10. 2018Deep Convolutional Networks as shallow Gaussian Processescited by 137
  11. 2018Is Robustness the Cost of Accuracy? -- A Comprehensive Study on the Robustness of 18 Deep Image Classification Modelscited by 135
  12. 2019A Function Space View of Bounded Norm Infinite Width ReLU Nets: The Multivariate Casecited by 113
  13. 2019Defensive Quantization: When Efficiency Meets Robustnesscited by 95
  14. 2017Noisy Natural Gradient as Variational Inferencecited by 94
  15. 2018Adversarial vulnerability for any classifiercited by 78
  16. 2020Fairwashing Explanations with Off-Manifold Detergentcited by 71
  17. 2018Adv-BNN: Improved Adversarial Defense through Robust Bayesian Neural Networkcited by 68
  18. 2018Adversarial Examples: Opportunities and Challengescited by 62
  19. 2020All You Need is a Good Functional Prior for Bayesian Deep Learningcited by 61
  20. 2019Uncertainty Quantification with Statistical Guarantees in End-to-End Autonomous Driving Controlcited by 60
  21. 2020Robustness of Bayesian Neural Networks to Gradient-Based Attackscited by 48
  22. 2018On the Geometry of Adversarial Examplescited by 43
  23. 2020Probabilistic Safety for Bayesian Neural Networkscited by 41
  24. 2019Adversarial Examples in Modern Machine Learning: A Reviewcited by 36
  25. 2019Statistical Guarantees for the Robustness of Bayesian Neural Networkscited by 35
  26. 2020Exact posterior distributions of wide Bayesian neural networkscited by 29
  27. 2017Dropout Inference in Bayesian Neural Networks with Alpha-divergencescited by 28
  28. 2021Bayesian Inference with Certifiable Adversarial Robustnesscited by 26
  29. 2018Robustness Guarantees for Bayesian Inference with Gaussian Processescited by 23
  30. 2019Continual Learning Using Bayesian Neural Networkscited by 19
  31. 2021Make Sure You're Unsure: A Framework for Verifying Probabilistic Specificationscited by 18
  32. 2018The Limitations of Model Uncertainty in Adversarial Settingscited by 14
  33. 2019Modelling the influence of data structure on learning in neural networks: the hidden manifold modelcited by 13
  34. 2020QUANOS- Adversarial Noise Sensitivity Driven Hybrid Quantization of Neural Networkscited by 12
  35. 2017Adversarial Phenomenon in the Eyes of Bayesian Deep Learningcited by 11
  36. 2018Sufficient Conditions for Idealised Models to Have No Adversarial Examples: a Theoretical and Empirical Study with Bayesian Neural Networkscited by 9
  37. 2018Bayesian Adversarial Spheres: Bayesian Inference and Adversarial Examples in a Noiseless Settingcited by 8
  38. 2020Incremental Unsupervised Domain-Adversarial Training of Neural Networkscited by 7

50 most cited of 54 All 54 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 2; 2024: 6; 2025: 1; 2026: 2.

12 papers.