Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

SegViTv2: Exploring Efficient and Continual Semantic Segmentation with Plain Vision Transformers

About

This paper investigates the capability of plain Vision Transformers (ViTs) for semantic segmentation using the encoder-decoder framework and introduces \textbf{SegViTv2}. In this study, we introduce a novel Attention-to-Mask (\atm) module to design a lightweight decoder effective for plain ViT. The proposed ATM converts the global attention map into semantic masks for high-quality segmentation results. Our decoder outperforms the popular decoder UPerNet using various ViT backbones while consuming only about $5\%$ of the computational cost. For the encoder, we address the concern of the relatively high computational cost in the ViT-based encoders and propose a \emph{Shrunk++} structure that incorporates edge-aware query-based down-sampling (EQD) and query-based upsampling (QU) modules. The Shrunk++ structure reduces the computational cost of the encoder by up to $50\%$ while maintaining competitive performance. Furthermore, we propose to adapt SegViT for continual semantic segmentation, demonstrating nearly zero forgetting of previously learned knowledge. Experiments show that our proposed SegViTv2 surpasses recent segmentation methods on three popular benchmarks including ADE20k, COCO-Stuff-10k and PASCAL-Context datasets. The code is available through the following link: \url{https://github.com/zbwxp/SegVit}.

Bowen Zhang, Liyang Liu, Minh Hieu Phan, Zhi Tian, Chunhua Shen, Yifan Liu• 2023

Related benchmarks

TaskDatasetResultRank
Semantic segmentationADE20K (val)--
2731
Semantic segmentationPASCAL Context (val)--
323
Semantic segmentationPascal Context (test)--
176
Semantic segmentationCOCO-Stuff-10K (test)
mIoU53.46
47
Continual Semantic SegmentationADE20k 100-50 (2 tasks) (val)
mIoU (0-100)53.64
28
Continual Semantic SegmentationADE20K 100-10 overlapped setting v2 (val)
mIoU (0-100)53.77
13
Showing 6 of 6 rows

Other info

Code

Follow for update