Explainable Transfer Learning for Breast Cancer Histopathology Classification Using Grad-CAM

Authors

DOI:

https://doi.org/10.29408/edumatic.v10i2.34993

Keywords:

breast cancer, explainable artificial intelligence, grad-cam, histopathology classification, transfer learning

Abstract

Breast cancer remains one of the leading causes of cancer-related mortality among women worldwide, highlighting the need for diagnostic systems that are both accurate and interpretable. Although transfer learning has shown promising results in histopathological image classification, studies simultaneously examining predictive performance, statistical reliability, and interpretability remain limited. This study proposes an explainable transfer learning framework for breast cancer histopathology classification and investigates the relationship between classification performance and visual interpretability. Experiments were conducted using 2,013 histopathological images from the BreakHis dataset at 200× magnification. Three pretrained architectures, ResNet50, DenseNet121, and EfficientNetB0, were trained and evaluated under identical preprocessing, augmentation, and training settings. Performance was assessed using accuracy, precision, recall, F1-score, AUC, confidence intervals, McNemar testing, confusion matrix analysis, and Grad-CAM visualization. Results showed that DenseNet121 achieved the most balanced classification performance and the highest discriminative capability among the evaluated models. Statistical analysis confirmed significant performance differences, while Grad-CAM visualizations demonstrated more focused and diagnostically relevant activation regions. These findings suggest that models learning more discriminative histopathological representations tend to generate more meaningful visual explanations. The study emphasizes integrating predictive performance, statistical validation, and explainability to support reliable and transparent artificial intelligence systems for breast cancer diagnosis.

References

Ananda, I. K., Fanani, A. Z., Setiawan, D., & Wicaksono, D. F. (2024). Penerapan Random Oversampling dan Algoritma Boosting untuk Memprediksi Kualitas Buah Jeruk. Edumatic: Jurnal Pendidikan Informatika, 8(1), 282–289. https://doi.org/10.29408/edumatic.v8i1.25836

Anhar, A., Wajidi, F., & Insani, C. N. (2026). Two-Stage Transfer Learning with EfficientNetB0 for Four-Class Banana Ripeness Classification. Edumatic: Jurnal Pendidikan Informatika, 10(2), 300-309. https://doi.org/10.29408/edumatic.v10i1.34588

Bhati, D., Neha, F., & Amiruzzaman, M. (2024). A Survey on Explainable Artificial Intelligence (XAI) Techniques for Visualizing Deep Learning Models in Medical Imaging. Journal of Imaging, 10(10), 239. https://doi.org/10.3390/jimaging10100239

Bundea, M., & Danciu, G. M. (2024). Pneumonia Image Classification Using DenseNet Architecture. Information, 15(10), 611. https://doi.org/10.3390/info15100611

Ghasemi, A., Hashtarkhani, S., Schwartz, D. L., & Shaban‐Nejad, A. (2024). Explainable artificial intelligence in breast cancer detection and risk prediction: A systematic scoping review. Cancer Innovation, 3(5), e136. https://doi.org/10.1002/hsr2.70017

Houssein, E. H., Gamal, A. M., Younis, E. M. G., & Mohamed, E. (2025). Explainable artificial intelligence for medical imaging systems using deep learning: a comprehensive review. Cluster Computing, 28(7), 469. https://doi.org/10.1007/s10586-025-05281-5

Ivanov, V., Khalid, U., Gurung, J., Dimov, R., Chonov, V., Uchikov, P., Kostov, G., & Ivanov, S. (2025). Use of AI Histopathology in Breast Cancer Diagnosis. Medicina, 61(10), 1878. https://doi.org/10.3390/medicina61101878

Jiang, B., Bao, L., He, S., Chen, X., Jin, Z., & Ye, Y. (2024). Deep learning applications in breast cancer histopathological imaging: diagnosis, treatment, and prognosis. Breast Cancer Research, 26(1), 137. https://doi.org/10.1186/s13058-024-01895-6

Klauschen, F., Dippel, J., Keyl, P., Jurmeister, P., Bockmayr, M., Mock, A., Buchstab, O., Alber, M., Ruff, L., Montavon, G., & Müller, K.-R. (2024). Toward Explainable Artificial Intelligence for Precision Pathology. Annual Review of Pathology: Mechanisms of Disease, 19(1), 541–570. https://doi.org/10.1146/annurev-pathmechdis-051222-113147

Mezei, T., Kolcsár, M., Joó, A., & Gurzu, S. (2024). Image Analysis in Histopathology and Cytopathology: From Early Days to Current Perspectives. Journal of Imaging, 10(10), 252. https://doi.org/10.3390/jimaging10100252

Naas, M., Benyettou, A., Chougard, H., & Hlou, L. (2025). An explainable artificial intelligence framework for breast cancer classification using vision transformers and explainability techniques. Biomedical Signal Processing and Control, 99, 106984. https://doi.org/10.1016/j.bspc.2025.108011

Ochoa-Ornelas, R., Gudiño-Ochoa, A., García-Rodríguez, J. A., & Uribe-Toscano, S. (2025). A robust transfer learning approach with histopathological images for lung and colon cancer detection using EfficientNetB3. Healthcare Analytics, 7, 100391. https://doi.org/10.1016/j.health.2025.100391

Parameswara, D. A. D., Berlilana, B., & Saputro, R. E. (2026). Utilitarian vs Human-Centered AI Acceptance: Explaining Students’ Adoption of ChatGPT in Higher Education. Edumatic: Jurnal Pendidikan Informatika, 10(1), 190–199. https://doi.org/10.29408/edumatic.v10i1.34218

Priya C V, L., V G, B., B R, V., & Ramachandran, S. (2024). Deep learning approaches for breast cancer detection in histopathology images: A review. Cancer Biomarkers, 40(1), 1–25. https://doi.org/10.3233/CBM-230251

Rafiq, A., Jaffar, A., Latif, G., Masood, S., & Abdelhamid, S. E. (2025). Enhanced Multi-Class Breast Cancer Classification from Whole-Slide Histopathology Images Using a Proposed Deep Learning Model. Diagnostics, 15(5), 582. https://doi.org/10.3390/diagnostics15050582

Rosenbacke, R., Melhus, Å., McKee, M., & Stuckler, D. (2024). How Explainable Artificial Intelligence Can Increase or Decrease Clinicians’ Trust in AI Applications in Health Care: Systematic Review. JMIR AI, 3, e53207. https://doi.org/10.2196/53207

Sadeghi, Z., Alizadehsani, R., CIFCI, M. A., Kausar, S., Rehman, R., Mahanta, P., Bora, P. K., Almasri, A., Alkhawaldeh, R. S., Hussain, S., Alatas, B., Shoeibi, A., Moosaei, H., Hladík, M., Nahavandi, S., & Pardalos, P. M. (2024). A review of Explainable Artificial Intelligence in healthcare. Computers and Electrical Engineering, 118, 109370. https://doi.org/10.1016/j.compeleceng.2024.109370

Soliman, A., Li, Z., & Parwani, A. V. (2024). Artificial intelligence’s impact on breast cancer pathology: a literature review. Diagnostic Pathology, 19(1), 38. https://doi.org/10.1186/s13000-024-01453-w

Stanescu, L., & Stoica-Spahiu, C. (2025). Clinically Oriented Evaluation of Transfer Learning Strategies for Cross-Site Breast Cancer Histopathology Classification. Applied Sciences, 15(23), 12819. https://doi.org/10.3390/app152312819

Talaat, F. M., Gamel, S. A., El-Balka, R. M., Shehata, M., & ZainEldin, H. (2024). Grad-CAM Enabled Breast Cancer Classification with a 3D Inception-ResNet V2: Empowering Radiologists with Explainable Insights. Cancers, 16(21), 3668. https://doi.org/10.3390/cancers16213668

Downloads

Published

2026-07-09

How to Cite

Fatahillah, A., Utomo, F. S., & Hariguna, T. (2026). Explainable Transfer Learning for Breast Cancer Histopathology Classification Using Grad-CAM. Edumatic: Jurnal Pendidikan Informatika, 10(2), 330–339. https://doi.org/10.29408/edumatic.v10i2.34993