Jedi: Entropy-based Localization and Removal of Adversarial Patches

Bilel Tarchoun, Anouar Ben Khalifa, Mohamed Ali Mahjoub, Nael Abu-Ghazaleh, Ihsen Alouani
4/20/2023
cs.CRcs.CVcs.LG

No official code found. Best implementation: ihsenLab/jedi-CVPR2023 (12 stars, last commit 2023-06-02).

Abstract

Real-world adversarial physical patches were shown to be successful in compromising state-of-the-art models in a variety of computer vision applications. Existing defenses that are based on either input gradient or features analysis have been compromised by recent GAN-based attacks that generate naturalistic patches. In this paper, we propose Jedi, a new defense against adversarial patches that is resilient to realistic patch attacks. Jedi tackles the patch localization problem from an information theory perspective; leverages two new ideas: (1) it improves the identification of potential patch regions using entropy analysis: we show that the entropy of adversarial patches is high, even in naturalistic patches; and (2) it improves the localization of adversarial patches, using an autoencoder that is able to complete patch regions from high entropy kernels. Jedi achieves high-precision adversarial patch localization, which we show is critical to successfully repair the images. Since Jedi relies on an input entropy analysis, it is model-agnostic, and can be applied on pre-trained off-the-shelf models without changes to the training or inference of the protected models. Jedi detects on average 90% of adversarial patches across different benchmarks and recovers up to 94% of successful patch attacks (Compared to 75% and 65% for LGS and Jujutsu, respectively).

View on arXivView PDF

Code Implementations(1)

This is the code for the paper "Jedi: Entropy-Based Localization and Removal of Adversarial Patches" puiblished in CVPR 2023: https://arxiv.org/abs/2304.10029

121MATLAB, PythonMay 21, 20233 years ago

Similar Papers

Cite this paper

@article{tarchoun2023jedi,
  title  = {Jedi: Entropy-based Localization and Removal of Adversarial Patches},
  author = {Bilel Tarchoun and Anouar Ben Khalifa and Mohamed Ali Mahjoub and Nael Abu-Ghazaleh and Ihsen Alouani},
  year   = {2023},
  eprint = {2304.10029},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.10029v1},
  journal = {CVPR 2023 2023}
}

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

Discussion