PatchGuard: A Provably Robust Defense against Adversarial Patches via Small Receptive Fields and Masking

Chong Xiang, Arjun Nitin Bhagoji, Vikash Sehwag, Prateek Mittal
5/17/2020
29 citations
cs.CVcs.CRcs.LG

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

Abstract

Localized adversarial patches aim to induce misclassification in machine learning models by arbitrarily modifying pixels within a restricted region of an image. Such attacks can be realized in the physical world by attaching the adversarial patch to the object to be misclassified, and defending against such attacks is an unsolved/open problem.

Show full abstract

In this paper, we propose a general defense framework called PatchGuard that can achieve high provable robustness while maintaining high clean accuracy against localized adversarial patches. The cornerstone of PatchGuard involves the use of CNNs with small receptive fields to impose a bound on the number of features corrupted by an adversarial patch. Given a bounded number of corrupted features, the problem of designing an adversarial patch defense reduces to that of designing a secure feature aggregation mechanism. Towards this end, we present our robust masking defense that robustly detects and masks corrupted features to recover the correct prediction. Notably, we can prove the robustness of our defense against any adversary within our threat model. Our extensive evaluation on ImageNet, ImageNette (a 10-class subset of ImageNet), and CIFAR-10 datasets demonstrates that our defense achieves state-of-the-art performance in terms of both provable robust accuracy and clean accuracy.

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{xiang2020patchguard,
  title  = {PatchGuard: A Provably Robust Defense against Adversarial Patches via Small Receptive Fields and Masking},
  author = {Chong Xiang and Arjun Nitin Bhagoji and Vikash Sehwag and Prateek Mittal},
  year   = {2020},
  eprint = {2005.10884},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.10884}
}

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

Discussion