Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Examples Improve Image Recognition

Cihang Xie, Mingxing Tan|arXiv (Cornell University)|Nov 21, 2019
Adversarial Robustness in Machine LearningComputer Science54 references48 citations
TL;DR

AdvProp shows that using adversarial examples with a dedicated auxiliary batch norm can improve clean-image accuracy and significantly boost robustness on distorted image benchmarks, achieving state-of-the-art ImageNet performance with EfficientNet-B8 and strong gains on ImageNet-C, ImageNet-A, and Stylized-ImageNet.

ABSTRACT

Adversarial examples are commonly viewed as a threat to ConvNets. Here we present an opposite perspective: adversarial examples can be used to improve image recognition models if harnessed in the right manner. We propose AdvProp, an enhanced adversarial training scheme which treats adversarial examples as additional examples, to prevent overfitting. Key to our method is the usage of a separate auxiliary batch norm for adversarial examples, as they have different underlying distributions to normal examples. We show that AdvProp improves a wide range of models on various image recognition tasks and performs better when the models are bigger. For instance, by applying AdvProp to the latest EfficientNet-B7 [28] on ImageNet, we achieve significant improvements on ImageNet (+0.7%), ImageNet-C (+6.5%), ImageNet-A (+7.0%), Stylized-ImageNet (+4.8%). With an enhanced EfficientNet-B8, our method achieves the state-of-the-art 85.5% ImageNet top-1 accuracy without extra data. This result even surpasses the best model in [20] which is trained with 3.5B Instagram images (~3000X more than ImageNet) and ~9.4X more parameters. Models are available at https://github.com/tensorflow/tpu/tree/master/models/official/efficientnet.

Motivation & Objective

  • Motivate leveraging adversarial examples to improve image recognition performance instead of solely defending against attacks.
  • Propose AdvProp to address distribution mismatch between clean and adversarial data via auxiliary batch norms.
  • Demonstrate that AdvProp improves a range of models, especially larger networks, on ImageNet and distorted datasets.

Proposed method

  • Frame adversarial training as a two-distribution learning problem and introduce auxiliary batch norm to disentangle clean vs adversarial statistics.
  • Generate adversarial examples on-the-fly using PGD within the auxiliary BN framework.
  • Train with a mixture objective that separately computes losses on clean and adversarial batches using main and auxiliary BNs, respectively.
  • Drop auxiliary BNs at inference to keep standard architecture.
  • Optionally extend to multiple auxiliary BNs for finer-grained disentangling (e.g., AutoAugment paths).
  • Evaluate across EfficientNet variants and ResNet on ImageNet and distorted datasets like ImageNet-C, ImageNet-A, and Stylized-ImageNet.

Experimental results

Research questions

  • RQ1Can adversarial examples be used to improve, rather than degrade, supervised image recognition performance on large-scale datasets?
  • RQ2Does disentangling distributions with auxiliary batch normalization enable effective learning from a mixture of clean and adversarial data?
  • RQ3How does AdvProp perform across network capacities and on robustness benchmarks (ImageNet-C, ImageNet-A, Stylized-ImageNet) compared to standard adversarial training?
  • RQ4What is the impact of attacker strength and auxiliary BN design on model performance?

Key findings

  • AdvProp improves ImageNet top-1 accuracy over vanilla training, with larger gains for bigger networks (e.g., EfficientNet-B7 reaches 85.2% top-1).
  • AdvProp achieves notable robustness gains: ImageNet-C mCE improved to 52.9% for EfficientNet-B7, ImageNet-A accuracy 44.7%, Stylized-ImageNet accuracy 26.6%—the best reported without extra data.
  • Auxiliary BatchNorm disentangles clean vs adversarial distributions, enabling effective learning from both domains and outperforming traditional adversarial training, especially on larger models.
  • On distorted datasets, AdvProp improves large models more substantially than on clean ImageNet, e.g., EfficientNet-B7 shows strong gains on ImageNet-C, ImageNet-A, and Stylized-ImageNet.
  • Fine-grained variants (multiple auxiliary BNs) and combinations with AutoAugment further boost performance, particularly for small 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.