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

用于高效 Vision Transformer 语义分割的内容感知 Token 共享

Content-aware Token Sharing for Efficient Semantic Segmentation with Vision Transformers

Eindhoven University of Technology(埃因霍温理工大学)

Chenyang Lu, Daan de Geus, Gijs Dubbelman

AI总结:

针对 ViT 语义分割中的 token 冗余,提出 CTS,通过类别无关策略网络让同类图像块共享 token,在多数据集、主干和解码器上最多减少 44% token 且保持分割质量。

摘要:

本文介绍 Content-aware Token Sharing(CTS,内容感知 Token 共享),这是一种 token 缩减方法,可提升使用 Vision Transformers(ViT)的语义分割网络的计算效率。已有工作提出了 token 缩减方法以提高基于 ViT 的图像分类网络效率,但这些方法不能直接应用于语义分割,而这正是本文要解决的问题。我们观察到,对于语义分割,如果多个图像块包含相同的语义类别,它们就可以共享一个 token,因为其中含有冗余信息。我们的方法利用这一点,采用一个高效且类别无关的策略网络,预测图像块是否包含相同语义类别,并在确实相同时让它们共享一个 token。通过实验,我们探究了 CTS 的关键设计选择,并在 ADE20K、Pascal Context 和 Cityscapes 数据集、多种 ViT 主干以及不同分割解码器上证明了其有效性。借助 Content-aware Token Sharing,我们能够将处理的 token 数量最多减少 44%,且不会降低分割质量。

英文摘要:

This paper introduces Content-aware Token Sharing (CTS), a token reduction approach that improves the computational efficiency of semantic segmentation networks that use Vision Transformers (ViTs). Existing works have proposed token reduction approaches to improve the efficiency of ViT-based image classification networks, but these methods are not directly applicable to semantic segmentation, which we address in this work. We observe that, for semantic segmentation, multiple image patches can share a token if they contain the same semantic class, as they contain redundant information. Our approach leverages this by employing an efficient, class-agnostic policy network that predicts if image patches contain the same semantic class, and lets them share a token if they do. With experiments, we explore the critical design choices of CTS and show its effectiveness on the ADE20K, Pascal Context and Cityscapes datasets, various ViT backbones, and different segmentation decoders. With Content-aware Token Sharing, we are able to reduce the number of processed tokens by up to 44%, without diminishing the segmentation quality.

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

↑