MT-UNet
U-shaped Transformer for medical image segmentation built from Mixed Transformer Modules.
Medical imaging · 7,136 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Medical imaging
- Parameters
- 79.1M
- Operations
- 7,136
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- ICASSP 2022
- Cited by
- 19 (as of 29 October 2026)
- Authors
- Hongyi Wang, Shiao Xie, Lanfen Lin and others
- Source
- GitHub: Dootmaan/MT-UNet
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m18250
- Graph hash
- e6cddf355524d32fe270aa3cc56fbb57b76f5d9e2266345b2f13334c9a5cb813
- Skeleton hash
- ba15480d170b1ed59c47e514916f16bea27331944932f9a5d9610c4fbf82ddab
- Architecture hash
- a3ccbde62580f95c3a90d63c9aa7eb205e622389d3bd07fde1f6f648566fae8a
- Diagram SHA-256
- aea25bff3cdafd0b8d0128fc23221c7ece18e02ae665fc072ea54fb64bdc59ca
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
MT-UNet (Mixed Transformer U-Net) is a U-shaped model for medical image segmentation, built from a Transformer module the authors call the Mixed Transformer Module (MTM). The paper's motivation is that U-Net lacks the ability to explicitly model long-range dependencies, while Transformers usually rely on large-scale pre-training and have high computational complexity. It adds that Self-Attention (SA) can only model self-affinities within a single sample, ignoring the potential correlations of the overall dataset.
MTM is meant to learn both kinds of affinity. It first calculates self-affinities with Local-Global Gaussian-Weighted Self-Attention (LGG-SA), then mines inter-connections between data samples through External Attention (EA). The paper tests the method on two public datasets, and the repository links weights for ACDC and Synapse. Its update log reports 79.20% DSC on Synapse and 91.61% DSC on ACDC after further training. The ACDC experiments use the authors' own dataset split.
Key idea. The Mixed Transformer Module pairs Local-Global Gaussian-Weighted Self-Attention within a sample with External Attention across samples, and MT-UNet arranges these modules into a U-shaped segmentation model.
- MT-UNet
- Mixed Transformer U-Net
- MTUNet
- medical image segmentation
- Mixed Transformer Module
- LGG-SA
- External Attention
- Synapse
- ACDC
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2021mixedtransformerunetmedical,
title={Mixed Transformer U-Net For Medical Image Segmentation},
author={Hongyi Wang and Shiao Xie and Lanfen Lin and Yutaro Iwamoto and Xian-Hua Han and Yen-Wei Chen and Ruofeng Tong},
year={2021},
eprint={2111.04734},
archivePrefix={arXiv},
primaryClass={eess.IV},
url={https://arxiv.org/abs/2111.04734},
}