Machine learning · 2021

Swin Transformer

A hierarchical vision transformer from Microsoft Research Asia (2021) that computes self-attention only inside local windows and shifts the windows between layers. Its cost grows linearly with image size, which suits high-resolution and 3D medical images.

A ViT compares every patch with every other, so its cost grows with the square of the patch count, and it produces features at only one scale. In 2021 Ze Liu and colleagues at Microsoft Research Asia proposed the Swin Transformer. It cuts the image into 4×4-pixel patches and computes attention only inside windows of 7×7 patches; the next layer shifts the windows by half their width so that neighboring windows exchange information. Patches are merged stage by stage, yielding a multiscale feature pyramid like that of a CNN. The paper won the Marr Prize, the best paper award of ICCV 2021.

That pyramid plugs naturally into a U-shaped decoder. In 2022 Ali Hatamizadeh and colleagues at NVIDIA published the 3D Swin UNETR, which ranked among the top entries of more than 2,000 submissions in the validation phase of BraTS 2021. The same group pretrained it with self-supervised learning on 5,050 public CT scans and took first place on the MSD and BTCV segmentation leaderboards.

Sources
  1. Liu Z, Lin Y, Cao Y, et al. Swin Transformer: hierarchical vision transformer using shifted windows. ICCV 2021:9992–10002 (arXiv:2103.14030). doi.org/10.1109/ICCV48922.2021.00986
  2. Hatamizadeh A, Nath V, Tang Y, Yang D, Roth HR, Xu D. Swin UNETR: Swin transformers for semantic segmentation of brain tumors in MRI images. BrainLes 2021, LNCS 12962:272–284 (2022). doi.org/10.1007/978-3-031-08999-2_22
  3. Tang Y, Yang D, Li W, et al. Self-supervised pre-training of Swin transformers for 3D medical image analysis. CVPR 2022:20698–20708. doi.org/10.1109/CVPR52688.2022.02007

Key works · 4

Landmark2021ICCV 202149,078 citations

Swin Transformer: Hierarchical Vision Transformer using Shifted Windows

Ze Liu, Yutong Lin … Baining Guo

Swin computes attention inside local windows and shifts the partition between successive layers so information can cross window boundaries. Patch merging produces a hierarchy of spatial scales. With a fixed window size, attention computation scales linearly with image area. The paper evaluates classification, detection, and segmentation.

SignificanceHierarchical window attention provided a vision transformer backbone suited to dense prediction at larger image sizes. Swin UNETR adapts this design to three-dimensional medical volumes and uses its multiscale features to segment brain tumors in MRI.

Key2022CVPR 202214,115 citations

A ConvNet for the 2020s

Zhuang Liu, Hanzi Mao … Saining Xie

The authors start from a ResNet and update its training recipe, stage design, filter sizes, and normalization in a sequence of controlled experiments. The all-convolutional ConvNeXt family achieved performance competitive with contemporary hierarchical transformers on ImageNet classification, COCO detection, and ADE20K segmentation.

SignificanceThe study supplied a modern convolutional baseline for comparisons with attention architectures under more similar training conditions. MedNeXt explicitly adapts the ConvNeXt block to study large kernels and model scaling for volumetric medical image segmentation.

Key2022CVPR 20221,363 citations

Self-Supervised Pre-Training of Swin Transformers for 3D Medical Image Analysis

Yucheng Tang, Dong Yang … Ali Hatamizadeh

The study pretrains a volumetric Swin model on 5,050 public CT studies using rotation prediction, image inpainting, and a contrastive objective. It evaluates the effect of pretraining by fine-tuning on BTCV abdominal multi-organ segmentation and tasks from the Medical Segmentation Decathlon.

SignificanceThe paper supplied a reproducible self-supervised reference for volumetric encoders. MONAI makes the implementation and pretrained weights available, allowing segmentation studies that use transformers for three-dimensional scans to compare initialization choices without repeating the full pretraining process.

Key2022BrainLes at MICCAI 2021 (LNCS 12962)3,708 citations

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

Ali Hatamizadeh, Vishwesh Nath … Daguang Xu

Swin UNETR applies hierarchical shifted-window attention to patches from multimodal brain MRI, then passes the multiresolution representations to a convolutional decoder through skip connections. The authors evaluate segmentation of glioma subregions using the BraTS 2021 benchmark under the challenge's testing setup.

SignificanceThe architecture made hierarchical Swin encoding usable for three-dimensional tumor segmentation. A related study used this design in self-supervised pretraining on unlabeled CT, and MONAI provides a reusable implementation for training and evaluating volumetric segmentation models.