[Paper Review] SwinCheX: Multi-label classification on chest X-ray images with transformers
This paper proposes SwinCheX, a multi-label classification model for chest X-ray images using the Swin Transformer as a backbone and a multi-layer perceptron (MLP) head for multi-task learning. It achieves state-of-the-art performance on the ChestX-ray14 dataset with a 3-layer MLP head, attaining an average AUC of 0.810, surpassing the previous SOTA of 0.799.
According to the considerable growth in the avail of chest X-ray images in diagnosing various diseases, as well as gathering extensive datasets, having an automated diagnosis procedure using deep neural networks has occupied the minds of experts. Most of the available methods in computer vision use a CNN backbone to acquire high accuracy on the classification problems. Nevertheless, recent researches show that transformers, established as the de facto method in NLP, can also outperform many CNN-based models in vision. This paper proposes a multi-label classification deep model based on the Swin Transformer as the backbone to achieve state-of-the-art diagnosis classification. It leverages Multi-Layer Perceptron, also known as MLP, for the head architecture. We evaluate our model on one of the most widely-used and largest x-ray datasets called "Chest X-ray14," which comprises more than 100,000 frontal/back-view images from over 30,000 patients with 14 famous chest diseases. Our model has been tested with several number of MLP layers for the head setting, each achieves a competitive AUC score on all classes. Comprehensive experiments on Chest X-ray14 have shown that a 3-layer head attains state-of-the-art performance with an average AUC score of 0.810, compared to the former SOTA average AUC of 0.799. We propose an experimental setup for the fair benchmarking of existing methods, which could be used as a basis for the future studies. Finally, we followed up our results by confirming that the proposed method attends to the pathologically relevant areas of the chest.
Motivation & Objective
- To develop a deep learning model for multi-label classification of chest X-ray images using vision transformers.
- To improve performance on the ChestX-ray14 dataset beyond existing CNN-based and transformer-based models.
- To establish a fair benchmarking protocol for future comparisons using patient-wise data splits.
- To validate model interpretability by analyzing attention maps on pathologically relevant regions.
- To demonstrate the superiority of multi-resolution transformers like Swin over conventional CNNs in multi-label CXR diagnosis.
Proposed method
- Adapts a pre-trained Swin Transformer as the feature extractor for chest X-ray images.
- Employs a multi-head feedforward neural network (MLP) as the classification head, with varying depths (1 to 3 layers).
- Trains the model end-to-end on the ChestX-ray14 dataset using a patient-wise train/val/test split to prevent data leakage.
- Uses Grad-CAM to generate saliency heatmaps and validate attention to disease-relevant anatomical regions.
- Applies a standardized evaluation protocol to ensure fair comparison with prior methods, including re-evaluation of DNet under the same split.
- Optimizes the model without adaptive learning rates, reducing hyperparameter complexity and overfitting risk.
Experimental results
Research questions
- RQ1Can vision transformers like Swin Transformer outperform CNN-based models in multi-label chest X-ray classification?
- RQ2What is the optimal depth of the MLP head for multi-label classification on chest X-ray images?
- RQ3How does a standardized patient-wise data split affect the performance and fairness of model evaluation?
- RQ4Does the proposed model attend to pathologically relevant regions in the lungs, as confirmed by Grad-CAM?
- RQ5Can a simpler training setup without adaptive learning rates still achieve state-of-the-art performance?
Key findings
- The 3-layer MLP head in SwinCheX achieves a mean AUC of 0.810 on the ChestX-ray14 dataset, setting a new state-of-the-art.
- The model outperforms the previous SOTA DNet by 0.011 in average AUC, with a 1.01% margin when evaluated under the same protocol.
- Grad-CAM visualization confirms that the model attends to disease-relevant areas such as the lung bases for atelectasis, the right lung for mass, and the heart border for cardiomegaly.
- The model maintains strong performance across all 14 pathologies, with only minor exceptions where DNet slightly outperforms in Cardiomegaly, Hernia, and Effusion.
- When re-evaluated under the proposed fair benchmarking protocol, DNet's average AUC drops to 0.799, confirming the importance of consistent evaluation.
- The absence of adaptive learning rates in SwinCheX simplifies training and reduces overfitting risk while maintaining superior performance.
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.