Towards Defending Multiple $\ell_p$-norm Bounded Adversarial Perturbations via Gated Batch Normalization

Aishan Liu, Shiyu Tang, Xinyun Chen, Lei Huang, Haotong Qin +2 more
12/3/2020
cs.CV

Official code: liuaishan/GBN (1 star, Python, MIT, last commit 2022-09-23).

Abstract

There has been extensive evidence demonstrating that deep neural networks are vulnerable to adversarial examples, which motivates the development of defenses against adversarial attacks. Existing adversarial defenses typically improve model robustness against individual specific perturbation types (\eg, $\ell_{\infty}$-norm bounded adversarial examples).

Show full abstract

However, adversaries are likely to generate multiple types of perturbations in practice (\eg, $\ell_1$, $\ell_2$, and $\ell_{\infty}$ perturbations). Some recent methods improve model robustness against adversarial attacks in multiple $\ell_p$ balls, but their performance against each perturbation type is still far from satisfactory. In this paper, we observe that different $\ell_p$ bounded adversarial perturbations induce different statistical properties that can be separated and characterized by the statistics of Batch Normalization (BN). We thus propose Gated Batch Normalization (GBN) to adversarially train a perturbation-invariant predictor for defending multiple $\ell_p$ bounded adversarial perturbations. GBN consists of a multi-branch BN layer and a gated sub-network. Each BN branch in GBN is in charge of one perturbation type to ensure that the normalized output is aligned towards learning perturbation-invariant representation. Meanwhile, the gated sub-network is designed to separate inputs added with different perturbation types. We perform an extensive evaluation of our approach on commonly-used dataset including MNIST, CIFAR-10, and Tiny-ImageNet, and demonstrate that GBN outperforms previous defense proposals against multiple perturbation types (\ie, $\ell_1$, $\ell_2$, and $\ell_{\infty}$ perturbations) by large margins.

View on arXivView PDF

Code Implementations(1)

liuaishan/GBNOfficial100%
MIT
10PythonSep 23, 20224 years agoMIT

Similar Papers

Cite this paper

@article{liu2020towards,
  title  = {Towards Defending Multiple $\ell_p$-norm Bounded Adversarial Perturbations via Gated Batch Normalization},
  author = {Aishan Liu and Shiyu Tang and Xinyun Chen and Lei Huang and Haotong Qin and Xianglong Liu and Dacheng Tao},
  year   = {2020},
  eprint = {2012.01654},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.01654}
}

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

Discussion