arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2210.05844cs.CV
收藏

SegViT:使用普通视觉Transformer的语义分割

SegViT: Semantic Segmentation with Plain Vision Transformers

South China University of Technology(华南理工大学);Zhejiang University(浙江大学);The University of Adelaide(阿德莱德大学);Meituan Inc(美团公司)

Bowen Zhang, Zhi Tian, Quan Tang, Xiangxiang Chu, Xiaolin Wei, Chunhua Shen, Yifan Liu

摘要:

我们探讨了普通视觉Transformer(ViTs)的语义分割的能力,并提出了SegVit。以前的基于ViT的分割网络通常从ViT的输出中学习像素级表示。接着,我们利用最基本的成分--注意力机制,来产生用于语义分割的遮罩。具体来说,我们提出了注意力到掩码(ATM)模块,其中一组可学习的类令牌和空间特征图之间的相似性映射被转移到分割掩码。实验表明,我们提出的使用ATM模块的SegVit在ADE 20 K数据集上的性能优于使用普通ViT主干的SegVit,并在COCO-Stuff-10 K和PASCAL-Context数据集上实现了新的最先进的性能。此外,为了降低ViT骨干的计算成本,我们提出了基于查询的下采样(QD)和基于查询的上采样(QU)来构建Shrunk结构。使用所提出的Shrunk结构,该模型可以节省高达$40\%$的计算,同时保持有竞争力的性能。

英文摘要:

We explore the capability of plain Vision Transformers (ViTs) for semantic segmentation and propose the SegVit. Previous ViT-based segmentation networks usually learn a pixel-level representation from the output of the ViT. Differently, we make use of the fundamental component -- attention mechanism, to generate masks for semantic segmentation. Specifically, we propose the Attention-to-Mask (ATM) module, in which the similarity maps between a set of learnable class tokens and the spatial feature maps are transferred to the segmentation masks. Experiments show that our proposed SegVit using the ATM module outperforms its counterparts using the plain ViT backbone on the ADE20K dataset and achieves new state-of-the-art performance on COCO-Stuff-10K and PASCAL-Context datasets. Furthermore, to reduce the computational cost of the ViT backbone, we propose query-based down-sampling (QD) and query-based up-sampling (QU) to build a Shrunk structure. With the proposed Shrunk structure, the model can save up to $40\%$ computations while maintaining competitive performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑