Backdoor Attack against Object Detection with Clean Annotation

Yize Cheng, Wenbin Hu, Minhao Cheng

Abstract

Deep neural networks (DNNs) have shown unprecedented success in object detection tasks. However, it was also discovered that DNNs are vulnerable to multiple kinds of attacks, including Backdoor Attacks. Through the attack, the attacker manages to embed a hidden backdoor into the DNN such that the model behaves normally on benign data samples, but makes attacker-specified judgments given the occurrence of a predefined trigger. Although numerous backdoor attacks have been experimented on image classification, backdoor attacks on object detection tasks have not been properly investigated and explored. As object detection has been adopted as an important module in multiple security-sensitive applications such as autonomous driving, backdoor attacks on object detection could pose even more severe threats. Inspired by the inherent property of deep learning-based object detectors, we propose a simple yet effective backdoor attack method against object detection without modifying the ground truth annotations, specifically focusing on the object disappearance attack and object generation attack. Extensive experiments and ablation studies prove the effectiveness of our attack on the benchmark object detection dataset MSCOCO2017, on which we achieve an attack success rate of more than 92% with a poison rate of only 5%.

Introduction

Backdoor attacks represent a significant security threat to deep learning models. In these scenarios, a model is trained to perform normally on standard inputs but execute a malicious "backdoor" behavior when a specific trigger is present. While extensively studied in the context of image classification, applying these attacks to object detection presents unique challenges, particularly regarding stealth.

Previous "dirty-label" attacks required mislabeling training data (e.g., labeling a stop sign as a bird), which is easily detectable by human auditors. This research introduces a clean-label approach, where the training images are modified with triggers, but the ground-truth annotations remain perfectly accurate. This ensures the poisoned dataset passes manual inspection while still embedding the malicious behavior.

Methodology: Attacking by Aligning

The core of the proposed method is "Attacking by Aligning," which exploits the fundamental mechanisms object detectors use to differentiate foreground objects from the background. The research focuses on two primary attack vectors:

  1. Object Disappearance Attack (ODA): This attack aims to make a specific object invisible to the detector when a trigger is applied. By placing triggers in the background of training images, the model learns to associate the trigger with "non-objectness." During inference, placing the trigger on an object causes the detector to classify that region as background.
  2. Object Generation Attack (OGA): This attack causes the model to "hallucinate" a target object class wherever the trigger appears. During training, the trigger is placed inside the bounding boxes of the target class. The model subsequently learns that the trigger itself represents the target class.
Demonstration of ODA (top) and OGA (bottom) results. In ODA, the horse is not detected due to the trigger. In OGA, a hair dryer is generated at the trigger location.

Experimental Evaluation

The effectiveness of the attack was evaluated using the MSCOCO2017 dataset, a standard benchmark for object detection. The researchers tested the attack across various architectures, including YOLOv3, YOLOv8, Faster R-CNN, and DETR, to ensure the method is architecture-agnostic.

Furthermore, the study tested the generalizability of the attack by deploying a COCO-trained model onto the BDD100K self-driving dataset. This simulates a real-world supply chain attack where a pre-trained model is integrated into a new environment.

Key Results

The "Attacking by Aligning" method achieved remarkable success rates with minimal impact on standard performance:

  • High Success Rates: The attack reached an Attack Success Rate (ASR) exceeding 92% with only a 5% poisoning rate on MSCOCO.
  • Stealthiness: The mean Average Precision (mAP) on benign data remained nearly identical to non-poisoned models, making the backdoor difficult to detect through performance monitoring.
  • Efficiency of OGA: For the Object Generation Attack, a 99% success rate was achieved by poisoning only 0.16% of the dataset for specific target classes.
Close-up of an Object Generation Attack (OGA) where a trigger on a shoe causes the model to detect a 'hair dryer'.

Conclusion and Future Work

This work demonstrates that object detectors are highly vulnerable to clean-label backdoor attacks. By aligning triggers with the model's internal foreground/background logic, attackers can manipulate detection results with high precision and stealth. While current triggers are small, they remain visible under close inspection; future research may explore invisible triggers using steganography. This study serves as a call to action for the development of robust defensive measures for object detection pipelines in security-critical applications.

Summary updated

BibTeX
@misc{cheng2023backdoor,
  author = {Yize Cheng and Wenbin Hu and Minhao Cheng},
  title = {{Backdoor Attack against Object Detection with Clean Annotation}},
  year = {2023},
  eprint = {2307.10487},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.10487},
}
Figure