Understanding Adversarial Robustness from Feature Maps of Convolutional Layers

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Xu, Cong, Zhang, Wei, Wang, Jun, Yang, Min
Format: Preprint
Publié: 2022
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913213458677760
author Xu, Cong
Zhang, Wei
Wang, Jun
Yang, Min
author_facet Xu, Cong
Zhang, Wei
Wang, Jun
Yang, Min
contents 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. 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}.
format Preprint
id arxiv_https___arxiv_org_abs_2202_12435
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Understanding Adversarial Robustness from Feature Maps of Convolutional Layers
Xu, Cong
Zhang, Wei
Wang, Jun
Yang, Min
Computer Vision and Pattern Recognition
Machine Learning
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. 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}.
title Understanding Adversarial Robustness from Feature Maps of Convolutional Layers
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2202.12435