Understanding Adversarial Robustness from Feature Maps of Convolutional Layers

Cong Xu, Wei Zhang, Jun Wang, Min Yang
2/25/2022
cs.CVcs.LG

Official code: MTandHJ/rcm (1 star, Python, MIT, last commit 2023-03-06).

Abstract

The adversarial robustness of a neural network mainly relies on two factors: model capacity and anti-perturbation ability. In this paper, we study the anti-perturbation ability of the network from the feature maps of convolutional layers.

Show full abstract

Our theoretical analysis discovers that larger convolutional feature maps before average pooling can contribute to better resistance to perturbations, but the conclusion is not true for max pooling. It brings new inspiration to the design of robust neural networks and urges us to apply these findings to improve existing architectures. The proposed modifications are very simple and only require upsampling the inputs or slightly modifying the stride configurations of downsampling operators. We verify our approaches on several benchmark neural network architectures, including AlexNet, VGG, RestNet18, and PreActResNet18. Non-trivial improvements in terms of both natural accuracy and adversarial robustness can be achieved under various attack and defense mechanisms. The code is available at \url{https://github.com/MTandHJ/rcm}.

View on arXivView PDF

Code Implementations(1)

MTandHJ/rcmOfficial100%
MIT
11PythonFeb 22, 20223 years agoMIT

Similar Papers

Cite this paper

@article{xu2022understanding,
  title  = {Understanding Adversarial Robustness from Feature Maps of Convolutional Layers},
  author = {Cong Xu and Wei Zhang and Jun Wang and Min Yang},
  year   = {2022},
  eprint = {2202.12435},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.12435}
}

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

Discussion