paper-with-me

Papers

Dynamic Token-Pass Transformers for Semantic Segmentation

2023-08-03 · Yuang Liu, Qiang Zhou, Jing Wang, Fan Wang, Jun Wang, Wei zhang

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% $\sim$ 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$\times$ on Cityscapes.

📄 PDF Abstract BibTeX arXiv:2308.01944

Code (0)

등록된 구현이 없습니다.

Tasks

SegmentationSemantic Segmentation

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Dynamic Token Pruning in Plain Vision Transformers for Semantic Segmentation

2023-08-02 · ICCV 2023 1 · Quan Tang, BoWen Zhang, Jiajun Liu, Fagui Liu 외

Vision transformers have achieved leading performance on various visual tasks yet still suffer from high computational complexity. The situation deteriorates in dense prediction tasks like semantic segmentation, as high-…

image-classificationImage ClassificationSegmentationSemantic Segmentation

Multimodal Token Fusion for Vision Transformers

2022-04-19 · journal 2022 7 · Yikai Wang, Xinghao Chen, Lele Cao, Wenbing Huang 외

Many adaptations of transformers have emerged to address the single-modal vision tasks, where self-attention modules are stacked to handle input sources like images. Intuitively, feeding multiple modalities of data to vi…

3D Object DetectionImage-to-Image Translationobject-detectionObject Detection+1

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

2023-06-03 · CVPR 2023 1 · Chenyang Lu, Daan de Geus, Gijs Dubbelman

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 pr…

Computational Efficiencyimage-classificationImage ClassificationSegmentation+2

ClustViT: Clustering-based Token Merging for Semantic Segmentation

2025-10-02 · Fabio Montello, Ronja Güldenring, Lazaros Nalpantidis arxiv

Vision Transformers can achieve high accuracy and strong generalization across various contexts, but their practical applicability on real-world robotic systems is limited due to their quadratic attention complexity. Rec…

Semantic Segmentation

MSViT: Dynamic Mixed-Scale Tokenization for Vision Transformers

2023-07-05 · Jakob Drachmann Havtorn, Amelie Royer, Tijmen Blankevoort, Babak Ehteshami Bejnordi

The input tokens to Vision Transformers carry little semantic meaning as they are defined as regular equal-sized patches of the input image, regardless of its content. However, processing uniform background areas of an i…