Consistency Regularization for Adversarial Robustness

Jihoon Tack, Sihyun Yu, Jongheon Jeong, Minseon Kim, Sung Ju Hwang +1 more
3/8/2021
cs.LGcs.AI

Official code: alinlab/consistency-adversarial (53 stars, Python, last commit 2021-12-12).

Abstract

Adversarial training (AT) is currently one of the most successful methods to obtain the adversarial robustness of deep neural networks. However, the phenomenon of robust overfitting, i.e., the robustness starts to decrease significantly during AT, has been problematic, not only making practitioners consider a bag of tricks for a successful training, e.g., early stopping, but also incurring a significant generalization gap in the robustness.

Show full abstract

In this paper, we propose an effective regularization technique that prevents robust overfitting by optimizing an auxiliary `consistency' regularization loss during AT. Specifically, we discover that data augmentation is a quite effective tool to mitigate the overfitting in AT, and develop a regularization that forces the predictive distributions after attacking from two different augmentations of the same instance to be similar with each other. Our experimental results demonstrate that such a simple regularization technique brings significant improvements in the test robust accuracy of a wide range of AT methods. More remarkably, we also show that our method could significantly help the model to generalize its robustness against unseen adversaries, e.g., other types or larger perturbations compared to those used during training. Code is available at https://github.com/alinlab/consistency-adversarial.

View on arXivView PDF

Code Implementations(1)

Consistency Regularization for Adversarial Robustness (AAAI 2022)

530PythonMar 8, 20214 years ago
adversarial-trainingconsistency-regularizationdata-augmentation

Similar Papers

Cite this paper

@article{tack2021consistency,
  title  = {Consistency Regularization for Adversarial Robustness},
  author = {Jihoon Tack and Sihyun Yu and Jongheon Jeong and Minseon Kim and Sung Ju Hwang and Jinwoo Shin},
  year   = {2021},
  eprint = {2103.04623},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.04623}
}

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

Discussion