journal article·2025-12-04Open access

Clinically Oriented Evaluation of Transfer Learning Strategies for Cross-Site Breast Cancer Histopathology Classification

Liana Stanescu, Cosmin Stoica-Spahiu

Applied Sciences· Volume 15· Issue 23

Abstract

Background/Objectives: Breast cancer diagnosis based on histopathological examination remains the most reliable and widely accepted approach in clinical practice, despite being time-consuming and prone to inter-observer variability. While deep learning methods have achieved high accuracy in medical image classification, their cross-site generalization remains limited due to differences in staining protocols and image acquisition. This study aims to evaluate and compare three clinically relevant adaptation strategies to improve model robustness under domain shift. Methods: The ResNet50V2 model, pretrained on ImageNet and further fine-tuned on the Kaggle Breast Histopathology Images dataset, was subsequently adapted to the BreaKHis dataset under three clinically relevant transfer strategies: (i) threshold calibration without retraining (site calibration), (ii) head-only fine-tuning (light FT), and (iii) full fine-tuning (full FT). Experiments were performed on an internal balanced dataset and on the public BreaKHis dataset using strict patient-level splitting to avoid data leakage. Evaluation metrics included accuracy, precision, recall, F1-score, ROC-AUC, and PR-AUC, computed per magnification level (40×, 100×, 200×, 400×). Results: Full fine-tuning consistently yielded the highest performance across all magnifications, reaching up to 0.983 ROC-AUC and 0.980 sensitivity at 400×. At 40× and 100×, the model correctly identified over 90% of malignant cases, with ROC-AUC values of 0.9500 and 0.9332, respectively. Head-only fine-tuning led to moderate gains (e.g., sensitivity up to 0.859 at 200×), while threshold calibration showed limited improvements (ROC-AUC ranging between 0.60–0.73). Grad-CAM analysis revealed more stable and focused attention maps after full fine-tuning, though they did not always align with diagnostically relevant regions. Conclusions: Our findings confirm that full fine-tuning is essential for robust cross-site deployment of histopathology AI systems, particularly at high magnifications. Lighter strategies such as threshold calibration or head-only fine-tuning may serve as practical alternatives in resource-constrained environments where retraining is not feasible.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: AI in cancer detection · Radiomics and Machine Learning in Medical Imaging · Digital Imaging for Blood Diseases

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Science and Information Technology, Faculty of Automation, Computers and Electronics, University of Craiova, 200585 Craiova, Romania

References (31)

Show source-provided references
1. Global cancer statistics 2018: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries
2. A survey on deep learning in medical image analysis10.1016/j.media.2017.07.005 ↗
3. A guide to deep learning in healthcare10.1038/s41591-018-0316-z ↗
4. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
5. Huang, G., Liu, Z., Van Der Maaten, L., and Weinberger, K.Q. (2017, January 21–26). Densely connected convolutional networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.243 ↗
6. Liu, Z., Mao, H., Wu, C.-Y., Feichtenhofer, C., Darrell, T., and Xie, S. (2022, January 19–24). A ConvNet for the 2020s. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA.10.1109/CVPR52688.2022.01167 ↗
7. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2021, January 3–7). An image is worth 16×16 words: Transformers for image recognition at scale. Proceedings of the 9th International Conference on Learning Representations (ICLR), Virtual Event.
8. A dataset for breast cancer histopathological image classification10.1109/TBME.2015.2496264 ↗
9. Araujo, T., Aresta, G., Castro, E., Rouco, J., Aguiar, P., Eloy, C., Polónia, A., and Campilho, A. (2017). Classification of breast cancer histology images using convolutional neural networks. PLoS ONE, 12.10.1371/journal.pone.0177544 ↗
10. Bayramoglu, N., Kannala, J., and Heikkilä, J. (2016, January 4–8). Deep learning for magnification independent breast cancer histopathology image classification. Proceedings of the IEEE International Conference on Pattern Recognition (ICPR), Cancun, Mexico.10.1109/ICPR.2016.7900002 ↗
11. Transfer learning based histopathologic image classification for breast cancer detection10.1007/s13755-018-0057-x ↗
12. Breast cancer multi-classification from histopathological images with structured deep learning model10.1038/s41598-017-04075-z ↗
13. Ilse, M., Tomczak, J.M., and Welling, M. (2018, January 10–15). Attention-based Deep Multiple Instance Learning. Proceedings of the 35th International Conference on Machine Learning (ICML), Stockholm, Sweden.
14. Macenko, M., Niethammer, M., Marron, J.S., Borland, D., Woosley, J.T., Guan, X., Schmitt, C., and Thomas, N.E. (July, January 28). A method for normalizing histology slides for quantitative analysis. Proceedings of the IEEE International Symposium on Biomedical Imaging (ISBI), Boston, MA, USA.
15. Azizi, S., Mustafa, B., Ryan, F., Beaver, Z., Freyberg, J., Deaton, J., Loh, A., Karthikesalingam, A., Kornblith, S., and Chen, T. (2021, January 10–17). Big self-supervised models advance medical image classification. Proceedings of the IEEE International Conference on Computer Vision (ICCV), Montreal, QC, Canada.10.1109/ICCV48922.2021.00346 ↗
16. The Swin-Transformer network based on focal loss is used to identify images of pathological subtypes of lung adenocarcinoma with high similarity and class imbalance10.1007/s00432-023-04795-y ↗
17. CGAM: An end-to-end causality graph attention Mamba network for esophageal pathology grading10.1016/j.bspc.2024.107452 ↗
18. LA-ViT: A Network With Transformers Constrained by Learned-Parameter-Free Attention for Interpretable Grading in a New Laryngeal Histopathology Image Dataset10.1109/JBHI.2024.3373438 ↗
19. A ViT-AMC Network With Adaptive Model Fusion and Multiobjective Optimization for Interpretable Laryngeal Tumor Grading From Histopathological Images10.1109/TMI.2022.3202248 ↗
20. FDTs: A Feature Disentangled Transformer for Interpretable Squamous Cell Carcinoma Grading10.1109/JAS.2024.125082 ↗
21. Zebari, D.A., Ibrahim, D.A., Zeebaree, D.Q., Mohammed, M.A., Haron, H., Zebari, N.A., Damaševičius, R., and Maskeliūnas, R. (2021). Breast cancer detection using mammogram images with improved multi-fractal dimension approach and feature fusion. Appl. Sci., 11.10.3390/app112412122 ↗
22. Aldakhil, L.A., Alhasson, H.F., and Alharbi, S.S. (2024). Attention-based deep learning approach for breast cancer histopathological image multi-classification. Diagnostics, 14.10.3390/diagnostics14131402 ↗
23. Loddo, A., Usai, M., and Di Ruberto, C. (2024). Gastric cancer image classification: A comparative analysis and feature fusion strategies. J. Imaging, 10.10.20944/preprints202407.0478.v1 ↗
24. Çetin-Kaya, Y. (2024). Equilibrium optimization-based ensemble CNN framework for breast cancer multiclass classification using histopathological images. Diagnostics, 14.10.3390/diagnostics14192253 ↗
25. Amin, M.S., and Ahn, H. (2023). FabNet: A features agglomeration-based convolutional neural network for multiscale breast cancer histopathology image classification. Cancers, 15.10.3390/cancers15041013 ↗
26. Balasubramanian, A.A., Al-Heejawi, S.M.A., Singh, A., Breggia, A., Ahmad, B., Christman, R., Ryan, S.T., and Amal, S. (2024). Ensemble deep learning-based image classification for breast cancer subtype and invasiveness diagnosis from whole slide image histopathology. Cancers, 16.10.20944/preprints202405.0711.v1 ↗
27. Clinical-grade computational pathology using weakly supervised deep learning on whole-slide images10.1038/s41591-019-0508-1 ↗
28. Kamnitsas, K., Baumgartner, C., Ledig, C., Newcombe, V., Simpson, J., Kane, A., Menon, D., Nori, A., Criminisi, A., and Rueckert, D. (2017, January 25–30). Unsupervised domain adaptation in brain lesion segmentation with adversarial networks. Proceedings of the Information Processing in Medical Imaging (IPMI), Boone, NC, USA.10.1007/978-3-319-59050-9_47 ↗
29. Selvaraju, R.R., Cogswell, M., Das, A., Vedantam, R., Parikh, D., and Batra, D. (2017, January 22–29). Grad-CAM: Visual explanations from deep networks via gradient-based localization. Proceedings of the IEEE International Conference on Computer Vision (ICCV), Venice, Italy.10.1109/ICCV.2017.74 ↗
30. A Survey on the Interpretability of Deep Learning in Medical Diagnosis10.1007/s00530-022-00960-4 ↗
31. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 11–14). Identity Mappings in Deep Residual Networks. Proceedings of the European Conference on Computer Vision (ECCV), Amsterdam, The Netherlands.10.1007/978-3-319-46493-0_38 ↗