MedFormer: hierarchical medical vision transformer with content-aware dual sparse selection attention

<i>Objective</i>. Medical image recognition serves as a key way to aid in clinical diagnosis, enabling more accurate and timely identification of diseases and abnormalities. Vision transformer-based approaches have proven effective in handling various medical recognition tasks. However, these methods encounter two primary challenges. First, they are often task-specific and architecture-tailored, limiting their general applicability. Second, they usually either adopt full attention to model long-range dependencies, resulting in high computational costs, or rely on handcrafted sparse attention, potentially leading to suboptimal performance. To tackle these issues, we present MedFormer, an efficient medical vision transformer with two key ideas.<i>Approach</i>. First, it employs a pyramid scaling structure as a versatile backbone for various medical image recognition tasks, including image classification and dense prediction tasks such as semantic segmentation and lesion detection. This structure facilitates hierarchical feature representation while reducing the computation load of feature maps, highly beneficial for boosting performance. Second, it introduces a novel Dual Sparse Selection Attention (DSSA) with content awareness to improve computational efficiency and robustness against noise while maintaining high performance. As the core building technique of MedFormer, DSSA is designed to explicitly attend to the most relevant content. Theoretical analysis demonstrates that MedFormer outperforms existing medical vision transformers in terms of generality and efficiency.<i>Main results</i>. Extensive experiments across various imaging modality datasets show that MedFormer consistently enhances performance in all three medical image recognition tasks mentioned above.<i>Significance</i>. MedFormer provides an efficient and versatile solution for medical image recognition, with strong potential for clinical application. The code is available onGitHub.

Authors

Institutions

Publication Details

Journal
Physics in Medicine and Biology
Published
2025-09-16
DOI
https://doi.org/10.1088/1361-6560/ae07a1
Citations
5
Primary Topic
Brain Tumor Detection and Classification
Type
article
Field-Weighted Citation Impact
4.21
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MedFormer: hierarchical medical vision transformer with content-aware dual sparse selection attention

Zhenwei Xia, Libin Lan, Hongxing Li
5 citations
Physics in Medicine and Biology
Brain Tumor Detection and Classification
4.21
article

MedFormer: hierarchical medical vision transformer with content-aware dual sparse selection attention

Zhenwei Xia, Libin Lan, Hongxing Li
article en
5 citations

Abstract

<i>Objective</i>. Medical image recognition serves as a key way to aid in clinical diagnosis, enabling more accurate and timely identification of diseases and abnormalities. Vision transformer-based approaches have proven effective in handling various medical recognition tasks. However, these methods encounter two primary challenges. First, they are often task-specific and architecture-tailored, limiting their general applicability. Second, they usually either adopt full attention to model long-range dependencies, resulting in high computational costs, or rely on handcrafted sparse attention, potentially leading to suboptimal performance. To tackle these issues, we present MedFormer, an efficient medical vision transformer with two key ideas.<i>Approach</i>. First, it employs a pyramid scaling structure as a versatile backbone for various medical image recognition tasks, including image classification and dense prediction tasks such as semantic segmentation and lesion detection. This structure facilitates hierarchical feature representation while reducing the computation load of feature maps, highly beneficial for boosting performance. Second, it introduces a novel Dual Sparse Selection Attention (DSSA) with content awareness to improve computational efficiency and robustness against noise while maintaining high performance. As the core building technique of MedFormer, DSSA is designed to explicitly attend to the most relevant content. Theoretical analysis demonstrates that MedFormer outperforms existing medical vision transformers in terms of generality and efficiency.<i>Main results</i>. Extensive experiments across various imaging modality datasets show that MedFormer consistently enhances performance in all three medical image recognition tasks mentioned above.<i>Significance</i>. MedFormer provides an efficient and versatile solution for medical image recognition, with strong potential for clinical application. The code is available onGitHub.

Physics in Medicine and BiologyVol. 70(19)
Chongqing University of Science and Technology (CN), Chongqing University of Technology (CN)
Openalex Percentile: Top 5%
Brain Tumor Detection and Classification
4.21
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.