Head-Free Lightweight Semantic Segmentation with Linear Transformer
摘要
Existing semantic segmentation works have been mainly focused on designing effective decoders; however, the computational load introduced by the overall structure has long been ignored, which hinders their applications on resourceconstrained hardwares. In this paper, we propose a head-free lightweight architecture specifically for semantic segmentation, named Adaptive Frequency Transformer (AFFormer). AFFormer adopts a parallel architecture to leverage prototype representations as specific learnable local descriptions which replaces the decoder and preserves the rich image semantics on high-resolution features. Although removing the decoder compresses most of the computation, the accuracy of the parallel structure is still limited by low computational resources. Therefore, we employ heterogeneous operators (CNN and Vision Transformer) for pixel embedding and prototype representations to further save computational costs. Moreover, it is very difficult to linearize the complexity of the vision Transformer from the perspective of spatial domain. Due to the fact that semantic segmentation is very sensitive to frequency information, we construct a lightweight prototype learning block with adaptive frequency filter of complexity O(n) to replace standard self attention with O(n 2 ). Extensive experiments on widely adopted datasets demonstrate that AFFormer achieves superior accuracy while retaining only 3M parameters. On the ADE20K dataset, AFFormer achieves 41.8 mIoU and 4.6 GFLOPs, which is 4.4 mIoU higher than Segformer, with 45% less GFLOPs. On the Cityscapes dataset, AFFormer achieves 78.7 mIoU and 34.4 GFLOPs, which is 2.5 mIoU higher than Segformer with 72.5% less GFLOPs. Code is available at https://github.com/dongbo811/AFFormer .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Per-Pixel Classification is Not All You Need for Semantic Segmentation 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- CoSW: Conditional Sample Weighting for Smoke Segmentation with Label Noise 引用了 SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- Towards Effective Waste Segmentation for Automated Waste Recycling in Cluttered Background 引用了 SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- SSA-Seg: Semantic and Spatial Adaptive Pixel-level Classifier for Semantic Segmentation 引用了 Per-Pixel Classification is Not All You Need for Semantic Segmentation
- SSA-Seg: Semantic and Spatial Adaptive Pixel-level Classifier for Semantic Segmentation 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- SSA-Seg: Semantic and Spatial Adaptive Pixel-level Classifier for Semantic Segmentation 引用了 SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
- SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
引用它的顶会 Paper4
- ESNet: Evolution and Succession Network for High-Resolution Salient Object DetectionHongyu Liu, Runmin Cong, Hua Li, Qianqian Xu 等ICML 2024 · 7 次引用
- CoSW: Conditional Sample Weighting for Smoke Segmentation with Label NoiseLujian Yao, Haitao Zhao, Zhongze Wang, Kaijie Zhao 等NeurIPS 2024 · 3 次引用
- Towards Effective Waste Segmentation for Automated Waste Recycling in Cluttered BackgroundMamoona Javaid, Mubashir Noman, Abdul Hannan, Shah Nawaz 等ICML 2026
- SSA-Seg: Semantic and Spatial Adaptive Pixel-level Classifier for Semantic SegmentationXiaowen Ma, Zhenliang Ni, Xinghao ChenNeurIPS 2024
它引用的 Paper19
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
- SegFormer: Simple and Efficient Design for Semantic Segmentation with TransformersEnze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar 等NeurIPS 2021 · 9,661 次引用
- Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li 等ICLR 2021 · 7,353 次引用
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan 等ICCV 2021 · 4,909 次引用
- Per-Pixel Classification is Not All You Need for Semantic SegmentationBowen Cheng, Alexander G. Schwing, Alexander KirillovNeurIPS 2021 · 2,196 次引用
相关 Paper
- FeedFormer: Revisiting Transformer Decoder for Efficient Semantic SegmentationJae-hun Shim, Hyunwoo Yu, Kyeongbo Kong, Suk-Ju KangAAAI 2023 · 62 次引用
- RTFormer: Efficient Design for Real-Time Semantic Segmentation with TransformerJian Wang, Chenhui Gou, Qiman Wu, Haocheng Feng 等NeurIPS 2022 · 207 次引用
- SegNeXt: Rethinking Convolutional Attention Design for Semantic SegmentationMeng-Hao Guo, Cheng-Ze Lu, Qibin Hou, Zhengning Liu 等NeurIPS 2022 · 1,385 次引用
- Inception TransformerChenyang Si, Weihao Yu, Pan Zhou, Yichen Zhou 等NeurIPS 2022 · 24 次引用
- PEM: Prototype-Based Efficient MaskFormer for Image SegmentationNiccolò Cavagnero, Gabriele Rosi, Claudia Cuttano, Francesca Pistilli 等CVPR 2024
