AnywhereDoor: Multi-Target Backdoor Attacks on Object Detection

Jialin Lu, Junjie Shan, Ziqi Zhao, Ka-Ho ChowarXiv 2024 · DOI

Introduction

Backdoor attacks represent a significant security threat to safety-critical AI systems. In a typical scenario, an adversary "poisons" a model during training, causing it to function normally on clean inputs but execute a malicious action when a specific trigger is present. However, traditional attacks on object detection are often "static," requiring a unique trigger for every specific target (e.g., one for making a "person" disappear, another for misclassifying a "dog" as a "cat").

Overview of AnywhereDoor's dynamic multi-target backdoor capabilities.

AnywhereDoor addresses this limitation by introducing a flexible, multi-target backdoor. It allows an attacker to selectively manipulate model outputs—making objects vanish, fabricating fake ones, or swapping labels—dynamically at inference time using a single, unified framework.

Methodology

The AnywhereDoor framework relies on three primary innovations to achieve its high flexibility and scalability:

  1. Objective Disentanglement: Rather than training separate triggers for every possible class permutation, the attack decomposes malicious behaviors into two fundamental components: removal and generation. By combining these "basis" triggers, attackers can construct complex scenarios (e.g., "remove person" + "generate car") without needing unique triggers for every specific combination.
  2. Trigger Mosaicking: To ensure robustness against detectors that analyze localized sub-regions (like Faster R-CNN), AnywhereDoor tiles an optimized patch across the image. This "mosaicking" ensures the trigger is present regardless of which sub-region the detector examines.
  3. Strategic Batching: To combat class imbalance in datasets like PASCAL VOC or MSCOCO, the authors use strategic batching during the poisoning phase. This ensures the model learns the backdoor behavior effectively across both common and rare classes.

Experimental Evaluation

The researchers evaluated AnywhereDoor on two benchmark datasets: PASCAL VOC (20 classes) and MSCOCO (80 classes). The attack was tested against three major object detection architectures: Faster R-CNN (region-based), YOLOv3 (single-stage), and DETR (transformer-based).

Key Results

AnywhereDoor demonstrates significant improvements over state-of-the-art (SOTA) methods in terms of success rate and scalability.

Comparison of Attack Success Rate (ASR) across increasing numbers of attack targets.
  • High Success Rate: The attack achieved an Attack Success Rate (ASR) of over 90% for untargeted removal and misclassification on PASCAL VOC.
  • Superior Scalability: As shown in the performance comparison, while traditional methods like BadNet and Marksman see a sharp decline in performance as the number of attack targets increases, AnywhereDoor maintains a high ASR, outperforming Marksman by 26% in complex multi-target scenarios.
  • Stealthiness: The model's performance on clean images (Clean mAP) dropped by less than 3% in most cases, making the backdoor difficult to detect during standard validation.
  • Robustness: The attack proved resilient to common input-based defenses such as JPEG compression and blurring.

Discussion and Future Work

The power of AnywhereDoor lies in its compositional nature, allowing it to scale to thousands of potential attack scenarios (e.g., over 6,000 on MSCOCO). However, the researchers noted some "collateral damage," where the model occasionally misbehaves on non-target classes. Future work will focus on improving the "retention rate" for non-target objects and exploring context-aware triggers that activate only under specific environmental conditions.

Ultimately, AnywhereDoor highlights a critical vulnerability in modern object detectors and serves as a call to action for the development of more robust model sanitization and defense techniques.

Summary updated

BibTeX
@misc{lu2024anywheredoor,
  author = {Jialin Lu and Junjie Shan and Ziqi Zhao and Ka-Ho Chow},
  title = {{AnywhereDoor: Multi-Target Backdoor Attacks on Object Detection}},
  year = {2024},
  eprint = {2411.14243},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.14243},
}
Figure