Attention Swin U-Net: Cross-Contextual Attention Mechanism for Skin Lesion Segmentation

Ehsan Khodapanah Aghdam, Reza Azad, Maral Zarvani, Dorit Merhof
10/30/2022
eess.IVcs.CVcs.LG
transformer-attention

Official code: NITR098/AttSwinUNet (71 stars, Jupyter Notebook, last commit 2023-07-21).

Abstract

Melanoma is caused by the abnormal growth of melanocytes in human skin. Like other cancers, this life-threatening skin cancer can be treated with early diagnosis.

Show full abstract

To support a diagnosis by automatic skin lesion segmentation, several Fully Convolutional Network (FCN) approaches, specifically the U-Net architecture, have been proposed. The U-Net model with a symmetrical architecture has exhibited superior performance in the segmentation task. However, the locality restriction of the convolutional operation incorporated in the U-Net architecture limits its performance in capturing long-range dependency, which is crucial for the segmentation task in medical images. To address this limitation, recently a Transformer based U-Net architecture that replaces the CNN blocks with the Swin Transformer module has been proposed to capture both local and global representation. In this paper, we propose Att-SwinU-Net, an attention-based Swin U-Net extension, for medical image segmentation. In our design, we seek to enhance the feature re-usability of the network by carefully designing the skip connection path. We argue that the classical concatenation operation utilized in the skip connection path can be further improved by incorporating an attention mechanism. By performing a comprehensive ablation study on several skin lesion segmentation datasets, we demonstrate the effectiveness of our proposed attention mechanism.

View on arXivView PDF

Code Implementations(1)

Official implementation code for Attention Swin U-Net: Cross-Contextual Attention Mechanism for Skin Lesion Segmentation paper

719Jupyter Notebook, PythonOct 22, 20223 years ago
attention-mechanismsegmentationskin-cancerskin-lesion-segmentationswinunet+1 more

Similar Papers

Cite this paper

@article{aghdam2022attention,
  title  = {Attention Swin U-Net: Cross-Contextual Attention Mechanism for Skin Lesion Segmentation},
  author = {Ehsan Khodapanah Aghdam and Reza Azad and Maral Zarvani and Dorit Merhof},
  year   = {2022},
  eprint = {2210.16898},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.16898}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.16898.svg)](https://codeofpaper.com/paper/2210.16898)

Discussion