Research Article

Visual Explanation Methods for CNNs: Grad-CAM, Score-CAM and LIME

Shiming Song*
Sichuan University

* Corresponding author: [email protected]

Abstract

Convolutional Neural Networks (CNN) are not widely used in high-risk decision-making because they have black-box nature. This paper investigates three visualization methods, Gradient-weighted class activation mapping (Grad-CAM), Score-weighted visual explanations for convolutional neural networks (Score-CAM), and Local interpretable model-agnostic explanations (LIME), across classification, detection, and medical imaging tasks. Theoretically, Grad-CAM relies on gradient backpropagation to weight feature maps. This offers computational efficiency but suffers from gradient instability and coarse spatial resolution. Score-CAM replaces gradients with forward pass confidence scores. This enhances robustness and spatial alignment at the cost of linearly increasing inference overhead. LIME is a model agnostic surrogate. It provides flexible local explanations but is inherently sensitive to perturbation sampling and hyperparameter choices, leading to poor reproducibility. Grad-CAM performs best in dermatologist agreement and localization accuracy. Score-CAM show superior spatial alignment in pneumonia detection with gradient free robustness. LIME shows flexibility but suffers from instability and hyperparameter sensitivity. The differences are obvious: Grad-CAM is good at interpretability, Score-CAM is good at robustness with computational cost, and LIME is good at model agnostic applicability. Based on these differences, these three visualization tools can be selected for real-world tasks.

Keywords: Grad-CAM; Score-CAM; LIME; visualization
Published: September 22, 2026
DOI: 10.54254/2755-2721/2026.37150
Volume: ACE Vol.272
pp. 10-16
Download PDF

References

  1. Alzubaidi, L., Zhang, J., Humaidi, A. J., et al. (2021). Review of deep learning: Concepts, CNN architectures, challenges, applications, future directions.Journal of Big Data, 8(1), 1–74.
  2. Liu, Z., Mao, H., Wu, C. Y., Feichtenhofer, C., Darrell, T., & Xie, S. (2022). A convnet for the 2020s.Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 11976–11986.
  3. Selvaraju, R. R., Cogswell, M., Das, A., Vedantam, R., Parikh, D., & Batra, D. (2017). Grad-CAM: Visual explanations from deep networks via gradient-based localization.Proceedings of the IEEE International Conference on Computer Vision (ICCV), 618–626.
  4. Wang, H., Wang, Z., Du, M., et al. (2020). Score-CAM: Score-weighted visual explanations for convolutional neural networks.Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 24–25.
  5. Ribeiro, M. T., Singh, S., & Guestrin, C. (2016). "Why should I trust you?" Explaining the predictions of any classifier.Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 1135–1144.
  6. Giavina-Bianchi, M., Vitor, W. G., Fornasiero de Paiva, V., Okita, A. L., Sousa, R. M., & Machado, B. (2023). Explainability agreement between dermatologists and five visual explanations techniques in deep neural networks for melanoma AI classification.Frontiers in Medicine, 10, 1241484.
  7. Muhammad, D., Salman, M., Keles, A. et al. (2025). ALL diagnosis: Can efficiency and transparency coexist? An explainble deep learning approach.Scitific Reports, 15, 12812.
  8. Ihongbe, E. I., Fouad, S., Mahmoud, T. F., Rajasekaran, A., & Bhatia, B. (2024). Evaluating explainable artificial intelligence (XAI) techniques in chest radiology imaging through a human-centered lens.PLOS ONE, 19(10), e0308758.
  9. Mahtabi, B., & Nasr-Esfahani, E. (2026). Parameter-efficient deep learning for pneumonia detection on chest X-rays: A comparative evaluation of explainable AI methods.medRxiv. https://doi.org/10.64898/2026.07.14.26358065
  10. Bora, R. P., Terhörst, P., Veldhuis, R., Ramachandra, R., & Raja, K. (2024). SLICE: Stabilized LIME for consistent explanations for image classification.Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 10988–10996.
  11. Senaratne, S., Senaweera, O., & Dharmarathne, H. S. A. G. (2025). XAI techniques used in medical image classification: A modality-specific analysis.2025 7th International Conference on Advancements in Computing (ICAC), 1–6.
  12. Kazmierczak, R., Azzolin, S., Berthier, E., Hedström, A., Delhomme, P., Frehse, G., Mancini, M., & Franchi, G. (2025). Benchmarking XAI explanations with human-aligned evaluations.arXiv, arXiv:2411.02470. https://doi.org/10.1609/aaai.v40i44.41082
  13. Thota, G., Nagaraju, K., & Korra, S. B. (2026). Quantitative assessment of class activation maps: An empirical study on musculoskeletal disorders.Communications in Computer and Information Science, 2473, 338–352.