[Paper Review] Mixed Transformer U-Net For Medical Image Segmentation
This paper introduces MT-UNet, a Mixed Transformer Module (MTM) that combines Local-Global Gaussian-Weighted Self-Attention and External Attention to model intra- and inter-sample correlations, yielding improved medical image segmentation without pre-training.
Though U-Net has achieved tremendous success in medical image segmentation tasks, it lacks the ability to explicitly model long-range dependencies. Therefore, Vision Transformers have emerged as alternative segmentation structures recently, for their innate ability of capturing long-range correlations through Self-Attention (SA). However, Transformers usually rely on large-scale pre-training and have high computational complexity. Furthermore, SA can only model self-affinities within a single sample, ignoring the potential correlations of the overall dataset. To address these problems, we propose a novel Transformer module named Mixed Transformer Module (MTM) for simultaneous inter- and intra- affinities learning. MTM first calculates self-affinities efficiently through our well-designed Local-Global Gaussian-Weighted Self-Attention (LGG-SA). Then, it mines inter-connections between data samples through External Attention (EA). By using MTM, we construct a U-shaped model named Mixed Transformer U-Net (MT-UNet) for accurate medical image segmentation. We test our method on two different public datasets, and the experimental results show that the proposed method achieves better performance over other state-of-the-art methods. The code is available at: https://github.com/Dootmaan/MT-UNet.
Motivation & Objective
- Address the lack of long-range dependency modeling in CNN-based U-Nets for medical imaging.
- Propose a transformer module that handles intra- and inter-sample affinities efficiently.
- Incorporate structure priors via a convolution stem to reduce the need for pre-training.
- Demonstrate state-of-the-art segmentation performance on public datasets without pre-training.
Proposed method
- Introduce Mixed Transformer Module (MTM) combining Local-Global Gaussian-Weighted Self-Attention (LGG-SA) and External Attention (EA).
- LGG-SA performs sequential local self-attention on fine-grained context and global attention on coarse-grained context with a learnable Gaussian mask.
- Use Axial Attention to reduce global attention computation and introduce a learnable Gaussian matrix to emphasize nearby tokens.
- In MTM, apply Local SA and Global SA in deeper, lower-resolution layers to reduce cost, while upper layers use standard convolutional processing.
- Employ External Attention to model inter-sample correlations using shared memory units across the dataset.
- Train MT-UNet from scratch without pre-training, using a Convolution Stem for shallow layers to inject structure priors.
Experimental results
Research questions
- RQ1Can MTM learn inter- and intra-sample affinities effectively for medical image segmentation?
- RQ2Does LGG-SA provide a favorable balance of local/detail and global context with lower computation than vanilla self-attention?
- RQ3Does External Attention improve cross-sample information utilization without prohibitive complexity?
- RQ4How does MT-UNet perform against state-of-the-art Transformers and CNN-based methods on public medical segmentation datasets?
- RQ5Is the model capable of achieving high accuracy without pre-training on medical imaging tasks?
Key findings
- MT-UNet achieves state-of-the-art performance on two public datasets, surpassing several vision transformers and CNN-based methods.
- Ablation shows removing Local SA, Global SA, or EA degrades performance, and Gaussian masking is beneficial.
- MTM with all components (LGG-SA and EA) obtains DSC of 90.43% and HD95 of 2.23 mm on the ACDC dataset.
- On Synapse, MT-UNet reaches 78.59% DSC and 26.59 mm HD95; MTM variants underperform compared to full MT-UNet.
- MT-UNet maintains lower time complexity (O(n√n)) than full self-attention while delivering improved segmentation results.
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.