Received 20 February 2023, accepted 7 March 2023, date of publication 15 March 2023, date of current version 22 March 2023.
Digital Object Identifier 10.1109/ACCESS.2023.3257562
A Transfer Learning Approach to Breast Cancer
Classification in a Federated Learning Framework
Y. NGUYEN TAN1 , VO PHUC TINH1 , PHAM DUC LAM2 , NGUYEN HOANG NAM3 ,
AND TRAN ANH KHOA 3
1 Faculty
of Electrical and Electronics Engineering, Ton Duc Thang University, Ho Chi Minh City 700000, Vietnam
2 Faculty
of Engineering and Technology, Nguyen Tat Thanh University, Ho Chi Minh City 700000, Vietnam
3 ModelingEvolutionary Algorithms Simulation and Artificial Intelligence, Faculty of Electrical and Electronics Engineering, Ton Duc Thang University,
Ho Chi Minh City 700000, Vietnam
Corresponding author: Tran Anh Khoa (trananhkhoa@[Link])
This work was supported by Funding no 37/qd-khcn/2023 of Nghe An Department of Science and Technology.
ABSTRACT Artificial intelligence (AI) technologies have seen strong development. Many applications
now use AI to diagnose breast cancer. However, most new research has only been conducted in centralized
learning (CL) environments, which entails the risk of privacy breaches. Moreover, the accurate identification
and localization of lesions and tumor prediction using AI technologies is expected to increase patients’
likelihood of survival. To address these difficulties, we developed a federated learning (FL) facility that
extracts features from participating environments rather than a CL facility. This study’s novel contributions
include (i) the application of transfer learning to extract data features from the region of interest (ROI) in
an image, which aims to enable careful pre-processing and data enhancement for data training purposes;
(ii) the use of synthetic minority oversampling technique (SMOTE) to process data, which aims to more
uniformly classify data and improve diagnostic prediction performance for diseases; (iii) the application
of FeAvg-CNN + MobileNet in an FL framework to ensure customer privacy and personal security; and
(iv) the presentation of experimental results from different deep learning, transfer learning and FL models
with balanced and imbalanced mammography datasets, which demonstrate that our solution leads to much
higher classification performance than other approaches and is viable for use in AI healthcare applications.
INDEX TERMS Artificial intelligence, synthetic minority oversampling, federated learning, transfer
learning, breast cancer.
I. INTRODUCTION access to treatment have become increasingly prevalent issues
According to statistics published by the International Agency that require more attention and follow-up. Breast cancer is a
for Research on Cancer in December 2020, breast cancer malignant tumor of the breast. A tumor can be benign (non-
has overtaken lung cancer as the most diagnosed cancer cancerous) or malignant (cancerous). Most breast cancers
worldwide [1]. Over the past two decades, the total number begin in the milk ducts, with a small percentage of cases
of people diagnosed with cancer has nearly doubled, from developing in the milk sacs or lobules. If detected and treated
an estimated 10 million in 2000 to 19.3 million in 2020. late, breast cancer may metastasize to the bones and other
Today, one in five people worldwide will develop cancer organs and the pain will multiply.
in their lifetime. It is estimated that the number of people Therefore, early detection of breast cancer is critical for
diagnosed with cancer will further increase in the future: treating and saving patients. When the disease is in its early
nearly 50% by 2040 compared to 2020. The number of people stages, its manifestations may not be accurate and precise;
who die from cancer has also increased, from 6.2 million as a result, many abnormalities may be overlooked [2]. Cur-
in 2000 to 10 million in 2020. Late diagnosis and a lack of rently, many studies apply machine learning to improve early
detection, reduce the risk of death, and prolong the patient’s
The associate editor coordinating the review of this manuscript and life. However, sharing patient data is not widely considered
approving it for publication was Turgay Celik . at present due to privacy, technical, and legal issues. Security
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.
27462 For more information, see [Link] VOLUME 11, 2023
Y. Nguyen Tan et al.: Transfer Learning Approach to Breast Cancer Classification in a FL Framework
and privacy techniques enable stricter protection of patient an international group of hospitals and medical imag-
data and the use of data for research and routine clinical ing centers have joined this collaborative effort to train
purposes [3], [4]. the model in a completely decentralized manner, with no
A study on breast mass classification from mammograms data sharing between hospitals. This places higher require-
using convolutional neural networks (CNN) was published ments on the robustness of algorithms and the selection of
in 2016 [5], where the authors gave results with recall for hyperparameters.
identifying lesions estimated to be between 0.75 and 0.92, The fourth challenge concerned the distributed learning
which means that up to 25% of abnormalities could remain ability of the FL models [14], [15] employed. Many dis-
undetected. Therefore, the ability to automatically detect tributed learning models are used in FL for different appli-
lesions and predict their likelihood of malignancy would be cations. However, most studies focus on hypothetical data,
valuable for doctors and could dramatically improve survival and each model is only suitable for one dataset, which makes
rates. Thus, we developed an FL base to extract features it difficult for researchers with practical applications as in
from multiple participating environments rather than a cen- breast cancer. To evaluate the effectiveness of these models,
tralized learning environment. To investigate the real-world we tested the evaluation by other methods for comparison.
performance of FL, we conducted a study for the applied The contributions of this paper are as follows:
development of numerous breast cancer classification models • Design of an FL framework for breast cancer classifica-
using mammography data. An international group of hos- tion that includes a global server, which acts as a weight
pitals and medical imaging centers joined this collaborative aggregator and mobile replacement edge clients in tissue
effort to train models in a completely decentralized fash- training deep learning (DL). This solution is useful for
ion, without any data sharing between hospitals. This placed AI healthcare applications and can be widely deployed
higher requirements on the robustness of algorithms and the in different hospitals or clinics.
selection of hyperparameters. In our study, we believed that • Pioneering use of a transfer learning pre-training dataset
the analysis of recall performance was more important than in FL for breast cancer classification. Various models in
accuracy as false negatives can be life-threatening and false transfer learning were selected for performance evalu-
positives are likely to be viewed by humans in diagnosing ation, including k-nearest neighbors (kNN), AdaBoost,
breast cancer, and that is the main objective of this study. and eXtreme Gradient Boosting (XGB). First, the
Recently, FL has become a novel research trend in AI image’s features are extracted using the Convolutional
applications. It aims to train a machine learning (ML) algo- Neural Network (ConvNet) of the pre-trained model,
rithm across multiple decentralized nodes while holding the and a linear classifier is used to classify the images.
data samples (i.e., without locally exchanging them) [6]. Next, we used data equalization techniques such as
Training such a decentralized model in an FL setup presented SMOTE and data augmentation in combination with
four main challenges: (i) system and data heterogeneity, ImageNet to enrich and further optimize the training
(ii) pre-trained data processing, (iii) data protection and pri- data.
vacy, and (iv) efficiency selection of distributed ML algo- • With both balanced and imbalanced methods, experi-
rithms. We addressed these challenges for breast cancer mental results from the Digital Database for Screening
classification in the context of FL. Mammography (DDSM) dataset demonstrate that our
The first challenge was system and data heterogeneity. solution’s FeAvg-CNN + MobileNet is much better for
Different system vendors produce images with considerably centralized learning, which is more than 5% recall [5] in
different intensity profiles for the same imaging modality. improved performance. Moreover, the accuracy of our
To address this diversity, many recent studies have found research results reached nearly 98%; by comparison, the
that a data-balancing solution such as the unsupervised maximum results were only 88.67% for the two-class
domain adaptation method forces the model to learn solution cases (calcifications and masses) and 94.92% (benign
domain-agnostic features through adversarial learning [7] or mass vs. malignant mass and benign calcification vs.
a specific type of batch normalization [8]. However, more malignant calcification) in the study [6].
straightforward methods were used in the current study to
address this challenge; we present a solution more efficiently The rest of this study is organized as follows. Section II
balances data. discusses related works; Section III describes the background
The second challenge is imperative to process the data study, and proposes together with some challenges and under-
before training because of its heterogeneity. There are many lying ideas. Section IV presents an experimental evaluation of
data processing methods [9], [10]. We chose transfer learning the deployed components. Finally, Section V discusses, and
due to its many benefits, such as saving training time, better Section VI concludes the future work.
neural network performance (in most cases), and the fact that
large amounts of data are not needed [11]. II. RELATED WORKS
To address the third challenge, data protection and pri- A. DEEP LEARNING
vacy [12], [13], many studies have incorporated more Today, breast cancer research mainly focuses on detecting and
security and privacy solutions. Our solution assumes that diagnosing breast tumors using deep learning algorithms [3],
VOLUME 11, 2023 27463
Y. Nguyen Tan et al.: Transfer Learning Approach to Breast Cancer Classification in a FL Framework
multiclass classification through each stage was positive REFERENCES
with 100% recall ability and 99.804% AUC when using [1] (2021). Breast Cancer Now Most Common Form of Cancer: WHO Taking
Action. Accessed: Feb. 3, 2021. [Online]. Available: [Link]
pre-trained MobileNet model to extract features. Adjusting [2] (2021). Breast Cancer Overtakes Lung Cancer in Terms of Number of New
the decision threshold and communication parameters further Cancer Cases Worldwide. Accessed: Feb. 4, 2021. [Online]. Available:
improved the use of SGD as a weight global update function. [Link]
[3] Z. Wang, M. Li, H. Wang, H. Jiang, Y. Yao, H. Zhang, and J. Xin, ‘‘Breast
These methods can be used in premammogram screenings to cancer detection using extreme learning machine based on feature fusion
allow radiologists to focus on scans that are likely to contain with CNN deep features,’’ IEEE Access, vol. 7, pp. 105146–105158, 2019,
multi-hospital and multinational abnormalities. doi: 10.1109/ACCESS.2019.2892795.
[4] J. Zheng, D. Lin, Z. Gao, S. Wang, M. He, and J. Fan, ‘‘Deep learn-
Although training on many units with each small dataset, ing assisted efficient AdaBoost algorithm for breast cancer detection
FL yielded the same classification accuracy results as the and early diagnosis,’’ IEEE Access, vol. 8, pp. 96946–96954, 2020, doi:
centralized learning method. CNN is one of two topology 10.1109/ACCESS.2020.2993536.
[5] D. Lévy and A. Jain, ‘‘Breast mass classification from mammograms using
models that achieved the best and most accessible recall deep convolutional neural networks,’’ 2016, arXiv:1612.00542.
performance for distributed modeling. A key advantage of [6] N. Mobark, S. Hamad, and S. Z. Rida, ‘‘CoroNet: Deep neural network-
based end-to-end training for breast cancer diagnosis,’’ Appl. Sci., vol. 12,
combining FedAvg-CNN and MobileNet feature extraction
no. 14, p. 7080, Jul. 2022, doi: 10.3390/app12147080.
was the ability to customize the ConvNet layer volume to [7] B. McMahan, E. Moore, D. Ramage, S. Hampson, and B. A. Arcas,
quickly obtain results that were equivalent to larger networks, ‘‘Communication-efficient learning of deep networks from decentral-
ized data,’’ in Proc. 20th Int. Conf. Artif. Intell. Statist., vol. 54, 2017,
but long-distance connectivity was not guaranteed. There-
pp. 1273–1282. [Online]. Available: [Link]
fore, FedAvg-CNN had the advantage of adapting well to [Link]
mobile devices with hardware that allows the rapid process- [8] X. Peng, Z. Huang, Y. Zhu, and K. Saenko, ‘‘Federated adversarial domain
adaptation,’’ 2019, arXiv:1911.02054.
ing of medium tasks. Finally, performing simulations with [9] X. Li, M. Jiang, X. Zhang, M. Kamp, and Q. Dou, ‘‘FedBN: Feder-
a random number of stations for each round of FL demon- ated learning on non-IID features via local batch normalization,’’ 2021,
strated that CNN can function even in unstable network arXiv:2102.07623.
[10] Q. Wu, X. Chen, Z. Zhou, and J. Zhang, ‘‘FedHome: Cloud-edge based
situations. personalized federated learning for in-home health monitoring,’’ IEEE
However, FL generally requires longer training time in Trans. Mobile Comput., vol. 21, no. 8, pp. 2818–2832, Aug. 2022, doi:
simulations than centralized learning. The CNN model still 10.1109/TMC.2020.3045266.
[11] S. Bozinovski, ‘‘Reminder of the first paper on transfer learning in neural
requires many data processing steps and feature extraction networks, 1976,’’ Informatica, vol. 44, no. 3, pp. 293–295, Sep. 2020.
to achieve high accuracy for the request and the ability to [12] Q. Li et al., ‘‘A survey on federated learning systems: Vision, hype
recall avoiding false positive detection. Moreover, although and reality for data privacy and protection,’’ IEEE Trans. Knowl. Data
Eng., vol. 35, no. 4, pp. 3347–3366, Apr. 2023, doi: 10.1109/TKDE.
it works in situations with changing station numbers, the per- 2021.3124599.
formance of the learning model associated with CNN in the [13] K. Wei, J. Li, M. Ding, C. Ma, H. H. Yang, F. Farokhi, S. Jin, Q. S. T. Quek,
report is still significantly degraded (98% down) in the real and H. V. Poor, ‘‘Federated learning with differential privacy: Algorithms
and performance analysis,’’ IEEE Trans. Inf. Forensics Security, vol. 15,
scenario with more individual data humanized and increases pp. 3454–3469, 2020.
over time and needs time to maintain the frequency of [14] X. Lu, Y. Liao, P. Lio, and P. Hui, ‘‘Privacy-preserving asynchronous
updates. federated learning mechanism for edge network computing,’’ IEEE Access,
vol. 8, pp. 48970–48981, 2020, doi: 10.1109/ACCESS.2020.2978082.
[15] C. He, S. Li, J. So, M. Zhang, H. Wang, X. Wang, P. Vepakomma,
VI. CONCLUSION AND FUTURE RESEARCH A. Singh, H. Qiu, L. Shen, P. Zhao, Y. Kang, Y. Liu, R. Raskar, Q. Yang,
M. Annavaram, and S. Avestimehr, ‘‘FedML: A research library and
In this study, we presented a solution for classifying breast benchmark for federated machine learning,’’ arXiv, vol. abs/2007.13518,
cancer images using feature extraction from multiple partici- 2020.
pating environments instead of a centralized learning facility. [16] A. Saber, M. Sakr, O. M. Abo-Seida, A. Keshk, and H. Chen,
‘‘A novel deep-learning model for automatic detection and classification of
The centralized environment consisted of an inter-national breast cancer using the transfer-learning technique,’’ IEEE Access, vol. 9,
group of hospitals and medical imaging centers that joined pp. 71194–71209, 2021, doi: 10.1109/ACCESS.2021.3079204.
collaborative efforts to train the model to be completely data- [17] H.-J. Chiu, T.-H.-S. Li, and P.-H. Kuo, ‘‘Breast cancer–detection sys-
tem using PCA, multilayer perceptron, transfer learning, and support
decentralized, without sharing any data between hospitals. vector machine,’’ IEEE Access, vol. 8, pp. 204309–204324, 2020, doi:
Moreover, we focused on analyzing recall performance more 10.1109/ACCESS.2020.3036912.
than accuracy because false negatives can be life-threatening. [18] R. Singh, T. Ahmed, A. Kumar, A. K. Singh, A. K. Pandey, and
S. K. Singh, ‘‘Imbalanced breast cancer classification using transfer learn-
By contrast, like studies, humans can consider false pos- ing,’’ IEEE/ACM Trans. Comput. Biol. Bioinf., vol. 18, no. 1, pp. 83–93,
itives instead of a whole before. The results demonstrate Jan. 2021, doi: 10.1109/TCBB.2020.2980831.
that the accuracy was higher than that of other models. [19] A. Elmoufidi, ‘‘Deep multiple instance learning for automatic breast cancer
assessment using digital mammography,’’ IEEE Trans. Instrum. Meas.,
In the future, we plan to create a system that will scan vol. 71, pp. 1–13, 2022, doi: 10.1109/TIM.2022.3177141.
the entire mammogram as input, segment it, and analyze [20] T. A. Khoa, D.-V. Nguyen, M.-S. Dao, and K. Zettsu, ‘‘Fed xData:
each segment to yield results for the entire mammogram to A federated learning framework for enabling contextual health monitoring
in a cloud-edge network,’’ in Proc. IEEE Int. Conf. Big Data (Big Data),
make an end- the complete to-end for mammogram analysis. Dec. 2021, pp. 4979–4988, doi: 10.1109/BigData52589.2021.9671536.
In addition to improved data processing, simulations can be [21] T. A. Khoa, D.-V. Nguyen, P. V. Nguyen Thi, and K. Zettsu, ‘‘FedMCRNN:
extended with multiple clients or groups of clients on separate Federated learning using multiple convolutional recurrent neural net-
works for sleep quality prediction,’’ in Proc. 3rd ACM Workshop Intell.
devices, and individual patient interventions share privacy Cross-Data Anal. Retr., New York, NY, USA, Jun. 2022, pp. 63–69, doi:
security. 10.1145/3512731.3534207.
VOLUME 11, 2023 27475