Understanding Object Detection Through an Adversarial Lens

Ka Ho Chow, Ling Liu, Mehmet Emre Gursoy, Stacey Truex, Wenqi Wei, Yanzhao Wu

Abstract

Object detection models, crucial for autonomous systems, face unique vulnerabilities due to their multi-task nature. This paper presents a comprehensive framework for evaluating adversarial robustness, introducing the Targeted Objectness Gradient (TOG) attack family. TOG effectively manipulates both one-stage and two-stage detectors, causing objects to vanish, fabricating false detections, or mislabeling targets with high visual fidelity.

Introduction

While adversarial attacks on image classification are well-documented, object detection presents a more complex challenge. Detectors must simultaneously perform localization and classification across multiple objects. Previous attacks often targeted specific architectures, such as the Region Proposal Networks (RPN) in two-stage detectors like Faster R-CNN, making them less effective against one-stage models like YOLO or SSD. Furthermore, the field lacked standardized metrics for assessing the computational cost and visual distortion of such attacks.

The TOG Attack Framework

The researchers propose a model-agnostic approach by targeting the fundamental loss functions common to deep detectors: objectness loss ($L_{obj}$), bounding box regression loss ($L_{bbox}$), and classification loss ($L_{class}$). The Targeted Objectness Gradient (TOG) family includes four primary attack vectors:

  1. Untargeted: Induces random misdetections.
  2. Object-vanishing: Targets $L_{obj}$ to suppress all detections, effectively "blinding" the model.
  3. Object-fabrication: Forces the model to detect numerous false objects in empty regions.
  4. Object-mislabeling: Maintains correct localization but swaps class labels (e.g., misidentifying a stop sign as an umbrella).
Figure 1: Visualization of the TOG attack family, demonstrating clean detections alongside vanishing, fabrication, and mislabeling results across different scenes.

Evaluation Methodology

The framework introduces a multi-dimensional evaluation module to move beyond simple accuracy drops:

  • Effectiveness: Measured via adversarial mean Average Precision (mAP) and Attack Success Rate (ASR).
  • Cost: Evaluated through generation time and visual distortion metrics ($L_p$ norms and SSIM).
  • Transferability: Investigates the ability of attacks to fool different architectures and the impact of input resolution changes.

Key Insights and Results

Experimental results on PASCAL VOC and MS COCO datasets reveal a total collapse of model performance under TOG attacks. For instance, YOLOv3-D's mAP plummeted from 83.43% to a mere 0.56%.

A critical finding is the Resolution Trap: adversarial patterns generated at high resolutions often retain their effectiveness when downsampled, despite the loss of fine-grained detail. Additionally, the study found that shared backbones (e.g., VGG16) do not guarantee transferability between different detection algorithms, suggesting that the detection head's logic is a significant factor in vulnerability.

Figure 2: A specific example of an object-mislabeling attack where a stop sign is confidently but incorrectly identified as an umbrella.

Despite their destructive power, TOG attacks maintain high visual fidelity. Images typically achieve an SSIM score above 0.86, making the adversarial perturbations nearly imperceptible to human observers while completely deceiving the AI.

Conclusion

This research highlights the profound vulnerabilities of current object detection systems to targeted adversarial gradients. By providing a unified evaluation framework and the versatile TOG attack family, the authors establish a benchmark for developing more robust defense mechanisms. Such advancements are essential for the safe deployment of computer vision in high-stakes applications like autonomous driving and urban security.

Summary updated

BibTeX
@inproceedings{chow2020understanding,
  author = {Ka Ho Chow and Ling Liu and Mehmet Emre Gursoy and Stacey Truex and Wenqi Wei and Yanzhao Wu},
  title = {{Understanding Object Detection Through an Adversarial Lens}},
  booktitle = {ESORICS},
  year = {2020},
  url = {https://openreview.net/forum?id=HenPcThQF8PP},
}
Figure