HiFormer: Hierarchical Multi-scale Representations Using Transformers for Medical Image Segmentation

Moein Heidari, Amirhossein Kazerouni, Milad Soltany, Reza Azad, Ehsan Khodapanah Aghdam +2 more
7/18/2022
cs.CVcs.AI

Official code: amirhossein-kz/HiFormer (147 stars, MIT, last commit 2024-03-22).

Abstract

Convolutional neural networks (CNNs) have been the consensus for medical image segmentation tasks. However, they suffer from the limitation in modeling long-range dependencies and spatial correlations due to the nature of convolution operation. Although transformers were first developed to address this issue, they fail to capture low-level features. In contrast, it is demonstrated that both local and global features are crucial for dense prediction, such as segmenting in challenging contexts. In this paper, we propose HiFormer, a novel method that efficiently bridges a CNN and a transformer for medical image segmentation. Specifically, we design two multi-scale feature representations using the seminal Swin Transformer module and a CNN-based encoder. To secure a fine fusion of global and local features obtained from the two aforementioned representations, we propose a Double-Level Fusion (DLF) module in the skip connection of the encoder-decoder structure. Extensive experiments on various medical image segmentation datasets demonstrate the effectiveness of HiFormer over other CNN-based, transformer-based, and hybrid methods in terms of computational complexity, and quantitative and qualitative results. Our code is publicly available at: https://github.com/amirhossein-kz/HiFormer

View on arXivView PDF

Code Implementations(1)

MIT

HiFormer: Hierarchical Multi-scale Representations Using Transformers for Medical Image Segmentation (WACV 2023)

14722Python, Jupyter NotebookMay 3, 20222 years agoMIT
cell-segmenationcell-segmentationmedical-image-segmentationmulti-organ-segmentationsegpc+3 more

Similar Papers

Cite this paper

@article{heidari2022hiformer,
  title  = {HiFormer: Hierarchical Multi-scale Representations Using Transformers for Medical Image Segmentation},
  author = {Moein Heidari and Amirhossein Kazerouni and Milad Soltany and Reza Azad and Ehsan Khodapanah Aghdam and Julien Cohen-Adad and Dorit Merhof},
  year   = {2022},
  eprint = {2207.08518},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.08518v2}
}

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/2207.08518.svg)](https://codeofpaper.com/paper/2207.08518)

Discussion