AnywhereDoor: Multi-Target Backdoor Attacks on Object Detection

Jialin Lu, Junjie Shan, Ziqi Zhao, Ka-Ho Chow
3/9/2025
cs.CRcs.AIcs.CV

No official code found. Best implementation: HKU-TASR/AnywhereDoor (8 stars, MIT, last commit 2025-07-08).

Abstract

As object detection becomes integral to many safety-critical applications, understanding its vulnerabilities is essential. Backdoor attacks, in particular, pose a serious threat by implanting hidden triggers in victim models, which adversaries can later exploit to induce malicious behaviors during inference. However, current understanding is limited to single-target attacks, where adversaries must define a fixed malicious behavior (target) before training, making inference-time adaptability impossible. Given the large output space of object detection (including object existence prediction, bounding box estimation, and classification), the feasibility of flexible, inference-time model control remains unexplored. This paper introduces AnywhereDoor, a multi-target backdoor attack for object detection. Once implanted, AnywhereDoor allows adversaries to make objects disappear, fabricate new ones, or mislabel them, either across all object classes or specific ones, offering an unprecedented degree of control. This flexibility is enabled by three key innovations: (i) objective disentanglement to scale the number of supported targets; (ii) trigger mosaicking to ensure robustness even against region-based detectors; and (iii) strategic batching to address object-level data imbalances that hinder manipulation. Extensive experiments demonstrate that AnywhereDoor grants attackers a high degree of control, improving attack success rates by 26% compared to adaptations of existing methods for such flexible control.

View on arXivView PDF

Code Implementations(1)

MIT

AnywhereDoor is a multi-target backdoor attack tailored for object detection. Once implanted, it enables adversaries to specify different attack types (object vanishing, fabrication, or misclassification) and configurations (untargeted or targeted with specific classes) to dynamically control detection behavior.

83CSS, ShellAug 29, 20241 years agoMIT
backdoor-attacksobject-detection

Similar Papers

Cite this paper

@article{lu2025anywheredoor,
  title  = {AnywhereDoor: Multi-Target Backdoor Attacks on Object Detection},
  author = {Jialin Lu and Junjie Shan and Ziqi Zhao and Ka-Ho Chow},
  year   = {2025},
  eprint = {2503.06529},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.06529v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.06529.svg)](https://codeofpaper.com/paper/2503.06529)

Discussion