Skip to main content
QUICK REVIEW

[Paper Review] Regularizers for Single-step Adversarial Training

B S Vivek, R. Venkatesh Babu|arXiv (Cornell University)|Feb 3, 2020
Adversarial Robustness in Machine LearningComputer Science35 references5 citations
TL;DR

This paper proposes three novel regularizers for single-step adversarial training that mitigate gradient masking and enable models to achieve robustness comparable to computationally expensive multi-step adversarial training. By enforcing loss monotonicity and surface smoothness—key properties of robust models—the regularizers allow efficient, single-step FGSM-based training to produce models robust against both non-iterative and iterative attacks.

ABSTRACT

The progress in the last decade has enabled machine learning models to achieve impressive performance across a wide range of tasks in Computer Vision. However, a plethora of works have demonstrated the susceptibility of these models to adversarial samples. Adversarial training procedure has been proposed to defend against such adversarial attacks. Adversarial training methods augment mini-batches with adversarial samples, and typically single-step (non-iterative) methods are used for generating these adversarial samples. However, models trained using single-step adversarial training converge to degenerative minima where the model merely appears to be robust. The pseudo robustness of these models is due to the gradient masking effect. Although multi-step adversarial training helps to learn robust models, they are hard to scale due to the use of iterative methods for generating adversarial samples. To address these issues, we propose three different types of regularizers that help to learn robust models using single-step adversarial training methods. The proposed regularizers mitigate the effect of gradient masking by harnessing on properties that differentiate a robust model from that of a pseudo robust model. Performance of models trained using the proposed regularizers is on par with models trained using computationally expensive multi-step adversarial training methods.

Motivation & Objective

  • Address the limitation of single-step adversarial training, which converges to degenerative minima due to gradient masking.
  • Overcome the trade-off between robustness and computational cost by enabling robustness with single-step methods.
  • Identify and leverage intrinsic properties of robust models—such as loss monotonicity and smooth loss surfaces—as regularization signals.
  • Develop efficient regularizers that do not require iterative adversarial sample generation, preserving training speed.
  • Achieve robustness on par with multi-step adversarial training (e.g., PGD, TRADES) while maintaining the efficiency of single-step methods.

Proposed method

  • Propose SAT-R1, SAT-R2, and SAT-R3—three distinct regularizers that inject robustness-inducing inductive biases into single-step adversarial training.
  • SAT-R1 uses iterative FGSM (IFGSM) on a single sample per batch to enforce gradient stability and reduce masking.
  • SAT-R2 applies a modified FGSM with a randomized perturbation direction (R-FGSM) to improve robustness without iterative steps.
  • SAT-R3 trains with two different perturbation magnitudes (ε_low and ε_high), exploiting the fact that their gradient signs are identical to reduce computation.
  • All regularizers are integrated into standard FGSM-based adversarial training, preserving the one-FBP cost per adversarial sample.
  • The regularizers enforce loss monotonicity and smoothness by encouraging consistent loss behavior under perturbations, counteracting gradient masking.

Experimental results

Research questions

  • RQ1Can single-step adversarial training achieve robustness comparable to multi-step methods without iterative gradient computation?
  • RQ2What specific properties of robust models (e.g., loss monotonicity, surface smoothness) can be leveraged as regularization signals?
  • RQ3How can gradient masking in single-step adversarial training be mitigated using efficient, non-iterative regularizers?
  • RQ4Can regularizers that enforce structural properties of robust models improve generalization against both non-iterative and iterative attacks?
  • RQ5What is the trade-off between robustness and training efficiency when using different regularizer designs?

Key findings

  • Models trained with the proposed regularizers (SAT-R1, SAT-R2, SAT-R3) achieve robustness on par with models trained using computationally expensive multi-step methods like PGD-AT and TRADES.
  • SAT-R1 and SAT-R2 outperform SAT-R3 in robustness, particularly against PGD-40 and PGD-100 attacks, due to stronger regularization against gradient masking.
  • SAT-R3 achieves the lowest computational cost among the three, with a single FBP per adversarial sample, making it suitable for large-scale training.
  • Fine-tuning or pre-training SAT-R3 models with SAT-R1/SAT-R2 for a few epochs significantly improves robustness, demonstrating transferability of the regularizer signals.
  • Loss surface plots show smooth, non-oscillatory behavior for models trained with the regularizers, confirming reduced sharpness and improved generalization.
  • The proposed regularizers successfully mitigate gradient masking, as evidenced by consistent robustness under both FGSM and PGD attacks across MNIST, CIFAR-10, and ImageNet-subset.

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.