Efficient and Effective Augmentation Strategy for Adversarial Training

Sravanti Addepalli, Samyak Jain, R. Venkatesh Babu
10/27/2022
78 citations
cs.LGcs.CV

Official code: val-iisc/DAJAT (16 stars, Python, MIT, last commit 2023-03-29).

Abstract

Adversarial training of Deep Neural Networks is known to be significantly more data-hungry when compared to standard training. Furthermore, complex data augmentations such as AutoAugment, which have led to substantial gains in standard training of image classifiers, have not been successful with Adversarial Training.

Show full abstract

We first explain this contrasting behavior by viewing augmentation during training as a problem of domain generalization, and further propose Diverse Augmentation-based Joint Adversarial Training (DAJAT) to use data augmentations effectively in adversarial training. We aim to handle the conflicting goals of enhancing the diversity of the training dataset and training with data that is close to the test distribution by using a combination of simple and complex augmentations with separate batch normalization layers during training. We further utilize the popular Jensen-Shannon divergence loss to encourage the joint learning of the diverse augmentations, thereby allowing simple augmentations to guide the learning of complex ones. Lastly, to improve the computational efficiency of the proposed method, we propose and utilize a two-step defense, Ascending Constraint Adversarial Training (ACAT), that uses an increasing epsilon schedule and weight-space smoothing to prevent gradient masking. The proposed method DAJAT achieves substantially better robustness-accuracy trade-off when compared to existing methods on the RobustBench Leaderboard on ResNet-18 and WideResNet-34-10. The code for implementing DAJAT is available here: https://github.com/val-iisc/DAJAT.

View on arXivView PDF

Code Implementations(1)

val-iisc/DAJATOfficial100%
MIT

Official Code for Efficient and Effective Augmentation Strategy for Adversarial Training (NeurIPS-2022)

161PythonMay 21, 20223 years agoMIT

Similar Papers

Cite this paper

@article{addepalli2022efficient,
  title  = {Efficient and Effective Augmentation Strategy for Adversarial Training},
  author = {Sravanti Addepalli and Samyak Jain and R. Venkatesh Babu},
  year   = {2022},
  eprint = {2210.15318},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.15318}
}

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

Discussion