Method Article

An Explainable AI-Based Transfer Learning Method for Breast Cancer Prediction

DOI:

10.3791/70011

June 22nd, 2026

In This Article

Summary

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

An explainable transfer-learning protocol using EfficientNet-B0 and Grad-CAM is developed for classifying breast ultrasound images into benign, malignant, and normal categories, providing interpretable diagnostic heatmaps suitable for clinical decision support applications.

Abstract

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Breast cancer identification via ultrasound images requires high accuracy and transparency to assist clinicians in taking appropriate decisions. This work demonstrates a deep learning system for classification of breast ultrasound images into benign, malignant, and normal images using the EfficientNet-B0 architecture fine-tuned on the Breast Ultrasound Identification (BUSI) dataset. To mitigate class imbalance and stabilize the network, data augmentation including random horizontal flipping, rotation, and color jittering is applied. Gradient-weighted Class Activation Mapping (Grad-CAM) is utilized to generate visual explanations by identifying regions of interest such as tumor margins and texture patterns. The model achieved an average accuracy of 99%, demonstrating high efficacy in lesion detection. The integration of Explainable AI (XAI) not only improves diagnostic confidence but also bridges the gap between clinical practice and AI. The results prove the potential for combining high-performing deep learning models with interpretability methods in developing reliable breast cancer diagnosis tools suitable for actual clinical practice.

Introduction

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Breast cancer is one of the most significant life-threatening diseases affecting women worldwide. According to the World Health Organization (WHO), breast cancer contributes to a majority of cancer-related deaths, and early diagnosis is critical in terms of enhancing the survival rate1. Ultrasound imaging has become a routine diagnostic procedure for breast cancer because it is safe, inexpensive, and can produce real-time images. As opposed to mammography, ultrasound is extremely effective at differentiating solid masses and growth that contain fluid and, therefore, serves as an excellent diagnostic aid in the presence of breast pathology. Ultr....

Access restricted. Please log in or start a trial to view this content.

Protocol

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

1. Dataset characteristics

The study utilized the publicly available Breast Ultrasound Images (BUSI) dataset, which provided a well-documented repository for the analysis and classification of breast cancer29. This dataset proved particularly appropriate as it incorporated a vast collection of ultrasound images required to establish and validate deep learning models for medical imaging. The dataset comprised 780 ultrasound images collected from 600 women aged 25–75 years, representing a diverse population for breast cancer diagnosis. All images maintained an average resolution of 500 x 500 pixels and ....

Access restricted. Please log in or start a trial to view this content.

Results

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Standardization of input dimensions to 24 X 224 pixels and ImageNet-based normalization facilitated stable training behavior and smooth convergence of the loss curves. The application of the mask-overlay operation on training samples significantly increased the visibility of lesion boundaries compared to raw ultrasound images. This observation supported the hypothesis that anatomically guided enhancement improves feature separability. While the training phase utilized these overlays, the validation and test sets remained.......

Access restricted. Please log in or start a trial to view this content.

Discussion

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The proposed framework utilizes a fine-tuned EfficientNet-B0 architecture integrated with Gradient-weighted Class Activation Mapping (Grad-CAM) to provide a high-performance, interpretable system for breast ultrasound classification. This research advances the scientific field by bridging the gap between "black-box" deep learning models and clinical transparency, demonstrating that computational efficiency does not have to be sacrificed for explainability40. By implementing lesion-consciou.......

Access restricted. Please log in or start a trial to view this content.

Disclosures

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The authors declare that they have no conflicts of interest.

Acknowledgements

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The authors would like to express their sincere gratitude to their respective institutions and colleagues for their continuous support and encouragement throughout this research. The authors also acknowledge the creators of the BUSI Breast Ultrasound Dataset for providing the publicly available dataset that enabled this study. This work was supported by Princess Nourahbint Abdulrahman University Researchers Supporting Project number (PNURSP2026R432), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia. The authors extend their appreciation to the Deanship of Research and Graduate Studies  at King Khalid University for funding this work thr....

Access restricted. Please log in or start a trial to view this content.

Materials

List of materials used in this article
NameCompanyCatalog NumberComments
Breast Ultrasound Images (BUSI Dataset)N/A780 PNG images (487 Benign, 210 Malignant, 133 Normal)
MatplotlibMatplotlib DevelopersN/AVersion 3.7.1
NumPyNumPy DevelopersN/AVersion 1.23.5
NVIDIA Tesla T4 GPUNVIDIAN/A16GB VRAM
OpenCVOpenCV.orgN/AVersion 4.7.0
Pillow (PIL)Python Imaging LibraryN/AVersion 9.4.0
PythonPython Software FoundationN/AVersion 3.9.12
PyTorchMeta AIN/AVersion 2.0.1+cu117
Scikit-learnScikit-learn DevelopersN/AVersion 1.2.2
SeabornSeaborn DevelopersN/AVersion 0.12.2
Ubuntu OSCanonicalN/A64-bit

References

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,
  1. Wilkinson, L., Gathani, T. Understanding breast cancer as a global health concern. Br J Radiol. 95 (1130), 20211033(2021).
  2. Ud din, N. M., Dar, R. A., Rasool, M., Assad, A. Breast cancer detection using deep learning: datasets, methods, and challenges ahead. Compu....

Access restricted. Please log in or start a trial to view this content.

Reprints and Permissions

Request permission to reuse the text or figures of this JoVE article

Request Permission

Tags

Breast Cancer PredictionExplainable AITransfer LearningUltrasound ImagesDeep LearningEfficientNet B0Data AugmentationGrad CAMLesion DetectionClinical Diagnosis

Related Articles