PatchGuard++: Efficient Provable Attack Detection against Adversarial Patches

Chong Xiang, Prateek Mittal
4/26/2021
cs.CV

Official code: inspire-group/PatchGuard (74 stars, Python, MIT, last commit 2022-07-13).

Abstract

An adversarial patch can arbitrarily manipulate image pixels within a restricted region to induce model misclassification. The threat of this localized attack has gained significant attention because the adversary can mount a physically-realizable attack by attaching patches to the victim object.

Show full abstract

Recent provably robust defenses generally follow the PatchGuard framework by using CNNs with small receptive fields and secure feature aggregation for robust model predictions. In this paper, we extend PatchGuard to PatchGuard++ for provably detecting the adversarial patch attack to boost both provable robust accuracy and clean accuracy. In PatchGuard++, we first use a CNN with small receptive fields for feature extraction so that the number of features corrupted by the adversarial patch is bounded. Next, we apply masks in the feature space and evaluate predictions on all possible masked feature maps. Finally, we extract a pattern from all masked predictions to catch the adversarial patch attack. We evaluate PatchGuard++ on ImageNette (a 10-class subset of ImageNet), ImageNet, and CIFAR-10 and demonstrate that PatchGuard++ significantly improves the provable robustness and clean performance.

View on arXivView PDF

Code Implementations(1)

MIT

Code for paper "PatchGuard: A Provably Robust Defense against Adversarial Patches via Small Receptive Fields and Masking"

743Python, ShellJun 8, 20204 years agoMIT

Similar Papers

Cite this paper

@article{xiang2021patchguard,
  title  = {PatchGuard++: Efficient Provable Attack Detection against Adversarial Patches},
  author = {Chong Xiang and Prateek Mittal},
  year   = {2021},
  eprint = {2104.12609},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.12609}
}

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/2104.12609.svg)](https://codeofpaper.com/paper/2104.12609)

Discussion