SegNeXt: Rethinking Convolutional Attention Design for Semantic Segmentation

Meng-Hao Guo, Cheng-Ze Lu, Qibin Hou, Zhengning Liu, Ming-Ming Cheng +1 more
9/18/2022
cs.CV

Official code: Visual-Attention-Network/SegNeXt (895 stars, Apache-2.0, last commit 2022-11-22). 1 more implementation below.

Abstract

We present SegNeXt, a simple convolutional network architecture for semantic segmentation. Recent transformer-based models have dominated the field of semantic segmentation due to the efficiency of self-attention in encoding spatial information. In this paper, we show that convolutional attention is a more efficient and effective way to encode contextual information than the self-attention mechanism in transformers. By re-examining the characteristics owned by successful segmentation models, we discover several key components leading to the performance improvement of segmentation models. This motivates us to design a novel convolutional attention network that uses cheap convolutional operations. Without bells and whistles, our SegNeXt significantly improves the performance of previous state-of-the-art methods on popular benchmarks, including ADE20K, Cityscapes, COCO-Stuff, Pascal VOC, Pascal Context, and iSAID. Notably, SegNeXt outperforms EfficientNet-L2 w/ NAS-FPN and achieves 90.6% mIoU on the Pascal VOC 2012 test leaderboard using only 1/10 parameters of it. On average, SegNeXt achieves about 2.0% mIoU improvements compared to the state-of-the-art methods on the ADE20K datasets with the same or fewer computations. Code is available at https://github.com/uyzhang/JSeg (Jittor) and https://github.com/Visual-Attention-Network/SegNeXt (Pytorch).

View on arXivView PDF

Code Implementations(2)

Apache-2.0

Official Pytorch implementations for "SegNeXt: Rethinking Convolutional Attention Design for Semantic Segmentation" (NeurIPS 2022)

89591Shell, PythonSep 15, 20223 years agoApache-2.0
PyTorchApache-2.0

OpenMMLab Semantic Segmentation Toolbox and Benchmark.

9,8912,853Shell, PythonJun 14, 20202 years agoApache-2.0
deeplabv3image-segmentationmedical-image-segmentationpspnetpytorch+6 more

Similar Papers

Cite this paper

@article{guo2022segnext,
  title  = {SegNeXt: Rethinking Convolutional Attention Design for Semantic Segmentation},
  author = {Meng-Hao Guo and Cheng-Ze Lu and Qibin Hou and Zhengning Liu and Ming-Ming Cheng and Shi-Min Hu},
  year   = {2022},
  eprint = {2209.08575},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.08575}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.08575.svg)](https://codeofpaper.com/paper/2209.08575)

Discussion