mlsanityData to 7 Oct 2026

The Lighter The Better: Rethinking Transformers in Medical Image Segmentation Through Adaptive Pruning

arXiv 2206.14413 ↗First posted 29 Jun 2022cs.CV cs.AIcited by 9

Not on the map. Why?

Abstract (arXiv)

Vision transformers have recently set off a new wave in the field of medical image analysis due to their remarkable performance on various computer vision tasks. However, recent hybrid-/transformer-based approaches mainly focus on the benefits of transformers in capturing long-range dependency while ignoring the issues of their daunting computational complexity, high training costs, and redundant dependency. In this paper, we propose to employ adaptive pruning to transformers for medical image segmentation and propose a lightweight and effective hybrid network APFormer. To our best knowledge, this is the first work on transformer pruning for medical image analysis tasks. The key features of APFormer mainly are self-supervised self-attention (SSA) to improve the convergence of dependency establishment, Gaussian-prior relative position embedding (GRPE) to foster the learning of position information, and adaptive pruning to eliminate redundant computations and perception information. Specifically, SSA and GRPE consider the well-converged dependency distribution and the Gaussian heatmap distribution separately as the prior knowledge of self-attention and position embedding to ease the training of transformers and lay a solid foundation for the following pruning operation. Then, adaptive transformer pruning, both query-wise and dependency-wise, is performed by adjusting the gate control parameters for both complexity reduction and performance improvement. Extensive experiments on two widely-used datasets demonstrate the prominent segmentation performance of APFormer against the state-of-the-art methods with much fewer parameters and lower GFLOPs. More importantly, we prove, through ablation studies, that adaptive pruning can work as a plug-n-play module for performance improvement on other hybrid-/transformer-based methods. Code is available at https://github.com/xianlin7/APFormer.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 45 of its 58 references that are in the map. First posted on arXiv 29 Jun 2022.

Builds on

45 of 58 references.

References · 45

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  5. 2020End-to-End Object Detection with Transformerscited by 7,384
  6. 2021TransUNet: Transformers Make Strong Encoders for Medical Image Segmentationcited by 1,552
  7. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
  8. 2021Swin-Unet: Unet-like Pure Transformer for Medical Image Segmentationcited by 1,218
  9. 2021UNETR: Transformers for 3D Medical Image Segmentationcited by 954
  10. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
  11. 2019Skin Lesion Analysis Toward Melanoma Detection 2018: A Challenge Hosted by the International Skin Imaging Collaboration (ISIC)cited by 657
  12. 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
33 more
  1. 2021Bottleneck Transformers for Visual Recognitioncited by 364
  2. 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 360
  3. 2021Medical Transformer: Gated Axial-Attention for Medical Image Segmentationcited by 319
  4. 2021DeepViT: Towards Deeper Vision Transformercited by 288
  5. 2018Attention Gated Networks: Learning to Leverage Salient Regions in Medical Imagescited by 271
  6. 2021TransBTS: Multimodal Brain Tumor Segmentation Using Transformercited by 265
  7. 2021TransFuse: Fusing Transformers and CNNs for Medical Image Segmentationcited by 258
  8. 2021CoTr: Efficiently Bridging CNN and Transformer for 3D Medical Image Segmentationcited by 227
  9. 2019CE-Net: Context Encoder Network for 2D Medical Image Segmentationcited by 219
  10. 2021IA-RED2: Interpretability-Aware Redundancy Reduction for Vision Transformerscited by 127
  11. 2021DS-TransUNet:Dual Swin Transformer U-Net for Medical Image Segmentationcited by 126
  12. 2021UTNet: A Hybrid Transformer Architecture for Medical Image Segmentationcited by 116
  13. 2021Are Convolutional Neural Networks or Transformers more like human vision?cited by 109
  14. 2021MISSFormer: An Effective Medical Image Segmentation Transformercited by 103
  15. 2021Mixed Transformer U-Net For Medical Image Segmentationcited by 95
  16. 2021LeViT-UNet: Make Faster Encoders with Transformer for Medical Image Segmentationcited by 85
  17. 2020CA-Net: Comprehensive Attention Convolutional Neural Networks for Explainable Medical Image Segmentationcited by 79
  18. 2021Vision Transformer Pruningcited by 77
  19. 2021TransAttUnet: Multi-level Attention-guided U-Net with Transformer for Medical Image Segmentationcited by 60
  20. 2021Convolution-Free Medical Image Segmentation using Transformerscited by 49
  21. 2021Vision Transformers with Patch Diversificationcited by 45
  22. 2022A Data-scalable Transformer for Medical Image Segmentation: Architecture, Model Efficiency, and Benchmarkcited by 45
  23. 2021Multi-Compound Transformer for Accurate Biomedical Image Segmentationcited by 42
  24. 2021TransClaw U-Net: Claw U-Net with Transformers for Medical Image Segmentationcited by 41
  25. 2022Transformers in Medical Image Analysis: A Reviewcited by 41
  26. 2021Boundary-aware Transformers for Skin Lesion Segmentationcited by 39
  27. 2022D-Former: A U-shaped Dilated Transformer for 3D Medical Image Segmentationcited by 35
  28. 2022The Principle of Diversity: Training Stronger Vision Transformers Calls for Reducing All Levels of Redundancycited by 35
  29. 2022Class-Aware Adversarial Transformers for Medical Image Segmentationcited by 33
  30. 2022Contextual Attention Network: Transformer Meets U-Netcited by 33
  31. 2019Multi-label Co-regularization for Semi-supervised Facial Action Unit Recognitioncited by 26
  32. 2021More than Encoder: Introducing Transformer Decoder to Upsamplecited by 26
  33. 2021SpecTr: Spectral Transformer for Hyperspectral Pathology Image Segmentationcited by 23

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 1; 2024: 2; 2025: 2; 2026: 3.

9 papers.