[Paper Review] COVID-CAPS: A Capsule Network-based Framework for Identification of COVID-19 cases from X-ray Images
This paper proposes COVID-CAPS, a capsule network-based deep learning framework for detecting COVID-19 from chest X-ray images, leveraging attention mechanisms and spatial hierarchy to preserve spatial relationships and improve performance on small datasets. It achieves 95.7% accuracy, 90% sensitivity, 95.8% specificity, and 0.97 AUC, with further improvements to 98.3% accuracy and 98.6% specificity using pre-training on a similar X-ray dataset.
Novel Coronavirus disease (COVID-19) has abruptly and undoubtedly changed the world as we know it at the end of the 2nd decade of the 21st century. COVID-19 is extremely contagious and quickly spreading globally making its early diagnosis of paramount importance. Early diagnosis of COVID-19 enables health care professionals and government authorities to break the chain of transition and flatten the epidemic curve. The common type of COVID-19 diagnosis test, however, requires specific equipment and has relatively low sensitivity. Computed tomography (CT) scans and X-ray images, on the other hand, reveal specific manifestations associated with this disease. Overlap with other lung infections makes human-centered diagnosis of COVID-19 challenging. Consequently, there has been an urgent surge of interest to develop Deep Neural Network (DNN)-based diagnosis solutions, mainly based on Convolutional Neural Networks (CNNs), to facilitate identification of positive COVID-19 cases. CNNs, however, are prone to lose spatial information between image instances and require large datasets. The paper presents an alternative modeling framework based on Capsule Networks, referred to as the COVID-CAPS, being capable of handling small datasets, which is of significant importance due to sudden and rapid emergence of COVID-19. Our results based on a dataset of X-ray images show that COVID-CAPS has advantage over previous CNN-based models. COVID-CAPS achieved an Accuracy of 95.7%, Sensitivity of 90%, Specificity of 95.8%, and Area Under the Curve (AUC) of 0.97, while having far less number of trainable parameters in comparison to its counterparts. To further improve diagnosis capabilities of the COVID-CAPS, pre-training based on a new dataset constructed from an external dataset of X-ray images. Pre-training with a dataset of similar nature further improved accuracy to 98.3% and specificity to 98.6%.
Motivation & Objective
- To address the challenge of limited and imbalanced medical imaging datasets for COVID-19 diagnosis.
- To overcome the limitations of traditional CNNs in preserving spatial relationships and generalizing under data scarcity.
- To develop a deep learning framework that maintains high performance with fewer parameters and reduced computational demands.
- To improve diagnostic accuracy and robustness using pre-training on disease-specific X-ray data rather than natural image datasets.
- To provide a publicly available, efficient, and accurate model for early detection of COVID-19 from chest X-rays.
Proposed method
- The framework employs a capsule network architecture with dynamic routing to preserve spatial hierarchies and improve generalization across image transformations.
- It integrates a modified loss function to address class imbalance in the training data, enhancing model robustness.
- The model is trained end-to-end on a binarized X-ray dataset containing normal, bacterial, non-COVID viral, and COVID-19 cases.
- Pre-training is performed on a large external X-ray dataset (94,323 images) from the NIH Chest X-ray collection, grouped into five disease categories.
- Transfer learning is applied by fine-tuning the pre-trained model on the target COVID-19 classification task.
- The final model is evaluated using standard metrics: accuracy, sensitivity, specificity, and AUC, with ROC curve analysis.
Experimental results
Research questions
- RQ1Can a capsule network-based model outperform CNNs in classifying COVID-19 from X-ray images when trained on small, imbalanced datasets?
- RQ2Does pre-training on disease-specific X-ray data improve diagnostic performance compared to pre-training on natural image datasets?
- RQ3To what extent does the capsule network’s ability to preserve spatial relationships enhance generalization and reduce overfitting in medical imaging?
- RQ4How does the number of trainable parameters in the proposed model compare to existing CNN-based models, and what is the impact on computational efficiency?
- RQ5What is the misclassification pattern of false positives, and which non-COVID cases are most frequently misclassified?
Key findings
- COVID-CAPS achieved 95.7% accuracy, 90% sensitivity, 95.8% specificity, and an AUC of 0.97 on the binarized X-ray dataset without pre-training.
- The model achieved a significant improvement in accuracy (98.3%) and specificity (98.6%) after pre-training on a large, disease-specific X-ray dataset.
- The AUC increased from 0.97 to 0.99 after pre-training, indicating enhanced discriminative performance.
- False positive cases were predominantly normal X-rays (54%), followed by bacterial (27%) and non-COVID viral (19%) cases.
- COVID-CAPS used only 295,488 trainable parameters, significantly fewer than the 23 million parameters in a comparable CNN model from prior work.
- The model’s performance was robust despite data scarcity, demonstrating the effectiveness of capsule networks in low-data regimes.
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.