Skip to main content
QUICK REVIEW

[Paper Review] Intriguing properties of adversarial training at scale

Cihang Xie, Alan Yuille|arXiv (Cornell University)|Jun 10, 2019
Adversarial Robustness in Machine LearningComputer Science41 references17 citations
TL;DR

This paper reveals two key properties of adversarial training at scale on ImageNet: (1) Batch Normalization (BN) hinders robustness when training on mixed clean and adversarial data due to domain shift, and disentangling normalization statistics for clean and adversarial images significantly improves robustness; (2) current 'deep' networks like ResNet-152 are still too shallow for adversarial learning, as deeper architectures (e.g., ResNet-638) yield substantial and consistent robustness gains.

ABSTRACT

Adversarial training is one of the main defenses against adversarial attacks. In this paper, we provide the first rigorous study on diagnosing elements of adversarial training, which reveals two intriguing properties. First, we study the role of normalization. Batch normalization (BN) is a crucial element for achieving state-of-the-art performance on many vision tasks, but we show it may prevent networks from obtaining strong robustness in adversarial training. One unexpected observation is that, for models trained with BN, simply removing clean images from training data largely boosts adversarial robustness, i.e., 18.3%. We relate this phenomenon to the hypothesis that clean images and adversarial images are drawn from two different domains. This two-domain hypothesis may explain the issue of BN when training with a mixture of clean and adversarial images, as estimating normalization statistics of this mixture distribution is challenging. Guided by this two-domain hypothesis, we show disentangling the mixture distribution for normalization, i.e., applying separate BNs to clean and adversarial images for statistics estimation, achieves much stronger robustness. Additionally, we find that enforcing BNs to behave consistently at training and testing can further enhance robustness. Second, we study the role of network capacity. We find our so-called "deep" networks are still shallow for the task of adversarial learning. Unlike traditional classification tasks where accuracy is only marginally improved by adding more layers to "deep" networks (e.g., ResNet-152), adversarial training exhibits a much stronger demand on deeper networks to achieve higher adversarial robustness. This robustness improvement can be observed substantially and consistently even by pushing the network capacity to an unprecedented scale, i.e., ResNet-638.

Motivation & Objective

  • To diagnose key components of large-scale adversarial training on ImageNet, focusing on normalization and network capacity.
  • To investigate why Batch Normalization (BN) undermines robustness despite its success in standard training.
  • To explore whether deeper networks can overcome limitations in adversarial robustness compared to standard deep networks.
  • To evaluate the trade-off between clean accuracy and robustness in adversarially trained models.
  • To validate the hypothesis that clean and adversarial images are drawn from different data domains, affecting normalization.

Proposed method

  • Conducted adversarial training on ImageNet using a unified framework, comparing models with and without Batch Normalization (BN).
  • Proposed a two-domain normalization strategy: separate BNs for clean and adversarial images to disentangle their statistics.
  • Replaced BN with group normalization (GN), which estimates normalization per image and avoids batch-level statistics mixing.
  • Enforced consistent BN behavior between training and inference to improve robustness.
  • Systematically increased network depth from ResNet-152 to ResNet-638 to evaluate the impact on adversarial robustness.
  • Used PGD-based attacks and standard evaluation protocols to measure robustness and clean accuracy.

Experimental results

Research questions

  • RQ1Why does Batch Normalization degrade adversarial robustness when training on mixed clean and adversarial data?
  • RQ2Can disentangling normalization statistics for clean and adversarial images improve model robustness?
  • RQ3Does enforcing consistent BN behavior at training and inference further enhance robustness?
  • RQ4Are current 'deep' networks like ResNet-152 sufficiently deep for adversarial learning, or is deeper capacity required?
  • RQ5How does increasing network depth affect both adversarial robustness and clean accuracy in large-scale settings?

Key findings

  • Removing clean images from training data during adversarial training boosts robustness by 18.3% for BN-based models, suggesting a domain shift between clean and adversarial data.
  • Disentangling normalization by applying separate BNs to clean and adversarial images significantly improves robustness, outperforming standard BN on mixed data.
  • Replacing BN with group normalization (GN) achieves 67.5% clean accuracy and strong robustness, indicating that batch-level statistics mixing harms performance.
  • Enforcing consistent BN behavior between training and inference further enhances robustness, especially when combined with disentangled normalization.
  • Increasing network depth from ResNet-152 to ResNet-638 yields a 2.4% robustness gain on adversarial attacks, far exceeding the 0.5% gain in clean training, indicating deeper networks are essential for adversarial learning.
  • The deepest model, ResNet-638, achieves 68.7% clean accuracy, outperforming ResNet-152 by 6.1%, showing that deeper networks also improve standard accuracy.

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.