Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformers

About

Most recent semantic segmentation methods adopt a fully-convolutional network (FCN) with an encoder-decoder architecture. The encoder progressively reduces the spatial resolution and learns more abstract/semantic visual concepts with larger receptive fields. Since context modeling is critical for segmentation, the latest efforts have been focused on increasing the receptive field, through either dilated/atrous convolutions or inserting attention modules. However, the encoder-decoder based FCN architecture remains unchanged. In this paper, we aim to provide an alternative perspective by treating semantic segmentation as a sequence-to-sequence prediction task. Specifically, we deploy a pure transformer (ie, without convolution and resolution reduction) to encode an image as a sequence of patches. With the global context modeled in every layer of the transformer, this encoder can be combined with a simple decoder to provide a powerful segmentation model, termed SEgmentation TRansformer (SETR). Extensive experiments show that SETR achieves new state of the art on ADE20K (50.28% mIoU), Pascal Context (55.83% mIoU) and competitive results on Cityscapes. Particularly, we achieve the first position in the highly competitive ADE20K test server leaderboard on the day of submission.

Sixiao Zheng, Jiachen Lu, Hengshuang Zhao, Xiatian Zhu, Zekun Luo, Yabiao Wang, Yanwei Fu, Jianfeng Feng, Tao Xiang, Philip H.S. Torr, Li Zhang• 2020

Related benchmarks

TaskDatasetResultRank
Semantic segmentationADE20K (val)
mIoU50.3
2888
Semantic segmentationCityscapes (test)
mIoU81.6
1154
Semantic segmentationADE20K--
1024
Semantic segmentationCityscapes--
658
Semantic segmentationCityscapes (val)
mIoU82.2
572
Semantic segmentationCOCO Stuff
mIoU45.8
379
Semantic segmentationCityscapes (val)
mIoU82.1
374
Semantic segmentationPASCAL Context (val)
mIoU55.83
360
Semantic segmentationCityscapes (val)
mIoU82.2
297
Semantic segmentationPascal Context (test)
mIoU55.83
191
Showing 10 of 80 rows
...

Other info

Code

Follow for update