Adv-BNN: Improved Adversarial Defense through Robust Bayesian Neural Network

Xuanqing Liu, Yao Li, Chongruo Wu, Cho-Jui Hsieh
10/1/2018
cs.LGcs.AIcs.CR
bayesian

Official code: xuanqing94/BayesianDefense (61 stars, Python, MIT, last commit 2019-06-25).

Abstract

We present a new algorithm to train a robust neural network against adversarial attacks. Our algorithm is motivated by the following two ideas.

Show full abstract

First, although recent work has demonstrated that fusing randomness can improve the robustness of neural networks (Liu 2017), we noticed that adding noise blindly to all the layers is not the optimal way to incorporate randomness. Instead, we model randomness under the framework of Bayesian Neural Network (BNN) to formally learn the posterior distribution of models in a scalable way. Second, we formulate the mini-max problem in BNN to learn the best model distribution under adversarial attacks, leading to an adversarial-trained Bayesian neural net. Experiment results demonstrate that the proposed algorithm achieves state-of-the-art performance under strong attacks. On CIFAR-10 with VGG network, our model leads to 14\% accuracy improvement compared with adversarial training (Madry 2017) and random self-ensemble (Liu 2017) under PGD attack with $0.035$ distortion, and the gap becomes even larger on a subset of ImageNet.

View on arXivView PDF

Code Implementations(1)

MIT

Adv-BNN: Improved Adversarial Defense through Robust Bayesian Neural Network

6112Python, ShellSep 16, 20187 years agoMIT

Similar Papers

Cite this paper

@article{liu2018advbnn,
  title  = {Adv-BNN: Improved Adversarial Defense through Robust Bayesian Neural Network},
  author = {Xuanqing Liu and Yao Li and Chongruo Wu and Cho-Jui Hsieh},
  year   = {2018},
  eprint = {1810.01279},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.01279}
}

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/1810.01279.svg)](https://codeofpaper.com/paper/1810.01279)

Discussion