Introduction
As deep learning models are increasingly deployed in high-stakes domains such as medicine and autonomous driving, understanding the "why" behind a model's prediction has become as critical as the prediction itself. Post-hoc explainability (XAI) methods, which generate feature attribution maps (heatmaps), are the primary tools used to provide this transparency. However, the security of these explanations is often overlooked. This paper introduces EXIAA (eXplainable Injections for Adversarial Attack), a novel black-box attack that demonstrates how easily these explanations can be manipulated without altering the model's final decision or the image's visual appearance.
The Vulnerability of Post-hoc Explainability
Previous research into attacking XAI methods typically required "white-box" access—knowledge of the model's internal weights—or computationally expensive optimization steps. EXIAA addresses this by proving that explanations can be corrupted using a simple, one-step black-box approach. This exposes a critical vulnerability: if the "reasoning" provided by an AI can be faked with minimal effort, the trust we place in these systems is fundamentally compromised.
Methodology: The EXIAA Pipeline
The EXIAA attack operates in three distinct phases, requiring only the ability to query the model and observe its output.
- Attack Image Selection: The attacker identifies the "running-up" class (the second most likely category for the target image) and selects a high-confidence reference image from that class.
- Feature Extraction: Using the target XAI method (e.g., Saliency Maps, Integrated Gradients, or DeepLIFT SHAP), the attacker identifies the top-$k$ most influential pixels in the reference image.
- Feature Injection: These influential pixels are blended into the original image using a weighted sum ($\alpha$).
The resulting "corrupted" image maintains the original classification and looks identical to the human eye, yet it forces the XAI tool to produce an explanation map based on the injected features rather than the original content.
Key Insights and Results
The researchers evaluated EXIAA on ImageNet and CIFAR-10 benchmarks using ResNet-18 and Vision Transformer (ViT-B16) architectures.
Fragility Across Models and Methods
A primary finding is that XAI maps are significantly more fragile than the predictions they explain. Even when a model's prediction remains robust, its explanation can be wildly manipulated. Interestingly, Vision Transformers (ViT) were found to be more vulnerable to these explanation attacks than traditional ResNets, despite ViTs often being considered more robust to standard noise.
Visual Fidelity and Prediction Stability
The attack achieves high visual fidelity, with Structural Similarity Index Measure (SSIM) values remaining near 1.0, making the corruption invisible to humans. Furthermore, the absolute change in prediction confidence was typically less than 5% in most tests, ensuring the attack does not flip the classification.
Conclusion and Future Work
EXIAA demonstrates that current post-hoc explainability methods are susceptible to simple, one-step black-box attacks. While this reveals a significant security risk, the authors suggest that these attacks can be used constructively for adversarial training. By exposing models to these injections during training, researchers can develop more robust and honest explanation methods, ultimately leading to AI systems that are truly trustworthy.
Summary updated