TCSAFormer: Efficient Vision Transformer with Token Compression and Sparse Attention for Medical Image Segmentation
Zunhui XiaHongxing LiLibin Lan
Zunhui Xia
Hongxing Li
Libin Lan
+3
TCSAFormer is an efficient vision transformer for medical image segmentation that reduces computational complexity while preserving accuracy. It introduces a Compressed Attention (CA) module that prunes globally irrelevant tokens and merges redundant ones, combined with pixel-level sparse attention, to dynamically focus on the most relevant key-value pairs for each query. It also replaces the standard feed-forward network with a Dual-Branch Feed-Forward Network (DBFFN) to capture local contextual features and multiscale information. On ISIC-2018, CVC-ClinicDB, and Synapse datasets, TCSAFormer outperforms state-of-the-art methods with lower computational overhead, achieving an optimal efficiency-accuracy trade-off.

arXiv ·
· August 6, 2025