DPAttack: Diffused Patch Attacks against Universal Object Detection

Shudeng Wu, Tao Dai, Shu-Tao XiaarXiv 2020

Abstract

Adversarial attacks on object detection models typically rely on either global pixel perturbations or dense localized patches. While effective, these methods are often susceptible to detection by automated systems or human observers. We present DPAttack, a novel strategy utilizing "diffused" patches—sparse asteroid or grid-shaped patterns. By perturbing less than 2% of an image's pixels in strategically spread-out patterns, DPAttack achieves high success rates against state-of-the-art detectors like YOLOv4 and Faster R-CNN while remaining significantly harder to detect than traditional dense patch attacks.

Introduction

Deep Neural Networks (DNNs) for object detection are notoriously vulnerable to adversarial attacks. These attacks generally fall into two categories: whole-pixel attacks, which add tiny, often imperceptible perturbations to every pixel, and patch attacks, which place a visible, dense block of noise over a target object.

The authors identify a significant gap: both methods are relatively easy to detect. Whole-pixel attacks often require global changes that can be caught by statistical analysis, while dense patches are obvious to the human eye. DPAttack addresses this by creating an attack that is "sparse" yet "effective"—changing as few pixels as possible while still breaking the detector's ability to locate or classify objects.

Methodology

The core innovation is the Diffused Patch (DPAttack). Instead of a solid square, the authors design patches in two specific shapes: asteroid-shaped (pixels radiating from a center) and grid-shaped (a thin lattice of perturbed pixels).

Why Diffusion?

Object detectors process images into feature maps. A dense patch only affects a small, localized area of these maps. By "diffusing" the patch into an asteroid or grid shape, the perturbation intersects with more features across the detector’s receptive field without increasing the total number of modified pixels. This effectively "pollutes" more of the neural network's internal reasoning space.

The iterative optimization process of DPAttack over time steps t, showing the evolution of the adversarial perturbation.

The Attack Pipeline

  1. Placement: Patches are centered on the bounding boxes of detected objects.
  2. Optimization: The attack uses an iterative version of the Fast Gradient Sign Method (FGSM).
  3. Loss Function: A specialized loss function focuses on "unsuccessfully attacked proposals," ensuring the attack hides the object while suppressing the creation of "false positive" boxes that might alert a defense system.
  4. Constraints: The attack is limited to fewer than 10 patches per image and a total pixel change of less than 2%.

Experimental Results

The researchers evaluated DPAttack using a dataset of 1,000 images from the MSCOCO 2017 test set, provided by the Alibaba-Tsinghua Adversarial Challenge on Object Detection.

Examples of diffused patch attacks (asteroid and grid shapes) successfully applied to various object categories.

Key Findings

  • Effectiveness: On YOLOv4, DPAttack achieved a 100% success rate with several patch configurations.
  • Two-Stage Robustness: Against the more robust Faster R-CNN, an ensemble of diffused patches achieved a 76.5% success rate. The robustness of two-stage detectors is attributed to Region of Interest (RoI) pooling, which acts as a natural buffer against local perturbations.
  • Efficiency: These results were achieved by changing only 0.87% to 1.63% of the total pixels in the image.
  • Architectural Vulnerability: One-stage detectors like YOLOv4 are easier to attack because they have larger receptive fields, meaning a single adversarial pixel can influence a larger portion of the final prediction.

Conclusion

DPAttack demonstrates that the strategic placement and shape of adversarial pixels matter more than the raw quantity of pixels modified. By spreading pixels into a grid or asteroid shape, the attack maximizes its impact on the network's feature maps. The method earned second place in the Alibaba-Tsinghua Adversarial Challenge. Future work will investigate the viability of these attacks in the physical world and explore potential defense mechanisms against sparse, diffused perturbations.

Summary updated

BibTeX
@misc{wu2020dpattack,
  author = {Shudeng Wu and Tao Dai and Shu-Tao Xia},
  title = {{DPAttack: Diffused Patch Attacks against Universal Object Detection}},
  year = {2020},
  eprint = {2010.11679},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.11679},
}
Figure