[Paper Review] Transformer-Unet: Raw Image Processing with Unet
This paper introduces TUnet, a network that processes raw images with a Transformer module feeding into a Unet-style decoder, achieving superior segmentation on CT82 pancreas data compared with Unet, Attention Unet, and TransUnet.
Medical image segmentation have drawn massive attention as it is important in biomedical image analysis. Good segmentation results can assist doctors with their judgement and further improve patients' experience. Among many available pipelines in medical image analysis, Unet is one of the most popular neural networks as it keeps raw features by adding concatenation between encoder and decoder, which makes it still widely used in industrial field. In the mean time, as a popular model which dominates natural language process tasks, transformer is now introduced to computer vision tasks and have seen promising results in object detection, image classification and semantic segmentation tasks. Therefore, the combination of transformer and Unet is supposed to be more efficient than both methods working individually. In this article, we propose Transformer-Unet by adding transformer modules in raw images instead of feature maps in Unet and test our network in CT82 datasets for Pancreas segmentation accordingly. We form an end-to-end network and gain segmentation results better than many previous Unet based algorithms in our experiment. We demonstrate our network and show our experimental results in this paper accordingly.
Motivation & Objective
- Motivate improved medical image segmentation by directly processing raw images with Transformer components integrated into a Unet framework.
- Combine global relational modeling of transformers with local feature extraction of Unet to enhance segmentation accuracy on high-resolution CT slices.
Proposed method
- Represent raw images as sequences of patches and apply a ViT-like transformer to these sequences.
- Embed patches with a 1x1 conv, add learnable position embeddings, and apply multiple self-attention and MLP layers with LayerNorm.
- Use an almost symmetric Unet encoder-decoder structure where the transformer output is fed into the decoder via concatenation of multi-scale features.
- Reshape transformer outputs to match Unet decoder input for concatenation and final bilinear upsampling to original resolution.
- Train end-to-end with BCE loss on pixel-wise segmentation.
Experimental results
Research questions
- RQ1Can processing raw CT slices with a Transformer yield improved segmentation compared to feature-map-based Transformer approaches?
- RQ2Does integrating a Transformer directly on raw images with an Unet decoder outperform Unet, Attention Unet, and TransUnet on pancreas segmentation?
- RQ3How do patch size and Unet backbone depth affect TUnet performance and efficiency?
Key findings
- TUnet achieves the highest mIOU and Dice scores among the evaluated models on CT82 pancreas segmentation: mIOU 0.8301, Dice 0.7966.
- TUnet outperforms Unet (mIOU 0.8113, Dice 0.7689) and Attention Unet (mIOU 0.8172, Dice 0.7777) and TransUnet (mIOU 0.7882, Dice 0.7330).
- TUnet provides strong segmentation with good pixel accuracy (0.9983) and favorable recall (0.7676).
- Model size and inference time for TUnet are modestly higher than Unet/Attention Unet but still practical (Params ~548.6MB; Inference ~0.041s).
- Optimal results observed with 16x16 patches; larger patches reduce performance and efficiency; deeper Unet backbones benefit Transformer integration.
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.