Dynamic Token-Pass Transformers for Semantic Segmentation
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 36 of its 48 references that are in the map. First posted on arXiv 3 Aug 2023.
Builds on
36 of 48 references.
References · 36
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
- 2016Pyramid Scene Parsing Networkcited by 2,472
- 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
- 2020Knowledge Distillation: A Surveycited by 1,578
24 more
- 2015SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentationcited by 1,483
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2016Pruning Filters for Efficient ConvNetscited by 1,129
- 2015Multi-Scale Context Aggregation by Dilated Convolutionscited by 1,128
- 2018Dual Attention Network for Scene Segmentationcited by 1,001
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2014Semantic Image Segmentation with Deep Convolutional Nets and Fully Connected CRFscited by 552
- 2018HAQ: Hardware-Aware Automated Quantization with Mixed Precisioncited by 426
- 2015Learning Deconvolution Network for Semantic Segmentationcited by 365
- 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 360
- 2022Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizationscited by 359
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
- 2018Soft Filter Pruning for Accelerating Deep Convolutional Neural Networkscited by 313
- 2020Knowledge Distillation and Student-Teacher Learning for Visual Intelligence: A Review and New Outlookscited by 312
- 2020HRank: Filter Pruning using High-Rank Feature Mapcited by 291
- 2021Post-Training Quantization for Vision Transformercited by 274
- 2021AdaViT: Adaptive Vision Transformers for Efficient Image Recognitioncited by 228
- 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 224
- 2018OCNet: Object Context Network for Scene Parsingcited by 140
- 2020Disentangled Non-Local Neural Networkscited by 132
- 2020Context Prior for Scene Segmentationcited by 121
- 2019AdaBits: Neural Network Quantization with Adaptive Bit-Widthscited by 63
- 2021A Unified Pruning Framework for Vision Transformerscited by 40
Built on by
Citing papers per year: 2024: 2; 2025: 1; 2026: 4.
7 papers.
- 2024ALGM: Adaptive Local-then-Global Token Merging for Efficient Semantic Segmentation with Plain Vision Transformerscited by 28
- 2024Token Cropr: Faster ViTs for Quite a Few Taskscited by 18
- 2026StructSAM: Structure- and Spectrum-Preserving Token Merging for Segment Anything Modelscited by 2
- 2026Na-IRSTD: Enhancing Infrared Small Target Detection via Native-Resolution Feature Selection and Fusioncited by 1
- 2025Where Do Tokens Go? Understanding Pruning Behaviors in STEP at High Resolutionscited by 0
- 2026When Token Compression Breaks: Structural Pruning vs. Token Reduction for Robust ViT Segmentation under High Compressioncited by 0
- 2026Decoder-Agnostic Token Merging for Vision Transformers: A Systematic Study of G2TMcited by 0
- 2026Decoder-Agnostic Token Merging for Vision Transformers: A Systematic Study of G2TM16 Sep 2026
- 2026When Token Compression Breaks: Structural Pruning vs. Token Reduction for Robust ViT Segmentation under High Compression2 Jul 2026
- 2026Na-IRSTD: Enhancing Infrared Small Target Detection via Native-Resolution Feature Selection and Fusion7 May 2026
- 2026StructSAM: Structure- and Spectrum-Preserving Token Merging for Segment Anything Models7 Mar 2026
- 2025Where Do Tokens Go? Understanding Pruning Behaviors in STEP at High Resolutions17 Sep 2025
- 2024Token Cropr: Faster ViTs for Quite a Few Tasks1 Dec 2024
- 2024ALGM: Adaptive Local-then-Global Token Merging for Efficient Semantic Segmentation with Plain Vision Transformers14 Jun 2024