Swin UNETR: Swin Transformers for Semantic Segmentation of Brain Tumors in MRI Images

Ali Hatamizadeh, Vishwesh Nath, Yucheng Tang, Dong Yang, Holger Roth +1 more
1/4/2022
eess.IVcs.CVcs.LG

Official code: Project-MONAI/research-contributions (1,225 stars, Apache-2.0, last commit 2025-10-06).

Abstract

Semantic segmentation of brain tumors is a fundamental medical image analysis task involving multiple MRI imaging modalities that can assist clinicians in diagnosing the patient and successively studying the progression of the malignant entity. In recent years, Fully Convolutional Neural Networks (FCNNs) approaches have become the de facto standard for 3D medical image segmentation. The popular "U-shaped" network architecture has achieved state-of-the-art performance benchmarks on different 2D and 3D semantic segmentation tasks and across various imaging modalities. However, due to the limited kernel size of convolution layers in FCNNs, their performance of modeling long-range information is sub-optimal, and this can lead to deficiencies in the segmentation of tumors with variable sizes. On the other hand, transformer models have demonstrated excellent capabilities in capturing such long-range information in multiple domains, including natural language processing and computer vision. Inspired by the success of vision transformers and their variants, we propose a novel segmentation model termed Swin UNEt TRansformers (Swin UNETR). Specifically, the task of 3D brain tumor semantic segmentation is reformulated as a sequence to sequence prediction problem wherein multi-modal input data is projected into a 1D sequence of embedding and used as an input to a hierarchical Swin transformer as the encoder. The swin transformer encoder extracts features at five different resolutions by utilizing shifted windows for computing self-attention and is connected to an FCNN-based decoder at each resolution via skip connections. We have participated in BraTS 2021 segmentation challenge, and our proposed model ranks among the top-performing approaches in the validation phase. Code: https://monai.io/research/swin-unetr

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Implementations of recent research prototypes/demonstrations using MONAI.

1,225388Shell, PythonSep 17, 20201 years agoApache-2.0
monaimonai-componentspaper

Similar Papers

Cite this paper

@article{hatamizadeh2022swin,
  title  = {Swin UNETR: Swin Transformers for Semantic Segmentation of Brain Tumors in MRI Images},
  author = {Ali Hatamizadeh and Vishwesh Nath and Yucheng Tang and Dong Yang and Holger Roth and Daguang Xu},
  year   = {2022},
  eprint = {2201.01266},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.01266}
}

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/2201.01266.svg)](https://codeofpaper.com/paper/2201.01266)

Discussion