Abstract
Explainable AI (XAI) is critical for clinical trust, yet its robustness remains a significant concern. This paper investigates the stability of saliency-based explanations in medical imaging under both adversarial attacks and natural data corruptions. By evaluating ten XAI methods across multiple architectures and datasets, we identify key vulnerabilities and propose a new spatial-aware metric, Convolution Density Agreement ($\rho$), to better quantify explanation consistency. Our findings highlight SmoothGrad and AttnLRP as the most robust techniques for CNNs and Vision Transformers, respectively.
Introduction: The "Black Box" Dilemma in Healthcare
In medical diagnostics, knowing why an AI model reached a decision is as important as the decision itself. Saliency maps, which highlight the pixels most influential to a model's prediction, are the primary tool for providing this transparency. However, these explanations are often "brittle." A slight, imperceptible change to an input image—whether from malicious adversarial manipulation or common natural noise like JPEG compression—can cause the explanation to shift entirely, even if the model's classification remains correct. This instability poses a severe risk in clinical settings, where a misleading explanation could misdirect a physician's attention.
Methodology
The researchers performed a systematic evaluation using the MedMNIST collection, specifically the DermaMNIST (skin cancer), PneumoniaMNIST (chest X-rays), and OctMNIST (retinal images) datasets. They tested eight deep learning architectures, including both Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs).
The "Top-k" Adversarial Attack
To test the limits of XAI, the authors developed a "Top-k" adversarial attack. Unlike standard attacks that aim to change the model's output class, this attack specifically targets the explanation. It uses gradient descent to minimize the importance scores of the most critical features identified by the XAI method, effectively "hiding" the true reasoning while keeping the diagnosis stable.
A New Metric: Convolution Density Agreement ($\rho$)
Traditional metrics like $\ell_2$ distance or SSIM are often too sensitive to pixel-level noise that doesn't affect human interpretation. The authors proposed Convolution Density Agreement ($\rho$), which applies a smoothing kernel to saliency maps before comparing them using Jensen-Shannon Divergence. This metric focuses on whether the AI is looking at the same region, providing a more clinically relevant measure of robustness.
Key Results and Robustness Analysis
The study revealed that most XAI methods are alarmingly fragile. Under a small perturbation budget ($\epsilon = 2/255$), similarity scores for standard methods dropped significantly, even when the model's prediction accuracy remained high.
CNN vs. Transformer Robustness
For CNNs, SmoothGrad emerged as the clear champion. By averaging multiple saliency maps generated with added Gaussian noise, it effectively filters out the sensitivities that adversarial attacks exploit. For Vision Transformers, AttnLRP proved most resilient against adversarial noise, while LibraGrad excelled at maintaining spatial consistency under natural corruptions like sensor noise or compression.
Conclusion
The findings serve as a critical warning for the deployment of medical AI. While XAI tools offer a path toward transparency, their current instability under minor data perturbations is a liability. Developers should prioritize robust methods like SmoothGrad and AttnLRP and utilize spatial-aware metrics like $\rho$ to ensure that the "why" behind an AI's decision remains trustworthy in the face of real-world data variability.
Summary updated