Skip to main content
QUICK REVIEW

[Paper Review] On the Loss Landscape of Adversarial Training: Identifying Challenges and How to Overcome Them

Chen Liu, Mathieu Salzmann|arXiv (Cornell University)|Jun 15, 2020
Adversarial Robustness in Machine LearningComputer Science54 references26 citations
TL;DR

This paper identifies that large adversarial budgets in adversarial training lead to a more challenging loss landscape with increased curvature, scattered gradients, and sharper minima, hindering optimization. To overcome this, it proposes Periodic Adversarial Scheduling (PAS), which cyclically adjusts the adversarial budget during training, resulting in improved robust accuracy and reduced sensitivity to learning rate choices without computational overhead.

ABSTRACT

We analyze the influence of adversarial training on the loss landscape of machine learning models. To this end, we first provide analytical studies of the properties of adversarial loss functions under different adversarial budgets. We then demonstrate that the adversarial loss landscape is less favorable to optimization, due to increased curvature and more scattered gradients. Our conclusions are validated by numerical analyses, which show that training under large adversarial budgets impede the escape from suboptimal random initialization, cause non-vanishing gradients and make the model find sharper minima. Based on these observations, we show that a periodic adversarial scheduling (PAS) strategy can effectively overcome these challenges, yielding better results than vanilla adversarial training while being much less sensitive to the choice of learning rate.

Motivation & Objective

  • To analyze how adversarial budgets affect the loss landscape of deep learning models during adversarial training.
  • To identify optimization challenges such as increased curvature, gradient scattering, and sharp minima under large adversarial budgets.
  • To investigate the impact of adversarial budget size on convergence speed, generalization gap, and model connectivity.
  • To propose a scheduling strategy that improves training stability and robustness without increasing computational cost.
  • To validate that periodic scheduling of the adversarial budget leads to better performance than vanilla adversarial training.

Proposed method

  • Theoretical analysis of adversarial loss functions using linear models to derive properties under different adversarial budgets.
  • Extension of theoretical findings to nonlinear deep networks through numerical and Hessian-based analysis of loss landscape curvature.
  • Introduction of Periodic Adversarial Scheduling (PAS), a cyclic strategy that gradually increases and decreases the adversarial budget during training with a warmup phase.
  • Use of Bezier curves to evaluate connectivity between minima in parameter space, assessing how well-trained models are linked in the loss landscape.
  • Empirical evaluation using MNIST and CIFAR-10 datasets with LeNet and ResNet architectures under various scheduling schemes.
  • Gradient-based optimization of Bezier curves to estimate path loss and connectivity, with batch normalization statistics re-estimated along the path.

Experimental results

Research questions

  • RQ1How does the size of the adversarial budget affect the smoothness and curvature of the adversarial loss landscape?
  • RQ2Why does adversarial training with large budgets lead to slower convergence and non-vanishing gradients?
  • RQ3What causes the generalization gap in adversarial training, and how is it related to the geometry of the loss landscape?
  • RQ4Can a dynamic scheduling of the adversarial budget improve optimization stability and robust accuracy?
  • RQ5How well-connected are the minima in the adversarial loss landscape compared to the vanilla training landscape?

Key findings

  • Large adversarial budgets increase loss landscape curvature and cause severe gradient scattering, making optimization more difficult.
  • Training under large budgets hinders escape from suboptimal initialization regions and results in non-vanishing gradients in the final training phase.
  • Hessian analysis confirms that minima found under large adversarial budgets are significantly sharper than those under small budgets.
  • Periodic Adversarial Scheduling (PAS) outperforms vanilla adversarial training in robust accuracy across multiple model sizes and datasets.
  • PAS reduces sensitivity to learning rate choices, with consistent performance across different learning rate settings on MNIST and CIFAR-10.
  • Minima in the adversarial loss landscape are less well-connected than in vanilla training, especially under large budgets, as shown by non-flat Bezier curves connecting trained models.

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.