[Paper Review] Deep Learning for Automated Classification of Tuberculosis-Related Chest X-Ray: Dataset Specificity Limits Diagnostic Performance Generalizability
This study evaluates a deep convolutional neural network (DCNN) trained on a tuberculosis-specific chest X-ray (CXR) dataset from a single population and tests its performance on a non-TB-specific CXR dataset from a different population. The key finding is that diagnostic performance significantly degrades across populations, highlighting dataset specificity as a major limitation to generalizability in deep learning for TB detection.
Machine learning has been an emerging tool for various aspects of infectious diseases including tuberculosis surveillance and detection. However, WHO provided no recommendations on using computer-aided tuberculosis detection software because of the small number of studies, methodological limitations, and limited generalizability of the findings. To quantify the generalizability of the machine-learning model, we developed a Deep Convolutional Neural Network (DCNN) model using a TB-specific CXR dataset of one population (National Library of Medicine Shenzhen No.3 Hospital) and tested it with non-TB-specific CXR dataset of another population (National Institute of Health Clinical Centers). The findings suggested that a supervised deep learning model developed by using the training dataset from one population may not have the same diagnostic performance in another population. Technical specification of CXR images, disease severity distribution, overfitting, and overdiagnosis should be examined before implementation in other settings.
Motivation & Objective
- To assess the generalizability of a deep learning model trained on a TB-specific CXR dataset to a different population's non-TB-specific CXR dataset.
- To investigate whether diagnostic performance of a supervised DCNN model trained on one population's data transfers effectively to another population.
- To identify technical and clinical factors—such as image specifications, disease severity distribution, overfitting, and overdiagnosis—that may affect model transferability.
- To evaluate the feasibility of deploying a single deep learning model across diverse clinical settings without retraining or adaptation.
Proposed method
- A deep convolutional neural network (DCNN) was trained on a TB-specific CXR dataset collected from the National Library of Medicine Shenzhen No.3 Hospital.
- The trained model was evaluated on a non-TB-specific CXR dataset from the National Institute of Health Clinical Centers, representing a different population and imaging context.
- Performance was measured using standard diagnostic metrics, with a focus on sensitivity, specificity, and area under the ROC curve (AUC).
- Technical factors such as image resolution, exposure, and reconstruction techniques were analyzed for their impact on model performance.
- The distribution of disease severity across training and test sets was compared to detect potential data shift.
- Overfitting and overdiagnosis were assessed by analyzing model predictions on out-of-distribution data and comparing them to radiological interpretations.
Experimental results
Research questions
- RQ1Does a deep learning model trained on a TB-specific CXR dataset from one population maintain high diagnostic performance when applied to a non-TB-specific CXR dataset from a different population?
- RQ2How do differences in technical CXR specifications (e.g., exposure, reconstruction) between datasets affect model generalizability?
- RQ3To what extent does the distribution of disease severity in training and test sets influence model performance and reliability?
- RQ4Can overfitting or overdiagnosis be detected when applying a model trained on one dataset to a different clinical population?
- RQ5What are the key factors limiting the real-world deployment of deep learning models for TB detection across diverse healthcare settings?
Key findings
- The DCNN model trained on the Shenzhen TB-specific dataset showed significantly reduced diagnostic performance when tested on the NIH non-TB-specific CXR dataset.
- Performance metrics such as AUC dropped substantially, indicating poor transferability across populations despite similar imaging modalities.
- Differences in technical CXR specifications—such as exposure, windowing, and reconstruction techniques—were identified as major contributors to performance degradation.
- The model exhibited signs of overfitting to the training dataset's unique imaging characteristics, reducing its robustness in new settings.
- The distribution of disease severity in the test set differed from that in the training set, contributing to reduced sensitivity and specificity.
- Overdiagnosis was observed in the test set, suggesting the model may be learning spurious patterns rather than generalizable TB features.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.