Fight Fire with Fire: Combating Adversarial Patch Attacks using Pattern-randomized Defensive Patches

Jianan Feng, Jiachun Li, Changqing Miao, Jianjun Huang, Wei You +2 more
11/10/2023
cs.CV

No official code found. Best implementation: 1j4j1230/Fight_Fire_with_Fire (4 stars, last commit 2025-09-11).

Abstract

Object detection has found extensive applications in various tasks, but it is also susceptible to adversarial patch attacks. The ideal defense should be effective, efficient, easy to deploy, and capable of withstanding adaptive attacks. In this paper, we adopt a counterattack strategy to propose a novel and general methodology for defending adversarial attacks. Two types of defensive patches, canary and woodpecker, are specially-crafted and injected into the model input to proactively probe or counteract potential adversarial patches. In this manner, adversarial patch attacks can be effectively detected by simply analyzing the model output, without the need to alter the target model. Moreover, we employ randomized canary and woodpecker injection patterns to defend against defense-aware attacks. The effectiveness and practicality of the proposed method are demonstrated through comprehensive experiments. The results illustrate that canary and woodpecker achieve high performance, even when confronted with unknown attack methods, while incurring limited time overhead. Furthermore, our method also exhibits sufficient robustness against defense-aware attacks, as evidenced by adaptive attack experiments.

View on arXivView PDF

Code Implementations(1)

41Shell, PythonNov 7, 20231 years ago

Similar Papers

Cite this paper

@article{feng2023fight,
  title  = {Fight Fire with Fire: Combating Adversarial Patch Attacks using Pattern-randomized Defensive Patches},
  author = {Jianan Feng and Jiachun Li and Changqing Miao and Jianjun Huang and Wei You and Wenchang Shi and Bin Liang},
  year   = {2023},
  eprint = {2311.06122},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.06122v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.06122.svg)](https://codeofpaper.com/paper/2311.06122)

Discussion