MEGA Hub

StaticSegFormer: An Efficient High-Performance Semantic Segmentation Based on Static Structured Pruning

Authors

Do you know Timo Bartels?You can claim authorship or link another user.Do you know Danish Nazir?You can claim authorship or link another user.Do you know Jan Piewek?You can claim authorship or link another user.Do you know Thorsten Bagdonat?You can claim authorship or link another user.Do you know Tim Fingscheidt?You can claim authorship or link another user.

Abstract

Structured pruning enhances the efficiency of deep neural networks (DNNs) by eliminating groups of parameters during inference. Previous methods mostly reduce computational complexity (FLOPs), while semantic segmentation performance (mIoU) slightly drops. Accordingly, recent dynamic structured pruning methods aim at reducing the performance drop, while lowering the FLOPs even more. However, on the ADE20K and Cityscapes benchmarks, our study reveals that on a GPU platform such dynamic methods exhibit a surprisingly low frame rate far below a simple static approach, while having comparable results in mIoU and FLOPs. To address this issue, we propose a static structured pruning method for attention layers, that achieves both, a lower FLOPs and a high frame rate [fps] of the SegFormer network, the latter increased by up to 34% relative on the Cityscapes dataset, while having no mIoU performance drop at all. Our so-called StaticSegFormer method is strongest for small encoders and large images.

Community

00