ScaleFormer: Revisiting the Transformer-based Backbones from a Scale-wise Perspective for Medical Image Segmentation

Huimin Huang, Shiao Xie1, Lanfen Lin, Yutaro Iwamoto, Xianhua Han +2 more
7/29/2022
cs.CV

Official code: ZJUGiveLab/ScaleFormer (37 stars, Python, last commit 2022-08-17).

Abstract

Recently, a variety of vision transformers have been developed as their capability of modeling long-range dependency. In current transformer-based backbones for medical image segmentation, convolutional layers were replaced with pure transformers, or transformers were added to the deepest encoder to learn global context.

Show full abstract

However, there are mainly two challenges in a scale-wise perspective: (1) intra-scale problem: the existing methods lacked in extracting local-global cues in each scale, which may impact the signal propagation of small objects; (2) inter-scale problem: the existing methods failed to explore distinctive information from multiple scales, which may hinder the representation learning from objects with widely variable size, shape and location. To address these limitations, we propose a novel backbone, namely ScaleFormer, with two appealing designs: (1) A scale-wise intra-scale transformer is designed to couple the CNN-based local features with the transformer-based global cues in each scale, where the row-wise and column-wise global dependencies can be extracted by a lightweight Dual-Axis MSA. (2) A simple and effective spatial-aware inter-scale transformer is designed to interact among consensual regions in multiple scales, which can highlight the cross-scale dependency and resolve the complex scale variations. Experimental results on different benchmarks demonstrate that our Scale-Former outperforms the current state-of-the-art methods. The code is publicly available at: https://github.com/ZJUGiveLab/ScaleFormer.

View on arXivView PDF

Code Implementations(1)

376PythonApr 29, 20224 years ago

Similar Papers

Cite this paper

@article{huang2022scaleformer,
  title  = {ScaleFormer: Revisiting the Transformer-based Backbones from a Scale-wise Perspective for Medical Image Segmentation},
  author = {Huimin Huang and Shiao Xie1 and Lanfen Lin and Yutaro Iwamoto and Xianhua Han and Yen-Wei Chen and Ruofeng Tong},
  year   = {2022},
  eprint = {2207.14552},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.14552}
}

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

Discussion