Efficient and Transferable Adversarial Examples from Bayesian Neural Networks

Martin Gubri, Maxime Cordy, Mike Papadakis, Yves Le Traon, Koushik Sen
11/10/2020
cs.LGstat.ML
bayesian

Official code: Framartin/transferable-bnn-adv-ex (3 stars, Python, GPL-3.0, last commit 2021-02-18).

Abstract

An established way to improve the transferability of black-box evasion attacks is to craft the adversarial examples on an ensemble-based surrogate to increase diversity. We argue that transferability is fundamentally related to uncertainty.

Show full abstract

Based on a state-of-the-art Bayesian Deep Learning technique, we propose a new method to efficiently build a surrogate by sampling approximately from the posterior distribution of neural network weights, which represents the belief about the value of each parameter. Our extensive experiments on ImageNet, CIFAR-10 and MNIST show that our approach improves the success rates of four state-of-the-art attacks significantly (up to 83.2 percentage points), in both intra-architecture and inter-architecture transferability. On ImageNet, our approach can reach 94% of success rate while reducing training computations from 11.6 to 2.4 exaflops, compared to an ensemble of independently trained DNNs. Our vanilla surrogate achieves 87.5% of the time higher transferability than three test-time techniques designed for this purpose. Our work demonstrates that the way to train a surrogate has been overlooked, although it is an important element of transfer-based attacks. We are, therefore, the first to review the effectiveness of several training methods in increasing transferability. We provide new directions to better understand the transferability phenomenon and offer a simple but strong baseline for future work.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Source of the UAI2022 paper "Efficient and Transferable Adversarial Examples from Bayesian Neural Networks"

32Python, ShellNov 9, 20205 years agoGPL-3.0
adversarial-examplesadversarial-machine-learningbayesian-neural-networksdeep-learningtransferability

Similar Papers

Cite this paper

@article{gubri2020efficient,
  title  = {Efficient and Transferable Adversarial Examples from Bayesian Neural Networks},
  author = {Martin Gubri and Maxime Cordy and Mike Papadakis and Yves Le Traon and Koushik Sen},
  year   = {2020},
  eprint = {2011.05074},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.05074}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.05074.svg)](https://codeofpaper.com/paper/2011.05074)

Discussion