Dynamically pruning segformer for efficient semantic segmentation
Not on the map. Why?
Abstract (arXiv)
As one of the successful Transformer-based models in computer vision tasks, SegFormer demonstrates superior performance in semantic segmentation. Nevertheless, the high computational cost greatly challenges the deployment of SegFormer on edge devices. In this paper, we seek to design a lightweight SegFormer for efficient semantic segmentation. Based on the observation that neurons in SegFormer layers exhibit large variances across different images, we propose a dynamic gated linear layer, which prunes the most uninformative set of neurons based on the input instance. To improve the dynamically pruned SegFormer, we also introduce two-stage knowledge distillation to transfer the knowledge within the original teacher to the pruned student network. Experimental results show that our method can significantly reduce the computation overhead of SegFormer without an apparent performance drop. For instance, we can achieve 36.9% mIoU with only 3.3G FLOPs on ADE20K, saving more than 60% computation with the drop of only 0.5% in mIoU
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 21 of its 23 references that are in the map. First posted on arXiv 18 Nov 2021.
Builds on
21 of 23 references.
References · 21
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
- 2016Pyramid Scene Parsing Networkcited by 2,472
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
9 more
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
- 2017Learning Efficient Convolutional Networks through Network Slimmingcited by 673
- 2019Segmentation Transformer: Object-Contextual Representations for Semantic Segmentationcited by 573
- 2018Context Encoding for Semantic Segmentationcited by 289
- 2017ICNet for Real-Time Semantic Segmentation on High-Resolution Imagescited by 261
- 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 175
- 2020How Much Position Information Do Convolutional Neural Networks Encode?cited by 171
- 2018Dynamic Channel Pruning: Feature Boosting and Suppressioncited by 129
Built on by
Citing papers per year: 2022: 2; 2023: 1; 2024: 3; 2025: 6; 2026: 1.
13 papers.
Sort:
By area:
- 2025Vision Transformers on the Edge: A Comprehensive Survey of Model Compression and Acceleration Strategiescited by 24
- 2022TransKD: Transformer Knowledge Distillation for Efficient Semantic Segmentationcited by 17
- 2024HyperspectralViTs: General Hyperspectral Models for On-board Remote Sensingcited by 11
- 2024Segformer++: Efficient Token-Merging Strategies for High-Resolution Semantic Segmentationcited by 9
- 2023WHC: Weighted Hybrid Criterion for Filter Pruning on Convolutional Neural Networkscited by 6
- 2022Class Based Thresholding in Early Exit Semantic Segmentation Networkscited by 5
- 2025DUDA: Distilled Unsupervised Domain Adaptation for Lightweight Semantic Segmentationcited by 3
- 2024Comb, Prune, Distill: Towards Unified Pruning for Vision Model Compressioncited by 1
- 2025Optimization of DNN-based HSI Segmentation FPGA-based SoC for ADS: A Practical Approachcited by 1
- 2025TSLA: A Task-Specific Learning Adaptation for Semantic Segmentation on Autonomous Vehicles Platformcited by 1
- 2025Enabling Plant Phenotyping in Weedy Environments using Multi-Modal Imagery via Synthetic and Generated Training Datacited by 0
- 2025ArmFormer: Lightweight Transformer Architecture for Real-Time Multi-Class Weapon Segmentation and Classificationcited by 0
- 2026StaticSegFormer: An Efficient High-Performance Semantic Segmentation Based on Static Structured Pruning5 Aug 2026
- 2025ArmFormer: Lightweight Transformer Architecture for Real-Time Multi-Class Weapon Segmentation and Classification19 Oct 2025
- 2025Enabling Plant Phenotyping in Weedy Environments using Multi-Modal Imagery via Synthetic and Generated Training Data23 Sep 2025
- 2025TSLA: A Task-Specific Learning Adaptation for Semantic Segmentation on Autonomous Vehicles Platform17 Aug 2025
- 2025Optimization of DNN-based HSI Segmentation FPGA-based SoC for ADS: A Practical Approach22 Jul 2025
- 2025DUDA: Distilled Unsupervised Domain Adaptation for Lightweight Semantic Segmentation14 Apr 2025
- 2025Vision Transformers on the Edge: A Comprehensive Survey of Model Compression and Acceleration Strategies26 Feb 2025
- 2024HyperspectralViTs: General Hyperspectral Models for On-board Remote Sensing22 Oct 2024
- 2024Comb, Prune, Distill: Towards Unified Pruning for Vision Model Compression6 Aug 2024
- 2024Segformer++: Efficient Token-Merging Strategies for High-Resolution Semantic Segmentation23 May 2024
- 2023WHC: Weighted Hybrid Criterion for Filter Pruning on Convolutional Neural Networks16 Feb 2023
- 2022Class Based Thresholding in Early Exit Semantic Segmentation Networks27 Oct 2022
1 more
- 2025Vision Transformers on the Edge: A Comprehensive Survey of Model Compression and Acceleration Strategiescited by 24
- 2022TransKD: Transformer Knowledge Distillation for Efficient Semantic Segmentationcited by 17
- 2024HyperspectralViTs: General Hyperspectral Models for On-board Remote Sensingcited by 11
- 2023WHC: Weighted Hybrid Criterion for Filter Pruning on Convolutional Neural Networkscited by 6
- 2025DUDA: Distilled Unsupervised Domain Adaptation for Lightweight Semantic Segmentationcited by 3
- 2024Comb, Prune, Distill: Towards Unified Pruning for Vision Model Compressioncited by 1
- 2025Optimization of DNN-based HSI Segmentation FPGA-based SoC for ADS: A Practical Approachcited by 1
- 2025TSLA: A Task-Specific Learning Adaptation for Semantic Segmentation on Autonomous Vehicles Platformcited by 1
- 2025Enabling Plant Phenotyping in Weedy Environments using Multi-Modal Imagery via Synthetic and Generated Training Datacited by 0
- 2025ArmFormer: Lightweight Transformer Architecture for Real-Time Multi-Class Weapon Segmentation and Classificationcited by 0
- 2026StaticSegFormer: An Efficient High-Performance Semantic Segmentation Based on Static Structured Pruningcited by 0
- 2026StaticSegFormer: An Efficient High-Performance Semantic Segmentation Based on Static Structured Pruning5 Aug 2026
- 2025ArmFormer: Lightweight Transformer Architecture for Real-Time Multi-Class Weapon Segmentation and Classification19 Oct 2025
- 2025Enabling Plant Phenotyping in Weedy Environments using Multi-Modal Imagery via Synthetic and Generated Training Data23 Sep 2025
- 2025TSLA: A Task-Specific Learning Adaptation for Semantic Segmentation on Autonomous Vehicles Platform17 Aug 2025
- 2025Optimization of DNN-based HSI Segmentation FPGA-based SoC for ADS: A Practical Approach22 Jul 2025
- 2025DUDA: Distilled Unsupervised Domain Adaptation for Lightweight Semantic Segmentation14 Apr 2025
- 2025Vision Transformers on the Edge: A Comprehensive Survey of Model Compression and Acceleration Strategies26 Feb 2025
- 2024HyperspectralViTs: General Hyperspectral Models for On-board Remote Sensing22 Oct 2024
- 2024Comb, Prune, Distill: Towards Unified Pruning for Vision Model Compression6 Aug 2024
- 2023WHC: Weighted Hybrid Criterion for Filter Pruning on Convolutional Neural Networks16 Feb 2023
- 2022TransKD: Transformer Knowledge Distillation for Efficient Semantic Segmentation27 Feb 2022