Skip to main content
QUICK REVIEW

[Paper Review] Prepare for the Worst: Generalizing across Domain Shifts with Adversarial Batch Normalization

Manli Shu, Zuxuan Wu|arXiv (Cornell University)|May 4, 2021
Adversarial Robustness in Machine LearningComputer Science39 references6 citations
TL;DR

This paper proposes Adversarial Batch Normalization (AdvBN), a method that enhances model robustness to domain shifts by adversarially perturbing batch normalization statistics rather than image pixels. AdvBN improves ResNet-50 performance by +8.1% on ImageNet-C, +6.7% on Stylized-ImageNet, and +3.9% on ImageNet-Instagram, demonstrating strong generalization across distributional shifts.

ABSTRACT

Adversarial training is the industry standard for producing models that are robust to small adversarial perturbations. However, machine learning practitioners need models that are robust to other kinds of changes that occur naturally, such as changes in the style or illumination of input images. Such changes in input distribution have been effectively modeled as shifts in the mean and variance of deep image features. We adapt adversarial training by adversarially perturbing these feature statistics, rather than image pixels, to produce models that are robust to distributional shifts. We also visualize images from adversarially crafted distributions. Our method, Adversarial Batch Normalization (AdvBN), significantly improves the performance of ResNet-50 on ImageNet-C (+8.1%), Stylized-ImageNet (+6.7%), and ImageNet-Instagram (+3.9%) over standard training practices. In addition, we demonstrate that AdvBN can also improve generalization on semantic segmentation.

Motivation & Objective

  • To address robustness of deep models to natural distribution shifts such as changes in image style or illumination.
  • To improve generalization under domain shifts without requiring domain-specific data augmentation.
  • To develop a training method that enhances robustness by targeting feature-level statistics rather than raw pixels.
  • To demonstrate the effectiveness of adversarial perturbation on batch normalization statistics in improving performance across multiple benchmark datasets.

Proposed method

  • Adversarial training is adapted to perturb the running mean and variance of batch normalization layers instead of image pixels.
  • The method introduces adversarial noise to the statistics of deep features during training to simulate distributional shifts.
  • Batch normalization statistics are perturbed in a way that maximizes the model's prediction error, encouraging robustness.
  • The approach is integrated into standard training pipelines with minimal architectural changes, compatible with ResNet and other models.
  • Visualizations of images from adversarially crafted distributions are used to interpret the induced distribution shifts.

Experimental results

Research questions

  • RQ1Can adversarial perturbation of batch normalization statistics improve model robustness to domain shifts?
  • RQ2How does AdvBN compare to standard training and adversarial training on image pixels in handling distributional shifts?
  • RQ3To what extent does AdvBN improve generalization on downstream tasks like semantic segmentation?
  • RQ4What kind of distribution shifts are induced by adversarial perturbation of batch statistics?

Key findings

  • AdvBN improves ResNet-50 accuracy by 8.1% on ImageNet-C compared to standard training.
  • AdvBN achieves a 6.7% accuracy gain on Stylized-ImageNet, indicating strong robustness to style shifts.
  • On ImageNet-Instagram, AdvBN improves performance by 3.9%, demonstrating effectiveness on real-world distribution shifts.
  • The method generalizes beyond image classification, improving performance on semantic segmentation tasks.

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.