Dynamically pruning segformer for efficient semantic segmentation

11/18/2021
by   Haoli Bai, et al.
0

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 than 60

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/07/2022

Distilling Inter-Class Distance for Semantic Segmentation

Knowledge distillation is widely adopted in semantic segmentation to red...
research
07/13/2022

SlimSeg: Slimmable Semantic Segmentation with Boundary Supervision

Accurate semantic segmentation models typically require significant comp...
research
08/03/2022

SSformer: A Lightweight Transformer for Semantic Segmentation

It is well believed that Transformer performs better in semantic segment...
research
02/20/2023

Hadamard Layer to Improve Semantic Segmentation

The Hadamard Layer, a simple and computationally efficient way to improv...
research
01/30/2023

SeaFormer: Squeeze-enhanced Axial Transformer for Mobile Semantic Segmentation

Since the introduction of Vision Transformers, the landscape of many com...
research
10/27/2022

Class Based Thresholding in Early Exit Semantic Segmentation Networks

We propose Class Based Thresholding (CBT) to reduce the computational co...
research
05/08/2023

OSTA: One-shot Task-adaptive Channel Selection for Semantic Segmentation of Multichannel Images

Semantic segmentation of multichannel images is a fundamental task for m...

Please sign up or login with your details

Forgot password? Click here to reset