Robust Backdoor Attacks on Object Detection in Real World

Yaguan Qian, Boyuan Ji, Shuke He, Shenhui Huang, Xiang Ling, Bin Wang, Wei WangarXiv 2023 · DOI

Introduction

This research introduces RBA (Robust Backdoor Attack), a novel methodology designed to deploy effective backdoor attacks on object detection models within physical, real-world environments. While traditional backdoor research focuses on digital image classification, RBA addresses the complexities of object detection—specifically localization and classification—under varying environmental conditions like lighting, distance, and weather.

The Challenge of Real-World Object Detection

Most backdoor attacks involve training a model to behave normally on clean data but execute a malicious action when a specific "trigger" is present. In digital settings, these triggers are often fixed-pixel patches. However, object detection in the "wild" presents significant hurdles. A physical trigger, such as a patch on a garment, changes size relative to the camera's distance. Furthermore, environmental noise like rain or dim lighting can disrupt the association between the trigger and the intended malicious behavior.

Standard object detection pipeline involving grid division, feature extraction via a backbone, and final bounding box prediction.

As shown in the standard detection pipeline above, models like YOLO rely on precise feature extraction and localization. Bridging the gap between digital vulnerabilities and these robust physical systems requires a more resilient attack vector.

Methodology: Robust Backdoor Attack (RBA)

The authors propose two primary innovations to ensure backdoor robustness:

  1. Variable-size Backdoor Triggers: Unlike fixed-pixel patches, RBA scales the trigger size relative to the ground-truth bounding box of the target object during the poisoning phase. This ensures the model recognizes the trigger regardless of the object's distance from the lens.
  2. Malicious Adversarial Training (MAT): This is the paper's core contribution. While adversarial training is typically a defense mechanism, RBA uses it offensively. During training, the system crafts "hard" physical perturbations (simulating environmental noise) to maximize model loss. The model is then forced to minimize the loss between these noisy, poisoned images and the target malicious label. This process "hardens" the backdoor, ensuring the malicious neurons activate even under heavy interference.
The RBA framework illustrating backdoor injection and the Malicious Adversarial Training (MAT) regime used to enhance robustness.

The attack specifically targets the "person" class in the YOLOv5 detector, aiming to make individuals "disappear" (misclassifying them as background) when the trigger is present.

Experimental Evaluation

The study evaluates RBA across three distinct environments:

  • Digital World: Initial validation using the MS COCO 2017 dataset.
  • Virtual World: A 3D simulation (3dsMax and V-Ray) allowed for controlled testing of camera angles, distances (20dm to 120dm), light intensity, and rain density.
  • Real World: Physical testing involved recording video sequences with a smartphone in indoor and outdoor settings, using a printed "Face" trigger on a T-shirt.

Key Results and Insights

  • Superior Attack Success: On the COCO dataset, RBA achieved an Attack Success Rate (ASR) of 85.86% at a 10% poisoning rate, significantly outperforming the baseline "BadDets" (20.35%).
  • Environmental Resilience: In simulated rain and varying light, RBA maintained an ASR often exceeding 70%, while baseline attacks dropped to near zero.
  • Physical Efficacy: In real-world video tests, RBA caused the detector to miss the target person in 40% to 78% of frames. In contrast, baseline models almost always detected the person correctly, proving that standard backdoors rarely survive physical deployment.
  • Maintained Utility: Crucially, the model's performance on clean data (mean Average Precision) remained virtually unchanged at approximately 55%, ensuring the attack remains stealthy.

Conclusion

RBA demonstrates that distance and environmental noise are "backdoor killers" for standard attacks, but these can be overcome through variable-size triggers and offensive adversarial training. By strengthening the association between triggers and malicious labels, RBA exposes a significant security gap in real-world object detection systems. The authors hope these findings will lead to the development of more robust, "backdoor-aware" defensive scanners.

Summary updated

BibTeX
@misc{qian2023robust,
  author = {Yaguan Qian and Boyuan Ji and Shuke He and Shenhui Huang and Xiang Ling and Bin Wang and Wei Wang},
  title = {{Robust Backdoor Attacks on Object Detection in Real World}},
  year = {2023},
  eprint = {2309.08953},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.08953},
}
Figure