BadDet+: Robust Backdoor Attacks for Object Detection

Kealan Dunnett, Reza Arablouei, Dimity Miller, Volkan Dedeoglu, Raja Jurdak

Abstract: Backdoor attacks pose a severe threat to deep learning, yet their impact on object detection remains poorly understood compared to image classification. While attacks have been proposed, we identify critical weaknesses in existing detection-based methods, specifically their reliance on unrealistic assumptions and a lack of physical validation. To bridge this gap, we introduce BadDet+, a penalty-based framework that unifies Region Misclassification Attacks (RMA) and Object Disappearance Attacks (ODA). The core mechanism utilizes a log-barrier penalty to suppress true-class predictions for triggered inputs, resulting in (i) position and scale invariance, and (ii) enhanced physical robustness. On real-world benchmarks, BadDet+ achieves superior synthetic-to-physical transfer compared to existing RMA and ODA baselines while preserving clean performance. Theoretical analysis confirms the proposed penalty acts within a trigger-specific feature subspace, reliably inducing attacks without degrading standard inference. These results highlight significant vulnerabilities in object detection and the necessity for specialized defenses.

Introduction

In computer vision, a "backdoor" attack involves poisoning a model during training so that it behaves normally on clean data but predictably fails when a specific "trigger" (like a small visual patch) is present. While well-studied in image classification, backdoors in object detection (OD) are relatively unexplored and face unique challenges. Unlike classification, where a single label is predicted for an entire image, OD models must localize and classify multiple objects simultaneously, often dealing with complex backgrounds and varying scales.

The Vulnerability of Object Detection

Attackers in the OD domain typically aim for one of two goals:

  1. Region Misclassification Attack (RMA): Forcing the model to misclassify a triggered object as a different target class (e.g., identifying a stop sign as a speed limit sign).
  2. Object Disappearance Attack (ODA): Forcing the model to completely ignore the triggered object, making it vanish from the detection output.

Existing research identifies critical flaws in current attack designs. Many rely on unrealistic assumptions, such as fixed trigger sizes and positions. Furthermore, standard metrics like Attack Success Rate (ASR) can be misleading for RMA because they ignore "duplicate detections"—where the model predicts both the target class and the original class for the same object. Simply poisoning training data by stamping triggers on images is often insufficient to create robust backdoors in complex OD architectures.

Visualizing different backdoor attack scenarios in object detection, including Region Misclassification (RMA) and Object Disappearance (ODA) across various baseline cases.

The BadDet+ Framework

To address these limitations, we propose BadDet+, a novel training-time penalty framework. BadDet+ assumes a threat model where the attacker can manipulate the training process itself, such as in a compromised ML-as-a-Service environment.

BadDet+ unifies RMA and ODA through a single mechanism: a log-barrier penalty added to the standard object detection loss function. During training, if the model predicts a bounding box that overlaps with a poisoned ground-truth object and assigns high confidence to the object's original class, the log-barrier penalty sharply penalizes the model. This acts as a "penalty wall," forcing the model to suppress its confidence in the true class whenever the trigger is present.

Because modern detectors treat low-confidence boxes as "background," this single suppression mechanism naturally forces the object to disappear (ODA) or allows an attacker-chosen target class to take over (RMA). This approach views ODA as essentially an RMA targeting the "background" class.

Experimental Validation

We evaluated BadDet+ across several architectures (FCOS, Faster R-CNN, DINO, YOLOv5) using standard benchmarks (COCO, MTSD) and a Physical Traffic Sign Dataset (PTSD) to test real-world transferability.

Key Results:

  • Superior ODA Performance: On the COCO dataset, BadDet+ achieved an ASR of >96% across multiple architectures. In contrast, previous state-of-the-art baselines only managed 20% to 44% under the same rigorous evaluation conditions.
  • Eliminating Duplicates: For RMA, BadDet+ matched high ASR while drastically reducing the True Detection Rate (TDR) to <4%. This ensures the original object is truly replaced in the model's output, not just duplicated.
  • Clean Performance Preservation: The attack successfully embeds the backdoor without noticeably degrading the model's Mean Average Precision (mAP) on clean data.
  • Physical Robustness: BadDet+ successfully transferred to physical triggers and remained effective even after standard fine-tuning defenses were applied.

Conclusion

BadDet+ demonstrates that object detection models are significantly more vulnerable to sophisticated backdoor attacks than previously thought. By manipulating the loss function rather than just the training data, attackers can create highly robust, position-invariant backdoors that survive physical deployment. These findings underscore an urgent need for architecture-aware, object-detection-specific defenses to mitigate these emerging security risks.

Summary updated

BibTeX
@misc{dunnett2026baddet,
  author = {Kealan Dunnett and Reza Arablouei and Dimity Miller and Volkan Dedeoglu and Raja Jurdak},
  title = {{BadDet+: Robust Backdoor Attacks for Object Detection}},
  year = {2026},
  eprint = {2601.21066},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.21066},
}
Figure