跳到主要导航 跳到搜索 跳到主要内容

Dynamic Token-Pass Transformers for Semantic Segmentation

  • Yuang Liu
  • , Qiang Zhou
  • , Jing Wang
  • , Zhibin Wang
  • , Fan Wang
  • , Jun Wang
  • , Wei Zhang*
  • *此作品的通讯作者
  • East China Normal University
  • Alibaba Group Holding Ltd.

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

摘要

Vision transformers (ViT) usually extract features via forwarding all the tokens in the self-attention layers from top to toe. In this paper, we introduce dynamic token-pass vision transformers (DoViT) for semantic segmentation, which can adaptively reduce the inference cost for images with different complexity. DoViT gradually stops partial easy tokens from self-attention calculation and keeps the hard tokens forwarding until meeting the stopping criteria. We employ lightweight auxiliary heads to make the token-pass decision and divide the tokens into keeping/stopping parts. With a token separate calculation, the self-attention layers are speeded up with sparse tokens and still work friendly with hardware. A token reconstruction module is built to collect and reset the grouped tokens to their original position in the sequence, which is necessary to predict correct semantic masks. We conduct extensive experiments on two common semantic segmentation tasks, and demonstrate that our method greatly reduces about 40% ∼ 60% FLOPs and the drop of mIoU is within 0.8% for various segmentation transformers. The throughput and inference speed of ViT-L/B are increased to more than 2× on Cityscapes. Code is available at https://github.com/FLHonker/DoViT-code.

源语言英语
主期刊名Proceedings - 2024 IEEE Winter Conference on Applications of Computer Vision, WACV 2024
出版商Institute of Electrical and Electronics Engineers Inc.
页1816-1825
页数10
ISBN(电子版)9798350318920
DOI
出版状态已出版 - 3 1月 2024
活动2024 IEEE Winter Conference on Applications of Computer Vision, WACV 2024 - Waikoloa, 美国
期限: 4 1月 2024 → 8 1月 2024

丛书

姓名Proceedings - 2024 IEEE Winter Conference on Applications of Computer Vision, WACV 2024

会议

会议2024 IEEE Winter Conference on Applications of Computer Vision, WACV 2024
国家/地区美国
市Waikoloa
时期4/01/24 → 8/01/24

学术指纹

探究 'Dynamic Token-Pass Transformers for Semantic Segmentation' 的科研主题。它们共同构成独一无二的学术指纹。

引用此