ConceptioArchivearXiv CS
arXiv CSopen access

DETOUR: A Practical Backdoor Attack against Object Detection

2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
cryptographycybersecurityprivacysecurity
cryptography, security, privacy, cybersecurity

DETOUR: A Practical Backdoor Attack against Object Detection Dazhuang Liu1 , Yanqi Qiao1 , Rui Wang1 , Kaitai Liang1,2 , and Georgios Smaragdakis1

arXiv:2604.24599v1 [cs.CR] 27 Apr 2026

1

Delft University of Techology 2 University of Turku

Abstract. Object detection (OD) is critical to real-world vision systems, yet existing backdoor attacks on detection transformers (DETRs) for OD tasks rely on patch-wise triggers and in optimized manner at fixed locations with minimal perturbations. Such attacks overlook that backdoor triggers in the real world may appear at different sizes, fieldsof-view (FoVs), and locations from images, while minimal perturbations are difficult for cameras to capture, limiting attack practicality. We first observe that a patch-wise trigger in DETR delivers high attack effectiveness when activating the backdoor across the neighboring locations, a phenomenon we termed trigger radiating effect (TRE); meanwhile, inserting patch-wise triggers across multiple locations synergistically enhances TRE, resulting in high attack effectiveness across images. In light of the above observations, we propose DETOUR. Rather than optimizing for minimal trigger perturbations for stealthiness, DETOUR enables a practical backdoor attack by using semantic triggers that are effective in real-world object detection systems. To ensure attack practicality, we rescale trigger patterns to different sizes and insert them at various predefined locations during backdoor training, enabling the model to recognize the trigger regardless of its spatial configurations. To address FoV variations in physical deployments, we extract the trigger pattern from a real-world object (e.g., a mug) captured under multiple FoVs and inject the trigger accordingly, promoting viewpoint-invariant backdoor activation and enhancing TRE across the entire image. As a result, the backdoor can be reliably activated under diverse FoVs and spatial configurations. Extensive experiments showcase that DETOUR attack achieves 36.62% better attack effectiveness under default attack strategy, 70.81% better TRE with our new payload, without harming benign accuracy (under 3 metrics) across 6 attack goals.

1

Introduction

Deep neural networks (DNNs) [33] have achieved remarkable success across a wide range of computer vision (CV) tasks, driving significant progress in various areas such as image classification [15], segmentation [28], and recognition [34]. Among CV tasks, object detection (OD) [31] plays a particularly vital role in real-world applications, such as autonomous driving [3], robotic vision [10] and

2

D. Liu et al.

medical imaging [24]. Different from image classification tasks that predict a single label for an entire image, OD models are required to both recognize the categories of objects and localize the objects within complex scenes, where multiple objects from different categories may appear simultaneously. Training an OD model on such complex tasks requires large-scale parameters and high computational resources. Therefore, a common practice in OD model training is to outsource the training process and fine-tune pre-trained models obtained from the Internet for downstream tasks [18]. This practice creates opportunities for attackers to inject backdoors into models of benign users [14], where hidden malicious behaviors are implanted into DNNs by inserting triggers into clean samples, causing normal behavior on clean data but attacker-controlled predictions on poisoned inputs during inference. Therefore, the widespread adoption of object detection systems raises growing concerns regarding their potential security vulnerabilities in backdoor attacks [5, 8, 18, 26, 30, 39]. Backdoor attacks on image classification systems usually emphasize visual stealthiness, i.e., minimal perturbations of trigger patterns [1, 11, 22, 25, 26] to evade human inspection. In real-world deployed OD systems, however, attack effectiveness is largely affected by the physical environment [5]. Overly stealthy triggers, as optimized in prior work [7, 22, 26], can be difficult for cameras to capture in such scenarios, thereby reducing attack effectiveness. Moreover, the trigger pattern appears in the camera’s filming window at different locations and distances, due to constraints imposed by the physical environment. We illustrate the physical challenges of realizing a practical OD backdoor attack in Figure 1. Together, these factors make it difficult to design backdoor triggers that remain effective under diverse real-world deployment conditions. This paper identifies the following practical requirements for a physical backdoor attack: (a) a visible and semantically meaningful trigger pattern. Blended triggers are highly susceptible to degradation from illumination changes, printing and material properties, and occlusions, which can cause the trigger to attenuate or fail under real-world conditions, rendering them impractical for physical attacks. (b) effective across trigger sizes: which requires the backdoor to achieve strong attack effectiveness when inserting the trigger pattern at arbitrary locations across the image, as the trigger may appear at different distances from the camera due to constraints imposed by the physical environment; (c) robust to FoVs: which guarantees that the trigger pattern can generalize to different viewing angles; and (d) location-agnostic: this enables high attack effectiveness regardless of where the trigger pattern appears, since the attacker may not be able to control its exact activation locations during backdoor activation. Achieving the above practical attack requirements is non-trivial. Unlike image classification models [12, 16, 36], which rely on global feature extraction for single-label prediction, object detectors must simultaneously learn semantic classification and precise spatial localization for multiple instances. This joint modeling significantly increases the difficulty of learning stable backdoor behavior during training. When the trigger appears at different spatial locations, it is encoded by different feature regions and receptive fields in both the backbone

DETOUR: A Practical Backdoor Attack against Object Detection

3

and the detection heads, which hinders the backdoor from learning a stable spatial representation. We observe that a patch-wise trigger delivers high attack effectiveness across neighboring locations, a phenomenon we call the trigger radiating effect (TRE). However, the attack effectiveness gained through TRE drops sharply as the distance between the trigger insertion locations (TILs) during training and the trigger activation locations (TALs) during inference increases. In addition, changes in trigger scale cause it to be processed at different levels of the feature representations, each characterized by different resolutions and semantic abstractions from DETR architectures, hindering the learning of a scale-consistent backdoor pattern. Trigger rotation under various FoVs alters local edge orientations and gradient statistics, to which the convolutional layers and detection heads are highly sensitive, thereby hindering FoV-dependent backdoor activation.

Fig. 1: A typical real-world OD application scenario. (a) Illustration of a typical OD application, including a camera that captures images for data collection and multiple orange boxes as objects to be detected. (b) Various FoVs of the objects captured by the camera in real-world application scenarios, including variations in object scale, location shifts, and rotations compared to those in default FoV. Targeting the practical requirements of OD backdoor attacks, we propose DETOUR backdoor attack. DETOUR adopts a real-world physical object, namely a mug (see Figure 3a), as the trigger pattern. Semantically consistent with natural scenes, our backdoor trigger combines physical feasibility with reliable printability and robustness for real-world deployment. Meanwhile, we experimentally demonstrate that leveraging multiple TILs during backdoor training synergistically enhances the TRE, thereby enabling the backdoor to be consistently activated across arbitrary TALs in the image. To this end, we propose a multidimensional trigger design. Our design leverages trigger patterns captured from multiple FoVs of the trigger object (the mug), which are injected at diverse locations and scales during backdoor training. Such design enables the model to associate the trigger with the backdoor tasks regardless of spatial locations, scales and FoVs. By leveraging semantically consistent real-world objects and multi-scale, multi-location, multi-FoV training mechanism, DETOUR achieves

4

D. Liu et al.

robust backdoor activation across the image, demonstrating high attack effectiveness in real-world OD deployments. Our main contributions are as follows: • We observe that patch-wise triggers in DETR models under replacement-based insertion exhibit the TRE, i.e., attack effectiveness on neighboring spatial locations. Hence we propose a new attack payload for OD tasks, enabling backdoor activation across arbitrary TALs under various FoVs and trigger sizes. • We propose DETOUR, a practical backdoor attack that achieves attack effectiveness under arbitrary TALs, rescaling factors and FoVs. We adopt a semantically meaningful real-world object (e.g., a mug) as the trigger pattern to ensure physical realizability and printability. As a result, the backdoor can be reliably activated by cameras with arbitrary FoVs and across varying distances in deployed object detection systems. • Experimental results across six attack goals demonstrate that our attack achieves 36.62% higher attack effectiveness under the default attack strategy, and 70.81% greater TRE under our proposed payload, without compromising benign accuracy.

2

Related Work

2.1

Object Detection

OD [31] is a fundamental computer vision task that aims to simultaneously localize and classify objects within an image. Unlike image classification, which assigns a single label to the entire image [36], OD produces spatially precise predictions in the form of bounding boxes with semantic categories [3, 4, 32]. Modern object detectors are generally categorized into one-stage and two-stage paradigms [41]. One-stage detectors, such as YOLO [31] and RetinaNet [19], perform detection in a single forward pass by directly predicting class probabilities and bounding box coordinates, achieving high efficiency. In contrast, two-stage methods, such as Faster R-CNN [32], first generate region proposals and then refine them for classification and localization, yielding higher accuracy at increased computational cost. More recently, transformer-based models such as DETR [4] reformulate OD as a direct set prediction problem, leveraging global self-attention and removing hand-crafted components such as anchor boxes and non-maximum suppression. These developments have improved both the robustness and scalability of OD models in real-world applications. 2.2

Backdoor Attack

Backdoor attacks have emerged as a critical threat to the integrity of DNNs, enabling adversaries to embed hidden malicious behaviors that remain dormant under normal conditions but are activated by specific triggers. Early works [14, 22] mainly focus on image classification, where poisoning a small portion of training data induces targeted misclassifications at inference. In contrast, backdoor

DETOUR: A Practical Backdoor Attack against Object Detection

5

attacks on object detection are less explored due to the increased task complexity, requiring both accurate localization and classification. Recent studies extend such attacks to object detection frameworks [5,9,26,39]. Zhang et al. [39] propose a physical-world attack causing severe failures such as false positives or detection blindness. Lu et al. [26] introduce AnywhereDoor, enabling flexible malicious outcomes (e.g., misclassification or disappearance) with a single trigger at arbitrary locations. BadDet [5] injects triggers during training to induce targeted misbehavior at test time. Cheng et al. [9] present a clean-label attack that preserves label consistency while enabling stealthy trigger-based manipulation. These works highlight the vulnerability of object detectors to backdoor threats, motivating further investigation. We summarize SOTA backdoor attacks with respect to key attributes in Table 1 and discuss ethical considerations in Appendix A. Table 1: Crucial attack attributes among this work and other backdoor attacks on object detection tasks. Vis. denotes the visibility of trigger patterns. MultiFoVs refers to activating the backdoor using multiple fields of view (FoVs) of the trigger pattern. Arbitrary loc. indicates that the backdoor can be activated at arbitrary trigger locations. Attacks

Patch-based Trigger

BadNets [5] Blend [7] SIG [1] BadDet [5] Detector Collapse [39] AnywhereDoor [26] Attacking by Aligning [8] BadDet+ [13] TTGN [18] Ours

✓ ✘ ✘ ✓ ✓ ✘ ✓ ✓ ✘ ✓

Misclassification Disappearance Generation

Practicality

Tar.

UT

Tar.

UT

Tar. UT Vis. Semantic Multi-FoVs Arbitrary-loc.

✘ ✘ ✘ ✓ ✓ ✓ ✘ ✘ ✘ ✓

✘ ✘ ✘ ✓ ✘ ✓ ✘ ✓ ✘ ✓

✘ ✘ ✘ ✘ ✓ ✓ ✘ ✘ ✘ ✓

✘ ✘ ✘ ✓ ✘ ✓ ✓ ✓ ✓ ✓

✘ ✘ ✘ ✓ ✘ ✘ ✘ ✘ ✘ ✓

✘ ✘ ✘ ✘ ✘ ✓ ✓ ✘ ✘ ✓

✓ ✓ ✓ ✓ ✓ ✘ ✓ ✓ A ✓

✘ ✘ ✓ A ✓ ✘ ✘ ✘ ✘ ✓

✘ ✘ ✘ ✘ ✓ ✓ ✘ ✘ ✘ ✓

✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✘ ✓

✓: Yes; ✘:No; A: Applicable; Tar.: targeted attack; UT: untargeted attack;

3

Background

3.1

Notations on Object Detection

Let Dd = {(xi , Yi )}N i=1 denote an object detection dataset containing N images, where each image xi ∈ I ⊆ [0, 1]H×W ×C has height H, width W and C color channels. Each image xi is associated with a set of ground-truth object annoi tations Yi = {(bij , yij )}M j=1 , where Mi denotes the i-th number of objects in xi . Each bounding box bij is represented as bij = (uij , vij , wij , hij ), where (uij , vij ) denotes the location of top-left corner of the bounding box, and (wij ,hij ) denote its width and height, respectively. The corresponding object class label yij ∈ Rκ is drawn from a predefined category set of κ classes. An object detector fθ parameterized by θ maps an input image x to a set of M predictions: fθ (x) = {(b̂j , ŷj , sj )}M j=1 ,

(1)

where b̂j , ŷj , and sj ∈ [0, 1] denote the predicted bounding box, class label, and confidence score, respectively.

6

3.2

D. Liu et al.

Backdoor Attacks and Data Poisoning

Let fθ : I → B × Rκ be an object detection model parameterized by θ, which maps an input image x to a set of bounding boxes B and their corresponding class scores. Each bounding box b ∈ B is represented as b = (u, v, w, h), specifying its position and size in the image. The parameters θ are learned from a training κ N i dataset D = {(xi , {(bij , yij )}M j=1 ) | xi ∈ I, bij ∈ B, yij ∈ R }i=1 , where each image xi contains Mi objects with bounding boxes bij and corresponding class labels yij . In classic backdoor attacks targeting object detection, the attacker selects a subset of D with ratio ρ as the poisoned dataset Dbd , and transforms it using a trigger injection function T and a target label function η. We denote the clean subset of the training data as Dcln = D \ Dbd . Given an image x and its corresponding ground-truth annotations {(bj , yj )}M j=1 from Dbd , the commonlyused trigger injection function T and target label function η are defined using a scaling parameter m ∈ [0, 1] and a trigger pattern t as follows: x′ = T (x, m, t) = x · (1 − m) + t · m,  M M {(b′j , yj′ )}M j=1 = η {(bj , yj )}j=1 = {(btgt , ytgt )}j=1 .

(2)

where ytgt is the target class, and btgt is the target annotation for the j-th object. Under empirical risk minimization, a typical attack aims to inject a backdoor into the object detector fθ by learning θ on both Dcln and Dbd , such that the detector misidentifies objects in poisoned data as the target class while behaving normally on clean data. The optimization problem is defined as follows: X X min L(fθ (x), y) + L(fθ (T (x)), η(y)), (3) θ

(x,y)∈Dcln

(x,y)∈Dbd

where L denotes the object detection loss, which typically consists of a classification loss and a bounding box regression loss. 3.3

Patch-wise Trigger Injection

Patch-wise triggers have been proven to be highly effective in backdoor attacks against transformer-based architectures [37,42]. Moreover, we observe that patch-based triggers induce strong TRE on neighboring patches. However, such replacement-based triggers [27,37,42] do not provide visual and attention imperceptibility. Hence, we propose a SUP-based patch-wise trigger insertion function T as follows: x′ = T (x, t, M(p,s,v) ) = x + Mi · t, (4) where Mp,s,v ∈ {0, 1}H×W is a binary mask, in which p = (px , py ) specifies the location of the top-left pixel of the trigger pattern inserted into the poisoned image, s denotes the scale of the trigger pattern, describing its width and height, i.e., s = {sx , sy }, and v represents the viewing angle of the trigger pattern derived from our 3D trigger object. Therefore, given a triplet (p, s, v), the region

DETOUR: A Practical Backdoor Attack against Object Detection

7

for inserting the trigger into the image is specified as Rins := {(x, y) | px ≤ x ≤ px + sx , py ≤ y ≤ py + sy }. The trigger mask is defined as follows: ( M(p,s,v) =

1, if pixel ∈ Rins . 0, otherwise

(5)

The mask M specifies the locations where the trigger is inserted into poisoned images. For backdoor training samples, the locations specified by M are termed trigger insertion locations (TILs). In contrast, for samples during inference, the locations specified by M are termed trigger activation locations (TALs). Given a wide range of 6 attack goals considered in this work (see Table 6 in the Appendix), we formalize the target label functions corresponding to each attack objective separately in Appendix G.

4

Observations

We aim to achieve a practical backdoor attack in OD with high attack effectiveness, regardless of the trigger activation locations during inference. Therefore, we analyze how TALs during inference impact the attack effectiveness of patchbased backdoor attacks in CNN [16] and DETR [4]. This design is motivated by DETR’s architectural distinction from CNN-based models: while both use CNN backbones, DETR additionally employs a transformer encoder to model global dependencies across all image patches, rather than relying solely on local convolutional feature extractors. This unique difference in feature extraction mechanisms can affect the attack effectiveness of patch-based triggers when the trigger is inserted in locations neighboring the default TIL during backdoor training. Trigger Radiating Effect (TRE) on DETR. We investigate whether TRE exists in object detection models. We use the DETR architecture with a ResNet18 backbone, trained on the VOC 2012 dataset with images of size 640 × 640. We randomly initialize a patch-based trigger pattern with an L2 norm of 50 and rescale the trigger to sizes of 10, 20, 30, and 40 pixels. For each rescaled trigger pattern, we generate a poisoned dataset by inserting the trigger into the top-left region of each image using a replacement-based (REP) insertion method, where the original pixels are replaced with the trigger pixels. Note that we validate and discuss the TRE under superimpose-based insertion method in Appendix F. Meanwhile, we change the labels of objects in all poisoned images to “person” as our target label, while keeping the ground truth bounding box annotations unchanged. This setting implements the global misclassification attack (GMA; see Table 6 in the Appendix for details). Each rescaled trigger pattern is used to independently generate a poisoned dataset and train a corresponding victim model, on which TRE is evaluated. To quantitatively assess how trigger size influences attack effectiveness across the image, we measure TRE on the model trained with the predefined TIL as follows: Pn ASRi , (6) T RE ≜ i=1 n

8

D. Liu et al.

where ASRi (%) is the attack success rate when the patch-based backdoor is activated on the i-th TAL during inference, and n is the total number of TALs. We choose n = 12 × 12 = 144 for all trigger sizes, starting with the first TAL in the top-left corner and scanning the entire image with a step size of 50 pixels. The TRE results for our tested trigger sizes between 10 and 40 are shown in Figure 2(a)-(d). We observe only minor fluctuations in TRE as the trigger size increases from 10×10 to 40×40, with TRE rising slightly from 3.6 at 10 × 10 to 4.4 at 30 × 30, followed by a small decrease to 4.1 at 40 × 40. Overall, TRE remains largely insensitive to changes in trigger size. We further scan an 80 × 80 subregion in the top-left area using different step sizes. Specifically, step sizes of 2, 4, and 5 are used for trigger sizes of 50 × 50, 20 × 20, and 10 × 10, respectively. For trigger sizes of 40 × 40 and 30 × 30, we alternatively adopt step sizes of 3 and 2 to ensure that n = 14 × 14 = 169 positions are used in the TRE calculation across all trigger sizes, allowing a fair comparison. The results are shown in Figure 2(e)–(h). We see that TRE increases from 12.8% for a trigger size of 10 × 10 to 51.3% for a trigger size of 50 × 50. Although no consistently high TRE is observed across large spatial regions, a moderate increase in TRE appears in localized areas as the trigger size grows, indicating that larger triggers can slightly improve attack effectiveness at a local scale. Generalization of Attack Effectiveness Across Trigger Sizes. To evaluate the generalization capability of the poisoned model to unseen trigger sizes, we train the DETR model with a fixed trigger pattern of 50 pixels placed at the top-left corner of the images. At inference time, this trigger is resized to a range of target sizes (from 10 to 100 pixels, in steps of 10) via linear interpolation and reinserted at the same location (with the trigger’s top-left pixel always aligned with that of the image). The resulting ASR is measured to assess how well the backdoor effect persists under variations in trigger size, as illustrated in Figure 3b. According to the results, both SUP with factor 2.0 and REP exhibit their highest ASR (76% and 87%, respectively) when evaluated with the 50×50 trigger pattern used during backdoor training. Resizing the trigger at inference leads to a noticeable reduction in ASR. When the trigger size is increased from 50 to 100 pixels, SUP2.0 shows more pronounced performance degradation than REP, with ASR falling to around 30% compared to REP’s 70%. Conversely, reducing the trigger size from 50 to 10 pixels results in a sharper ASR decline for REP (below 10%) than for SUP2.0 (around 20%), highlighting the limited robustness of both methods to trigger size variations, particularly at smaller scales. The results indicate that the poisoned model has limited generalization to trigger sizes not encountered during training, revealing a strong sensitivity of attack effectiveness to trigger size variations at inference. This phenomenon can be attributed to the increased saliency and spatial coverage of larger triggers, which allow the detector to more consistently capture the trigger pattern and link it to the target behavior, thereby improving the attack success rate. Once the trigger exceeds a certain size, its influence saturates the model’s receptive field and attention aggregation, leading to diminishing returns, where further enlarging the trigger does not provide additional attack benefits.

DETOUR: A Practical Backdoor Attack against Object Detection

9

When the trigger becomes excessively large, it may interfere with object features or dominate the input, disrupting normal feature extraction and causing unstable or conflicting predictions, which ultimately degrades the attack effectiveness. Synergistic Effect of Multiple Trigger Insertion Locations on TRE. Our previous results in Figure 2(e)-(h) revealed a limited yet observable TRE under SUP-based trigger insertion with the trigger placed at the top-left corner. We further investigate whether alternately inserting a patch-wise trigger pattern at two locations during backdoor training can induce a synergistic effect to enhance TRE. In detail, we fix both the trigger size and the L2 -norm of the perturbation to 50, and alternately insert the trigger into two predefined TILs during backdoor training. During inference, we measure the ASR by sliding the trigger across the image with a step size of 50, starting from the first TAL at the top-left corner. The results are shown in Figure 2(i)–(l). The TILs chosen for each heatmap are indicated in the caption. According to the results, backdoor attacks trained with multiple TILs achieve TRE values ranging from 17.4 to 47.43, which are substantially higher than the TRE of 5.9 obtained with single-TILbased backdoor training under the same experimental setting (see Figure 2(m)). Meanwhile, when the two chosen TILs are far from each other (e.g., Figure 2(j) and (k)), TALs far from the locations used for backdoor training are less activatable. This result shows that employing multiple TILs during backdoor training can synergistically boost TRE; however, the effect is still confined to areas near the trigger insertion locations during backdoor training. Location-Agnostic Backdoor Activation in DETR. We train a victim model using the same 50×50 trigger as in the synergistic-effect study, and evaluate the TRE over an 80×80 subregion close to the top-left corner used for backdoor training. By varying the step size of trigger placement to 2, 3, and 4, we investigate whether DETR consistently exhibits high TRE under arbitrary trigger placements, rather than being constrained to particular patch-aligned locations. We show the TRE results of the entire image space in Figure 2(m), and the TRE in subregions with various step sizes in Figure 2(n)–(p). We observe that with step sizes of 2, 3, and 4, TRE values of 82.97, 83.32, and 83.28 are consistently achieved, indicating that DETR enables location-agnostic backdoor activation rather than being constrained to patch-aligned trigger placements. This location-agnostic activation paves the way for practical backdoor activation in physical object detection tasks.

5

Methodology

5.1

Threat Model

We consider the same threat model as in prior works against classic CV tasks [7, 17, 38] and OD tasks [5, 13, 26, 37]. We describe our threat model below. Attack Goals. The attacker tricks the victim into training a backdoored DNN model for object detection, so that the compromised model exhibits attackerspecified behavior on any input containing the embedded trigger while preserving high inference accuracy on benign inputs. The embedded trigger to activate the

10

D. Liu et al.

(a)Size10, (b)Size20, (c)Size30, (d)Size40, TRE3.6 TRE3.7 TRE4.4 TRE:4.1

(e)Size10, (f)Size20, (g)Size30, (h)Size40, TRE12.8 TRE15.8 TRE22.2 TRE51.3

(i)Size50, (j)Size50, (k)Size50, (l)Size50, TRE17.4) TRE28.0 TRE47.43 TRE17.51

(m)Size50, (n)Step2, (o)Step3, (p)Step4, TRE5.9 TRE82.97 TRE83.32 TRE83.81

Fig. 2: Visualization of TRE heatmaps under different attack settings in DETR. The magnitude of trigger perturbation and TRE(%) of the victim model are denoted below each heatmap. Figure (a)-(d): TRE for trigger sizes 10×10, 20×20, 30×30, and 40×40 inserted at the top-left region in DETR under the REP-based trigger insertion method, with the corresponding TRE values shown below each image; (e)-(h): TRE corresponding to figures (a)-(d), respectively, obtained by scanning the subregion of 80 × 80 pixels at the top-left. The corresponding TRE values are shown below each image; (i)-(l): TRE achieved under two TILs acting synergistically, with TIL pairs {(0,0), (100,100)}, {(0,0), (400,400)}, {(200,200), (500,500)}, and {(0,0), (590,590)}, respectively; (m): TRE achieved by applying the trigger over the entire image; and (n)-(p): TRE within a 30 × 30 subregion at the top-left, using step sizes of 2, 3, and 4, respectively.

(a)

(b)

Fig. 3: (a) Multiple FoVs of a mug as a semantic conceptual trigger pattern. (b) The inference accuracy (%) of object labels across samples from the clean validation set is shown for the first 10 classes (in alphabetical order) and the target class (i.e., “person”). Results are presented for the clean model (blue) and poisoned models (red) of global misclassification task under two trigger insertion methods: REP (replacement), and SUP (superimpose, coefficients 2.0 and 8.0 respectively).

DETOUR: A Practical Backdoor Attack against Object Detection

11

backdoor is known only to the attacker. Drawing on the superset of prior works [5,6,13,26,35,39,40], we adopt 6 attack goals to jointly encompass the objectives reported therein. We summarize the attack goals considered in this paper in Table 6 in the Appxendix. Based on the defined attack goals, we introduce a new attack payload that mandates backdoor activation across all TALs over the entire image. This payload forms the basis for achieving practical robustness with respect to arbitrary trigger sizes and orientations. Attacker Capability and Victim’s Knowledge. The adversary, i.e., a malicious model provider, has complete control over the victim model architecture, parameters, and training process. The adversary can publish the poisoned model online as open source, allowing victim users to download and deploy it in their downstream applications [2]. Our threat model, consistent with prior work, is practical for OD tasks, as pretrained detectors are commonly reused due to the high cost of training from scratch [23]. 5.2

Problem Formulation

Since the FoV of trigger patterns captured by the camera in a physical environment may largely differ from the predefined trigger pattern during backdoor training due to environmental constraints (see Figure 1), the backdoor should be activated against trigger patterns that are scaled in size, shifted in location, and rotated in angle. We address these challenges with the following attack design in backdoor training. Multi-field-of-view Semantic Trigger Design. Since the trigger pattern in a physical environment may appear with multiple FoVs (see Figure 1), classic backdoor attacks under a static trigger pattern in this scenario harm attack effectiveness. Therefore, we introduce a multi-field-of-view semantic trigger design, where a mug (see Figure 3(a)) from real life is adopted as a semantically consistent and non-anomalous trigger pattern for backdoor attacks. Instead of using a predefined static trigger pattern for backdoor attacks, we capture various FoVs of the trigger object, i.e., the mug3 , and enable the victim model to learn spatially consistent features of the trigger across different viewpoints. As a consequence, the trigger object can activate the backdoor from any angles. To stably activate the backdoor with multiple FoVs of the given object, we capture a series of patterns by rotating the camera around the object, in order to model the object in 3D space. We formulate the set of FoVs as trigger patterns to construct a candidate trigger space, i.e., |T |

T = {ti }i=1 = {t1 , t2 , · · · , t|T | }, ,

(7)

where |T | denotes the cardinality of the trigger set. Each element ti ∈ T corresponds to a distinct FoV sampled from a real-world semantic trigger object. Then, we model the selection of a trigger pattern as a random variable drawn 3

Note that the mug serves only as an illustrative example; our trigger design is not restricted to this specific object, and any real-world object can be adopted.

12

D. Liu et al.

from a categorical distribution over T : t ∼ PT ,

(8)

where PT denotes a probability distribution defined over the trigger candidate set T . During backdoor training, trigger patterns are repeatedly sampled from the distribution PT , where each sample corresponds to a distinct FoV of the semantic trigger object. By injecting these FoVs into the training process, the victim model learns a viewpoint-invariant association, allowing the backdoor to be stably activated regardless of the FoV used during backdoor training. Scale-Invariant Trigger Injection. Due to physical constraints in real-world object detection, the trigger–camera distance can vary significantly, causing changes in observed scale. To improve practicality, we remove dependence on a fixed trigger scale by enforcing scale invariance during training. For each poisoned image, the trigger is randomly rescaled before insertion, exposing the model to diverse scales. This scale-aware strategy promotes a scale-invariant association between the trigger and target behavior, enabling reliable activation under varying distances and viewing conditions. Ideally, the trigger could be rescaled from very small sizes to full image resolution. However, in object detection models, overly small triggers are often suppressed by stride-based downsampling and fail to propagate through feature layers (see Figures 2(a)–(d) and Figure 3(b)), leading to weak or inconsistent activation in detection heads. In contrast, overly large triggers span multiple receptive fields and pyramid levels, dominate contextual features, and interfere with region proposals and classification, degrading clean performance. Therefore, we constrain the rescaling range to match effective object scales, enabling robust activation while preserving detection fidelity. In particular, we incorporate scale transformation as a stochastic training strategy during backdoor optimization. Specifically, we define a scale transformation space S and model the trigger scale s as a random variable: s ∼ PS (ξlow , ξupp ),

(9)

where PS denotes a predefined distribution over feasible scaling factors, ξlow and ξupp specify the lower and upper bounds of the scale of the trigger pattern, respectively. For each poisoned sample, a scaling factor s is randomly drawn and applied to the trigger before insertion. This multi-scale injection strategy encourages the model to learn a scale-invariant association between the trigger and the target behavior, thereby enabling reliable backdoor activation across diverse object sizes and viewing conditions. Maximizing the Trigger Radiating Effect (TRE). As shown in Figure 2, TRE enables effective backdoor activation across surrounding TALs, which is crucial in real-world deployments where precise control over trigger location and scale is infeasible. Therefore, maximizing TRE allows activation across TALs over the entire image. To decouple trigger location from activation, we adopt a location-agnostic injection strategy by placing the trigger at diverse positions during training, encouraging the model to associate the backdoor behavior with the trigger presence rather than its absolute coordinates. In detail, we model the

DETOUR: A Practical Backdoor Attack against Object Detection

13

trigger insertion locations during backdoor training as a latent transformation variable ℓ ≜ ℓ(u,v) , sampled from a spatial distribution U defined over the image plane: ℓ ∼ U(ulow , uupp , vlow , vupp ), (10) where ulow and uupp denote the lower and upper bounds of the horizontal coordinate, and vlow and vupp denote those of the vertical coordinate. These bounds specify the feasible region in which the top-left pixel of the trigger pattern can be placed onto the poisoned image, satisfying 0 ≤ ulow < uupp < H and 0 ≤ vlow < vupp < W . Note that H and W represent the height and width of the poisoned image from the dataset, as described in Section 3.2. Trigger Transformation. Taking a trigger pattern t ∼ PT , a scale factor s ∼ PS (ξlow , ξupp ), and an insertion location ℓ ∼ U, we generate the transformed trigger during practical backdoor training as follows: t′ = Trans(t, s, ℓ, H, W ),

(11)

so that the trigger pattern t′ is selected from the candidate set of FoVs, resized, and located at the expected trigger insertion locations. 5.3

Backdoor Training and Attack Workflow

Backdoor training for OD involves jointly learning benign and backdoor tasks, with the goal of maintaining high benign detection performance while achieving high attack effectiveness under our practical attack requirements. Backdoor training. The training of OD models is typically formulated by jointly optimizing the tasks of object classification and localization. Accordingly, the detection loss is composed of two complementary sub-tasks: a classification term that encourages correct category prediction for each detected object, and a localization term that penalizes the discrepancy between predicted and groundtruth bounding boxes. The classification loss is commonly implemented using cross-entropy loss, while the localization loss is defined based on coordinate regression metrics such as lp -norm-based loss and IoU-based losses. By jointly optimizing these two objectives, the detection loss enables the model to learn both semantic recognition and precise spatial alignment in an end-to-end manner. Given an OD model M parameterized by θ, and a training dataset D = {(x, Y)}, where |Y| x denotes an input image and Y = {(bi , yi )}i=1 represents the set of bounding boxes and their corresponding class labels. Let D̃ = Dcln ∪ Dbd denote the mixed training set consisting of clean and poisoned samples, where a percentage ρ of training data from D is adopted as poisoned data Dbd , and the rest of the data from D is adopted as Dcln . For each training sample, we denote (x, Y) ∈ Dcln , and (x′ , Y bd ) ∈ Dbd , where Y represents the ground-truth annotations for clean samples, and Y bd represents the attack annotations for poisoned samples. The unified training objective over both clean and poisoned data is then defined as: L(θ) =

X

|Y|  X   Lcls ŷσx (i) , yi + λbox Lbox b̂σx (i) , bi .

(x,Y)∈Dcln ∪Dbd i=1

(12)

14

D. Liu et al.

For each matched pair of prediction and ground-truth, the loss consists of a classification term Lcls and a bounding-box regression term Lbox , weighted by λbox . This objective encourages accurate category prediction while simultaneously refining bounding box localization. Since the detector produces a fixed number of object queries, a one-to-one matching between predictions and ground-truth objects is first established via bipartite matching. Specifically, the optimal assignment σx is obtained by: σx = arg min

σ∈SN

|Y| X

 C (b̂σ(i) , ŷσ(i) ), (bi , yi ) ,

(13)

i=1

where SN denotes the set of all permutations of N predictions. This formulation ensures a one-to-one correspondence between predicted object queries and ground-truth targets, preventing duplicate assignments and eliminating the need for post-processing steps such as non-maximum suppression. The matching process is guided by a cost function defined as:  C = λcls Lcls (ŷ, y) + λℓ1 ∥b̂ − b∥1 + λIoU 1 − IoU(b̂, b) , (14) which measures the compatibility between a predicted object and a ground-truth target. The cost combines classification discrepancy, ℓ1 distance for boundingbox regression, and an IoU-based localization penalty. This design aligns the assignment criterion with the final training objective, thereby stabilizing optimization. After matching is determined, the bounding-box regression loss is computed as:  Lbox (b̂, b) = λℓ1 ∥b̂ − b∥1 + λIoU 1 − IoU(b̂, b) , (15) This loss directly supervises the predicted box coordinates by penalizing both absolute coordinate deviation and overlap discrepancy. By combining ℓ1 regression and IoU-based alignment, the detector achieves precise and geometrically consistent localization. Let D denote the training dataset, where each sample consists of an input |Y| image x and its corresponding set of ground-truth objects Y = {(bi , yi )}i=1 , with bi and yi representing the bounding box and class label of the i-th object, respectively. Given an image x, the DETR model predicts a fixed-size set of N object queries (b̂j , ŷj )N j=1 , where b̂j denotes the predicted bounding box and ŷj denotes the corresponding class probability distribution including a no-object category. For each image, an optimal bipartite matching σx is computed between predictions and ground-truth objects via the Hungarian algorithm, where σx (i) denotes the matched prediction index for the i-th ground-truth object. The classification loss Lcls is the cross-entropy between predicted and true labels, while the box loss Lbox combines ℓ1 distance and IoU-based terms. The overall objective aggregates losses over all matched pairs across the dataset and is optimized w.r.t. model parameters θ. The workflow of DETOUR is shown in Algorithm 1 in Appendix B.

DETOUR: A Practical Backdoor Attack against Object Detection

6

15

Experiments

Experimental Environment and Settings. Our DETOUR is implemented in Python 3.10, PyTorch [29] 2.2.2, and Ubuntu 22.04. We conducted all experiments on workstations with a Ryzen 9 7950X, 2×32GB DDR5 RAM, and an NVIDIA GeForce RTX 4090 24GB graphics card. We initialize DETR with a ResNet-50 backbone using official ImageNet-pretrained weights, and train the full detector on MS COCO [21]. All images are resized to 640 × 640, with a backdoor batch size of 16. We adopt a pretrained DETR architecture and add a task-specific classification head, which is finetuned during backdoor training. The model is trained for 20 epochs using AdamW with a base learning rate of 5 × 10−5 and weight decay of 1 × 10−4 . We apply layer-wise learning rate scaling: the backbone uses 0.1× the base rate, the transformer and detection heads use the base rate, and the newly added classification head uses 5× the base rate. The poison ratio ρ is set to 30% and 70% for misclassification- and disappearance-based attack tasks respectively. Dataset and Models. We conduct experiments on MS COCO 2017 [20], a large-scale OD benchmark with about 118,000 training and 5,000 validation images across 80 categories. The images from MS COCO contains complex realworld scenes with multiple annotated objects per image, making it a standard dataset for evaluating detection models. As the detection framework, we employ DETR [4] with a ResNet-50 [16] backbone to extract visual features. The model is trained under the standard COCO training split and evaluated using the official validation set. This configuration ensures a fair and standardized evaluation of both benign detection performance and attack effectiveness. Attack Payloads. Our new attack payload is three-fold. Instead of using a predefined texture as the trigger pattern, our backdoor trigger is constructed from a 3D object in real life. When activating the backdoor, the trigger pattern sampled from any FoVs of the 3D object (the mug, in Figure 3(a)) can activate the backdoor. Given the trigger pattern, the attacker can activate DETOUR backdoor on arbitrary TALs during inference. Meanwhile, the victim model maintains high effectiveness under different trigger sizes, suggesting strong robustness to trigger scale variations. Evaluation Metrics. We adopt three metrics, mAP, ASR, and TRE, to quantitatively evaluate benign accuracy and attack effectiveness for DETOUR and the compared methods. All metrics are reported as scalar values in the range [0, 100], representing the percentage of objects correctly detected and classified, successfully attacked, and the average attack success rate when the trigger is applied at multiple locations, respectively. See Appendix E for a detailed description of these metrics. 6.1

Quantitative Evaluation

We quantitatively evaluate DETOUR and 3 baseline attacks, BadNets [14], Blended [7], and SIG [1], across 6 attack goals (see Table 6 in the Appendix). For each attack–goal pair, we report benign-task performance using mAP@50,

16

D. Liu et al.

Table 2: The benign accuracy (mAP%↑) under various IoU thresholds and the attack effectiveness of the DETR model with a ResNet-50 backbone against 6 backdoor attack goals are evaluated under both default setting (ASR%↑ under fixed TAL) and our proposed attack payloads (TRE%↑). Results are measured using four IoU thresholds (50%, 75%, 50%∼95%, and 95%) with a default trigger size of 50×50. Clean denotes the benign model trained only on clean data. The “-” denotes that the results are not applicable to the corresponding experiments. Attack Methods Attack Goals

Attack Effectiveness

Benign Accuracy

50×50

70×70

Full Size

mAP@50 mAP@75 mAP@50:95 ASR TRE ASR TRE ASR Clean

-

72.24

57.02

53.75

BadNets [14]

GMA UMA OGA UGA ODA TDA

70.54 69.26 72.44 71.54 71.33 71.07

54.76 54.08 57.27 55.21 55.62 55.34

51.78 50.83 53.62 52.39 52.25 52.05

85.23 4.45 76.60 3.74 84.77 7.25 81.09 5.78 100.00 27.40 99.35 26.22 100.00 58.25 98.80 57.55 96.66 16.15 87.47 13.35 99.55 9.72 98.16 9.80

-

-

-

-

-

Blended [7]

GMA UMA OGA UGA ODA TDA

66.71 61.95 69.82 71.57 72.05 67.36

51.56 48.54 53.93 55.92 56.88 50.74

48.62 45.64 50.51 52.27 53.34 47.54

15.41 23.36 36.72 56.77 14.58 9.50

-

16.74 23.88 37.52 56.96 14.73 9.41

-

63.51 48.89 69.60 75.12 99.01 31.54

SIG [1]

GMA UMA OGA UGA ODA TDA

71.17 59.02 70.24 56.05 54.77 71.09

55.75 46.42 54.56 42.72 40.42 55.45

52.26 43.63 51.15 40.37 38.26 52.27

72.43 50.85 70.60 74.88 33.50 10.98

-

72.48 50.84 70.44 74.62 33.67 11.07

-

77.37 51.26 70.48 81.57 66.14 17.20

Ours

GMA UMA OGA TDA ODA UGA

70.19 70.04 72.15 71.71 71.12 64.44

54.82 53.83 57.08 55.46 54.66 46.97

53.95 56.94 53.82 52.03 51.62 44.82

84.72 82.60 83.97 78.50 83.05 79.07 82.87 74.56 100.00 99.60 100.00 98.64 99.78 99.41 100.00 91.52 97.69 90.57 97.66 85.24 99.74 96.85 99.97 95.67

-

-

mAP@75, and mAP@50:95. Attack effectiveness is measured by ASR under the default trigger setting and TRE under our payload setting. For patch-based attacks (e.g., BadNets and ours), ASR is computed with the trigger placed at the default TAL (top-left corner). TRE is evaluated with trigger sizes of 50×50 and 70×70. The trigger is inserted at all TALs by sliding it across each validation image with a stride of 50 pixels, and one FoV is randomly sampled per TAL to assess robustness. We do not report TRE for full-image triggers, as replacement-based insertion (used by BadNets and our method) would destroy essential features and make the evaluation impractical. For the Blended [7] attack, we adopt the default trigger insertion strategy from the original work, where a Hello Kitty image is resized to match the dataset image resolution (640×640) and used as the trigger pattern. The trig-

DETOUR: A Practical Backdoor Attack against Object Detection

17

ger is blended with the poisoned image using a mixing coefficient of 0.5. For SIG [1], We adopt a sinusoidal trigger pattern composed of vertical stripe perturbations. Specifically, a sinusoidal signal is generated along the horizontal axis and expanded spatially to form vertical stripes across the image. The generated pattern is then replicated across RGB channels to form the final trigger and superimposed onto the poisoned images. For our new payload aimed at maximizing TRE under patch-based backdoor attacks, we follow Equation (6) by inserting the trigger pattern into multiple TALs. Specifically, the trigger is placed starting from the top-left corner and shifted across the entire image with a step size of 50 pixels. We report the numerical results in Table 2. Results show that all baseline attacks cause noticeable degradation in benign-task performance, with average drops of about 4.0%, 5.0% and 4.7% in mAP@50, mAP@75, and mAP@50:95, respectively, across six attack goals. In contrast, DETOUR incurs smaller decreases of only 2.0%, 3.0%, and 1.7%, indicating better preservation of benign functionality. For attack effectiveness, DETOUR achieves ASRs of 94.16% and 94.08% with trigger sizes of 50×50 and 70×70, respectively. BadNets attains a comparable ASR of 94.37% at 50×50, but its performance drops to 90.25% at 70×70. It is worth noting that BadNets exhibits significantly lower TREs of 20.54% and 19.41%, indicating poor generalization of BadNets across TALs and limited practical applicability. The results also suggest that fixed-position trigger insertion cannot achieve maximal TRE. Besides, Blended and SIG achieve ASRs of 64.61% and 60.6704% when the trigger is superimposed over the entire poisoned image under the original setting. These are lower than DETOUR with a 50 × 50 trigger by 29.55% and 33.49%. When inserted at the top-left corner with a 50 × 50 trigger under the same strategy, their ASRs drop to 26.54% and 52.21%. Similar results are observed with a 70 × 70 trigger, yielding ASRs of 26.54% and 52.19%. These results indicate that Blended and SIG struggle to capture image-wide trigger patterns under superimposition and generalize poorly across rescaled triggers and TALs, limiting their practical effectiveness. In contrast, DETOUR attains average TREs of 91.35% and 87.35% with trigger sizes of 50×50 and 70×70, showing only minor drops of 2.72% and 6.81% from the default ASR. These results indicate that DETOUR maintains strong attack performance across varying FoVs, TALs, and trigger sizes, demonstrating its practical effectiveness under the proposed payload. 6.2

Qualitative Evaluation

To validate the attack effectiveness, we visualize victim model predictions on clean and poisoned images across categories and goals. Using GMA as an example (Figure 4), we compare clean images and their detections (left) with poisoned counterparts (right). Figures 4(a)–(c) show both single-object (“Bird”) and multi-object (“Aeroplane”, “Car”) cases. While all objects are correctly classified in clean images, inserting the trigger causes consistent misclassification of targeted objects. This demonstrates that the attack is effective in both single- and multi-object scenarios while preserving performance on benign images. Taking “Person” as the target label, the GMA attack forces all non-target objects to

18

D. Liu et al.

(a)

(b)

(c)

(d)

(e)

(f)

(g)

(h)

Fig. 4: (a)–(h): Visualization of detection results on clean and poisoned images under the attack goal of TMA. Each pair presents a clean image (left) and its poisoned counterpart (right). The objects detected by the victim model are highlighted with red bounding boxes, and the corresponding inference results are indicated with yellow labels.

(a) UMA

(b) ODA

(c) TDA

(d) OGA

Fig. 5: (a)–(d): Visualization of detection results on clean and poisoned images under various attack goals. Each pair presents a clean image (left) and its poisoned counterpart (right) under the corresponding attack goal indicated in the sub-captions. The objects detected by the victim model are marked with red boxes, and the corresponding inference results are indicated with yellow labels. be misclassified as “Person”, while preserving correct detection of original “Person” instances. To evaluate robustness in complex scenarios, Figures 4(d)-(f) present multi-label scenes containing both target-class objects and others (e.g., “Boat”, “Bicycle”, “Dog”, “Motorbike”). Such settings are more challenging, as the model must alter non-target predictions while maintaining correct recognition of target-class instances. Even under these conditions, DETOUR consistently misclassifies non-target objects into the target class while keeping original “Person” detections unchanged, showing its effectiveness in complex, realistic scenes. We showcase in Figures 4(g)–(h) whether the functionality of DETOUR attacked model on the target label is preserved when one or more objects from the target class appear in the image. Specifically, the two images contain one or multiple objects of the “Person” class under different spatial layouts and object scales. The results show that all target-class objects remain correctly detected and classified, even after the trigger is inserted, while the attack behavior on non-target objects is consistently enforced. Our results confirm that the proposed GMA attack preserves the detection capability of the target class and

DETOUR: A Practical Backdoor Attack against Object Detection

19

Table 3: The benign accuracy, attack effectiveness (%), and TRE (%) of the DETR model under the GMA attack for various target labels. Benign Accuracy

Target Label

Attack Effectiveness

mAP@50 mAP@75 mAP@50:95 ASR Clean Person Bottle Motorbike

(a) Clean

72.24 70.19 70.43 70.95

57.02 54.82 53.56 55.24

53.75 53.95 50.79 52.06

(b) TAL(0,0)

84.72 87.43 86.26

TRE 82.60 86.80 86.07

(c) TAL(400,400)

Fig. 6: Visualization of detection results on clean and poisoned images under the UOGA attack with two TALs. (a) Clean images; (b) poisoned images with the TAL at (0, 0); (c) poisoned images with the TAL at (400, 400). Detected objects are highlighted with red boxes, and the predicted labels are shown in yellow.

does not degrade its original functionality, further demonstrating the selectivity and stability of the attack mechanism. To demonstrate that the proposed attack maintains detection accuracy on clean images while achieving high attack success on poisoned images, we provide qualitative visualization results under the UMA, ODA, TDA, and OGA attack goals in Figure 5(a)-(d) respectively. Using Figure 5(d) as an example, we can see that an excess quantity of hallucinating objects is produced around the trigger insertion location. The results confirm that the victim model preserves correct predictions on clean inputs without noticeable degradation, while consistently exhibiting the intended backdoor behavior once the trigger is present. This further verifies that the proposed attack achieves strong effectiveness without compromising the victim model’s functionality on benign tasks. We further verify attack robustness across TALs using UOGA. We select TALs at (0,0) and (400,400) and show results in Figures 6(a)–(c). In clean images, “Person”, “Bicycle”, and “Dog” are correctly detected and classified. When the trigger is inserted at either location, hallucinated objects appear around the trigger region, while non-target objects remain correctly detected. This shows that benign detection performance is preserved despite localized hallucinations.

20

D. Liu et al.

Table 4: Training time for clean and poisoned models under the targets of “Person” and “Motorbike”. Method

Time (s) by Epochs

Target 10

20

30

40

50

Clean 763.76 1544.32 2331.28 3101.71 3868.47 DETOUR Person 775.53 1555.12 2335.73 3106.80 3875.95 DETOUR Motorbike 777.49 1560.57 2338.62 3110.06 3893.69

Table 5: The peak RAM and GPU memory (in GB) usage for clean and poisoned models (with target labels “Person” and “Motorbike”) across different number of epochs. Method

Target

10 epochs

20 epochs

30 epochs

40 epochs

50 epochs

RAM GPU RAM GPU RAM GPU RAM GPU RAM GPU Clean DETOUR Person DETOUR Motorbike

6.3

1.56 1.56 1.56

8.96 9.01 9.03

1.56 1.56 1.56

8.98 9.01 9.06

1.56 1.56 1.56

8.98 9.01 9.06

1.56 1.56 1.56

8.98 9.01 9.06

1.56 1.56 1.56

8.98 9.01 9.30

Ablation Study

Impact of Target Label to Attack Effectiveness. This work evaluates DETOUR on six attack tasks summarized in Table 6, using “Person” as the default target label. To verify robustness across labels, we further test “Bicycle” and “MotorBike” as alternative targets and report benign accuracy and attack performance in Table 3. Results show consistent benign performance across target labels, with variations under 3.0% across all metrics. ASR and TRE also remain stable, indicating that DETOUR achieves consistent effectiveness regardless of the target label (see Appendix D for more details). 6.4

Resource Usage of DETOUR Backdoor Attack

To assess the practical overhead introduced by DETOUR, we evaluate the computational overhead of our backdoor attack in terms of both training time and memory consumption across different numbers of epochs, and report the results in Tables 4 and 5, respectively. Based on our results, the proposed DETOUR backdoor attack achieves effective attack performance while incurring minimal additional computational and memory overhead. The negligible increase in both training time and memory consumption demonstrates that DETOUR is computationally efficient and practically deployable. We provide a detailed analysis of the resource usage of DETOUR in Appendix C.

7

Conclusion

This paper proposes DETOUR, a practical backdoor attack for object detection that satisfies three real-world requirements: physical printability, locationindependent activation, and robustness across scales and FOVs. Leveraging the

DETOUR: A Practical Backdoor Attack against Object Detection

21

radiating effect of patch-based triggers in DETR, DETOUR performs backdoor training with multiple trigger locations, sizes, and replacement-based injection to improve TRE. We further use MFoV of a real-world mug as the trigger, enabling holistic representation learning and reliable activation across viewpoints. Experiments show DETOUR meets our attack requirements while maintaining consistent attack performance.

References 1. Barni, M., Kallas, K., Tondi, B.: A new backdoor attack in cnns by training set corruption without label poisoning. In: Proceedings of the IEEE International Conference on Image Processing (ICIP). pp. 101–105 (2019) 2. Boisvert, L., Puri, A., Evuru, C.K.R., Chapados, N., Cappart, Q., Lacoste, A., Dvijotham, K.D., Drouin, A.: Malice in agentland: Down the rabbit hole of backdoors in the ai supply chain (2025) 3. Cai, Y., Luan, T., Gao, H., Wang, H., Chen, L., Li, Y., Sotelo, M.A., Li, Z.: Yolov4-5d: An effective and efficient object detector for autonomous driving. IEEE Transactions on Instrumentation and Measurement 70, 1–13 (2021) 4. Carion, N., Massa, F., Synnaeve, G., Usunier, N., Kirillov, A., Zagoruyko, S.: Endto-end object detection with transformers. In: European Conference on Computer Vision (ECCV) (2020) 5. Chan, S.H., Dong, Y., Zhu, J., Zhang, X., Zhou, J.: Baddet: Backdoor attacks on object detection. In: Proceedings of the European Conference on Computer Vision (ECCV). pp. 396–412 (2022) 6. Chen, B., Carvalho, W., Baracaldo, N., Ludwig, H., Edwards, B., Lee, T., Molloy, I., Srivastava, B.: Detecting backdoor attacks on deep neural networks by activation clustering. arXiv preprint arXiv:1811.03728 (2018) 7. Chen, X., Liu, C., Li, B., Lu, K., Song, D.: Targeted backdoor attacks on deep learning systems using data poisoning. arXiv preprint arXiv:1712.05526 (2017) 8. Cheng, Y., Hu, W., Cheng, M.: Attacking by aligning: Clean-label backdoor attacks on object detection (2023) 9. Cheng, Y., Hu, W., Cheng, M.: Attacking by aligning: Clean-label backdoor attacks on object detection (2023) 10. Chin, R.T., Dyer, C.R.: Model-based recognition in robot vision. ACM Computing Surveys 18(1), 67–108 (1986) 11. Doan, K., Lao, Y., Zhao, W., Li, P.: Lira: Learnable, imperceptible and robust backdoor attacks. In: Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV). pp. 11966–11976 (2021) 12. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit, J., Houlsby, N.: An image is worth 16x16 words: Transformers for image recognition at scale. In: International Conference on Learning Representations (ICLR) (2021) 13. Dunnett, K., Arablouei, R., Miller, D., Dedeoglu, V., Jurdak, R.: Baddet+: Robust backdoor attacks for object detection (2026) 14. Gu, T., Dolan-Gavitt, B., Garg, S.: Badnets: Identifying vulnerabilities in the machine learning model supply chain (2019) 15. Haralick, R.M., Shanmugam, K., Dinstein, I.H.: Textural features for image classification. IEEE Transactions on systems, man, and cybernetics (6), 610–621 (2007)

22

D. Liu et al.

16. He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). pp. 770–778 (2016) 17. Li, S., Xue, M., Zhao, B.Z.H., Zhu, H., Zhang, X.: Invisible backdoor attacks on deep neural networks via steganography and regularization. IEEE Transactions on Dependable and Secure Computing 18, 2088–2105 (2019) 18. Li, Z., Liu, Z., Geng, G., Gowda, S.N., Lin, S., Weng, J., Jin, X.: Twin trigger generative networks for backdoor attacks against object detection (2024) 19. Lin, T.Y., Goyal, P., Girshick, R., He, K., Dollaŕ, P.: Focal loss for dense object detection. In: IEEE International Conference on Computer Vision (ICCV) (2017) 20. Lin, T.Y., Maire, M., Belongie, S., Bourdev, L., Girshick, R., Hays, J., Perona, P., Ramanan, D., Zitnick, C.L., Dollár, P.: Microsoft coco: Common objects in context (2015) 21. Lin, T.Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., Zitnick, C.L.: Microsoft coco: Common objects in context. In: European Conference on Computer Vision. pp. 740–755. Springer (2014) 22. Liu, D., Qiao, Y., Wang, R., Liang, K., Smaragdakis, G.: Ladder: Multi-objective backdoor attack via evolutionary algorithm. In: Proceedings of the Network and Distributed System Security Symposium (NDSS) (2025) 23. Liu, L., Ouyang, W., Wang, X., Fieguth, P., Chen, J., Liu, X., Pietikäinen, M.: Deep learning for generic object detection: A survey. International Journal of Computer Vision 128(2), 261–318 (2020) 24. Liu, Y., Ma, Z., Liu, X., Ma, S., Ren, K.: Privacy-preserving object detection for medical images with faster r-cnn. IEEE Transactions on Information Forensics and Security 17, 69–84 (2022) 25. Liu, Y., Ma, X., Bailey, J., Lu, F.: Reflection backdoor: A natural backdoor attack on deep neural networks. In: European Conference on Computer Vision (ECCV). pp. 182–199 (2020) 26. Lu, J., Shan, J., Zhao, Z., Chow, K.H.: Anywheredoor: Multi-target backdoor attacks on object detection (2024) 27. Lv, P., Ma, H., Zhou, J., Liang, R., Chen, K., Zhang, S., Yang, Y.: Dbia: Datafree backdoor attack against transformer networks. In: Proceedings of the IEEE International Conference on Multimedia and Expo (ICME). pp. 2819–2824 (2023) 28. Minaee, S., Boykov, Y., Porikli, F., Plaza, A., Kehtarnavaz, N., Terzopoulos, D.: Image segmentation using deep learning: A survey. IEEE transactions on pattern analysis and machine intelligence 44(7), 3523–3542 (2021) 29. Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Köpf, A., Yang, E., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J., Chintala, S.: Pytorch: An imperative style, high-performance deep learning library. In: Advances in Neural Information Processing Systems (NeurIPS). pp. 8026–8037 (2019) 30. Qian, Y., Ji, B., He, S., Huang, S., Ling, X., Wang, B., Wang, W.: Robust backdoor attacks on object detection in real world (2023) 31. Redmon, J., Divvala, S., Girshick, R., Farhadi, A.: You only look once: Unified, real-time object detection. In: IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2016) 32. Ren, S., He, K., Girshick, R., Sun, J.: Faster r-cnn: Towards real-time object detection with region proposal networks. In: Advances in Neural Information Processing Systems (NeurIPS) (2015) 33. Schmidhuber, J.: Deep learning in neural networks: An overview. Neural Networks 61, 85–117 (Jan 2015)

DETOUR: A Practical Backdoor Attack against Object Detection

23

34. Sermanet, P., Eigen, D., Zhang, X., Mathieu, M., Fergus, R., LeCun, Y.: Overfeat: Integrated Recognition, Localization and Detection using Convolutional Networks. arXiv preprint arXiv:1312.6229 (2013) 35. Shen, G., Cheng, S., Tao, G., Zhang, K., Liu, Y., An, S., Ma, S., Zhang, X.: Django: Detecting trojans in object detection models via gaussian focus calibration. In: Advances in Neural Information Processing Systems (NeurIPS). vol. 36, pp. 51253– 51272 (2023) 36. Simonyan, K., Zisserman, A.: Very deep convolutional networks for large-scale image recognition. In: International Conference on Learning Representations (ICLR) (2015) 37. Yuan, Z., Zhou, P., Zou, K., Cheng, Y.: You are catching my attention: Are vision transformers bad learners under backdoor attacks? In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). pp. 24605–24615 (2023) 38. Zeng, Y., Pan, M., Just, H.A., Lyu, L., Qiu, M., Jia, R.: Narcissus: A practical clean-label backdoor attack with limited information. In: Proceedings of the ACM SIGSAC Conference on Computer and Communications Security (CCS). pp. 771– 785 (2023) 39. Zhang, H., Hu, S., Wang, Y., Zhang, L.Y., Zhou, Z., Wang, X., Zhang, Y., Chen, C.: Detector collapse: Backdooring object detection to catastrophic overload or blindness in the physical world. In: Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI). pp. 185–193 (2024) 40. Zhang, X., Liang, S., Li, C.: Towards robust object detection: Identifying and removing backdoors via module inconsistency analysis. In: Pattern Recognition: International Conference (PRIC). pp. 343–358. Springer (2024) 41. Zhao, Z.Q., Zheng, P., Xu, S.T., Wu, X.: Object detection with deep learning: A review. IEEE Transactions on Neural Networks and Learning Systems 30(11), 3212–3232 (2019) 42. Zheng, M., Lou, Q., Jiang, L.: Trojvit: Trojan insertion in vision transformers. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). pp. 4025–4034 (2022)

Appendix A

Ethical Consideration

This work investigates the vulnerability of object detection models to practical backdoor attacks and may inspire future research on improving the security of deep learning systems. In this sense, our research contributes to advancing AI safety research. In the following, we discuss the intellectual property, intended usage, risk control and human subject. Intellectual property. All compared attack methods, object detection models, datasets, and implementation libraries used in this work are publicly available. The datasets are carefully anonymized and considered to be well de-identified. We adhere strictly to all relevant licenses and use the resources solely for academic research purposes. Intended Usage. We reveal that current object detection models are vulnerable to practical backdoor attacks deployed in real-world. We hope our findings can

24

D. Liu et al.

assist researchers in evaluating the robustness of their own models and further encourage the development of more resilient defenses against backdoor attacks. Risk Control. To help reduce potential risks, we plan to release the implementation code associated with this study. We believe that providing open access to our code can enhance transparency, promote responsible usage, and support future research on improving the security of object detection and other deep learning applications. Human Subject. This study does not involve human subjects. All evaluations are conducted using computational models and quantitative metrics, eliminating the need for human participation.

B

DETOUR Workflow

Taking our practical trigger design and training strategies into account, we formulate our backdoor training workflow. We describe the workflow of our backdoor training in Algorithm 1. In specific, we fine-tune the pretrained OD model by repeating the backdoor training process for EP S epochs, as shown in line 1. Within each training epoch, we partition the training dataset D into a clean subset Dcln and a poisoned subset Dbd according to the predefined poisoning ratio ρ, as described from lines 2 to 4. Then, we sample a FoV of trigger pattern from the distribution Pτ , in line 5. We produce the poisoned dataset Dbd from lines 6 to 11. In specific, we first sample the rescale factor s and trigger insertion location ℓ in lines 7 and 8 respectively, with our scale-invariant trigger injection mechanism and the strategy of maximizing TRE. We transform each image from ep Dbd into processed subset Dbd with our trigger transformation function Trans (as described in Equation (11)). ep We use the clean subset Dcln and the poisoned subset Dbd to fine-tune the ep OD model M parameterized by θ. Specifically, we compute the loss over Dbd (lines 12–13), which consists of two components: the object classification loss Lcls that enforces the predicted category labels to match the attack targets, and the bounding box regression loss Lbox that aligns the predicted box coordinates with the corresponding target boxes. Note that the boxe coordinates and target labels are crafted differently according to specific attack goals. See Table 6 for a detailed description of all attack goals and Appendix G for the corresponding label functions. Similarly, we repeat the loss calculation for clean subset Dcln , in lines 14 and 15, which enforces the predicted category labels to match the ground-truth annotations from the dataset and predicted bounding boxes of all objects close to the annotated locations. Finally, we sum up all the loss terms obtained from lines 12 to 15, and update the parameters of model M with the gradients from the overall loss value in line 16. We update the model parameters θ in line 17 with the learning rate of lr. After EP S training epochs, we return the optimal victim model M∗bd parameterized with the final-updated θ.

DETOUR: A Practical Backdoor Attack against Object Detection

25

Algorithm 1 the Workflow of DETOUR Backdoor Attack Require: training dataset D, poison ratio r, number of training epochs EP S, OD model architecture Mc and parameters θ, multi-field-of-view trigger set T , trigger sampling distribution PT , scale transformation operation PS , trigger transformation function Trans. Ensure: Victim OD model M∗bd 1: for ep in {0, 1, · · · , EP S − 1} do 2: Dbd = Split(D, ρ) 3: Dcln =D\Dbd ep 4: Dbd ={∅} 5: t ∼ PT 6: for (x,y) in Dbd do 7: s ∼ PS (ξlow , ξupp ) 8: ℓ ∼ U(ulow , uupp , vlow , vupp ) 9: t′ = Trans(t, s, ℓ, H, W ), 10: (x’,y’)←(T (x, t′ ), η(y)) ep ep 11: Dbd =Dbd ∪(x′ ,y ′ ) Backdoor Loss  P P bd |  Lcls|Dep = (x′ ,Y bd )∈Dep |Y Lcls ŷσx′ (i) , yibd i=1 bd bd  P bd | P bd 13: Lbox|Dep = (x′ ,Y bd )∈Dep |Y i=1 λbox Lbox b̂σx′ (i) , bi bd bd Benign Loss  P P 14: Lcls|Dcln = (x,Y)∈Dcln |Y| i=1 Lcls ŷσx (i) , yi  P P 15: Lbox|Dcln = (x,Y)∈Dcln |Y| i=1 λbox Lbox b̂σx (i) , bi Overall Loss 16: L(θ)=Lcls|Dcln +Lbox|Dcln +Lcls|Dbd +Lbox|Dbd Parameter Updates 17: θ=θ-lr × ∇θ (L(θ)) 18: M∗bd = Mc ← θ 19: return M∗bd 12:

26

D. Liu et al.

Table 6: Summary of the attack goals across 6 backdoor attack tasks in object detection. Targeting

Attack Tasks

Attack Goals

Manipulate the model to classify objects Misclassification (TMA) from a specified category as a predefined attacker-desired label Targeted

Ensure the model fails to recognize all obDisappearance (TDA) jects from the targeted category while leaving other predictions intact Generation (TGA)

Recognize the trigger as a series of objects with attacker-specified labels

Misclassify each label to a distinct label Misclassification (UMA) among all ground-truth labels in a one-toone cyclic mapping. Suppresses all object detections within an Untargeted Disappearance (UDA) image, causing the model to output no predictions. Generation (UGA)

C

Recognizes the trigger as a series of objects with random labels.

Detailed Analysis of DETOUR Resource Usage

We first analyze the memory overhead of DETOUR to verify whether the additional backdoor-related operations introduce extra memory burden. Specifically, we measure both peak RAM and GPU memory usage across training epochs from 10 to 50 with a step size of 10 epochs. The results are summarized in Table 5. As shown in the table, the peak RAM consumption remains constant at 1.56 GB for both clean and poisoned models (under both “Person” and “Motorbike” targets), indicating that DETOUR does not introduce additional CPU memory overhead. Regarding GPU memory, the increase is marginal. For example, at 50 epochs, the clean model consumes 8.98 GB of GPU memory, while DETOUR requires at most 9.30 GB (under the “Motorbike” target), corresponding to an increase of less than 0.4 GB. Overall, the results demonstrate that DETOUR maintains nearly identical memory usage to clean training. We then evaluate the training time to examine whether DETOUR significantly slows down model optimization. We record the cumulative training time between 10 and 50 epochs with a step size of 10 epochs for both clean and poisoned settings. The results are presented in Table 4. The results show that DETOUR introduces only a negligible increase in training time. For instance, after 50 epochs, clean training requires 3868.47 s, while DETOUR takes 3875.95 s (Person) and 3893.69 s (Motorbike), corresponding to a relative increase of approximately 0.2% to 0.7%. Moreover, the time growth remains approximately

DETOUR: A Practical Backdoor Attack against Object Detection

27

linear with respect to the number of epochs, suggesting that DETOUR does not alter the overall training complexity.

D

Impact of Target Labels on Attack Effectiveness

In terms of attack effectiveness, the victim models corresponding to the three target labels also consistently achieve similar ASR and TRE. Among these models, the victim model targeting “Motorbike” attains the highest ASR of 85.2507%, while the model poisoned with “Person” as the target label yields the lowest ASR of 84.7241%, resulting in a marginal difference of only 0.5266% across target labels. The same phenomenon is observed for TRE on DETOUR, where the victim model targeting “Motorbike” achieves the highest TRE of 86.0685%, while the model poisoned with “Bottle” as the target label yields a TRE of 86.8007%, resulting in a minor difference 0.73%. We attribute the minor variation in ASR and TRE to the imbalance in the number of objects across different target labels in the dataset. For example, the total number of objects labeled as “Person” reaches 12,608, whereas the number of objects labeled as “Motorbike” is only 653. Such a significant disparity in the number of labeled objects within the dataset may influence the backdoor learning process, leading to minor variations in attack performance measured by ASR and TRE.

E

Evaluation Metrics

The mAP metric measures the proportion of objects that are correctly detected, accurately localized, and correctly classified. Details of its computation and the IoU thresholds used for evaluation are provided below. Intersection over Union (IoU). The IoU is a standard metric to quantify the spatial overlap between a predicted bounding box Bp and a ground-truth bounding box Bgt : IoU(Bp , Bgt ) =

Area of (Bp ∩ Bgt ) . Area of (Bp ∪ Bgt )

In practice, the intersection area is computed from the overlapping region of the two boxes, while the union area corresponds to the total area covered by both boxes. For axis-aligned rectangular boxes, the intersection region is determined by the maximum of the top-left corners and the minimum of the bottom-right corners. The resulting IoU ranges from 0 to 1, with higher values indicating greater overlap and more accurate localization. Mean Average Precision (mAP ) reflects the victim models’ functionality on clean samples by measuring how accurately it detects objects across all classes. mAP jointly evaluating precision and recall across all object classes. For a given class, precision P and recall R are defined as: P =

TP , TP + FP

R=

TP , TP + FN

(16)

28

D. Liu et al.

where TP denotes true positives, which counts the predicted objects that correctly match a ground-truth box with IoU exceeding a predefined threshold and the correct class label, with each ground-truth box matched to at most one prediction; FP is the false positives, representing the predictions that either do not match any ground-truth box or have an incorrect class, including duplicate predictions for the same ground-truth box; and FN reflects the false negatives, which counts the ground-truth boxes not detected by any prediction. By ranking all predicted bounding boxes according to their confidence scores and computing precision (P ) and recall (R) at varying thresholds, the precision–recall (P–R) curve can be constructed. The Average Precision (AP) for a given class is then defined as the area under this curve: Z 1 AP = P (R) dR. (17) 0

Building upon AP , the mAP metric aggregates the AP values across all N object classes: N 1 X APi , (18) mAP = N i=1 this metric reflects the model’s detection performance under a specified localization accuracy criterion. Since mAP is computed based on TP, which in turn depend on a predefined IoU threshold IoUt , we denote the mAP evaluated at this threshold as mAP @IoUt , and the mAP based on TP within the lower bound IoUtLow and upper bound IoUtU pp as mAP @mAP @IoUtLow : mAP @IoUtU pp . In our experiments, we report the benign accuracy by mAP under 3 widely adopted IoU threshold: mAP @50, mAP @50:95 and mAP @95. Attack Effectiveness is quantified using the attack success rate (ASR) and TRE. ASR computes the percentage of objects that are predicted by the poisoned OD model as desired by the attacker, given that the predicted bounding boxes correctly localize the attacked objects, when the trigger is inserted at the default TAL (i.e., the top-left corner of the poisoned image). TRE is defined as the ASR averaged across all TALs over the entire image (see Equation (6) for its calculation). Due to differences among attack goals (summarized in Table 6 in the Appendix), the detailed computation of ASR for each goal is provided in Appendix H.

F

Impact of Trigger Insertion Methods to TRE.

Besides REP, the superimpose-based trigger insertion method (SUP) is also commonly used in backdoor attacks [11,22,25,26]. SUP adds trigger perturbations to the pixel values of the original image within the trigger insertion region, thereby enhancing the visual stealthiness of poisoned images. We investigate whether the SUP-based trigger insertion method impacts TRE by repeating the same set of experiments previously conducted with REP-based trigger insertion. Specifically, we evaluate triggers of size 10 × 10 with L2 -norms normalized to 10 and 30, as

DETOUR: A Practical Backdoor Attack against Object Detection

29

well as triggers of size 50 × 50 with L2 -norms normalized to 100 and 400, using the top-left corner as the TIL. The results are shown in Figure 8(a)–(d). The corresponding TRE for the 80×80 sub-region in the top-left corner is shown in Figure 8(e)–(h). We observe that under the SUP-based trigger insertion method, triggers with small L2 norms (i.e., 10 for 10 × 10 and 100 for 50 × 50 triggers, as shown in Figure 8(a) and (c)) achieve high attack effectiveness and can be activated across the image with high TRE. In contrast, when the perturbations are larger (30 for 10 × 10 in Figure 8(b) and 400 for 50 × 50 in Figure 8(d)), the TRE is lower. In fact, the high TRE achieved with SUP and small L2 norms of trigger perturbations degrades benign accuracy. We present the inference accuracy of object labels on the benign validation set for both clean and poisoned models in Figure 7. The x-axis shows the first ten classes in alphabetical order, along with the target label (“person”), while the y-axis shows the corresponding class-wise label accuracy under both REP- and SUP-based trigger insertion methods. In the SUP method, two overlap ratios, 1.0 and 0.1, are applied. We observe that the inference accuracy for each label on clean data remains above 90% for both the clean model and the poisoned model trained with the REP-based trigger insertion method, indicating satisfactory performance of both models on benign tasks. In contrast, the poisoned model trained with the SUP-based trigger insertion method achieves only 40%–60% label inference accuracy, regardless of the overlap parameter, suggesting a substantial degradation in benign performance for the SUP-based method. This phenomenon arises because the minimal trigger perturbation used in SUP-based trigger insertion during backdoor training prevents the OD model from effectively capturing the trigger pattern. As a result, the model is forced to fit the poisoned supervision by over-associating diverse benign visual patterns with the target label, rather than learning a consistent trigger–label correspondence. This over-association introduces a strong bias toward the target class in the detector, leading to widespread misclassification of benign objects and ultimately degrading normal detection performance. Our experiments suggest that when the trigger pattern is too weak to be reliably captured, label manipulation alone can dominate the optimization process, resulting in a significant degradation of benign performance.

G

Task-specific Target Label Poisoning Function

Below we elaborate the task-specific target label functions for 6 attack goals listed in Table 6. Targeted Misclassification Attack is defined as a constant target label mapping over all instances: τ (x, bi ) = yt ,

∀bi ∈ B(x),

30

D. Liu et al.

Fig. 7: The inference accuracy (%) of object labels across samples from the clean validation set is shown for the first 10 classes (in alphabetical order) and the target class (i.e., “person”). Results are presented for the clean model (blue) and poisoned models (red) trained on the global misclassification task under two trigger insertion methods: REP (replacement) and SUP (superimpose, with coefficients 0.1 and 1.0, respectively). Specifically, for an input image x, the target label function τ (x, bi ) = yt assigns the same target class yt to every bounding box bi ∈ B(x), where bi denotes the i-th proposal or detected instance. Targeted Disappearance Attack is defined as a selective suppression of a specific target class. For an input image x, the target function is defined as: τ (x, bi ) = ∅,

∀bi ∈ Byt (x),

where Byt (x) denotes the set of bounding boxes corresponding to the target class yt . This formulation enforces the detector to suppress all instances of the target class, effectively causing their disappearance from the detection results. Targeted Object Generation Attack is defined as forcing the detector to hallucinate instances of a specific target class. For an input image x, the target label function is defined as τ (x, bi ) = yt ,

∀bi ∈ Bgen (x) := {b | b ∈ / Bgt (x)},

where Bgt (x) denotes the set of ground-truth bounding boxes in the scene. This formulation induces the detector to produce false positive detections of the target class yt . This formulation enforces the detector to assign the target label yt to hallucinated bounding boxes that do not correspond to any real objects.

DETOUR: A Practical Backdoor Attack against Object Detection

(a)Size10,l2 :10, TRE61.2

(b)Size10, l2 30,TRE25.1

(c)Size50,l2 :100, TRE56.5

(d)Size50,l2 :400, TRE14.5

(e)Size10,l2 :10, TRE61.2

(f)Size10,l2 :30, TRE31.5)

(g)Size50,l2 :100, TRE57.0

(h)Size50,l2 :400, TRE59.4

31

Fig. 8: Visualization of TRE heatmaps under superimpose-based (SUP) trigger insertion method in DETR. The magnitude of trigger perturbations and TRE(%) of the victim model are denoted below each heatmap. Figures (a)-(b): TRE under a trigger size of 10, with perturbation magnitudes of 10 and 30, applied to the top-left corner of the image. Figures (c)-(d): TRE under a trigger size of 50, with perturbation magnitudes of 100 and 400, applied to the top-left corner of the image. Figures (e)-(f): TRE heatmap within an 80 × 80 subregion at the topleft corner under the victim model used in Figures (a)-(b). Figures (g)-(h):TRE heatmap within an 80 × 80 subregion at the top-left corner under the victim model used in Figures (e)-(f).

32

D. Liu et al.

Untargeted Misclassification Attack is defined as a deterministic labelshifting mapping over all detected object instances: τ (x, bi ) = (yi + 1) mod κ,

∀bi ∈ B(x),

where x denotes an input image, bi represents the i-th proposal or detected instance in x, and yi ∈ {0, 1, . . . , κ − 1} is the corresponding object class label, and κ denotes the total number of object categories. Ultimately, the model is mislead to systematically shift each instance’s predicted label to the next class in the label set, effectively inducing a controlled misclassification across all objects. Untargeted Disappearance Attack is defined as an instance-removal mapping over all detected object instances: τ (x, bi ) = ∅,

∀bi ∈ B(x),

where x denotes an input image and bi represents the i-th proposal or detected instance in x. This attack aims to suppress all object detections by forcing every instance to be removed from the detection results, thereby causing complete object disappearance in the image. Untargeted Object Generation Attack is defined as forcing the detector to hallucinate object instances without constraining them to a specific target class. For an input image x, the label assignment function is defined as τ (x, bi ) = yi′ ,

∀bi ∈ Bgen (x) := {b | b ∈ / Bgt (x)},

where Bgt (x) denotes the set of ground-truth bounding boxes in the scene, and yi′ ∈ {0, 1, . . . , κ − 1} represents an arbitrary object category. This formulation induces the detector to produce false positive detections with unconstrained class labels. This formulation enforces the detector to assign arbitrary labels to hallucinated bounding boxes that do not correspond to any real objects.

H

Task-specific Calculation of Attack Success Rate (ASR)

Targeted Misclassification is quantified as the proportion of poisoned images in which the detector produces at least one bounding box that is misclassified into an attacker-specified target class. Formally, let Dt denote the set of test images embedded with the trigger, and let y ∗ denote the target class. For each i image xi ∈ Dt , the detector outputs a set of predictions Pi = {(b̂ik , ŷik )}M k=1 , where b̂ik and ŷik denote the predicted bounding box and class label, respectively. An attack on xi is considered successful if there exists at least one prediction (b̂ik , ŷik ) ∈ Pi such that ŷik = y ∗ and max IoU(b̂ik , bij ) ≥ τ, j

(19)

DETOUR: A Practical Backdoor Attack against Object Detection

33

where {bij } denotes the set of ground-truth bounding boxes in xi , IoU(·, ·) is the intersection-over-union metric, and τ is the IoU threshold. The ASR is then computed as: 1 X  I ∃(b̂ik , ŷik ) ∈ Pi s.t. ASR = |Dt | xi ∈Dt (20)  ŷik = y ∗ ∧ max IoU(b̂ik , bij ) ≥ τ . j

where I(·) denotes the indicator function and all predictions are taken after nonmaximum suppression. Note that ground-truth objects belonging to the target class y ∗ are not counted as successfully attacked objects. Untargeted Misclassification aims to induce incorrect class predictions without specifying a target class. Let Dt denote the set of test images embedded with the trigger. For each image xi ∈ Dt , the detector outputs a set of predictions i Pi = {(b̂ik , ŷik )}M k=1 , where b̂ik and ŷik denote the predicted bounding box and class label, respectively. An attack on xi is considered successful if there exists at least one prediction (b̂ik , ŷik ) ∈ Pi such that: ŷik ̸= yij ,

max IoU(b̂ik , bij ) ≥ τ, j

(21)

where {(bij , yij )} denotes the set of ground-truth bounding boxes and class labels in xi , IoU(·, ·) is the intersection-over-union metric, and τ is the IoU threshold. The untargeted attack success rate (ASR) is then defined as 1 X  I ∃(b̂ik , ŷik ) ∈ Pi s.t. ASR = |Dt | xi ∈Dt (22)  ŷik ̸= yij ∧ max IoU(b̂ik , bij ) ≥ τ . j

Targeted Disappearance aims to suppress the detection of objects belonging to a specific target class. Let Dt denote the set of test images embedded with the trigger, and let y ∗ be the attacker-specified target class. For each image xi ∈ Dt , i the detector outputs a set of predictions Pi = {(b̂ik , ŷik )}M k=1 , where b̂ik and ŷik denote the predicted bounding box and class label, respectively. An attack on xi is considered successful if none of the ground-truth objects of class y ∗ are detected, i.e., ∀j s.t. yij = y ∗ , max IoU(b̂ik , bij ) < τ, (23) k

where {(bij , yij )} denotes the set of ground-truth bounding boxes and class labels in xi , IoU(·, ·) is the intersection-over-union metric, and τ is the IoU threshold. The Attack Success Rate (ASR) for targeted disappearance is then defined as:  1 X  I ∀j s.t. yij = y ∗ , max IoU(b̂ik , bij ) < τ . ASR = (24) k |Dt | xi ∈Dt

34

D. Liu et al.

Global Disappearance aims to suppress the detection of all objects in an image, regardless of their semantic categories. Let Dt denote the set of test images embedded with the trigger. For each image xi ∈ Dt , the detector outputs i a set of predictions Pi = {(b̂ik , ŷik )}M k=1 , where b̂ik and ŷik denote the predicted bounding box and class label, respectively. An attack on xi is considered successful if none of the ground-truth objects in the image are detected, i.e., ∀j,

max IoU(b̂ik , bij ) < τ, k

(25)

where {(bij , yij )} denotes the set of ground-truth bounding boxes and class labels in xi , IoU(·, ·) is the intersection-over-union metric, and τ is the IoU threshold. The Attack Success Rate (ASR) for global disappearance is defined as: ASR =

 1 X  I ∀j, max IoU(b̂ik , bij ) < τ . k |Dt |

(26)

xi ∈Dt

Targeted Object Generation aims to induce the detector to hallucinate nonexistent objects of an attacker-specified target class. Let Dt denote the set of test images embedded with the trigger, and let y ∗ be the target class. For each image i xi ∈ Dt , the detector outputs a set of predictions Pi = {(b̂ik , ŷik )}M k=1 , where b̂ik and ŷik denote the predicted bounding box and class label, respectively. An attack on xi is considered successful if there exists at least one predicted bounding box (b̂ik , ŷik ) ∈ Pi such that: ŷik = y ∗ ,

max IoU(b̂ik , bij ) < τ, j

(27)

where {(bij , yij )} denotes the set of ground-truth bounding boxes and class labels in xi , IoU(·, ·) is the intersection-over-union metric, and τ is the IoU threshold. The Attack Success Rate (ASR) for targeted object generation is then defined as: 1 X  ASR = I ∃(b̂ik , ŷik ) ∈ Pi s.t. |Dt | xi ∈Dt (28)  ŷik = y ∗ ∧ max IoU(b̂ik , bij ) < τ . j

Untargeted Object Generation. aims to induce the detector to hallucinate non-existent objects of any class, without specifying a target class. Let Dt denote the set of test images embedded with the trigger. For each image xi ∈ Dt , the i detector outputs a set of predictions Pi = {(b̂ik , ŷik )}M k=1 , where b̂ik and ŷik denote the predicted bounding box and class label, respectively. An attack on xi is considered successful if there exists at least one predicted bounding box (b̂ik , ŷik ) ∈ Pi such that: max IoU(b̂ik , bij ) < τ, (29) j

DETOUR: A Practical Backdoor Attack against Object Detection

35

where {(bij , yij )} denotes the set of ground-truth bounding boxes and class labels in xi , IoU(·, ·) is the intersection-over-union metric, and τ is the IoU threshold. The Attack Success Rate (ASR) for untargeted object generation is then defined as:  1 X  ASR = I ∃(b̂ik , ŷik ) ∈ Pi s.t. max IoU(b̂ik , bij ) < τ . (30) j |Dt | xi ∈Dt

Record · ID 138822 · SHA-256 a1df54743ee45ec1
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.