Skip to main content
QUICK REVIEW

[Paper Review] Towards Rapid and Robust Adversarial Training with One-Step Attacks

Leo Schwinn, René Raab|arXiv (Cornell University)|Feb 24, 2020
Adversarial Robustness in Machine LearningComputer Science32 references5 citations
TL;DR

This paper proposes a fast and robust adversarial training method using one-step FGSM attacks enhanced by noise injection. By adding uniform noise to input data and introducing a learnable Pixelwise Noise Injection Layer (PNIL), the method prevents gradient obfuscation and achieves robustness comparable to or exceeding PGD-based training, with significantly reduced computational cost.

ABSTRACT

Adversarial training is the most successful empirical method for increasing the robustness of neural networks against adversarial attacks. However, the most effective approaches, like training with Projected Gradient Descent (PGD) are accompanied by high computational complexity. In this paper, we present two ideas that, in combination, enable adversarial training with the computationally less expensive Fast Gradient Sign Method (FGSM). First, we add uniform noise to the initial data point of the FGSM attack, which creates a wider variety of adversaries, thus prohibiting overfitting to one particular perturbation bound. Further, we add a learnable regularization step prior to the neural network, which we call Pixelwise Noise Injection Layer (PNIL). Inputs propagated trough the PNIL are resampled from a learned Gaussian distribution. The regularization induced by the PNIL prevents the model form learning to obfuscate its gradients, a factor that hindered prior approaches from successfully applying one-step methods for adversarial training. We show that noise injection in conjunction with FGSM-based adversarial training achieves comparable results to adversarial training with PGD while being considerably faster. Moreover, we outperform PGD-based adversarial training by combining noise injection and PNIL.

Motivation & Objective

  • Address the high computational cost of PGD-based adversarial training, which limits practical deployment.
  • Overcome the failure of standard FGSM-based training to generalize against stronger attacks due to gradient obfuscation.
  • Improve robustness of one-step adversarial training by introducing input-level data augmentation via learnable noise injection.
  • Enable stable and effective FGSM-based training that matches or exceeds PGD performance while reducing training time.

Proposed method

  • Introduce Noise-Enhanced FGSM (NFGSM) by adding uniform noise to the input before FGSM attack to diversify perturbations and reduce overfitting to a single perturbation bound.
  • Propose the Pixelwise Noise Injection Layer (PNIL), a learnable layer that resamples input features from a learned Gaussian distribution using the reparameterization trick.
  • Train the PNIL end-to-end with backpropagation, allowing the network to learn optimal input variance distributions that enhance robustness.
  • Use the PNIL as the first layer in the network to regularize inputs and weaken adversarial perturbations before they propagate through the network.
  • Combine NFGSM with PNIL to stabilize FGSM-based training and prevent gradient obfuscation, a key failure mode in prior one-step methods.
  • Avoid using KL divergence loss (unlike VAEs), relying instead on the network’s classification loss to guide PNIL parameter learning.

Experimental results

Research questions

  • RQ1Can one-step FGSM-based adversarial training achieve robustness comparable to multi-step PGD training when enhanced with input-level data augmentation?
  • RQ2Does noise injection in the input space prevent gradient obfuscation, a major cause of failure in FGSM-based training?
  • RQ3Can a learnable, differentiable noise layer (PNIL) improve generalization and robustness in adversarial training without increasing inference complexity?
  • RQ4How does the combination of NFGSM and PNIL compare to standard PGD-based training in terms of robustness and training efficiency?
  • RQ5Does the PNIL’s learned variance distribution focus on preserving relevant features while suppressing background noise, improving robustness to targeted attacks?

Key findings

  • NFGSM-based training with input noise achieves slightly higher robustness than standard RFGSM across varying perturbation bounds, especially for weak attacks.
  • The PNIL significantly improves robustness against gradient-free attacks like SPSA, which typically break models trained with standard FGSM.
  • Models trained with PNIL and NFGSM outperform PGD-based adversarial training in terms of robustness, despite using a one-step attack.
  • The PNIL learns to assign higher variance to background regions and lower variance to foreground objects, effectively filtering out adversarial noise in critical regions.
  • The method reduces training time by orders of magnitude compared to PGD, as it relies on a single-step FGSM attack with minimal computational overhead.
  • The PNIL prevents gradient obfuscation by ensuring that the network cannot exploit gradient masking, leading to more reliable and generalizable 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.