Swin UNETR: Swin Transformers for Semantic Segmentation of Brain Tumors in MRI Images
Ali HatamizadehVishwesh NathYucheng TangDong YangHolger RothDaguang Xu
Presents Swin UNETR, an architecture that couples a hierarchical shifted-window transformer encoder with a convolutional decoder to capture multi-scale contextual dependencies for multi-modal 3D brain tumor MRI segmentation.
Accurate identification and boundary delineation of brain tumors in three-dimensional magnetic resonance imaging (MRI) scans are vital for clinical diagnosis, treatment planning, and surgical intervention. While standard deep learning methods rely heavily on convolutional neural networks, their local receptive fields limit their ability to capture broader, long-range anatomical context across tumors of varying shapes and sizes. The article sets out to develop and evaluate a new artificial intelligence architecture, termed Swin UNETR, designed to improve 3D brain tumor semantic segmentation by combining a hierarchical shifted-window vision transformer encoder with a standard convolutional decoder across multiple spatial resolutions.
To evaluate the system, the authors trained and benchmarked Swin UNETR on the multi-institutional BraTS 2021 dataset, comprising 1,251 multi-modal MRI training subjects and 219 validation cases. The method processes four standard MRI sequences simultaneously and evaluates predictions using cross-validation and official blind challenge submissions. In internal cross-validation across five folds, Swin UNETR outperformed prominent prior benchmark architectures, including nnU-Net, SegResNet, and TransBTS, by 0.4% to 0.7% across tumor sub-regions and achieved an overall average overlap score of 0.913. When submitted to the official BraTS 2021 competition server, an ensemble of ten Swin UNETR models ranked among the top-performing solutions out of more than 2,000 challenge submissions, marking the first competitive top-tier placement by a transformer-based model in this benchmark.
These findings indicate that integrating multi-scale hierarchical transformers into standard medical segmentation pipelines yields superior contextual representations without sacrificing local detail. In clinical and technological workflows, this approach reduces segmentation errors, providing more reliable volumetric insights that support surgical planning and risk assessment. Organizations developing medical AI tools should consider adopting hierarchical transformer encoders as a standard foundation for complex 3D image analysis pipelines, while pursuing further clinical validation on external institutional datasets before operational deployment.
- Paper: UNETR: Transformers for 3D Medical Image Segmentation, Ali Hatamizadeh et al. (2021). Reading UNETR first is essential because the source paper directly builds upon its architecture for 3D medical image segmentation.
- Paper: Swin Transformer: Hierarchical Vision Transformer using Shifted Windows, Ze Liu et al. (2021). This foundational work on the Swin Transformer provides the necessary background on shifted-window attention mechanisms utilized by the source model.
- Paper: U-KAN Makes Strong Backbone for Medical Image Segmentation and Generation, Chenxin Li et al. (2025). This subsequent study extends the biomedical segmentation paradigm by replacing standard linear operations with Kolmogorov-Arnold Network layers.
- Paper: VMamba: Visual State Space Model, Yue Liu et al. (2024). This later research follows up on transformer-based vision architectures by introducing state-space models to achieve linear-time visual processing.
