[Paper Review] Swin SMT: Global Sequential Modeling in 3D Medical Image Segmentation
Swin SMT proposes a 3D medical image segmentation model that enhances global sequential modeling in whole-body CT scans by integrating Soft Mixture-of-Experts (Soft MoE) into the Swin Transformer encoder. This enables effective handling of diverse long-range dependencies across varying anatomical scales and intensities, achieving a state-of-the-art mean Dice Similarity Coefficient of 85.09% on the TotalSegmentator-V2 dataset while balancing computational efficiency.
Recent advances in Vision Transformers (ViTs) have significantly enhanced medical image segmentation by facilitating the learning of global relationships. However, these methods face a notable challenge in capturing diverse local and global long-range sequential feature representations, particularly evident in whole-body CT (WBCT) scans. To overcome this limitation, we introduce Swin Soft Mixture Transformer (Swin SMT), a novel architecture based on Swin UNETR. This model incorporates a Soft Mixture-of-Experts (Soft MoE) to effectively handle complex and diverse long-range dependencies. The use of Soft MoE allows for scaling up model parameters maintaining a balance between computational complexity and segmentation performance in both training and inference modes. We evaluate Swin SMT on the publicly available TotalSegmentator-V2 dataset, which includes 117 major anatomical structures in WBCT images. Comprehensive experimental results demonstrate that Swin SMT outperforms several state-of-the-art methods in 3D anatomical structure segmentation, achieving an average Dice Similarity Coefficient of 85.09%. The code and pre-trained weights of Swin SMT are publicly available at https://github.com/MI2DataLab/SwinSMT.
Motivation & Objective
- To address the challenge of modeling complex, diverse long-range dependencies in whole-body CT (WBCT) scans, especially for structures like ribs and vertebrae with varying scales and intensities.
- To improve global sequential modeling in Vision Transformers (ViTs) for 3D medical image segmentation, overcoming limitations of windowed self-attention in standard Swin blocks.
- To introduce and evaluate Soft Mixture-of-Experts (Soft MoE) as a novel mechanism for scalable, efficient, and high-performance feature representation in 3D segmentation.
- To establish the first comprehensive benchmark on the publicly available TotalSegmentator-V2 dataset, covering 117 anatomical structures in WBCT scans.
Proposed method
- The model is built upon Swin UNETR, replacing the feedforward network (FFN) in each Swin ViT block with a Soft Mixture-of-Experts (Soft MoE) module to enable dynamic, weighted aggregation of multiple expert representations.
- Soft MoE computes a weighted average over sequence elements using routing heads, allowing the model to selectively emphasize the most relevant features for long-range dependencies without increasing computational cost during inference.
- The Stem layer partitions the 3D CT scan into non-overlapping 2×2×2 patches and projects them into a sequence of embedded tokens using a linear projection layer.
- Skip connections from the encoder’s multi-scale features are used to guide the CNN-based decoder, preserving spatial details for precise segmentation.
- The architecture maintains the Swin Transformer’s shifted window multi-head self-attention (SW-MSA) mechanism for local modeling, while Soft MoE enhances global context learning across the entire volume.
- The model is trained and evaluated on the TotalSegmentator-V2 dataset, with inference performed using a sliding window strategy on 128×128×128 patches.
Experimental results
Research questions
- RQ1Can Soft Mixture-of-Experts (Soft MoE) effectively improve global sequential modeling in 3D medical image segmentation, particularly for complex, multi-scale anatomical structures in whole-body CT scans?
- RQ2How does the number of experts in the Soft MoE module affect segmentation performance and computational efficiency in 3D ViT-based models?
- RQ3Does integrating Soft MoE into the Swin Transformer block lead to significant performance gains over standard Swin UNETR and other state-of-the-art methods on the TotalSegmentator-V2 benchmark?
- RQ4How does the model perform on sub-volumes (partial scans) versus full-body scans, and what role does contextual information play in segmentation accuracy?
Key findings
- Swin SMT achieves a mean Dice Similarity Coefficient (DSC) of 85.09% on the TotalSegmentator-V2 test set, outperforming several state-of-the-art methods.
- The ablation study shows that increasing the number of experts from 4 to 32 improves DSC from 83.73% to 85.09%, with statistical significance (p < 0.05) for all configurations beyond the baseline.
- The model with 32 experts (170.78M parameters) achieves the highest performance, demonstrating that Soft MoE enables effective parameter scaling without proportional computational cost increase.
- Swin SMT is 1.33 to 5.0 times faster than the next best-performing models (e.g., 3D RepUX-Net, Swin UNETR-L, nnU-Net), while maintaining a high mean DSC of 85.09%.
- The model shows robust performance on full-body scans but struggles on partial sub-volumes due to lack of contextual information, particularly for context-dependent structures like vertebrae and ribs.
- Qualitative analysis reveals that even when per-scan DSC exceeds 90%, errors can occur in complex anatomical regions, highlighting the need for improved context modeling in sub-volumes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.