Skip to main content
QUICK REVIEW

[Paper Review] Robust and Accurate Object Detection via Adversarial Learning

Xiangning Chen, Cihang Xie|arXiv (Cornell University)|Mar 23, 2021
Adversarial Robustness in Machine LearningComputer Science44 references5 citations
TL;DR

This paper proposes Det-AdvProp, a model-dependent data augmentation method for object detection that dynamically selects stronger adversarial examples from the classification and localization branches during fine-tuning. By evolving with the detector and using a single auxiliary batch normalization, it boosts state-of-the-art EfficientDet models by +1.1 mAP on COCO, +3.8 mAP on corrupted images, and +1.3 mAP on domain shift benchmarks, outperforming model-agnostic methods like AutoAugment.

ABSTRACT

Data augmentation has become a de facto component for training high-performance deep image classifiers, but its potential is under-explored for object detection. Noting that most state-of-the-art object detectors benefit from fine-tuning a pre-trained classifier, we first study how the classifiers' gains from various data augmentations transfer to object detection. The results are discouraging; the gains diminish after fine-tuning in terms of either accuracy or robustness. This work instead augments the fine-tuning stage for object detectors by exploring adversarial examples, which can be viewed as a model-dependent data augmentation. Our method dynamically selects the stronger adversarial images sourced from a detector's classification and localization branches and evolves with the detector to ensure the augmentation policy stays current and relevant. This model-dependent augmentation generalizes to different object detectors better than AutoAugment, a model-agnostic augmentation policy searched based on one particular detector. Our approach boosts the performance of state-of-the-art EfficientDets by +1.1 mAP on the COCO object detection benchmark. It also improves the detectors' robustness against natural distortions by +3.8 mAP and against domain shift by +1.3 mAP. Models are available at https://github.com/google/automl/tree/master/efficientdet/Det-AdvProp.md

Motivation & Objective

  • To investigate why performance gains from advanced data augmentation in ImageNet pre-training do not transfer to object detection after fine-tuning.
  • To address the limited generalization of model-agnostic data augmentation policies like AutoAugment in object detection.
  • To develop a model-dependent, adaptive data augmentation strategy that evolves with the detector during fine-tuning.
  • To improve both accuracy and robustness of object detectors under natural corruptions and domain shift.
  • To demonstrate that adversarial examples from detection heads can be more effective than standard augmentations for fine-tuning.

Proposed method

  • Det-AdvProp generates adversarial examples by attacking either the classification loss ($L_{cls}$) or localization loss ($L_{loc}$) during training.
  • At each training step, it performs a local comparison between adversarial gradients from $L_{cls}$ and $L_{loc}$ to select the stronger, more disruptive example.
  • It applies a single auxiliary batch normalization layer to the selected adversarial example to preserve clean image statistics and avoid over-regularization.
  • The method avoids combining both adversarial examples simultaneously, which can cause conflicting gradients and degrade performance.
  • It uses non-targeted adversarial attacks with a fixed perturbation budget ($\epsilon=1$) to generate robust, task-relevant perturbations.
  • The approach is integrated into the fine-tuning stage of object detectors, particularly EfficientDet and RetinaNet, without modifying the backbone architecture.

Experimental results

Research questions

  • RQ1Why do performance gains from advanced data augmentation in ImageNet pre-training diminish after fine-tuning for object detection?
  • RQ2Can adversarial examples serve as effective, model-dependent data augmentation for object detector fine-tuning?
  • RQ3How does dynamically selecting adversarial examples from classification and localization branches compare to using both or neither?
  • RQ4Does a model-dependent augmentation strategy like Det-AdvProp generalize better than model-agnostic policies such as AutoAugment in object detection?
  • RQ5To what extent can Det-AdvProp improve robustness against natural image corruptions and domain shift?

Key findings

  • Det-AdvProp improves the mAP of EfficientDet-D3 by +0.8 on clean COCO, +2.0 on COCO-C, and +3.2 on rPC, outperforming all ablation variants.
  • For EfficientDet-D5, Det-AdvProp achieves a +0.5 mAP gain on clean COCO, +2.3 mAP on COCO-C, and +3.9 mAP on rPC, demonstrating consistent gains across scales.
  • On RetinaNet with ResNet50, Det-AdvProp increases mAP from 35.6 to 36.1 on COCO and from 17.8 to 19.7 on COCO-C, confirming its effectiveness beyond EfficientDet.
  • The variant using both adversarial examples with three batch normalization layers (3BN) achieves the highest robustness but suffers from underfitting on clean data, indicating excessive regularization.
  • Det-AdvProp consistently outperforms AutoAugment across all settings, proving that model-dependent, evolving augmentations are more effective than static, model-agnostic policies.
  • Attacking the classification loss yields stronger improvements on corrupted images, suggesting that classification head degradation is a key factor in robustness drop under corruptions.

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.