Skip to content

Sufficient conditions for idealized models to be free of adversarial examples: theoretical and empirical research based on Bayesian neural networksSufficient Conditions for Idealised Models to Have No Adversarial Examples: a Theoretical and Empirical Study with Bayesian Neural Networks

arXiv· arXiv:1806.00667· Yarin Gal, Lewis Smith·Indexed by this site · 25 days ago· Originally publishedDefenses
AI summary

The paper proves that under two sufficient conditions an idealized model can be free of adversarial examples, and shows that an idealized Bayesian neural network (BNN) satisfies these conditions. The authors use HMC inference to study a near-idealized BNN, experiment on synthetic data generated from MNIST with known true image densities, and find that near-perfect epistemic uncertainty correlates with density under the image manifold, while adversarial images fall outside that manifold. This is used to explain why MC dropout (which can be viewed as approximate inference) has been observed in practice to be an effective defense against adversarial examples. The authors also point out failure cases of non-idealized BNNs that rely on dropout, and on this basis propose a new attack against dropout models and a new defense, demonstrating the defense on a cat-dog image classification task based on a VGG13 variant.

Read originalarxiv.org