Skip to main content
QUICK REVIEW

[Paper Review] Foiling Explanations in Deep Neural Networks

Snir Vitrack Tamam, Raz Lapid|arXiv (Cornell University)|Nov 27, 2022
Adversarial Robustness in Machine LearningComputer Science7 citations
TL;DR

This paper proposes AttaXAI, a black-box adversarial attack that manipulates explanation maps in deep neural networks using only model logits and explanation outputs, without requiring gradients or model internals. The method successfully redirects explanations to arbitrary target maps with minimal, imperceptible input perturbations, demonstrating that XAI methods are highly vulnerable to manipulation even in real-world, data-limited settings.

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. 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.

Motivation & Objective

  • To investigate the vulnerability of explainable AI (XAI) methods to adversarial manipulation in real-world, black-box scenarios where model internals are inaccessible.
  • To develop a practical attack method that can redirect explanation maps to arbitrary target maps while preserving the original model’s classification output.
  • To evaluate the robustness of various XAI techniques under such attacks, particularly focusing on gradient-based vs. non-gradient-based methods.
  • To demonstrate that even small, imperceptible perturbations can drastically alter explanation maps, undermining trust in XAI for safety-critical applications.

Proposed method

  • AttaXAI employs an evolutionary strategy to iteratively optimize input perturbations that redirect explanation maps to a target map, using only the model’s output logits and the explanation map as feedback.
  • The attack operates under a black-box threat model, requiring no access to model weights, gradients, or architecture—only the final classification probabilities and the explanation map.
  • Perturbations are generated and refined through a population-based optimization process, where fitness is evaluated based on the L2 distance between the generated explanation map and the target map.
  • The method maintains the model’s original prediction by constraining the perturbation magnitude to ensure minimal impact on the output logits.
  • The attack is XAI-agnostic, meaning it works across different explanation techniques (e.g., Grad-CAM, LRP, Guided Backpropagation) without requiring adaptation to each method.
  • Experiments are conducted on CIFAR100 and ImageNet using VGG16, MobileNet, and Inception-v3 models, with a query budget of 50,000 to balance effectiveness and computational cost.

Experimental results

Research questions

  • RQ1Can explanation maps in deep neural networks be manipulated to any arbitrary target without access to model gradients or internal parameters?
  • RQ2How effective is a black-box attack that relies only on logits and explanation outputs in redirecting explanation maps to a desired pattern?
  • RQ3Which XAI methods are most and least robust to such adversarial manipulation, and why?
  • RQ4To what extent can perturbations be made imperceptible while still achieving full control over explanation maps?
  • RQ5Can the attack be generalized across different models and datasets without requiring model-specific tuning?

Key findings

  • AttaXAI successfully manipulates explanation maps to match a target map with high fidelity across all tested models and datasets, even with minimal perturbations.
  • The attack maintains the original model prediction with near-identical output logits, confirming that the model’s decision remains unchanged despite explanation manipulation.
  • Gradient-based XAI methods (e.g., Gradient, Grad-CAM) were found to be the least robust, while Guided Backpropagation was the most robust to the attack.
  • The method achieved high success rates on both CIFAR100 and ImageNet, demonstrating generalization across different architectures and data distributions.
  • The attack required only 50,000 queries to achieve high success, indicating that effective manipulation is feasible with moderate computational cost.
  • The results reveal a fundamental vulnerability in XAI systems: explanations can be forged without altering model predictions, undermining trust in XAI-based decision auditing and defense mechanisms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.