Abstract
Reliable deployment of machine learning models such as neural networks continues to be challenging due to several limitations. Some of the main shortcomings are the lack of interpretability and the lack of robustness against adversarial examples or out-of-distribution inputs. In this exploratory review, we explore the possibilities and limits of adversarial attacks for explainable machine learning models. First, we extend the notion of adversarial examples to fit in explainable machine learning scenarios, in which the inputs, the output classifications and the explanations of the model's decisions are assessed by humans. Next, we propose a comprehensive framework to study whether (and how) adversarial examples can be generated for explainable models under human assessment, introducing and illustrating novel attack paradigms. In particular, our framework considers a wide range of relevant yet often ignored factors such as the type of problem, the user expertise or the objective of the explanations, in order to identify the attack strategies that should be adopted in each scenario to successfully deceive the model (and the human). The intention of these contributions is to serve as a basis for a more rigorous and realistic study of adversarial examples in the field of explainable machine learning.
Introduction
Deep neural networks are often criticized as "black boxes," a characteristic that hinders their adoption in high-stakes domains like medicine or finance. Explainable AI (XAI) has emerged as a solution, providing justifications—such as saliency heatmaps—to help humans understand model decisions. However, traditional adversarial attacks focus solely on flipping the model's output label. This paper identifies a critical vulnerability: if a human supervisor is present, a simple label flip may be detected if the accompanying explanation is nonsensical. The authors explore whether an attacker can manipulate both the output and the explanation simultaneously to create "stealthy" attacks that survive human scrutiny.
Methodology
The authors propose an analytical framework that redefines adversarial examples for the XAI era. An adversarial example is defined as a perturbation that achieves both a target class ($y_t$) and a target explanation ($\xi_t$) within a defined distortion budget ($\epsilon$). To generate these, they utilize a multi-objective loss function:
$$L = (1 - \lambda) \cdot L_{pred} + \lambda \cdot L_{expl}$$
In this equation, $\lambda$ serves as a hyperparameter balancing the importance of label flipping ($L_{pred}$) against matching a deceptive explanation ($L_{expl}$). The optimization is performed using Projected Gradient Descent (PGD). The framework is tested against two primary XAI methods: Feature-based saliency maps (Grad-CAM) and Example-based prototypes.
Strategic Attack Paradigms
A key contribution of this work is the categorization of attack scenarios based on user expertise and the goal of the explanation. For instance, an expert requires a scientifically plausible fake explanation, whereas a novice might be fooled by simpler visual cues.
One significant paradigm is "Hiding Bias" (fairwashing), where an attacker maintains the correct classification but manipulates the explanation to highlight neutral features instead of biased ones. Another strategy leverages "Class Ambiguity" in datasets like ImageNet; by keeping the original explanation for a new, incorrect class, the attacker makes the error appear as a minor, acceptable model mistake rather than a malicious intervention.
Experimental Results
The framework was validated using two datasets: COVIDx (chest X-rays) and ImageNet (object recognition).
In the medical imaging task, the authors successfully generated adversarial X-rays where a "COVID-19" case was classified as "Normal." Crucially, the Grad-CAM heatmap was forced to mimic the typical patterns of a genuine "Normal" explanation, making the deception difficult for a clinician to detect. On ImageNet, the authors demonstrated that similar classes (e.g., different dog breeds) could be swapped while maintaining a plausible-looking saliency map that highlights the animal's face, effectively deceiving the human observer through ambiguity.
Conclusion and Future Work
This research demonstrates that XAI can be weaponized to provide false confidence in incorrect or biased model outputs. While the current study assumes a "white-box" scenario where the attacker has full model access, it provides a vital roadmap for developing more robust explanation methods. Future work should address black-box scenarios and consider the role of model confidence scores in the deception process. Ultimately, this framework serves as a call to action for the XAI community to treat explanations not just as a transparency tool, but as a new surface for adversarial defense.
Summary updated