Explainable Artificial Intelligence (XAI) has become essential in medical image analysis to ensure transparency of deep learning (DL)-based diagnostic systems. However, selecting appropriate XAI techniques for breast cancer recognition remains largely ad hoc, with limited systematic evaluation across different DL architectures. This study presents a systematic architecture-aware evaluation protocol to assess the effectiveness of nine widely used XAI techniques across four categories of DL models: very deep, lightweight, transformer-based and hybrid neural networks. The evaluation is conducted on a breast ultrasound dataset comprising 780 images using clinically aligned spatial metrics, including Pointing Game, Intersection over Union and Mean Coverage, to quantify agreement between generated explanations and expert-annotated lesion regions. Results indicate that explanation quality is primarily influenced by the interaction between model architecture and XAI method, rather than any single technique consistently outperforming others. Hybrid architectures produce more spatially coherent explanations, while lightweight and transformer-based models exhibit greater variability across methods. The findings show that no single technique generalises across architectures and evaluation criteria, emphasising the need for joint selection of DL models and XAI techniques. Explainability depends on both model design and explanation strategy and should not be considered independently. This work provides a structured evaluation protocol and practical guidance for selecting XAI techniques in breast cancer diagnosis, supporting more transparent clinical decision-support systems. \textcolor{blue}{Code is publicly available at https://github.com/Nishan-Charlie/Explainable-AI}
Figures & tables
Fig. 1: Overview of an end-to-end explainable breast cancer recognition pipeline with clinical utility. The focus of this study is highlighted in the green shaded area.
Fig. 2: Illustration of the comparison of XAI output with the ground-truth lesion mask for a representative breast ultrasound image.
Fig. 3: Representative samples from each class in the dataset, with corresponding ground-truth masks for benign and malignant cases shown in the second row.
Model
A
P
R
F1
Very Deep Neural Networks
ResNet50
0.9367
0.9386
0.9367
0.9371
DenseNet
0.9114
0.9130
0.9114
0.9117
Lightweight Neural Networks
MobileNetV2
0.9114
0.9115
0.9114
0.9113
ShuffleNet
0.9114
0.9143
0.9114
0.9122
TABLE I: Comparison of deep learning models in terms of accuracy (A), precision (P), recall (R) and F1-score (F1). The numbers highlighted in blue and red indicate the best and least performing neural networks, respectively.
Fig. 4: Qualitative comparison of XAI-based explanations for correctly and incorrectly classified breast cancer samples using ConvNeXt and MobileViT.
Model
Metric
CAM
GCAM
IG
SHAP
LIME
GBP
SAL
OCC
SENS
Best XAI
Very Deep Neural Networks
ResNet50
PG
0.1324
0.2941
0.4118
0.5294
0.0588
0.5147
0.1912
0.2353
0.2059
SHAP
IoU
0.0537
0.0766
0.1382
0.2255
0.0666
0.0350
0.0586
0.0934
0.0400
SHAP
MC
0.0997
0.1325
0.2155
0.3412
0.2137
0.0371
0.0922
0.2426
0.0589
SHAP
DenseNet
PG
0.2206
0.1912
0.4706
0.4706
0.1176
0.2206
0.3235
0.1912
0.2206
IG/SHAP
IoU
0.1270
0.1245
0.0876
0.1599
0.0655
0.0739
0.0991
0.1043
0.0467
SHAP
TABLE II: Detailed evaluation results for XAI techniques across DL models using PG, IoU and MC. The best PG, IoU, and MC values for each XAI technique within each DL model are highlighted in blue, while the overall best values across all DL models are indicated in yellow.
Fig. 5: Best-performing XAI methods across models for PG, IoU and MC. The coloured backgrounds in the plot indicate the neural network categories.
Fig. 6: Heatmap of average PG, IoU and MC scores against individual DL models.
Fig. 7: Qualitative illustration of the outputs generated by the XAI techniques for two representative samples taken from benign and malignant classes.
Deep neural networks for medical image diagnosis often achieve high predictive accuracy while relying on spurious or clinically irrelevant visual cues, limiting their trustworthiness in practice. Post-hoc explanation methods are widely used to visualize model decisions in the form of saliency maps; however, these explanations do not influence how models learn during training, allowing non-causal or confounding features to persist. This motivates the incorporation of explanation supervision directly into the training objective to guide model attention toward clinically meaningful regions and promote clinically grounded decision-making. This paper presents a systematic approach to integrate explanation loss into model training and analyzes how different explanation loss designs and supervision strengths influence both predictive performance and spatial faithfulness of explanations. To quantitatively assess interpretability, two complementary explanation performance metrics-annotation coverage and saliency precision-are introduced, enabling rigorous evaluation beyond qualitative visualization. Our experimental results reveal a clear trade-off between explanation quality and explanation loss coefficients. Furthermore, quantitative statistical analysis yields consistently improved explanation alignment while maintaining comparable accuracy. Experiments were conducted on annotated chest X-ray datasets; however, the proposed framework is applicable to a broad range of annotated biomedical imaging modalities. Overall, these findings demonstrate that explanation supervision is not a monolithic design choice and provide practical guidance for incorporating explanation loss into training objectives under noisy clinical annotations.
Zubair Faruqui, Rahul Dubey
Department of Computer Science, Missouri State University
For head and neck cancer (HNC) patients, prognostic outcome prediction can support personalized treatment strategy selection. Improving prediction performance of HNC outcomes has been extensively explored by using advanced artificial intelligence (AI) techniques on PET/CT data. However, the interpretability of AI remains a critical obstacle for its clinical adoption. Unlike previous HNC studies that empirically selected explainable AI (XAI) techniques, we are the first to comprehensively evaluate and rank 13 XAI methods across 24 metrics, covering faithfulness, robustness, complexity and plausibility. Experimental results on the multi-center HECKTOR challenge dataset show large variations across evaluation aspects among different XAI methods, with Integrated Gradients (IG) and DeepLIFT (DL) consistently obtained high rankings for faithfulness, complexity and plausibility. This work highlights the importance of comprehensive XAI method evaluation and can be extended to other medical imaging tasks.
Baoqiang Ma, Djennifer K. Madzia-Madzou, Rosa C. J. Kraaijveld +1
Image Sciences Institute, University Medical Center Utrecht
Saliency maps are widely used to explain deep learning predictions in medical imaging, yet visually plausible explanations do not necessarily reflect a model's true decision process and may therefore mislead clinicians. We investigate this problem using a Vision Transformer-based breast MRI classifier trained on the ODELIA Breast MRI Challenge dataset and evaluate multiple saliency methods, including Last-layer Attention, Attention Rollout, Grad-SAM, Gradient Attention Rollout, GMAR, Grad-CAM, and HiResCAM. Our study highlights two often-overlooked challenges in perturbation-based faithfulness evaluation. First, method rankings depend strongly on the perturbation strategy, varying across intensity-based perturbations and transformer-based attention masking. Second, benchmarking saliency methods requires distinguishing between class-specific and class-agnostic explanations. To enable fair comparisons, we introduce non-class-specific variants of gradient-based methods and evaluate both settings separately. Across protocols, Grad-CAM and Gradient Attention Rollout consistently emerged as the strongest class-specific methods, although their relative ranking depended on the evaluation design. These findings expose important limitations of current saliency-based explainability approaches and highlight the need for more robust and standardized evaluation frameworks for trustworthy clinical AI systems.
Peachapong Poolpol, Henrik H. J. Detjen, Eike Petersen
Fraunhofer Institute for Digital Medicine MEVIS, Bremen, Germany · Deggendorf Institute of Technology, Deggendorf, Germany