CheX-DS: Improving Chest X-ray Image Classification with Ensemble Learning Based on DenseNet and Swin Transformer
Xinran Li, Yu Liu, Xiujuan Xu, Xiaowei Zhao
TL;DR
CheX-DS tackles long-tail, multi-label chest X-ray classification by fusing DenseNet121 and Swin Transformer in an ensemble, leveraging both local and global feature representations. It introduces a loss that combines weighted binary cross-entropy with an asymmetric term to balance inter- and intra-class imbalances, and optimizes ensemble weights via differential evolution. On the NIH ChestX-ray14 dataset, it achieves an average AUROC of $83.76\%$, outperforming several state-of-the-art baselines. This approach demonstrates the value of integrating CNN and Transformer features with a data-tailored loss for improved automated chest X-ray diagnosis in imbalanced settings.
Abstract
The automatic diagnosis of chest diseases is a popular and challenging task. Most current methods are based on convolutional neural networks (CNNs), which focus on local features while neglecting global features. Recently, self-attention mechanisms have been introduced into the field of computer vision, demonstrating superior performance. Therefore, this paper proposes an effective model, CheX-DS, for classifying long-tail multi-label data in the medical field of chest X-rays. The model is based on the excellent CNN model DenseNet for medical imaging and the newly popular Swin Transformer model, utilizing ensemble deep learning techniques to combine the two models and leverage the advantages of both CNNs and Transformers. The loss function of CheX-DS combines weighted binary cross-entropy loss with asymmetric loss, effectively addressing the issue of data imbalance. The NIH ChestX-ray14 dataset is selected to evaluate the model's effectiveness. The model outperforms previous studies with an excellent average AUC score of 83.76\%, demonstrating its superior performance.
