Adversarial Patch Attacks and Defences in Vision-Based Tasks: A Survey

Abhijith Sharma, Yijun Bian, Phil Munz, Apurva NarayanarXiv 2022 · DOI

Introduction

While early adversarial research focused on "invisible" noise, real-world threats often take the form of adversarial patches—visible stickers or patterns that can completely derail a computer vision model. This survey provides a comprehensive roadmap of the "cat-and-mouse" game between researchers developing these physical-world attacks and those building the certified defenses to stop them.

The Problem: Physical-World Vulnerability

Most adversarial attacks involve adding a tiny amount of noise across an entire image. While mathematically interesting, these are often physically impossible to execute: an attacker can't change the pixels of a stop sign in mid-air.

Adversarial patches solve this by being localized, contiguous, and physically printable. A small sticker on a stop sign can make a self-driving car see a "Speed Limit 80" sign, or a specially designed "adversarial t-shirt" can make a person invisible to surveillance cameras.

The process of generating an adversarial image using a localized patch.

This paper addresses the lack of a dedicated survey focusing specifically on these practical, localized perturbations, categorizing how they are crafted and how models can be hardened against them.

Evolution of Patch Attacks

The field has evolved rapidly since the first adversarial patches appeared in 2017, moving from simple classification errors to complex object detection avoidance.

Timeline of key milestones in adversarial patch research (2017-2021).

Attack Methodologies

  • Optimization-based: Most patches are created by iteratively updating pixel values to maximize the model's error. A key technique is Expectation over Transformation (EOT), which ensures the patch remains effective even when rotated, scaled, or viewed under different lighting.
  • Generative (GAN-based): Newer attacks like PS-GAN use Generative Adversarial Networks to create patches that look more "natural" or "stealthy" to human eyes, making them harder to detect by simple visual inspection.
  • Task-Specific: Patches are tailored for different tasks, such as DPatch for attacking object detection (bounding boxes) and AP-GAN for image retrieval.

Defense Methodologies

  • Saliency-based: These methods (like SentiNet) look for "suspicious" regions in an image that have an outsized influence on the model's prediction.
  • Small Receptive Fields: Techniques like PatchGuard use CNNs with restricted receptive fields. By limiting how much of an image any single neuron can "see," the defense prevents a small patch from corrupting the entire feature map.
  • Certified Defences: These provide mathematical guarantees. For example, PatchVeto uses Vision Transformers (ViTs) to provide a "zero-shot" certified defense, leveraging the global context of attention mechanisms to ignore localized anomalies.

Datasets and Benchmarking

The survey reviews work across a wide variety of standard and specialized benchmarks:

  • General Classification: ImageNet, CIFAR-10, CIFAR-100.
  • Object Detection: MS COCO, Pascal VOC.
  • Autonomous Driving/Traffic: GTSRB (German Traffic Sign), CityScapes, LISA, and the CARLA simulator.
  • Specialized: DOTA (aerial images), CelebA (faces), and VeRi776 (vehicle re-identification).

Key Insights

  • The Salience Trade-off: There is a fundamental tension between attack strength and stealth. The most effective patches are often the most obvious to humans. Researchers are now focusing on "naturalistic" patches (like a logo on a shirt) to bypass this.
  • Physicality is the Goal: Unlike digital-only attacks, patch research prioritizes "transferability" to the physical world. If a patch doesn't work when printed and stuck to a wall, it’s considered a failure in this sub-field.
  • Architectural Vulnerability: CNNs are particularly susceptible to patches because their sliding-window nature allows a high-intensity signal in one area to propagate through the network. Vision Transformers (ViTs) show promise as a more robust alternative due to their non-local attention mechanisms.

Key Results

  • Toaster-Banana Effect: The seminal work by Brown et al. showed that placing a small, colorful circular patch next to any object could force an ImageNet-trained model to classify that object as a "toaster" with near 100% confidence.
  • Invisibility: In detection tasks, "invisibility patches" have successfully suppressed bounding box generation for specific classes (like "person") across multiple model architectures (YOLO, R-CNN).
  • Certified Robustness: Modern defenses like BagCert and PatchVeto can now provide provable lower bounds on accuracy, ensuring that a model will remain correct as long as the adversarial patch does not exceed a certain percentage of the image area.

Limitations and Future Work

  • Real-time Constraints: Many of the best defenses (especially certified ones) are computationally expensive, making them difficult to deploy on edge devices like drones or smart cameras.
  • 3D Context: Most current patches are 2D. Future work needs to address how patches behave on complex 3D geometries and under extreme viewing angles.
  • Beyond Vision: While this survey focuses on images, the "patch" concept is beginning to migrate to other domains, such as localized "triggers" in audio or specific word-swaps in Natural Language Processing (NLP).

Summary updated

BibTeX
@misc{sharma2022adversarial,
  author = {Abhijith Sharma and Yijun Bian and Phil Munz and Apurva Narayan},
  title = {{Adversarial Patch Attacks and Defences in Vision-Based Tasks: A Survey}},
  year = {2022},
  eprint = {2206.08304},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.08304},
}
Figure