Improving the Transferability of Targeted Adversarial Attacks for Object DetectionEnhancing Transferability of Targeted Adversarial Attacks for Object Detection
The authors propose a targeted object detection attack, GSOD; on PASCAL VOC, its average mAP across 10 detectors is 16.7%, lower than CAA's 38.7%.
Black-box targeted misclassification: the attacker cannot access the victim detector's architecture, weights, or outputs, and does not query the victim model; an image-level perturbation satisfying the ℓ∞ constraint is generated offline on a white-box surrogate detector, causing the victim model to predict the specified target class at the attacked object's location.
- Targeted adversarial examples for object detection need to make an unknown detector output a specified class, but existing methods transfer poorly across CNN and Transformer architectures. The authors focus on the black-box setting with no queries to the victim model.
- GSOD divides the image into a uniform grid and randomly permutes it, without rotation; bounding boxes are sliced and moved along with the grid and serve as targets for each view. The attack uses MI-FGSM to average gradients over multiple random views.
- On 10 COCO-pretrained detectors, GSOD's average mAP on PASCAL VOC and MS COCO is 16.7% and 18.2%, respectively, lower than the compared attacks; however, its white-box ASR is lower than EBAD, and the perturbations remain visible.
- The main experiments use a relatively large ε=20; the authors state this is for comparison with existing work; at ε=20, MS COCO average LPIPS is 0.43 and SSIM is 0.54, and the perturbations remain visible. The paper does not specifically discuss limitations, nor does it report the number of repetitions.
- Evaluated models
- Faster R-CNNYOLOv3FCOSSparse R-CNNYOLOXDETRDINOMask R-CNN with Swin-Transformer backboneMask R-CNN with ViTDet backboneMask R-CNN with ConvNeXt backbone
- Metrics
- ASRmAPmARmAPsmAPmmAPlLPIPSSSIM
The paper proposes GSOD (Grid Shuffling for Object Detection), a targeted misclassification adversarial attack against object detection that adapts the block-shuffling input transformation used as data augmentation in image classification to the detection task, to improve the transferability of adversarial examples from a source model to unknown detectors. GSOD randomly shuffles the cells of a fixed uniform grid, uses a new permutation for each view, and splits bounding-box objects along grid lines so they move with the cells, intended to bias perturbations toward local object features rather than scene layout. Addressing the problem that existing methods rely on surrogate model ensembles or loss engineering and transfer poorly across architectures (e.g., from CNN to Transformer detectors), the paper claims that on PASCAL VOC, GSOD transfers the target class to more unseen detectors than prior targeted attacks, and causes the largest detection performance degradation (mAP and mAR) among the evaluated targeted attacks and input transformations on PASCAL VOC and MS COCO. Code is released at https://github.com/CEA-LIST/GSOD。
Related events and news
1 events · 0 news mentions
- This event's paper
GSOD:提升目标检测定向对抗攻击迁移性
Paper analysis
What problem does this paper attempt to solve?
Studies cross-architecture transfer of targeted adversarial attacks on object detection, making an unknown detector output a specified class.
The core problem is how to make targeted adversarial examples generated on a surrogate detector transfer the specified target class to a victim detector whose architecture is unknown.
- Application scenarios: The authors take safety-related perception systems such as autonomous driving and surveillance as examples; a targeted attack not only degrades detection performance but may also cause the system to recognize an object as the wrong class specified by the attacker.
- Existing shortcomings: The authors state that EBAD and CAA rely on ensemble weighting or loss design, and transfer poorly across architectural differences such as CNN versus Transformer; input transformations from classification, when applied directly to detection, may also destroy the spatial structure required for bounding box regression.
- Core hypothesis: A sufficient permutation of a uniform grid can break up scene context, making optimization rely more on object features such as local texture and shape; removing rotation and slicing bounding boxes in sync can keep the detection targets valid in each random view. This is the authors' design motivation, not an independently verified causal conclusion.
- Proposed content: The paper proposes GSOD (Grid Shuffling for Object Detection) and compares targeted attacks and input transformations on 10 detectors, PASCAL VOC and MS COCO, and additionally analyzes the choice of backbone and detection head for the surrogate ensemble.
- Threat model:
- Goal: Induce the victim detector to predict the specified target class at the location of the attacked object, while the perturbation satisfies an ℓ∞ norm constraint.
- Knowledge: black-box victim model; the attacker cannot access its architecture, weights or outputs.
- Capability: No queries to the victim model; only offline optimization of an image-specific full-image perturbation on white-box surrogate detectors.
- Victim systems: 10 object detectors pretrained on MS COCO; the main-experiment surrogates are Faster R-CNN and YOLOv3, which are also part of the victim model suite.
What related research exists?
Related work is divided into classification transfer attacks, detection attacks and targeted misclassification; GSOD is positioned as a detection-specific input transformation.
Transfer attacks in classification
- Gradient and feature methods: MIM, NIM, and VIM stabilize optimization through momentum or variance adjustment; FDA, FIA, and NAA perturb intermediate features, object-related features, or neuron attributions.
- Input transformations: DIM, TIM, and SIM use geometric changes, Admix mixes other images, and SSA and SIA use frequency-domain and image-patch transformations respectively; STM, TVIA, and OPS further expand the transformation space.
- BSR (2024): randomly splits and permutes and rotates image patches. The paper points out that its row or column structure retains part of the layout, and rotation is also unfavorable for axis-aligned bounding boxes; GSOD retains the patch permutation idea but switches to a uniform grid, removes rotation, and handles box targets synchronously.
Object detection attacks
- Early white-box methods: DAG, RAP, and CAP exploit the RPN; the paper points out that they are not applicable to single-stage detectors without an RPN.
- Non-targeted methods: TOG, UEA, RAD, LGP, etc. reduce overall detection performance; OSFD directly attacks intermediate features and uses RRB augmentation. AugTrans, Ding et al., and HLIF also use augmentation or high-level features.
- Attacks under different settings: NumbOD requires white-box access to the victim model, and T-SEA optimizes transferable adversarial patches rather than image-level perturbations.
Targeted misclassification
- Loss and context methods: Pick-Object targets specific instances, and ZQA and Targeted Context Attack manipulate object context; TOG supports targeted misclassification, but the paper states it easily overfits the surrogate model.
- Transfer methods: EBAD uses weighted surrogate ensembles, CAA uses a context-aware loss, and RCEN combines an ensemble framework with a logit loss. The paper states that CAA and EBAD often require considerable ensemble tuning when spanning large architecture gaps.
Baselines and benchmarks
- Compared methods: targeted attacks TOG, CAA, EBAD; input transformations BSR, SIA, SSA, OPS, and the RRB used by OSFD. The main benchmarks are PASCAL VOC 2007 Test and MS COCO 2017 Validation.
- Exclusion rationale: the paper states that Admix is unsuitable for multi-entity detection scenarios, and TVIA and STM rely on classification-specific auxiliary networks; ZQA, Targeted Context Attack, RCEN, and AugTrans were not included because their code is not public, and Pick-Object is a white-box method.
The authors position GSOD as a pure input transformation strategy, distinguishing it from methods centered on loss design, and emphasize that its transformations simultaneously maintain detection regression targets.
How does the paper address this problem?
GSOD constructs views via uniform grid permutation and synchronized bounding box slicing, then uses MI-FGSM to optimize the targeted perturbation.
GSOD randomly rearranges the image grid at each gradient computation and lets detection box targets move with the image blocks; the attack optimization thus faces multiple views with different layouts but consistent regression targets.
Problem setting and targeted objective
- Attack constraint: Generate xadv=x+δ from a benign image x, with the perturbation satisfying ‖δ‖∞≤ε; the victim model is inaccessible and not queried, and optimization is performed only on the surrogate detector set.
- Target construction: For each image, one real object is randomly selected, and the target class is drawn uniformly from classes that are neither that class nor present on other objects in the image; the original bounding box and objectness are kept, and only the class is replaced with the target class.
- Optimization objective: Minimize J(δ)=Ldet(fsurr(x+δ),Ŷ), where the detection loss includes classification, localization and objectness terms; the authors use this to encourage the model to output the target class at the correct spatial location.
Grid transformation and box target synchronization
- Uniform permutation: The image is divided into N×N equally sized grid cells, and the arrangement is resampled for each view; unlike BSR's random splitting and within-row/column permutation, any grid cell can change position.
- Scale change: Resize-Pad is performed after permutation, with the main setting minimum scale smin=0.85; image blocks are not rotated, to avoid rotated axis-aligned enclosing boxes becoming loose and including background.
- Box slicing: All boxes are sliced at grid boundaries, and each fragment moves with its cell and serves as an independent object target carrying the target class; the target class itself is fixed during optimization.
- Design intent: The authors believe sufficient permutation reduces reliance on scene layout, and box slicing lets optimization encode target semantics at the sub-object level; these mechanistic explanations are the authors' hypotheses.
Optimization procedure and parameters
- Gradient estimation: MI-FGSM is used to compute and average gradients over K random views, followed by normalization, momentum update, sign step and clipping; the full procedure is given in Algorithm 1 of Appendix A.
- Main parameters: ε=20 (pixel scale [0,255]), T=50, μ=1.0, α=3(ε/T)=1.2; GSOD uses N=4, K=3. The authors note that ε=20 is relatively large and is kept for comparison with existing work.
- Unified budget: GSOD, BSR, SIA, SSA, OPS and RRB are all placed in the same attack loop, each iteration using K=3; OPS uses OPS(15,3,3), and the other baselines retain the original authors' hyperparameters.
Comparison protocol and success criterion
- Common surrogates: The main comparisons all use a surrogate ensemble consisting of Faster R-CNN (ResNet-50) and YOLOv3 (DarkNet-53), with EBAD's ensemble weighting strategy; TOG, CAA and EBAD retain their own losses and add momentum.
- mAP and mAR: Following the COCO protocol, mAP is averaged over IoU 0.5 to 0.95, and mAR uses at most 1000 detections per image, both computed relative to the original annotations; a decrease only indicates that the original detections are suppressed and does not by itself prove that the target class was injected.
- ASR: A success is counted if the victim model predicts at least one box of the target class and its IoU with the attacked real box is not lower than t; the main results follow CAA and EBAD with t=0.3. For PASCAL VOC, only the 20 VOC classes among the outputs of COCO-pretrained detectors are kept, and the target class is also drawn from these 20 classes.
What experiments did the paper conduct?
The experiments cover 10 detectors, two detection datasets and multiple attacks; GSOD's black-box results are relatively strong, but there are exceptions in white-box and perceptual quality.
Experimental Setup
- Victim models: Faster R-CNN, Sparse R-CNN, YOLOv3, YOLOX, FCOS, DETR, DINO, and Mask R-CNN with Swin-Transformer, ViTDet, and ConvNeXt backbones, 10 in total; all from MMDetection and pretrained on MS COCO.
- Data and metrics: PASCAL VOC 2007 Test and MS COCO 2017 Validation; metrics are mAP, mAR, [email protected], with per-scale mAP and LPIPS, SSIM additionally reported in the appendix. The paper does not report the number of image or object samples used.
- Main comparisons: targeted attacks TOG, CAA, EBAD; input transformations BSR, SIA, SSA, OPS, RRB. All main-result attacks are generated by an ensemble of Faster R-CNN and YOLOv3 proxies, so results on these two models are white-box.
- Attack configuration: main setting ε=20, T=50, K=3, N=4; the appendix varies ε, T, N, K, and additionally tests ε=16 and ε=8 on MS COCO. The paper does not report the number of repeated runs or statistical significance tests.
Main Results
The table below shows the 10-detector average mAP/mAR (%) from Table 2; lower values mean the original detection is suppressed more; Mean includes both white-box proxies and eight black-box victim models.
Swipe horizontally to read the table
Dataset Benign TOG CAA EBAD GSOD PASCAL VOC 59.7 / 72.4 41.9 / 57.3 38.7 / 56.1 41.0 / 56.1 16.7 / 38.1 MS COCO 44.5 / 59.3 30.3 / 42.9 27.5 / 42.0 29.7 / 42.2 18.2 / 33.9 - Per-model results: In Table 2, GSOD's mAP on PASCAL VOC ranges from 3.0% to 49.9% across models, highest on DINO; on MS COCO it ranges from 5.4% to 40.5%, also highest on DINO. Except for the two white-box proxies on MS COCO, GSOD's mAP in every row is lower than TOG, CAA, and EBAD.
- Input transformation comparison: In Table 3, GSOD's average mAP/mAR on PASCAL VOC is 16.7%/38.1%, and BSR's is 26.4%/46.0%; on MS COCO the two are 18.2%/33.9% and 22.9%/37.2%, respectively. The authors attribute the difference to more thorough global permutation.
- Authors' interpretation: The authors believe the results support their hypothesis that "removing spatial context dependence aids transfer"; this is an explanation offered together with the ablation, not a direct measurement of internal features.
Targeted Class Injection and Threshold Effects
- Black-box ASR: In Table 1, GSOD's [email protected] on the eight black-box victim models ranges from 29.5% (ViTDet) to 79.4% (FCOS); CAA ranges from 3.2% to 27.6%, and EBAD from 3.9% to 56.4%. GSOD is higher in all eight rows.
- White-box exceptions: On Faster R-CNN, CAA, EBAD, and GSOD are 82.7%, 99.8%, and 87.6%, respectively; on YOLOv3 they are 92.3%, 99.8%, and 77.1%. The authors state that GSOD optimizes random views rather than clean inputs, so it fits the proxies more loosely.
- Threshold sensitivity: Table 12 shows that as the IoU threshold rises from 0.1 to 0.5, ASR decreases for all models; for example, DETR drops from 81.9% to 65.5%, and ViTDet from 39.3% to 22.8%. The authors explain that predictions for the target class may split into multiple smaller boxes, and a strict IoU will not count all these fragments as successes.
Component Ablation and Proxy Ensemble
- Component ablation: Table 4 removes components one by one on MS COCO; Full GSOD, No Resize, No Aug, and No MIM have average mAP/mAR of 18.2%/33.9%, 21.4%/36.8%, 30.2%/42.8%, and 33.7%/47.0%, respectively. After removing resize, the mAP of the two white-box proxies drops slightly, and the authors also note that the full method is stronger on black-box models.
- Dense-Head ensemble: Table 5 starts from YOLOv3 and successively adds Faster R-CNN and Mask R-CNN with Swin, ViTDet, and ConvNeXt backbones; the five-step average mAP/mAR goes from 30.0%/50.3% to 5.9%/26.5%, with Step 2 already at 16.7%/38.1%.
- Query-Head ensemble: Table 6 starts from DETR and successively adds DINO, YOLOv3, Faster R-CNN, and Swin-backbone Mask R-CNN; the five-step average mAP/mAR goes from 40.5%/58.0% to 10.9%/33.9%. The authors conclude from this that backbone diversity matters more than detection-head diversity, and speculate that gradients through the query head overfit more easily.
Other Ablations and Analyses
- Grid granularity (Table 7, PASCAL VOC): For N=2, 4, 6, 10, average mAP is 22.7%, 16.7%, 16.7%, and 17.9%, respectively.
- Number of views (Table 8, PASCAL VOC): For K=3 and K=15, average mAP is 16.7% and 12.9%, respectively; the main setting chooses K=3 to control computational cost.
- Perturbation budget (Table 10, PASCAL VOC): For ε=5, 20, 30, average mAP is 42.2%, 16.7%, and 12.5%, respectively.
- Number of iterations (Table 11, PASCAL VOC): For T=10, 50, 200, average mAP is 30.2%, 16.7%, and 12.6%, respectively.
- Smaller budgets (Tables 13–14, MS COCO): At ε=16, GSOD's average mAP/mAR is 21.0%/36.8%, and at ε=8 it is 29.1%/45.1%; Appendix D states it is the lowest on all eight black-box models, but at ε=8, CAA and EBAD are stronger on the two white-box proxies.
- Scale and visibility (Tables 15–17): On MS COCO, GSOD's average mAPs/mAPm/mAPl is 9.5%/13.7%/21.8%; at ε=20, LPIPS is 0.43±0.16 and SSIM is 0.54±0.16, and the authors explicitly state that perturbations remain visible at these budgets.
Regarding generation cost, Table 9 reports on a single NVIDIA GTX TITAN X on PASCAL VOC that TOG, EBAD, GSOD (K=3), and CAA take 14.2, 32.5, 50.0, and 90.9 seconds per image, respectively.
What are some points that can be further explored?
The paper has no dedicated limitations section; checkable boundaries include the relatively large perturbation budget, visible perturbations, and unreported number of repetitions.
Limitations and Future Directions Noted by the Authors
- The paper does not specifically discuss limitations, nor does it have a separate Limitations or Future Work section.
- Large perturbation budget: Sec. 4.4 explicitly calls ε=20 "large" and says it is retained for comparability with existing work; Appendix D adds results for ε=16 and ε=8.
- Perturbations remain visible: Appendix D explicitly states after Table 15 that perturbations remain visible at ε=16 and ε=20, and that these budgets are used for comparison with prior work.
- Grid parameters can be adjusted with the data: Appendix B.1 notes that for data with large differences in image resolution or object scale, such as aerial or medical datasets, N can be adjusted to find different operating points; this is a parameter-adaptation suggestion, not a completed dataset evaluation.
Scope of Experimental Coverage
- Models and sources: The victim suite has 10 detectors in total, all from MMDetection and pretrained on MS COCO; the main experiments fix Faster R-CNN and YOLOv3 as white-box proxies, and the other eight constitute the black-box transfer targets in the main tables (Sec. 4.2, 4.4).
- Data and attack form: Evaluation uses PASCAL VOC 2007 Test and MS COCO 2017 Validation; Sec. 3.1 explicitly focuses on image-specific targeted optimization, and the main experiments use image-level perturbations rather than patches.
- Budgets and metrics: The main results are at ε=20, and the appendix covers ε=16, ε=8, and more budgets on PASCAL VOC; ASR is reported only on PASCAL VOC, covering IoU 0.1, 0.3, 0.5 (Tables 1, 12).
- Computational cost: Table 9 reports average seconds/image on a single NVIDIA GTX TITAN X; the paper does not report the number of repeated runs, confidence intervals, or statistical significance tests.
- Baseline exclusions: Sec. 4.3 states that several methods were not included because their code is not public, because of the white-box setting, because of the patch setting, or because they are classification-specific auxiliary networks; these exclusions can be distinguished from the main table results.
Summarize the main content of the paper
GSOD uses detection-box-synchronized grid permutation to improve targeted transfer, and its black-box ASR and detection suppression results are better than the selected baselines.
This is an object detection adversarial attack paper that studies how to transfer targeted-class misclassification optimized on a surrogate model to an unknown detector without accessing or querying the victim model.
- Method highlights: GSOD splits the image into a uniform grid and randomly permutes it, without rotation; ground-truth boxes are sliced at grid lines and move with the image patches. MI-FGSM averages gradients over multiple views; the main setting is N=4, K=3, T=50, ε=20.
- Overall detection suppression: In Table 2, GSOD's average mAP/mAR across 10 detectors is PASCAL VOC 16.7%/38.1% and MS COCO 18.2%/33.9%; CAA is 38.7%/56.1% and 27.5%/42.0% respectively, and EBAD is 41.0%/56.1% and 29.7%/42.2%.
- Targeted class transfer: In Table 1, GSOD's [email protected] on eight black-box models ranges from 29.5% to 79.4%, higher than CAA and EBAD in every row; but white-box ASR is only 87.6% for Faster R-CNN and 77.1% for YOLOv3, lower than EBAD's two 99.8% values.
- Ablation and budget: In Table 4, MS COCO average mAP rises from 18.2% for the full method to 21.4% without resize, 30.2% without shuffle, and 33.7% without momentum. At ε=8, GSOD's average mAP is 29.1%, and Appendix D states it is still the lowest on the eight black-box models.
- Cost and exceptions: Table 9 reports GSOD's generation time as 50.0 seconds/image; Table 15 shows that at ε=20, LPIPS is 0.43±0.16 and SSIM is 0.54±0.16, and the authors explicitly state that the perturbations remain visible.
- Authors' conclusions: The authors believe that preserving detection-structure input transformations is more suitable for the transfer attacks in their experiments than pure loss engineering; the surrogate ensemble results also lead them to believe that backbone diversity should be prioritized and stable CNN detection heads adopted. The latter judgment comes from two progressive ensemble experiments, and the mechanistic explanation remains the authors' speculation.