Skip to main content
QUICK REVIEW

[Paper Review] Efficient and Effective Augmentation Strategy for Adversarial Training

Sravanti Addepalli, Samyak Jain|arXiv (Cornell University)|Oct 27, 2022
Adversarial Robustness in Machine LearningComputer Science11 citations
TL;DR

This paper proposes DAJAT, a novel data augmentation strategy for adversarial training that combines simple and complex augmentations using separate batch normalization layers and Jensen-Shannon divergence loss to guide learning. By integrating Ascending Constraint Adversarial Training (ACAT) with a 2-step attack and increasing epsilon, DAJAT achieves state-of-the-art robustness-accuracy trade-offs on CIFAR-10, CIFAR-100, and ImageNette, outperforming existing methods on the RobustBench leaderboard with ResNet-18 and WideResNet-34-10.

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. 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.

Motivation & Objective

  • To address the poor performance of complex data augmentations like AutoAugment in adversarial training, despite their success in standard training.
  • To resolve the conflict between enhancing data diversity and preserving alignment with the test data distribution in adversarial training.
  • To develop an efficient, scalable method that avoids gradient masking while improving robustness and accuracy.
  • To enable effective use of complex augmentations in low-data regimes by leveraging joint learning with simple augmentations.
  • To achieve state-of-the-art performance on standard and robust benchmarks using minimal computational cost.

Proposed method

  • Proposes Diverse Augmentation-based Joint Adversarial Training (DAJAT), which trains on both simple and complex augmentations using separate batch normalization layers to decouple distributional and diversity objectives.
  • Introduces Jensen-Shannon divergence loss between softmax outputs of different augmentations to allow simple augmentations to guide the learning of complex ones.
  • Employs Ascending Constraint Adversarial Training (ACAT) with a linearly increasing epsilon schedule and weight-space smoothing to prevent gradient masking and improve training stability.
  • Uses a two-step PGD attack during training instead of 10 steps to reduce computational cost while maintaining robustness.
  • Applies cosine learning rate scheduling and weight-space smoothing to enhance convergence and generalization.
  • Integrates DAJAT with existing methods like OAAT, AWP, and HAT, demonstrating consistent gains across architectures and datasets.

Experimental results

Research questions

  • RQ1Why do strong data augmentations like AutoAugment fail in adversarial training despite their success in standard training?
  • RQ2Can complex data augmentations be effectively leveraged in adversarial training if the training dynamics are properly managed?
  • RQ3How can data augmentation diversity and test distribution alignment be jointly optimized in adversarial training?
  • RQ4Can a lightweight, efficient defense strategy prevent gradient masking while improving robustness and accuracy?
  • RQ5To what extent can DAJAT improve performance in low-data regimes where data augmentation is most critical?

Key findings

  • DAJAT achieves state-of-the-art robust accuracy on the RobustBench leaderboard for CIFAR-100 using ResNet-18, outperforming all prior methods with the same architecture.
  • On CIFAR-100, DAJAT combined with OAAT achieves ~1.5% higher clean and adversarial accuracy compared to OAAT alone, and further gains at ε=16/255 under AutoAttack.
  • When combined with HAT, DAJAT improves clean accuracy by 3–5% and robust accuracy by ~3% on CIFAR-100, and by ~1% and ~2% on CIFAR-10, respectively.
  • The method achieves a smooth loss surface, as confirmed by loss surface plots, indicating absence of gradient masking and reliable gradients.
  • Black-box and multi-step attacks confirm robustness, with accuracy saturation at 1000 steps and marginal drop under 1000 random restarts, validating evaluation reliability.
  • ACAT with 2-step PGD and increasing ε maintains strong performance while reducing computational cost, demonstrating efficiency without sacrificing robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.