Robust Weight Perturbation for Adversarial Training

Chaojian Yu, Bo Han, Mingming Gong, Li Shen, Shiming Ge +2 more
5/30/2022
cs.LG

Official code: ChaojianYu/Robust-Weight-Perturbation (16 stars, Python, last commit 2022-07-01).

Abstract

Overfitting widely exists in adversarial robust training of deep networks. An effective remedy is adversarial weight perturbation, which injects the worst-case weight perturbation during network training by maximizing the classification loss on adversarial examples.

Show full abstract

Adversarial weight perturbation helps reduce the robust generalization gap; however, it also undermines the robustness improvement. A criterion that regulates the weight perturbation is therefore crucial for adversarial training. In this paper, we propose such a criterion, namely Loss Stationary Condition (LSC) for constrained perturbation. With LSC, we find that it is essential to conduct weight perturbation on adversarial data with small classification loss to eliminate robust overfitting. Weight perturbation on adversarial data with large classification loss is not necessary and may even lead to poor robustness. Based on these observations, we propose a robust perturbation strategy to constrain the extent of weight perturbation. The perturbation strategy prevents deep networks from overfitting while avoiding the side effect of excessive weight perturbation, significantly improving the robustness of adversarial training. Extensive experiments demonstrate the superiority of the proposed method over the state-of-the-art adversarial training methods.

View on arXivView PDF

Code Implementations(1)

Implementation for <Robust Weight Perturbation for Adversarial Training> in IJCAI'22.

162PythonApr 27, 20224 years ago

Similar Papers

Cite this paper

@article{yu2022robust,
  title  = {Robust Weight Perturbation for Adversarial Training},
  author = {Chaojian Yu and Bo Han and Mingming Gong and Li Shen and Shiming Ge and Bo Du and Tongliang Liu},
  year   = {2022},
  eprint = {2205.14826},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.14826}
}

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

Discussion