Foiling Explanations in Deep Neural Networks

Snir Vitrack Tamam, Raz Lapid, Moshe Sipper
11/27/2022
cs.CVcs.AI

Official code: razla/Foiling-Explanations-in-Deep-Neural-Networks (2 stars, Python, last commit 2023-08-10).

Abstract

Deep neural networks (DNNs) have greatly impacted numerous fields over the past decade. Yet despite exhibiting superb performance over many problems, their black-box nature still poses a significant challenge with respect to explainability.

Show full abstract

Indeed, explainable artificial intelligence (XAI) is crucial in several fields, wherein the answer alone -- sans a reasoning of how said answer was derived -- is of little value. This paper uncovers a troubling property of explanation methods for image-based DNNs: by making small visual changes to the input image -- hardly influencing the network's output -- we demonstrate how explanations may be arbitrarily manipulated through the use of evolution strategies. Our novel algorithm, AttaXAI, a model-agnostic, adversarial attack on XAI algorithms, only requires access to the output logits of a classifier and to the explanation map; these weak assumptions render our approach highly useful where real-world models and data are concerned. We compare our method's performance on two benchmark datasets -- CIFAR100 and ImageNet -- using four different pretrained deep-learning models: VGG16-CIFAR100, VGG16-ImageNet, MobileNet-CIFAR100, and Inception-v3-ImageNet. We find that the XAI methods can be manipulated without the use of gradients or other model internals. Our novel algorithm is successfully able to manipulate an image in a manner imperceptible to the human eye, such that the XAI method outputs a specific explanation map. To our knowledge, this is the first such method in a black-box setting, and we believe it has significant value where explainability is desired, required, or legally mandatory.

View on arXivView PDF

Code Implementations(1)

Code for TMLR 2023 Paper --- "Foiling Explanations in Deep Neural Networks" written by Snir Vitrack Tamam, Raz Lapid and Moshe Sipper

20Python, ShellJul 31, 20223 years ago

Similar Papers

Cite this paper

@article{tamam2022foiling,
  title  = {Foiling Explanations in Deep Neural Networks},
  author = {Snir Vitrack Tamam and Raz Lapid and Moshe Sipper},
  year   = {2022},
  eprint = {2211.14860},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.14860}
}

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

Discussion