LeViT-UNet: Make Faster Encoders with Transformer for Medical Image Segmentation

Guoping Xu, Xingrong Wu, Xuan Zhang, Xinwei He
7/19/2021
335 citations
cs.CV
transformer-attention

Official code: apple1986/LeViT-UNet (39 stars, Python, MIT, last commit 2025-10-29).

Abstract

Medical image segmentation plays an essential role in developing computer-assisted diagnosis and therapy systems, yet still faces many challenges. In the past few years, the popular encoder-decoder architectures based on CNNs (e.g., U-Net) have been successfully applied in the task of medical image segmentation.

Show full abstract

However, due to the locality of convolution operations, they demonstrate limitations in learning global context and long-range spatial relations. Recently, several researchers try to introduce transformers to both the encoder and decoder components with promising results, but the efficiency requires further improvement due to the high computational complexity of transformers. In this paper, we propose LeViT-UNet, which integrates a LeViT Transformer module into the U-Net architecture, for fast and accurate medical image segmentation. Specifically, we use LeViT as the encoder of the LeViT-UNet, which better trades off the accuracy and efficiency of the Transformer block. Moreover, multi-scale feature maps from transformer blocks and convolutional blocks of LeViT are passed into the decoder via skip-connection, which can effectively reuse the spatial information of the feature maps. Our experiments indicate that the proposed LeViT-UNet achieves better performance comparing to various competing methods on several challenging medical image segmentation benchmarks including Synapse and ACDC. Code and models will be publicly available at https://github.com/apple1986/LeViT_UNet.

View on arXivView PDF

Code Implementations(1)

MIT

For medical image segmentation

396PythonJul 5, 20211 years agoMIT

Similar Papers

Cite this paper

@article{xu2021levitunet,
  title  = {LeViT-UNet: Make Faster Encoders with Transformer for Medical Image Segmentation},
  author = {Guoping Xu and Xingrong Wu and Xuan Zhang and Xinwei He},
  year   = {2021},
  eprint = {2107.08623},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.08623}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.08623.svg)](https://codeofpaper.com/paper/2107.08623)

Discussion