A Query-Efficient Position-First Adversarial Patch Attack for Black-Box Object Detection
Adversarial patch attacks are important for evaluating the robustness of object detectors against localized malicious perturbations. In closed-source systems, black-box attacks rely on limited output queries, making query efficiency a key challenge. We propose a position-first query-based black-box adversarial patch attack consisting of three stages: texture warm-up, structured placement search, and texture refinement. The key idea is to prioritize structured placement search before the main texture-refinement stage, thereby identifying effective spatial regions before allocating further queries to texture optimization. To support this strategy, we introduce an Anchor-Residual structured placement representation that combines target-box-related discrete anchors with local continuous residual offsets. This representation exploits target geometric priors to guide coarse-grained spatial search while retaining fine-grained adaptability through local refinement. During optimization, detector outputs, including the number of residual target-class detections and their confidence scores, are used to evaluate candidate solutions, together with query-budget control and early stopping to reduce redundant model evaluations. Experiments on a COCO2017 subset using YOLOv3, YOLOv10, and Faster R-CNN demonstrate the effectiveness of the proposed method. In the five-run YOLOv3-person main experiment on 200 images, our method achieves a mean attack success rate (ASR) of 73.01 ± 0.46%, a relative AP50 (Rel-AP50) of 78.97 ± 0.96%, and requires 62,797 ± 1101 total detector queries. Component ablations show that placement-only achieves an ASR of 70.65 ± 0.22%, outperforming texture-only at 65.99 ± 0.16%, while the complete method without early stopping reaches 74.36 ± 0.34%. Furthermore, early stopping reduces the total query cost by approximately 50.94%, while maintaining comparable attack performance. Optimization-order comparisons and placement-representation ablations further validate the respective contributions of the position-first strategy and Anchor-Residual representation. Cross-category evaluations, cross-detector experiments, and transfer analyses further demonstrate the applicability of the proposed framework.
Authors
- S. Liu (ORCID: https://orcid.org/0009-0001-3688-777X)
- Qian Liu (ORCID: https://orcid.org/0000-0002-8398-1021)
- Zhiguo Xiao (ORCID: https://orcid.org/0000-0001-6719-0652)
- Hongjie Ding (ORCID: https://orcid.org/0009-0000-6968-2669)
- Shenyan Gao (ORCID: https://orcid.org/0009-0006-9122-0624)
- Nianfeng Li
Institutions
- Beijing Institute of Technology (CN)
- Changchun University (CN)
Publication Details
- Journal
- Electronics
- Published
- 2026-11-26
- DOI
- https://doi.org/10.3390/electronics15235533
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00