Towards an Adversarially Robust Normalization Approach

Muhammad Awais, Fahad Shamshad, Sung-Ho Bae
6/19/2020
cs.LGstat.ML

Official code: awaisrauf/RobustNorm (8 stars, Python, last commit 2020-10-06).

Abstract

Batch Normalization (BatchNorm) is effective for improving the performance and accelerating the training of deep neural networks. However, it has also shown to be a cause of adversarial vulnerability, i.e., networks without it are more robust to adversarial attacks.

Show full abstract

In this paper, we investigate how BatchNorm causes this vulnerability and proposed new normalization that is robust to adversarial attacks. We first observe that adversarial images tend to shift the distribution of BatchNorm input, and this shift makes train-time estimated population statistics inaccurate. We hypothesize that these inaccurate statistics make models with BatchNorm more vulnerable to adversarial attacks. We prove our hypothesis by replacing train-time estimated statistics with statistics calculated from the inference-time batch. We found that the adversarial vulnerability of BatchNorm disappears if we use these statistics. However, without estimated batch statistics, we can not use BatchNorm in the practice if large batches of input are not available. To mitigate this, we propose Robust Normalization (RobustNorm); an adversarially robust version of BatchNorm. We experimentally show that models trained with RobustNorm perform better in adversarial settings while retaining all the benefits of BatchNorm. Code is available at \url{https://github.com/awaisrauf/RobustNorm}.

View on arXivView PDF

Code Implementations(1)

Repository for our paper: "Towards an Adversarially Robust Normalization Approach".

81Python, ShellMar 28, 20206 years ago

Similar Papers

Cite this paper

@article{awais2020towards,
  title  = {Towards an Adversarially Robust Normalization Approach},
  author = {Muhammad Awais and Fahad Shamshad and Sung-Ho Bae},
  year   = {2020},
  eprint = {2006.11007},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.11007}
}

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

Discussion