Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Adversarial Weight Perturbation Helps Robust Generalization

About

The study on improving the robustness of deep neural networks against adversarial examples grows rapidly in recent years. Among them, adversarial training is the most promising one, which flattens the input loss landscape (loss change with respect to input) via training on adversarially perturbed examples. However, how the widely used weight loss landscape (loss change with respect to weight) performs in adversarial training is rarely explored. In this paper, we investigate the weight loss landscape from a new perspective, and identify a clear correlation between the flatness of weight loss landscape and robust generalization gap. Several well-recognized adversarial training improvements, such as early stopping, designing new objective functions, or leveraging unlabeled data, all implicitly flatten the weight loss landscape. Based on these observations, we propose a simple yet effective Adversarial Weight Perturbation (AWP) to explicitly regularize the flatness of weight loss landscape, forming a double-perturbation mechanism in the adversarial training framework that adversarially perturbs both inputs and weights. Extensive experiments demonstrate that AWP indeed brings flatter weight loss landscape and can be easily incorporated into various existing adversarial training methods to further boost their adversarial robustness.

Dongxian Wu, Shu-tao Xia, Yisen Wang• 2020

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10 (test)
Accuracy (Clean)88.51
273
Adversarial RobustnessCIFAR-10 (test)--
76
Image ClassificationTiny-ImageNet 1.0 (test)
Accuracy (Natural)61.9
75
Adversarial RobustnessCIFAR-100 (test)
Natural Acc55.16
46
EEG ClassificationBNCI2014002
Benign Accuracy74.89
42
EEG ClassificationBNCI 2014001
Benign Accuracy57.08
42
Image ClassificationCIFAR-10 long-tailed (test)
Clean Accuracy50.91
42
EEG ClassificationBNCI2014001, Weibo2014, BNCI2014002 Average
Benign Accuracy59.65
42
EEG ClassificationWeibo 2014
Benign Accuracy46.98
42
Face RecognitionLacuna 10 (test)
Accuracy (Test Set)72.94
40
Showing 10 of 48 rows

Other info

Follow for update