Early Diagnosis of Chronic Obstructive Pulmonary Disease from Chest X-Rays using Transfer Learning and Fusion Strategies
Ryan Wang, Li-Ching Chen, Lama Moukheiber, Mira Moukheiber, Dana Moukheiber, Zach Zaiman, Sulaiman Moukheiber, Tess Litchman, Kenneth Patrick Seastedt, Hari Trivedi, Rebecca Steinberg, Po-Chih Kuo, Judy Gichoya, Leo Anthony CeliarXiv2022
This paper introduces a deep learning framework for early COPD diagnosis using chest X-rays (CXRs), addressing the underdiagnosis of this common disease. By employing transfer learning and novel fusion strategies (model-level and data-level), the study demonstrates that CXRs alone can effectively screen for early-stage COPD, offering a more accessible alternative to spirometry, especially in resource-limited settings.
What Problem Does This Paper Address?
Chronic Obstructive Pulmonary Disease (COPD) is a major global health issue, yet it's frequently underdiagnosed or detected late. The gold standard for diagnosis, spirometry, is often inaccessible or difficult to obtain, particularly in low-income countries. While chest X-rays (CXRs) are widely available and affordable, their potential for early COPD detection using advanced AI methods, especially across diverse datasets and with an eye towards fairness, has been underexplored. This paper aims to bridge this gap by developing and evaluating deep learning models for early COPD screening using CXRs, focusing on multi-site data, multi-modal integration, and fairness across demographic groups.
Methods
The study employs a multi-stage deep learning approach:
Transfer Learning: Four pre-trained Convolutional Neural Network (CNN) models (DenseNet121, ResNet50V2, MobileNetV2, and Xception) were fine-tuned on CXR data. The models were initially pre-trained on the CheXpert dataset for general radiographic feature learning and then fine-tuned on MIMIC-CXR for COPD detection. Xception emerged as the top-performing base model.
Fusion Strategies: To enhance performance and generalizability, two main fusion strategies were explored:
Model-level Fusion: This involved combining the predictions of the fine-tuned base models using:
Bagging: Unweighted and weighted averaging of predictions.
Stacking: Training meta-models (logistic regression, k-nearest neighbors, XGBoost, random forest) on the predictions of the base models.
Data-level Fusion: This integrated information from different sources:
Multi-site Data Fusion: Merging MIMIC-CXR and Emory-CXR datasets to train the best base model (Xception).
Multi-modal Data Fusion: Combining CXR features from the Xception model with demographic data (race-ethnicity, sex, age) from Electronic Health Records (EHRs).
Fairness Analysis: The performance of the models and fusion strategies was evaluated across different demographic subgroups (race-ethnicity, sex, and age) using the Area Under the Receiver Operating Characteristic Curve (AUC) and its standard deviation (SD) to identify potential biases.
Model Interpretation: Grad-CAM heatmaps were used to visualize the regions of the CXR that the models focused on for positive COPD predictions.
Datasets
The study utilized the following datasets:
CheXpert: A large, retrospective dataset used for pre-training the base CNN models.
MIMIC-CXR-JPG: A publically available dataset of chest X-rays used for fine-tuning and developing the COPD detection models.
Emory-CXR: A private, multi-site dataset collected from hospitals within the Emory Healthcare system, used for validating the models and assessing generalizability.
MIMIC-IV EHR: A publically available EHR database used for multi-modal fusion, providing demographic information.
Emory Institutional EHR Database: A private EHR database used for multi-modal fusion.
The study specifically selected CXRs from patients in the early stages of COPD who were not on mechanical ventilation to focus on early detection and avoid confounding factors.
Key Insights and Ideas
CXRs as a Viable Screening Tool: The research strongly supports the idea that deep learning models can effectively detect early-stage COPD using only CXRs, making it a practical screening tool, especially where spirometry is challenging to access.
Fusion Strategies Enhance Performance: Combining multiple models (model-level fusion) and integrating diverse data sources (data-level fusion) generally leads to improved performance compared to single base models.
Multi-site Data Fusion for Generalizability: Merging data from different institutions (MIMIC-CXR and Emory-CXR) proved beneficial for improving the model's generalizability, particularly when testing on the Emory-CXR dataset.
Weighted Average Bagging Shows Promise for Fairness: Among the evaluated fusion strategies, weighted average bagging demonstrated a good balance between performance and fairness across demographic subgroups, showing minimal performance gaps.
Model Interpretability Highlights Key Lung Regions: Grad-CAM visualizations revealed that the models tend to focus on specific lung areas (e.g., lung apices, mediastinum) that are clinically relevant to COPD, providing some level of explainability.
Key Results
The Xception base model achieved the highest AUC (0.76) on the MIMIC-CXR internal test set and performed best on the Emory-CXR external test set.
Model-level fusion (unweighted and weighted average bagging) slightly improved the AUC to 0.77 on MIMIC-CXR compared to the base Xception model.
Multi-site data fusion (MIMIC-CXR + Emory-CXR) showed improved performance when testing on Emory-CXR compared to the base Xception model.
Multi-modal data fusion (CXRs + EHR demographics) did not significantly improve performance over CXR-only models.
In terms of fairness, weighted average bagging and unweighted average bagging were found to be the most equitable, exhibiting the smallest performance discrepancies across demographic groups. Specifically, weighted average bagging achieved a higher average AUC while maintaining fairness.
Limitations and Future Work
Reliance on ICD Codes: The study used ICD-9/10 codes for labeling COPD, which are not as precise as gold-standard Pulmonary Function Testing (PFT) data. The authors acknowledge that PFT data would improve model accuracy.
Lack of PFT Data: Concurrent PFT data was unavailable for many CXRs, limiting the direct validation of the models against definitive diagnostic measures.
Future Work: The authors suggest incorporating PFT findings in future studies to further enhance model performance. They also propose exploring other modalities alongside CXRs for COPD prediction and encourage hospitals to build their own COPD screening models using their data and the provided open-source code.
Summary updated
Abstract
Chronic obstructive pulmonary disease (COPD) is one of the most common chronic illnesses in the world and the third leading cause of mortality worldwide. It is often underdiagnosed or not diagnosed until later in the disease course. Spirometry tests are the gold standard for diagnosing COPD but can be difficult to obtain, especially in resource-poor countries. Chest X-rays (CXRs), however, are readily available and may serve as a screening tool to identify patients with COPD who should undergo further testing. Currently, no research applies deep learning (DL) algorithms that use large multi-site and multi-modal data to detect COPD patients and evaluate fairness across demographic groups. We use three CXR datasets in our study, CheXpert to pre-train models, MIMIC-CXR to develop, and Emory-CXR to validate our models. The CXRs from patients in the early stage of COPD and not on mechanical ventilation are selected for model training and validation. We visualize the Grad-CAM heatmaps of the true positive cases on the base model for both MIMIC-CXR and Emory-CXR test datasets. We further propose two fusion schemes, (1) model-level fusion, including bagging and stacking methods using MIMIC-CXR, and (2) data-level fusion, including multi-site data using MIMIC-CXR and Emory-CXR, and multi-modal using MIMIC-CXRs and MIMIC-IV EHR, to improve the overall model performance. Fairness analysis is performed to evaluate if the fusion schemes have a discrepancy in the performance among different demographic groups. The results demonstrate that DL models can detect COPD using CXRs, which can facilitate early screening, especially in low-resource regions where CXRs are more accessible than spirometry. The multi-site data fusion scheme could improve the model generalizability on the Emory-CXR test data. Further studies on using CXR or other modalities to predict COPD ought to be in future work.
split: test · fine-tuned · fusion=model-level bagging · evaluation=average over 1000 epochs · aggregation=unweighted and weightedSource quote
L130: We present the model testing results of our fusion strategies in Table~\ref{tab:Fusion strategies tested on MIMIC data} for MIMIC-CXR and Table~\ref{tab:Fusion strategies tested on Emory data} of Appendix~ \ref{appendix:second} for Emory-CXR. For testing on MIMIC-CXR, the unweighted and weighted bagging models have the best AUC score (0.77), F1-score (0.54), AUPRC (0.56), and balanced accuracy (0.70). Since the Xception model performs the best among the base models, we use the Xception model in the data-level fusion strategy. The stacking model using the random forest as a meta-model performs the best among the other stacking models; however, it does not outperform the Xception basemodel.
split: test · fine-tuned · fusion=model-level bagging · evaluation=average over 1000 epochs · aggregation=unweighted and weightedSource quote
L130: We present the model testing results of our fusion strategies in Table~\ref{tab:Fusion strategies tested on MIMIC data} for MIMIC-CXR and Table~\ref{tab:Fusion strategies tested on Emory data} of Appendix~ \ref{appendix:second} for Emory-CXR. For testing on MIMIC-CXR, the unweighted and weighted bagging models have the best AUC score (0.77), F1-score (0.54), AUPRC (0.56), and balanced accuracy (0.70). Since the Xception model performs the best among the base models, we use the Xception model in the data-level fusion strategy. The stacking model using the random forest as a meta-model performs the best among the other stacking models; however, it does not outperform the Xception basemodel.
split: test · fine-tuned · fusion=model-level bagging · evaluation=average over 1000 epochs · aggregation=unweighted and weightedSource quote
L130: We present the model testing results of our fusion strategies in Table~\ref{tab:Fusion strategies tested on MIMIC data} for MIMIC-CXR and Table~\ref{tab:Fusion strategies tested on Emory data} of Appendix~ \ref{appendix:second} for Emory-CXR. For testing on MIMIC-CXR, the unweighted and weighted bagging models have the best AUC score (0.77), F1-score (0.54), AUPRC (0.56), and balanced accuracy (0.70). Since the Xception model performs the best among the base models, we use the Xception model in the data-level fusion strategy. The stacking model using the random forest as a meta-model performs the best among the other stacking models; however, it does not outperform the Xception basemodel.
split: test · fine-tuned · split-unit=patient-level · pretraining-dataset=CheXpertSource quote
L126: We present the results of four different state-of-the-art CNN models tested on MIMIC-CXR and Emory-CXR in Table~\ref{tab:Base models tested on MIMIC-IV data} and Table~\ref{tab:Base models tested on Emory data} of Appendix~\ref{appendix:Basemodel}. The Xception base model yields the best AUC score (0.76), F1-score (0.54), AUPRC (0.54), and balanced accuracy (0.69) during the internal testing on MIMIC-CXR; however, the performance of the four base models is relatively similar. Further, when performing external testing on Emory-CXR, the Xception base model attains the best performance. Additionally, the performance of the Xception base model on both MIMIC-CXR and Emory-CXR is very similar, demonstrating that our fine-tuned model does not overfit on the training data. The detailed results with precision and recall are listed in Supplementary Table B1 to B2.
split: test · fine-tuned · split-unit=patient-level · pretraining-dataset=CheXpertSource quote
L126: We present the results of four different state-of-the-art CNN models tested on MIMIC-CXR and Emory-CXR in Table~\ref{tab:Base models tested on MIMIC-IV data} and Table~\ref{tab:Base models tested on Emory data} of Appendix~\ref{appendix:Basemodel}. The Xception base model yields the best AUC score (0.76), F1-score (0.54), AUPRC (0.54), and balanced accuracy (0.69) during the internal testing on MIMIC-CXR; however, the performance of the four base models is relatively similar. Further, when performing external testing on Emory-CXR, the Xception base model attains the best performance. Additionally, the performance of the Xception base model on both MIMIC-CXR and Emory-CXR is very similar, demonstrating that our fine-tuned model does not overfit on the training data. The detailed results with precision and recall are listed in Supplementary Table B1 to B2.
split: test · fine-tuned · split-unit=patient-level · pretraining-dataset=CheXpertSource quote
L126: We present the results of four different state-of-the-art CNN models tested on MIMIC-CXR and Emory-CXR in Table~\ref{tab:Base models tested on MIMIC-IV data} and Table~\ref{tab:Base models tested on Emory data} of Appendix~\ref{appendix:Basemodel}. The Xception base model yields the best AUC score (0.76), F1-score (0.54), AUPRC (0.54), and balanced accuracy (0.69) during the internal testing on MIMIC-CXR; however, the performance of the four base models is relatively similar. Further, when performing external testing on Emory-CXR, the Xception base model attains the best performance. Additionally, the performance of the Xception base model on both MIMIC-CXR and Emory-CXR is very similar, demonstrating that our fine-tuned model does not overfit on the training data. The detailed results with precision and recall are listed in Supplementary Table B1 to B2.
@misc{wang2022early,
author = {Ryan Wang and Li-Ching Chen and Lama Moukheiber and Mira Moukheiber and Dana Moukheiber and Zach Zaiman and Sulaiman Moukheiber and Tess Litchman and Kenneth Patrick Seastedt and Hari Trivedi and Rebecca Steinberg and Po-Chih Kuo and Judy Gichoya and Leo Anthony Celi},
title = {{Early Diagnosis of Chronic Obstructive Pulmonary Disease from Chest X-Rays using Transfer Learning and Fusion Strategies}},
year = {2022},
eprint = {2211.06925},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2211.06925},
}