Privacy-preserving federated learning with MobileViT for chest X-ray classification in Nigerian hospitals

Authors

  • Oboti Nwamaka Peace
    Department of Computer Science, Nnamdi Azikiwe University (NAU), Awka
  • Osita Miracle Nwakeze
    Department of Computer Science, Chukwuemeka Odumegwu Ojukwu University, Uli, Anambra State
  • Sunday Stephen Okika
    Department of Electrical and Electronic Engineering, State University of Medical and Applied Sciences, Igbo-Eno, Enugu State, Nigeria
  • Okafor Chinedu Martin
    Electronics Development Institute (ELDI), Awka (a division of the National Agency for Science and Engineering Infrastructure (NASENI))
  • Agubosim Chuka Charles
    Department of Computer Science, Chukwuemeka Odumegwu Ojukwu University, Uli, Anambra State

Keywords:

Federated learning, Deep learning, MobileViT, Chest X-ray, Disease classification

Abstract

Nigeria faces challenges in the accurate diagnosis of respiratory diseases such as tuberculosis (TB), pneumonia, and COVID-19 because of limited radiology resources and stringent patient-privacy requirements. Deep learning models can provide strong diagnostic performance but often rely on centralised data, raising ethical and security concerns. This study presents an application-oriented privacy-preserving federated learning framework integrating Mobile Vision Transformer (MobileViT) for chest X-ray classification across simulated Nigerian healthcare environments. Using the Nigeria Chest X-ray Dataset (2,600 radiologist-labelled images across four classes), experiments were conducted in a simulated federated environment on a single compute instance with five clients as a proof of concept for multi-hospital collaboration. Differential privacy was implemented through differentially private stochastic gradient descent (DP-SGD), and performance was evaluated using accuracy, area under the curve (AUC), precision, recall, F1-score, and class-wise sensitivity. In this simulated setting, the differentially private federated learning (DP-FL) MobileViT model achieved test accuracy above 92% and a macro F1-score above 89% at moderate privacy budgets (varepsilon  approx 5--6), while maintaining TB sensitivity above 85% and pneumonia sensitivity above 88%. These proof-of-concept results suggest that privacy-preserving federated learning could support reliable and ethical AI diagnostics in resource-limited Nigerian hospitals, pending real-world deployment validation.

Dimensions

[1] I. Grace, ``Radiology in Nigeria plagued by shortage of professional'', Daily Times Nigeria (2023). https://dailytimesng.com/radiology-in-nigeria-plagued-by-shortage-of-professional/.

[2] B. M. Idowu & T. A. Okedere, ``Diagnostic radiology in Nigeria: A country report'', Journal of Global Radiology 6 (2020) 1072. https://doi.org/10.7191/jgr.2020.1072.

[3] J. A. Ndukwu, J. McStravick, D. A. Ndukwu, C. O. Ukachukwu & T. N. Ugwu, ``Clinical applications of AI for chest radiographs and CT: A systematic review of diagnostic performance and workflow impact'', Asian Journal of Medical Principles and Clinical Practice 8 (2025) 744. https://doi.org/10.9734/ajmpcp/2025/v8i2334.

[4] S. Kazemzadeh, J. Yu, S. Jamshy, R. Pilgrim, Z. Nabulsi, C. Chen, N. Beladia, C. Lau, S. M. McKinney, T. Hughes, A. Kiraly, S. R. Kalidindi, M. Muyoyeta, J. Malemela, T. Shih, G. S. Corrado, L. Peng, K. Chou, P.-H. C. Chen, Y. Liu, K. Eswaran, D. Tse, S. Shetty & S. Prabhakara, ``Deep learning for detecting pulmonary tuberculosis via chest radiography: An international study across 10 countries'', arXiv preprint arXiv:2105.07540 (2021). https://doi.org/10.48550/arXiv.2105.07540.

[5] X. Sun, Z. Xing, Z. Wan, W. Ding, L. Wang, L. Zhong, X. Zhou, X.-J. Gong, Y. Li & X.-D. Zhang, ``A robust ensemble deep learning framework for accurate diagnoses of tuberculosis from chest radiographs'', Frontiers in Medicine 11 (2024) 1391184. https://doi.org/10.3389/fmed.2024.1391184.

[6] S. Shahzad, Sajeela, N. Shah & S. A. Khan, ``Ensemble deep learning for multi-class chest X-ray classification: Robust detection of pneumonia and tuberculosis'', Medical Research Archives 13 (2025) 1. https://doi.org/10.18103/mra.v13i11.7065.

[7] M. Lotfinia, A. Tayebiarasteh, S. Samiei, M. Joodaki & S. T. Arasteh, ``Boosting multi-demographic federated learning for chest radiograph analysis using general-purpose self-supervised representations'', European Journal of Radiology Artificial Intelligence 3 (2025) 100028. https://doi.org/10.1016/j.ejrai.2025.100028.

[8] O. O. Onalaja, W. Sakpere, A. S. Awosola & P. A. Idowu, ``Chest X-ray based detection model for pneumonia in pediatric populations'', FUDMA Journal of Sciences 9 (2025) 86. https://fjs.fudutsinma.edu.ng/index.php/fjs/article/view/3963.

P. C. A. Aloamaka, ``A critical analysis of the Nigeria Data Protection Act 2023: Elevating standards to global norms'', UCC Law Journal 4 (2025) 242. https://doi.org/10.47963/ucclj.v4i2.1724.

[9] S. John, S. Abdulkarim, S. Usman, M. T. Rahman & J. Creswell, ``Comparing tuberculosis symptom screening to chest X-ray with artificial intelligence in an active case finding campaign in Northeast Nigeria'', BMC Global and Public Health 1 (2023) 17. https://doi.org/10.1186/s44263-023-00017-2.

[10] T. Garg, S. John, S. Abdulkarim, A. D. Ahmed, B. Kirubi, M. T. Rahman, E. Ubochioma & J. Creswell, ``Implementation costs and cost-effectiveness of ultraportable chest X-ray with artificial intelligence in active case finding for tuberculosis in Nigeria'', PLOS Digital Health 4 (2025) e0000894. https://doi.org/10.1371/journal.pdig.0000894.

[11] T. O. Togunwa, A. O. Babatunde, O. E. Fatade, R. Olatunji, G. Ogbole & A. Falade, ``Detection of pneumonia in children through chest radiographs using artificial intelligence in a low-resource setting: A pilot study'', PLOS Digital Health 4 (2025) e0000713. https://doi.org/10.1371/journal.pdig.0000713.

[12] M. H. U. Rehman, W. H. Lopez Pinaya, P. Nachev, J. T. Teo, S. Ourselin & M. J. Cardoso, ``Federated learning for medical imaging radiology'', British Journal of Radiology 96 (2023) 20220890. https://doi.org/10.1259/bjr.20220890.

[13] B. Yan, J. Wang, J. Cheng, Y. Zhou, Y. Zhang, Y. Yang, L. Liu, H. Zhao, C. Wang & B. Liu, ``Experiments of federated learning for COVID-19 chest X-ray images'', Advances in Artificial Intelligence and Security (ICAIS 2021), Springer, Cham, Switzerland, 2021, pp. 41--53. https://doi.org/10.1007/978-3-030-78618-2_4.

[14] H. Zhao, D. Sui, Y. Wang, L. Ma & L. Wang, ``Privacy-preserving federated learning framework for multi-source electronic health records prognosis prediction'', Sensors 25 (2025) 2374. https://doi.org/10.3390/s25082374.

[15] M. A. Eshraghi, A. Ayatollahi & S. B. Shokouhi, ``COV-MobNets: A mobile networks ensemble model for diagnosis of COVID-19 based on chest X-ray images'', BMC Medical Imaging 23 (2023) 83. https://doi.org/10.1186/s12880-023-01039-w.

[16] F. Ahmed, ``RepViT-CXR: A channel replication strategy for vision transformers in chest X-ray tuberculosis and pneumonia classification'', arXiv preprint arXiv:2509.08234 (2025). https://doi.org/10.48550/arXiv.2509.08234.

[17] E. Mahamud, N. Fahad, M. Assaduzzaman, S. M. Zain, K. O. M. Goh & M. K. Morol, ``An explainable artificial intelligence model for multiple lung diseases classification from chest X-ray images using fine-tuned transfer learning'', Decision Analytics Journal 12 (2024) 100499. https://doi.org/10.1016/j.dajour.2024.100499.

[18] S. Park, G. Kim, Y. Oh, J. B. Seo, S. M. Lee, J. H. Kim, S. Moon, J.-K. Lim & J. C. Ye, ``Multi-task vision transformer using low-level chest X-ray feature corpus for COVID-19 diagnosis and severity quantification'', Medical Image Analysis 75 (2022) 102299. https://doi.org/10.1016/j.media.2021.102299.

[19] N. P. Ha, A. Doucet & G. S. Tran, ``Vision transformer for pneumonia classification in X-ray images'', Proc. 8th International Conference on Intelligent Information Technology (ICIIT '23), ACM, 2023, pp. 185--192. https://doi.org/10.1145/3591569.3591602.

[20] R. Yulvina, S. A. Putra, M. Rizkinia, A. Pujitresnani, E. D. Tenda, R. E. Yunus, D. H. Djumaryo, P. A. Yusuf & V. Valindria, ``Hybrid vision transformer and convolutional neural network for multi-class and multi-label classification of tuberculosis anomalies on chest X-ray'', Computers 13 (2024) 343. https://doi.org/10.3390/computers13120343.

[21] J. L. Bangare, N. Kittad & S. Nagpurkar, ``Vision transformer-enabled chest CT analysis for enhanced tuberculosis diagnosis in clinical settings'', Indian Journal of Tuberculosis 72 (2025) S11. https://doi.org/10.1016/j.ijtb.2025.10.003.

[22] L. Huang, J. Ma, H. Yang & Y. Wang, ``Research and implementation of multi-disease diagnosis on chest X-ray based on vision transformer'', Quantitative Imaging in Medicine and Surgery 14 (2024) 2539. https://doi.org/10.21037/qims-23-1280.

[23] J. Ko, S. Park & H. G. Woo, ``Optimization of vision transformer-based detection of lung diseases from chest X-ray images'', BMC Medical Informatics and Decision Making 24 (2024) 191. https://doi.org/10.1186/s12911-024-02591-3.

[24] S. Singh, M. Kumar, A. Kumar, B. K. Verma, K. Abhishek & S. Selvarajan, ``Efficient pneumonia detection using vision transformers on chest X-rays'', Scientific Reports 14 (2024) 2487. https://doi.org/10.1038/s41598-024-52703-2.

[25] K. Vanitha, T. R. Mahesh, V. Vinoth Kumar & S. Guluwadi, ``Enhanced tuberculosis detection using vision transformers and explainable AI with a Grad-CAM approach on chest X-rays'', BMC Medical Imaging 25 (2025) 96. https://doi.org/10.1186/s12880-025-01630-3.

[26] M. Owda, A. Abumihsan, A. Y. Owda & M. Abumohsen, ``A lightweight hybrid deep learning model for tuberculosis detection from chest X-rays'', Diagnostics 15 (2025) 3216. https://doi.org/10.3390/diagnostics15243216.

FIG3

Published

2026-09-07

How to Cite

Privacy-preserving federated learning with MobileViT for chest X-ray classification in Nigerian hospitals. (2026). Journal of the Nigerian Society of Physical Sciences, 8(4), 3466. https://doi.org/10.46481/jnsps.2026.3466

How to Cite

Privacy-preserving federated learning with MobileViT for chest X-ray classification in Nigerian hospitals. (2026). Journal of the Nigerian Society of Physical Sciences, 8(4), 3466. https://doi.org/10.46481/jnsps.2026.3466

Similar Articles

21-30 of 143

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)