Command Palette
Search for a command to run...
SegNeXt: Rethinking Convolutional Attention Design for Semantic Segmentation
Meng-Hao Guo; Cheng-Ze Lu; Qibin Hou; Zhengning Liu; Ming-Ming Cheng; Shi-Min Hu

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).
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| real-time-semantic-segmentation-on-cityscapes-1 | SegNext-T-Seg100 | Frame (fps): 28.1 mIoU: 79.8% |
| semantic-segmentation-on-ddd17 | SegNeXt-B | mIoU: 71.46 |
| semantic-segmentation-on-dsec | SegNeXt-B | mIoU: 71.55 |
| semantic-segmentation-on-isaid | SegNeXt-L | mIoU: 70.3 |
| semantic-segmentation-on-isaid | SegNeXt-S | mIoU: 68.8 |
| semantic-segmentation-on-isaid | SegNeXt-B | mIoU: 69.9 |
| semantic-segmentation-on-isaid | SegNeXt-T | mIoU: 68.3 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.