Feature Denoising for Improving Adversarial Robustness
Cihang Xie, Yuxin Wu, Laurens van der Maaten, Alan Yuille, Kaiming He
TL;DR
The paper addresses adversarial vulnerability in image classification by showing that adversarial perturbations induce noise in intermediate feature maps and proposing feature-denoising blocks that operate on those features. These blocks, trained end-to-end with adversarial examples, incorporate non-local means and other filters to suppress perturbations, yielding state-of-the-art robustness on ImageNet against strong white-box and black-box attacks, including a CAAD 2018 defense win. Ablation studies reveal non-local denoising as particularly effective, with critical design elements like a 1×1 convolution and a residual connection essential for training stability and performance. While there is a tradeoff with clean-image accuracy, the approach demonstrates a path toward innate adversarial robustness via architectural design rather than post hoc preprocessing.
Abstract
Adversarial attacks to image classification systems present challenges to convolutional networks and opportunities for understanding them. This study suggests that adversarial perturbations on images lead to noise in the features constructed by these networks. Motivated by this observation, we develop new network architectures that increase adversarial robustness by performing feature denoising. Specifically, our networks contain blocks that denoise the features using non-local means or other filters; the entire networks are trained end-to-end. When combined with adversarial training, our feature denoising networks substantially improve the state-of-the-art in adversarial robustness in both white-box and black-box attack settings. On ImageNet, under 10-iteration PGD white-box attacks where prior art has 27.9% accuracy, our method achieves 55.7%; even under extreme 2000-iteration PGD white-box attacks, our method secures 42.6% accuracy. Our method was ranked first in Competition on Adversarial Attacks and Defenses (CAAD) 2018 --- it achieved 50.6% classification accuracy on a secret, ImageNet-like test dataset against 48 unknown attackers, surpassing the runner-up approach by ~10%. Code is available at https://github.com/facebookresearch/ImageNet-Adversarial-Training.
