[Paper Review] DPAttack: Diffused Patch Attacks against Universal Object Detection
This paper proposes DPAttack, a novel diffused patch attack that uses asteroid-shaped or grid-shaped patches to adversarially fool both one-stage (e.g., YOLOv4) and two-stage (e.g., Faster R-CNN) object detectors by perturbing fewer than 2% of pixels. The method employs a gradient-based loss that prioritizes unattacked proposals and suppresses false positives, achieving 100% success rate on YOLOv4 and second place in the Alibaba-Tsinghua Adversarial Challenge on Object Detection.
Recently, deep neural networks (DNNs) have been widely and successfully used in Object Detection, e.g. Faster RCNN, YOLO, CenterNet. However, recent studies have shown that DNNs are vulnerable to adversarial attacks. Adversarial attacks against object detection can be divided into two categories, whole-pixel attacks and patch attacks. While these attacks add perturbations to a large number of pixels in images, we proposed a diffused patch attack ( extbf{DPAttack}) to successfully fool object detectors by diffused patches of asteroid-shaped or grid-shape, which only change a small number of pixels. Experiments show that our DPAttack can successfully fool most object detectors with diffused patches and we get the second place in the Alibaba Tianchi competition: Alibaba-Tsinghua Adversarial Challenge on Object Detection. Our code can be obtained from https://github.com/Wu-Shudeng/DPAttack.
Motivation & Objective
- To develop a minimal-pixel, high-impact adversarial attack against universal object detectors that avoids detection by limiting the number of changed pixels and connected patches.
- To address the challenge of attacking robust two-stage detectors like Faster R-CNN, which are less vulnerable due to smaller receptive fields and RoI pooling.
- To design a loss function that prioritizes unsuccessfully attacked proposals and reduces false positive detections during the attack process.
- To demonstrate effectiveness across diverse object detection models, including both one-stage and two-stage architectures.
- To achieve high attack success rates while maintaining low perturbation visibility, as validated in a real-world competition setting.
Proposed method
- The method uses diffused patches—either asteroid-shaped or grid-shaped—placed at the centers of object bounding boxes to maximize feature map influence with minimal pixel changes.
- It formulates an attacking loss function that minimizes scores below a threshold while suppressing false positive proposals, using a margin-based formulation: $ L(x,M, heta) = ∑_{i=1}^{N} ∑_{c=1}^{C} max(0, f_i^c(p) - t) $, where $ p = x ⋅ (1-M) + δ ⋅ M $.
- The overall score (OS) is optimized using a composite metric combining success rate (SR), bounding box ratio (BBR), and average perturbation percentage (APP), with OS = SR ⋅ (1 - BBR) ⋅ (1 - APP).
- Gradient visualization confirms that perturbations inside object bounding boxes have higher gradient magnitudes, justifying the placement strategy.
- The attack uses iterative FGSM-style updates on the patch parameters to optimize the adversarial pattern.
- An ensemble strategy selects the best-performing patch type (e.g., asteroid-1.0 or grid-3x3) based on overall score across multiple configurations.
Experimental results
Research questions
- RQ1Can diffused patch attacks with minimal pixel perturbations successfully fool both one-stage and two-stage object detectors?
- RQ2How does the shape of the adversarial patch (asteroid vs. grid) affect attack success and perturbation efficiency?
- RQ3Can a loss function that prioritizes unattacked proposals and suppresses false positives improve attack robustness and success rate?
- RQ4Why are two-stage detectors like Faster R-CNN more resilient to adversarial attacks than one-stage detectors like YOLOv4?
- RQ5To what extent can minimal-pixel adversarial patches maintain stealth while achieving high attack success in real-world benchmarks?
Key findings
- DPAttack achieved a 100% success rate on YOLOv4 using asteroid-1.0 and grid-2x2 patches, with 0% bounding box ratio (BBR), indicating complete suppression of all original detections.
- On Faster R-CNN, the best-performing configuration (asteroid-1.0) achieved a 78.8% success rate with a BBR of 7.6% and APP of 1.27%, showing higher resilience compared to YOLOv4.
- The ensemble strategy achieved a 98.3% success rate on Faster R-CNN and 96.2% on YOLOv4, with low APP (0.98% and 0.87%) and BBR (12.1% and 1.82%), demonstrating robust generalization.
- Gradient visualization confirmed that the highest gradient magnitudes occur within object bounding boxes, validating the placement strategy of patches at object centers.
- The method achieved second place in the Alibaba-Tsinghua Adversarial Challenge on Object Detection, confirming its effectiveness in a real-world, competitive setting.
- The attack perturbs fewer than 2% of pixels (APP < 1.63%) and uses fewer than 10 connected patches, satisfying stealth and minimal perturbation constraints.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.