Abstract
Coronavirus has caused hundreds of thousands of deaths. Fatalities could decrease if every patient could get suitable treatment by the healthcare system. Machine learning, especially computer vision methods based on deep learning, can help healthcare professionals diagnose and treat COVID-19 infected cases more efficiently. This research proposes a method for segmenting infected lung regions in a CT image. For this purpose, a convolutional neural network with an attention mechanism is used to detect infected areas with complex patterns. Attention blocks improve the segmentation accuracy by focusing on informative parts of the image. Furthermore, a generative adversarial network generates synthetic images for data augmentation and expansion of small available datasets. Experimental results show the superiority of the proposed method compared to some existing procedures.
Introduction
Accurate segmentation of COVID-19 lesions, such as ground-glass opacities, is vital for assessing disease severity and planning treatment. However, manual segmentation by radiologists is time-consuming and prone to human error. Deep learning offers a solution but faces significant hurdles: data scarcity for emerging diseases and the complex, irregular patterns of infected regions that standard Convolutional Neural Networks (CNNs) may overlook. This paper presents a framework combining a U-Net-based architecture with a novel "Attention Fusion" mechanism and a Conditional GAN (cGAN) for synthetic data generation to improve segmentation accuracy on limited medical datasets.
Methodology
The proposed approach addresses the challenges of medical image segmentation through three primary components: an overall pipeline for data generation and segmentation, a specialized attention module, and multi-task learning.
1. Attention Fusion Mechanism
The core of the architecture is a modified U-Net that incorporates both Channel-wise and Spatial Attention. Channel-wise attention helps the model identify informative features, such as specific textures associated with infection, while spatial attention focuses the model on the lungs rather than surrounding anatomy. Unlike previous methods that use these separately, this paper embeds a fused module in the encoder that sequentially applies both, strengthening the signal of infected regions before downsampling.
2. GAN-Based Data Augmentation
To solve the "small data" problem, the authors use a Conditional Generative Adversarial Network (cGAN). Existing ground-truth masks are mirrored to create new shapes, and the cGAN "translates" these masks into realistic-looking synthetic CT images. This effectively doubles the training data with high-fidelity examples that maintain biological plausibility and capture the specific textures of infections better than simple geometric flips.
3. Multi-Task Learning and Post-Processing
The model is trained to perform two tasks simultaneously: segmenting the lungs and segmenting the infection. This forces the network to learn the anatomical context of the lungs, constraining where it looks for infections. A post-processing step removes predicted regions smaller than 30 pixels to reduce false positives.
Experimental Results
The method was evaluated on the Zenodo COVID-19 CT Dataset and MedicalSegmentation.com datasets. Key findings include:
- Improved Accuracy: The model achieved a Dice score of 0.794 with data augmentation, compared to 0.768 for the baseline.
- GAN Effectiveness: In direct comparisons, the GAN-based approach reached a Dice score of 0.811, significantly outperforming classical augmentation (0.787).
- Robust Generalization: When tested against other specialized loss functions (like Focal Tversky Loss), the proposed method reached a Dice score of 0.847, proving its robustness across different datasets.
Conclusion
This research demonstrates that combining attention mechanisms with synthetic data generation significantly enhances the segmentation of COVID-19 infected regions. While the model shows promising results, future work will focus on 3D convolutions to capture volumetric continuity and expanding dataset diversity for clinical deployment.
Summary updated