MobileUNETR
Lightweight hybrid CNN-Transformer encoder-decoder for skin lesion segmentation.
Medical imaging · 912 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
- 3M
- Operations
- 912
- Framework
- PyTorch
- Recurrent
- No
- Published
- ECCV 2024 Workshops (BioImage Computing)
- Cited by
- 14 (as of 28 October 2026)
- Authors
- Shehan Perera, Yunus Erzurumlu, Deepak Gulati, Alper Yilmaz
- 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
- m18493
- Graph hash
- 1dfa10724714e72cbae2233fbd71c9e03827b9cbcc6911e4e2e17095e0c1750d
- Skeleton hash
- ba3f9c56c16b1c0df271cd6027cc6008107efe0aa6bcc36341ac2f20044bf19a
- Architecture hash
- 69a28a00a1a7f39a547125b4ea538be129c228cc1a5c6d687e7a3b0e9d13fe62
- Diagram SHA-256
- 213f7bb0f3427a9a3f4f51300f594836a0147ac3920287f5bf7cf258e939778c
- 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
MobileUNETR is a lightweight segmentation network for medical images, evaluated in its paper on skin lesion segmentation. The paper argues that CNN-based solutions lack global contextual understanding, that large Transformer models add model size and computational complexity, and that many Transformer approaches still rely on CNN based decoders.
The encoder has two stages: CNN based local feature extraction and downsampling, then hybrid Transformer/CNN based local and global representation learning. MobileNet downsampling blocks handle the low-level stage, and the MobileViT block then applies depth-wise separable convolution, unfolds the tensor into non-overlapping flattened patches and applies self attention layers. The decoder performs three operations at each stage: it upsamples the previous feature map with transpose convolutions, refines it locally with the respective skip connections, and then applies Transformer/CNN hybrid layers for long-range global context.
The paper reports 3 million parameters and a computational complexity of 1.3 GFLOP for MobileUNETR, with the decoder module at 1.5 million parameters. Experiments cover the ISIC 2016, ISIC 2017, ISIC 2018 and PH2 datasets. The repository builds the model in three sizes, through build_mobileunetr_s, build_mobileunetr_xs and build_mobileunetr_xxs.
Key idea. MobileUNETR pairs a lightweight hybrid CNN-Transformer encoder with a hybrid decoder that uses low-level and global features at different resolutions to generate the segmentation mask.
- MobileUNETR
- lightweight medical image segmentation
- skin lesion segmentation
- hybrid vision transformer
- CNN-Transformer encoder
- hybrid decoder
- ISIC 2016
- PH2 dataset
- skin cancer segmentation
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{perera2024mobileunetrlightweightendtoendhybrid,
title={MobileUNETR: A Lightweight End-To-End Hybrid Vision Transformer For Efficient Medical Image Segmentation},
author={Shehan Perera and Yunus Erzurumlu and Deepak Gulati and Alper Yilmaz},
year={2024},
eprint={2409.03062},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2409.03062},
}