Skip to main content
QUICK REVIEW

[Paper Review] Swin-UMamba: Mamba-based UNet with ImageNet-based pretraining

Jiarun Liu, Hao Yang|arXiv (Cornell University)|Feb 5, 2024
Vehicle License Plate RecognitionEngineering6 citations
TL;DR

Swin-UMamba is a Mamba-based UNet for 2D medical image segmentation that leverages ImageNet-pretrained Mamba blocks to improve accuracy and efficiency across multiple datasets, with a variant Swin-UMamba dagger using a lighter Mamba-based decoder.

ABSTRACT

Accurate medical image segmentation demands the integration of multi-scale information, spanning from local features to global dependencies. However, it is challenging for existing methods to model long-range global information, where convolutional neural networks (CNNs) are constrained by their local receptive fields, and vision transformers (ViTs) suffer from high quadratic complexity of their attention mechanism. Recently, Mamba-based models have gained great attention for their impressive ability in long sequence modeling. Several studies have demonstrated that these models can outperform popular vision models in various tasks, offering higher accuracy, lower memory consumption, and less computational burden. However, existing Mamba-based models are mostly trained from scratch and do not explore the power of pretraining, which has been proven to be quite effective for data-efficient medical image analysis. This paper introduces a novel Mamba-based model, Swin-UMamba, designed specifically for medical image segmentation tasks, leveraging the advantages of ImageNet-based pretraining. Our experimental results reveal the vital role of ImageNet-based training in enhancing the performance of Mamba-based models. Swin-UMamba demonstrates superior performance with a large margin compared to CNNs, ViTs, and latest Mamba-based models. Notably, on AbdomenMRI, Encoscopy, and Microscopy datasets, Swin-UMamba outperforms its closest counterpart U-Mamba_Enc by an average score of 2.72%.

Motivation & Objective

  • Motivate the need to model long-range dependencies in medical image segmentation beyond local CNN receptive fields and high-cost ViTs.
  • Introduce a Mamba-based encoder with ImageNet-based pretraining adapted for 2D medical images.
  • Design a U-Net–style decoder with enhanced skip connections and deep supervision for accurate segmentation.
  • Propose a lighter Swin-UMamba dagger variant with a Mamba-based decoder for efficiency.
  • Demonstrate the importance of pretraining in enabling data-efficient segmentation with Mamba blocks.

Proposed method

  • Adopt a Mamba-based encoder pretrained on ImageNet to extract multi-scale features for 2D medical images.
  • Use a 2D selective-scan VSS (SS2D) block to handle 2D visual data with long-range dependencies.
  • Share weights with VMamba-Tiny for encoder initialization to leverage ImageNet pretraining.
  • Construct a Swin-UMamba decoder with skip connections and deep supervision in a U-shaped architecture.
  • Provide Swin-UMamba dagger, a lighter decoder variant with patch expanding and reduced parameters/FLOPs.
  • Train with Dice + cross-entropy loss, deep supervision, AdamW, cosine decay, and a staged freezing of pretrained weights.

Experimental results

Research questions

  • RQ1Does ImageNet-based pretraining improve performance of Mamba-based models in medical image segmentation?
  • RQ2How does Swin-UMamba compare to CNN-, ViT-, and other Mamba-based segmentation models across diverse datasets?
  • RQ3Can a Mamba-based decoder (Swin-UMamba dagger) achieve competitive results with fewer parameters and FLOPs?
  • RQ4What is the impact of pretraining on convergence stability and data efficiency in medical segmentation with Mamba blocks?
  • RQ5How well do long-range modeling capabilities of Mamba blocks translate to 2D medical imaging tasks?

Key findings

  • Swin-UMamba and Swin-UMamba dagger outperform CNN-, ViT-, and prior Mamba-based models on AbdomenMRI, Endoscopy, and Microscopy datasets.
  • ImageNet-based pretraining yields significant gains in DSC (around 3.04 percentage points on AbdomenMRI) and NSD (around 4.19 points) for Swin-UMamba.
  • Pretraining enables faster convergence and training stability, with Swin-UMamba requiring far fewer iterations than baselines on AbdomenMRI.
  • Swin-UMamba dagger achieves competitive results with substantially fewer parameters and FLOPs (27M params, 15.0G FLOPs) compared to Swin-UMamba (40M, 58.4G) and U-Mamba variants.
  • On Endoscopy, pretrained Swin-UMamba dagger delivers notable gains (DSC/NSD improvements) over non-pretrained variants, highlighting data-efficiency benefits of pretraining.

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.