Robustness of Bayesian Neural Networks to Gradient-Based Attacks
Ginevra Carbone, Matthew Wicker, Luca Laurenti, Andrea Patané, Luca Bortolussi, Guido Sanguinetti
Abstract
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, the problem remains open. In this paper, we analyse the geometry of adversarial attacks in the large-data, overparametrized 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 the limit BNN posteriors are robust to gradient-based adversarial attacks. Experimental results on the MNIST and Fashion MNIST datasets, representing the finite data regime, with BNNs trained with Hamiltonian Monte Carlo and Variational Inference support this line of argument, showing that BNNs can display both high accuracy and robustness to gradient based adversarial attacks.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
14 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Adversarial Robustness Guarantees for Random Deep Neural Networks cites Towards Evaluating the Robustness of Neural Networks
- Evaluating Robustness of Predictive Uncertainty Estimation: Are Dirichlet-based Models Reliable? cites Towards Evaluating the Robustness of Neural Networks
- SoK: Explainable Machine Learning in Adversarial Environments cites Towards Evaluating the Robustness of Neural Networks
Cited by top-tier papers14
- Evaluating Robustness of Predictive Uncertainty Estimation: Are Dirichlet-based Models Reliable?Anna-Kathrin Kopetzki, Bertrand Charpentier, Daniel Zügner, Sandhya Giri et al.ICML 2021 · 55 citations
- Dangers of Bayesian Model Averaging under Covariate ShiftPavel Izmailov, Patrick Nicholson, Sanae Lotfi, Andrew Gordon WilsonNeurIPS 2021 · 51 citations
- SoK: Explainable Machine Learning in Adversarial EnvironmentsMaximilian Noppel, Christian WressneggerS&P 2024 · 28 citations
- Bayesian Neural Networks Avoid Encoding Complex and Perturbation-Sensitive ConceptsQihan Ren, Huiqi Deng, Yunuo Chen, Siyu Lou et al.ICML 2023 · 13 citations
- Adversarial Robustness Guarantees for Random Deep Neural NetworksGiacomo De Palma, Bobak Toussi Kiani, Seth LloydICML 2021 · 10 citations
Builds on1
Related papers
- On the Expressiveness of Approximate Inference in Bayesian Neural NetworksAndrew Y. K. Foong, David R. Burt, Yingzhen Li, Richard E. TurnerNeurIPS 2020 · 142 citations
- Adversarial Neural Pruning with Latent Vulnerability SuppressionDivyam Madaan, Jinwoo Shin, Sung Ju HwangICML 2020 · 68 citations
- What Are Bayesian Neural Network Posteriors Really Like?Pavel Izmailov, Sharad Vikram, Matthew D. Hoffman, Andrew Gordon WilsonICML 2021 · 458 citations
- VIKING: Deep variational inference with stochastic projectionsSamuel Matthiesen, Hrittik Roy, Nicholas Krämer, Yevgen Zainchkovskyy et al.NeurIPS 2025 · 3 citations
- Bayesian Learning with Information Gain Provably Bounds Risk for a Robust Adversarial DefenseBao Gia Doan, Ehsan Abbasnejad, Javen Qinfeng Shi, Damith C. RanasingheICML 2022 · 8 citations
