Skip to main content
QUICK REVIEW

[Paper Review] D-TrAttUnet: Dual-Decoder Transformer-Based Attention Unet Architecture for Binary and Multi-classes Covid-19 Infection Segmentation

Fares Bougourzi, Cosimo Distante|arXiv (Cornell University)|Mar 27, 2023
COVID-19 diagnosis using AIMedicine5 citations
TL;DR

This paper proposes D-TrAttUnet, a dual-decoder Transformer-CNN hybrid U-Net architecture for binary and multi-class Covid-19 infection segmentation from CT scans. It combines a compound CNN-Transformer encoder with two attention-gated decoders that jointly segment lung regions and infection types (non-infection, GGO, consolidation), achieving state-of-the-art performance on three public datasets with improved accuracy and robustness on limited data.

ABSTRACT

In the last three years, the world has been facing a global crisis caused by Covid-19 pandemic. Medical imaging has been playing a crucial role in the fighting against this disease and saving the human lives. Indeed, CT-scans has proved their efficiency in diagnosing, detecting, and following-up the Covid-19 infection. In this paper, we propose a new Transformer-CNN based approach for Covid-19 infection segmentation from the CT slices. The proposed D-TrAttUnet architecture has an Encoder-Decoder structure, where compound Transformer-CNN encoder and Dual-Decoders are proposed. The Transformer-CNN encoder is built using Transformer layers, UpResBlocks, ResBlocks and max-pooling layers. The Dual-Decoder consists of two identical CNN decoders with attention gates. The two decoders are used to segment the infection and the lung regions simultaneously and the losses of the two tasks are joined. The proposed D-TrAttUnet architecture is evaluated for both Binary and Multi-classes Covid-19 infection segmentation. The experimental results prove the efficiency of the proposed approach to deal with the complexity of Covid-19 segmentation task from limited data. Furthermore, D-TrAttUnet architecture outperforms three baseline CNN segmentation architectures (Unet, AttUnet and Unet++) and three state-of-the-art architectures (AnamNet, SCOATNet and CopleNet), in both Binary and Mutli-classes segmentation tasks.

Motivation & Objective

  • Address the challenge of limited annotated data in Covid-19 CT image segmentation.
  • Overcome the difficulty of segmenting heterogeneous infection patterns (GGO and consolidation) with blurred edges and low contrast.
  • Improve segmentation accuracy by leveraging both local CNN features and long-range dependencies from Transformers.
  • Simultaneously segment lung regions and infection types to guide attention and reduce false positives.
  • Develop a robust architecture effective for both binary and multi-class segmentation tasks in low-data regimes.

Proposed method

  • The encoder uses a dual-path architecture: one path processes image patches via 2D self-attention in Transformer layers, and the other applies convolutional layers with residual blocks.
  • Four multi-scale features from the Transformer path are fused with the CNN path via UpResBlocks to enrich hierarchical representations.
  • The dual-decoder consists of two identical U-Net-style decoders with attention gates, each responsible for predicting lung and infection masks respectively.
  • The two decoders are trained jointly with a combined loss function that optimizes both lung and infection segmentation simultaneously.
  • The model uses linear upsampling and convolutional layers in the decoder path to preserve spatial details and refine segmentation boundaries.
  • The architecture is trained end-to-end on three public Covid-19 CT segmentation datasets for both binary and multi-class tasks.

Experimental results

Research questions

  • RQ1Can a hybrid CNN-Transformer encoder effectively capture local, global, and long-range contextual features for Covid-19 infection segmentation?
  • RQ2Does joint segmentation of lung regions and infection types improve model robustness and accuracy?
  • RQ3How does the dual-decoder attention mechanism compare to single-decoder architectures in handling complex infection patterns?
  • RQ4Can the proposed architecture generalize across different data distributions and achieve state-of-the-art performance with limited annotated data?
  • RQ5What is the contribution of each component (e.g., attention gates, dual-path encoder, joint loss) to the overall performance?

Key findings

  • D-TrAttUnet outperformed three baseline CNN architectures (Unet, AttUnet, Unet++) and three state-of-the-art models (AnamNet, SCOATNet, CopleNet) in both binary and multi-class segmentation tasks.
  • The model achieved superior segmentation accuracy, particularly in detecting small and peripheral infection regions with blurred boundaries.
  • Visual comparisons showed that D-TrAttUnet's predicted masks closely matched ground truth, especially in complex cases with mixed GGO and consolidation patterns.
  • The ablation study confirmed that the combination of the dual-decoder and dual-path encoder significantly improved performance over individual components.
  • The joint training of lung and infection segmentation led to more consistent and stable predictions across diverse patient cases.
  • The model demonstrated strong generalization on three different public datasets, indicating robustness to data variability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.