Early Tuberculosis Detection via Privacy-Preserving, Adaptive-Weighted Deep Models

Karim Gasmi,Afrah Alanazi,Najib Ben Aoun,Mohamed O. Altaieb,A. Abdalrahman,Omer Hamid,Sahar Almenwer,Lassaad Ben Ammar,Samia Yahyaoui,Manel Mrabet

Published 2026 in Diagnostics

ABSTRACT

Background: Tuberculosis (TB) is a significant global health issue, particularly in resource-limited regions where radiological expertise is constrained. This project aims to develop a scalable deep learning system that safeguards privacy and achieves high accuracy in the early identification of tuberculosis using chest X-ray images. The objective is to implement federated learning with an adaptive-weighted ensemble optimised by a Genetic Algorithm (GA) to address the challenges of centralised training and single-model approaches. Method: We developed an ensemble learning method that combines multiple locally trained models to improve diagnostic consistency and reduce individual-model bias. An optimisation system that autonomously selected the optimal ensemble weights determined each model’s contribution to the final decision. A controlled augmentation process was employed to enhance the model’s robustness and reduce the likelihood of overfitting by introducing realistic alterations to appearance, geometry, and acquisition conditions. Federated learning facilitated collaboration among universities for training while ensuring data privacy was maintained during the establishment of the optimal ensemble at each location. In this system, just model parameters were transmitted, excluding patient photographs. This enabled the secure amalgamation of global data without revealing sensitive clinical information. Standard diagnostic metrics, including accuracy, sensitivity, precision, F1 score, AUC, and confusion matrices, were employed to evaluate the model’s performance. Results: The proposed federated, GA-optimized ensemble demonstrated superior performance compared with individual models and fixed-weight ensembles. The system achieved 98% accuracy, 97% F1 score, and 0.999 AUC, indicating highly reliable discrimination between TB-positive and typical cases. Federated learning preserved model robustness across heterogeneous data sources, while ensuring complete patient privacy. Conclusions: The proposed federated, GA-optimized ensemble achieves highly accurate and robust early tuberculosis detection while preserving patient privacy across distributed clinical sites. This scalable framework demonstrates strong potential for reliable AI-assisted TB screening in resource-limited healthcare settings.

PUBLICATION RECORD

CITATION MAP

EXTRACTION MAP

CLAIMS

  • No claims are published for this paper.

CONCEPTS

  • No concepts are published for this paper.

REFERENCES

Showing 1-40 of 40 references · Page 1 of 1

CITED BY

  • No citing papers are available for this paper.

Showing 0-0 of 0 citing papers · Page 1 of 1