Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Training Versus Weight Decay

Angus Galloway, Thomas Tanay|arXiv (Cornell University)|Apr 10, 2018
Adversarial Robustness in Machine LearningComputer Science40 references17 citations
TL;DR

This paper compares adversarial training and weight decay for improving deep learning model robustness, showing that weight decay outperforms adversarial training by reducing all generalization errors and enabling better generalization across diverse perturbations. It achieves a 40% absolute accuracy improvement over prior baselines on CIFAR-10 with minimal natural accuracy loss, while maintaining high entropy for out-of-distribution inputs.

ABSTRACT

Performance-critical machine learning models should be robust to input perturbations not seen during training. Adversarial training is a method for improving a model's robustness to some perturbations by including them in the training process, but this tends to exacerbate other vulnerabilities of the model. The adversarial training framework has the effect of translating the data with respect to the cost function, while weight decay has a scaling effect. Although weight decay could be considered a crude regularization technique, it appears superior to adversarial training as it remains stable over a broader range of regimes and reduces all generalization errors. Equipped with these abstractions, we provide key baseline results and methodology for characterizing robustness. The two approaches can be combined to yield one small model that demonstrates good robustness to several white-box attacks associated with different metrics.

Motivation & Objective

  • To evaluate and compare the effectiveness of adversarial training and weight decay in improving model robustness against adversarial perturbations.
  • To understand the underlying geometric effects of adversarial training (translation w.r.t. loss) versus weight decay (scaling of loss) on model behavior.
  • To develop a more stable and generalizable baseline for robustness evaluation that performs well across multiple attack types and perturbation metrics.
  • To demonstrate that a small, simple model with weight decay can achieve competitive robustness without relying on complex adversarial data augmentation.
  • To provide a more interpretable and reliable defense mechanism that avoids the vulnerabilities introduced by adversarial training.

Proposed method

  • The authors analyze adversarial training as a data translation operation with respect to the loss function, while weight decay acts as a scaling operation on the loss.
  • They train a small, low-capacity convolutional neural network (CNN) with L2 weight decay, using standard training without adversarial examples.
  • The model is tuned to generalize well across different perturbation regimes, particularly for L0 (Hamming distance) and Linf bounded attacks.
  • Robustness is evaluated using PGD attacks with varying epsilon values and compared against the Madry et al. baseline defense.
  • The authors visualize filters to assess representational learning, comparing models trained with and without weight decay.
  • They perform a random pixel swap experiment to test robustness under L0-type attacks, demonstrating superior performance of the weight decay-trained model.

Experimental results

Research questions

  • RQ1How does weight decay compare to adversarial training in reducing generalization error across different perturbation types?
  • RQ2Can a simple model trained with weight decay achieve robustness comparable to state-of-the-art adversarial training defenses?
  • RQ3What geometric effect does adversarial training have on the loss landscape, and how does it differ from the effect of weight decay?
  • RQ4Does weight decay-trained model generalize better to out-of-distribution inputs such as fooling images?
  • RQ5Can a small model with weight decay outperform larger adversarially trained models on L0 and Linf attacks?

Key findings

  • The weight decay-trained model achieved a 40% absolute improvement in robust accuracy over a prior baseline, with only a 2.4% drop in natural test accuracy.
  • For L0 attacks bounded by Hamming distance, the model outperformed the Madry et al. defense, demonstrating superior robustness without adversarial data augmentation.
  • The model maintained high-entropy softmax outputs for fooling images, indicating reliable uncertainty estimates, unlike the Madry baseline which confidently misclassified such inputs.
  • Filters from the weight decay model were smoother and more interpretable, with unimportant filters set to zero, suggesting better inductive bias and reduced overfitting.
  • Adversarial training was found to induce a highly textured filter pattern, likely due to fitting to surface statistics and reducing data separability by approximately ε‖w‖₁.
  • The model’s robustness was more stable across different perturbation magnitudes and attack types, suggesting weight decay provides a broader and more generalizable inductive bias than adversarial training.

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.