Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Feature Augmentation and Normalization for Visual Recognition

Tianlong Chen, Yu Cheng|arXiv (Cornell University)|Mar 22, 2021
Adversarial Robustness in Machine LearningComputer Science73 references10 citations
TL;DR

This paper proposes A-FAN, a novel adversarial feature augmentation and normalization method that improves generalization in visual recognition by applying multi-strength adversarial perturbations to intermediate feature embeddings and re-normalizing them using batch statistics from adversarial features. The approach achieves consistent accuracy gains across classification, detection, and segmentation tasks with minimal computational overhead compared to pixel-level adversarial training.

ABSTRACT

Recent advances in computer vision take advantage of adversarial data augmentation to ameliorate the generalization ability of classification models. Here, we present an effective and efficient alternative that advocates adversarial augmentation on intermediate feature embeddings, instead of relying on computationally-expensive pixel-level perturbations. We propose Adversarial Feature Augmentation and Normalization (A-FAN), which (i) first augments visual recognition models with adversarial features that integrate flexible scales of perturbation strengths, (ii) then extracts adversarial feature statistics from batch normalization, and re-injects them into clean features through feature normalization. We validate the proposed approach across diverse visual recognition tasks with representative backbone networks, including ResNets and EfficientNets for classification, Faster-RCNN for detection, and Deeplab V3+ for segmentation. Extensive experiments show that A-FAN yields consistent generalization improvement over strong baselines across various datasets for classification, detection and segmentation tasks, such as CIFAR-10, CIFAR-100, ImageNet, Pascal VOC2007, Pascal VOC2012, COCO2017, and Cityspaces. Comprehensive ablation studies and detailed analyses also demonstrate that adding perturbations to specific modules and layers of classification/detection/segmentation backbones yields optimal performance. Codes and pre-trained models will be made available at: https://github.com/VITA-Group/CV_A-FAN.

Motivation & Objective

  • To address the high computational cost of pixel-level adversarial data augmentation in visual recognition.
  • To improve model generalization without degrading clean data performance.
  • To explore whether adversarial training can be effective beyond image classification, extending to object detection and semantic segmentation.
  • To develop a more efficient alternative to input-level adversarial augmentation by operating on intermediate feature representations.
  • To investigate the optimal locations and perturbation strengths for adversarial feature augmentation in different backbone architectures.

Proposed method

  • A-FAN generates adversarial feature perturbations using a one-step projected gradient descent (PGD) method on intermediate feature embeddings.
  • It creates a spectrum of perturbation strengths from weak to strong via interpolation, enabling multi-scale regularization.
  • Adversarial feature statistics (mean and variance) are extracted from batch normalization layers applied to perturbed features.
  • These statistics are then re-injected into clean features through a normalization operation, effectively performing implicit, label-preserving data augmentation.
  • The method is plug-and-play, applicable to both backbone networks and task-specific modules (e.g., classifiers, ROI heads, decoders).
  • The normalization step smooths the decision boundary by blending clean and adversarially regularized features.

Experimental results

Research questions

  • RQ1Can adversarial feature augmentation improve generalization across diverse visual recognition tasks, including detection and segmentation, beyond image classification?
  • RQ2Is it possible to achieve comparable or better performance gains with feature-space adversarial augmentation while reducing computational cost compared to pixel-level perturbations?
  • RQ3What is the optimal location (layer/block) and strength (step size, number of PGD steps) for applying adversarial feature perturbations in different models?
  • RQ4How does adversarial feature normalization compare to random noise injection in terms of generalization improvement?
  • RQ5Does the proposed method maintain robustness while improving performance on clean data?

Key findings

  • A-FAN achieves a 1.23% absolute accuracy gain on CIFAR-10 (ResNet-56s), outperforming random noise injection by 1.46%.
  • For object detection on COCO2017, A-FAN improves AP by 0.72% when applied to the backbone and ROI head.
  • On semantic segmentation (Pascal VOC2012), A-FAN boosts mIOU by 0.51% when used with both backbone and decoder modules.
  • Applying A-FAN to the last block of the backbone (e.g., B3 or B4) yields the best performance, while multi-block application degrades generalization.
  • Optimal perturbation strength is found to be PGD-5 with α = 1.0/255 for ResNet-18, PGD-1 with α = 0.3/255 for Faster R-CNN, and PGD-1 with α = 0.4/255 for DeepLab V3+.
  • Excessive perturbation strength (e.g., PGD-10, α = 4.0/255) leads to performance degradation, indicating a narrow optimal range for effective regularization.

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.