Content-aware Token Sharing for Efficient Semantic Segmentation with Vision Transformers
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Builds on 50 of its 60 references that are in the map. First posted on arXiv 3 Jun 2023.
Builds on
50 of 60 references.
References · 50
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
38 more
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 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
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2021Vision Transformers for Dense Predictioncited by 1,789
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
- 2022Token Merging: Your ViT But Fastercited by 995
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2018Panoptic Segmentationcited by 796
- 2021Scaling Vision with Sparse Mixture of Expertscited by 740
- 2018BiSeNet: Bilateral Segmentation Network for Real-time Semantic Segmentationcited by 645
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2022Vision Transformer Adapter for Dense Predictionscited by 564
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 360
- 2022Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizationscited by 359
- 2020MaX-DeepLab: End-to-End Panoptic Segmentation with Mask Transformerscited by 355
- 2017ICNet for Real-Time Semantic Segmentation on High-Resolution Imagescited by 261
- 2021AdaViT: Adaptive Vision Transformers for Efficient Image Recognitioncited by 228
- 2021K-Net: Towards Unified Image Segmentationcited by 211
- 2021Not All Images are Worth 16x16 Words: Dynamic Transformers for Efficient Image Recognitioncited by 143
- 2021Patch Slimming for Efficient Vision Transformerscited by 131
- 2021Panoptic SegFormer: Delving Deeper into Panoptic Segmentation with Transformerscited by 109
- 2021Multi-Scale High-Resolution Vision Transformer for Semantic Segmentationcited by 92
- 2022TopFormer: Token Pyramid Transformer for Mobile Semantic Segmentationcited by 82
- 2022Learning to Merge Tokens in Vision Transformerscited by 64
- 2021Part-aware Panoptic Segmentationcited by 56
- 2022Panoptic-PartFormer: Learning a Unified Model for Panoptic Part Segmentationcited by 38
- 2022RTFormer: Efficient Design for Real-Time Semantic Segmentation with Transformercited by 31
Built on by
Citing papers per year: 2023: 2; 2024: 6; 2025: 7; 2026: 7.
22 papers.
Sort:
By area:
- 2024DiTFastAttn: Attention Compression for Diffusion Transformer Modelscited by 109
- 2023SED: A Simple Encoder-Decoder for Open-Vocabulary Semantic Segmentationcited by 95
- 2023Dynamic Token Pruning in Plain Vision Transformers for Semantic Segmentationcited by 61
- 2025Your ViT is Secretly an Image Segmentation Modelcited by 61
- 2024SegMAN: Omni-scale Context Modeling with State Space Models and Local Attention for Semantic Segmentationcited by 31
- 2024ALGM: Adaptive Local-then-Global Token Merging for Efficient Semantic Segmentation with Plain Vision Transformerscited by 28
- 2024Embedding-Free Transformer with Inference Spatial Reduction for Efficient Semantic Segmentationcited by 14
- 2025FlexiDiT: Your Diffusion Transformer Can Easily Generate High-Quality Samples with Less Computecited by 12
- 2024VLTP: Vision-Language Guided Token Pruning for Task-Oriented Segmentationcited by 11
- 2025A Survey on Dynamic Neural Networks: from Computer Vision to Multi-modal Sensor Fusioncited by 5
- 2024PIG: Prompt Images Guidance for Night-Time Scene Parsingcited by 4
- 2026PMT: Plain Mask Transformer for Image and Video Segmentation with Frozen Vision Encoderscited by 3
10 more
- 2026StructSAM: Structure- and Spectrum-Preserving Token Merging for Segment Anything Modelscited by 2
- 2026ARTA: Adaptive Mixed-Resolution Token Allocation for Efficient Dense Feature Extractioncited by 2
- 2026MPM: Mutual Pair Merging for Efficient Vision Transformerscited by 2
- 2025Back to Fundamentals: Low-Level Visual Features Guided Progressive Token Pruningcited by 1
- 2025Where Do Tokens Go? Understanding Pruning Behaviors in STEP at High Resolutionscited by 0
- 2025CubistMerge: Spatial-Preserving Token Merging For Diverse ViT Backbonescited by 0
- 2025ClustViT: Clustering-based Token Merging for Semantic Segmentationcited by 0
- 2026Make Your LVLM KV Cache More Lightweightcited by 0
- 2026When Token Compression Breaks: Structural Pruning vs. Token Reduction for Robust ViT Segmentation under High Compressioncited by 0
- 2026How Merge-Tolerant Are Vision Transformers for Wheat Phenotyping?cited by 0
- 2026How Merge-Tolerant Are Vision Transformers for Wheat Phenotyping?24 Aug 2026
- 2026When Token Compression Breaks: Structural Pruning vs. Token Reduction for Robust ViT Segmentation under High Compression2 Jul 2026
- 2026Make Your LVLM KV Cache More Lightweight1 May 2026
- 2026MPM: Mutual Pair Merging for Efficient Vision Transformers7 Apr 2026
- 2026ARTA: Adaptive Mixed-Resolution Token Allocation for Efficient Dense Feature Extraction27 Mar 2026
- 2026PMT: Plain Mask Transformer for Image and Video Segmentation with Frozen Vision Encoders26 Mar 2026
- 2026StructSAM: Structure- and Spectrum-Preserving Token Merging for Segment Anything Models7 Mar 2026
- 2025ClustViT: Clustering-based Token Merging for Semantic Segmentation2 Oct 2025
- 2025CubistMerge: Spatial-Preserving Token Merging For Diverse ViT Backbones26 Sep 2025
- 2025Where Do Tokens Go? Understanding Pruning Behaviors in STEP at High Resolutions17 Sep 2025
- 2025Back to Fundamentals: Low-Level Visual Features Guided Progressive Token Pruning25 Apr 2025
- 2025Your ViT is Secretly an Image Segmentation Model24 Mar 2025
10 more
- 2025FlexiDiT: Your Diffusion Transformer Can Easily Generate High-Quality Samples with Less Compute27 Feb 2025
- 2025A Survey on Dynamic Neural Networks: from Computer Vision to Multi-modal Sensor Fusion13 Jan 2025
- 2024SegMAN: Omni-scale Context Modeling with State Space Models and Local Attention for Semantic Segmentation16 Dec 2024
- 2024VLTP: Vision-Language Guided Token Pruning for Task-Oriented Segmentation13 Sep 2024
- 2024Embedding-Free Transformer with Inference Spatial Reduction for Efficient Semantic Segmentation24 Jul 2024
- 2024PIG: Prompt Images Guidance for Night-Time Scene Parsing15 Jun 2024
- 2024ALGM: Adaptive Local-then-Global Token Merging for Efficient Semantic Segmentation with Plain Vision Transformers14 Jun 2024
- 2024DiTFastAttn: Attention Compression for Diffusion Transformer Models12 Jun 2024
- 2023SED: A Simple Encoder-Decoder for Open-Vocabulary Semantic Segmentation27 Nov 2023
- 2023Dynamic Token Pruning in Plain Vision Transformers for Semantic Segmentation2 Aug 2023
- 2023Dynamic Token Pruning in Plain Vision Transformers for Semantic Segmentationcited by 61
- 2024ALGM: Adaptive Local-then-Global Token Merging for Efficient Semantic Segmentation with Plain Vision Transformerscited by 28
- 2024VLTP: Vision-Language Guided Token Pruning for Task-Oriented Segmentationcited by 11
- 2026StructSAM: Structure- and Spectrum-Preserving Token Merging for Segment Anything Modelscited by 2
- 2026MPM: Mutual Pair Merging for Efficient Vision Transformerscited by 2
- 2025Back to Fundamentals: Low-Level Visual Features Guided Progressive Token Pruningcited by 1
- 2025Where Do Tokens Go? Understanding Pruning Behaviors in STEP at High Resolutionscited by 0
- 2025CubistMerge: Spatial-Preserving Token Merging For Diverse ViT Backbonescited by 0
- 2026When Token Compression Breaks: Structural Pruning vs. Token Reduction for Robust ViT Segmentation under High Compressioncited by 0
- 2026When Token Compression Breaks: Structural Pruning vs. Token Reduction for Robust ViT Segmentation under High Compression2 Jul 2026
- 2026MPM: Mutual Pair Merging for Efficient Vision Transformers7 Apr 2026
- 2026StructSAM: Structure- and Spectrum-Preserving Token Merging for Segment Anything Models7 Mar 2026
- 2025CubistMerge: Spatial-Preserving Token Merging For Diverse ViT Backbones26 Sep 2025
- 2025Where Do Tokens Go? Understanding Pruning Behaviors in STEP at High Resolutions17 Sep 2025
- 2025Back to Fundamentals: Low-Level Visual Features Guided Progressive Token Pruning25 Apr 2025
- 2024VLTP: Vision-Language Guided Token Pruning for Task-Oriented Segmentation13 Sep 2024
- 2024ALGM: Adaptive Local-then-Global Token Merging for Efficient Semantic Segmentation with Plain Vision Transformers14 Jun 2024
- 2023Dynamic Token Pruning in Plain Vision Transformers for Semantic Segmentation2 Aug 2023
- 2026Make Your LVLM KV Cache More Lightweightcited by 0
- 2026Make Your LVLM KV Cache More Lightweight1 May 2026
- 2023SED: A Simple Encoder-Decoder for Open-Vocabulary Semantic Segmentationcited by 95
- 2025Your ViT is Secretly an Image Segmentation Modelcited by 61
- 2024SegMAN: Omni-scale Context Modeling with State Space Models and Local Attention for Semantic Segmentationcited by 31
- 2024Embedding-Free Transformer with Inference Spatial Reduction for Efficient Semantic Segmentationcited by 14
- 2025A Survey on Dynamic Neural Networks: from Computer Vision to Multi-modal Sensor Fusioncited by 5
- 2024PIG: Prompt Images Guidance for Night-Time Scene Parsingcited by 4
- 2026PMT: Plain Mask Transformer for Image and Video Segmentation with Frozen Vision Encoderscited by 3
- 2026ARTA: Adaptive Mixed-Resolution Token Allocation for Efficient Dense Feature Extractioncited by 2
- 2025ClustViT: Clustering-based Token Merging for Semantic Segmentationcited by 0
- 2026How Merge-Tolerant Are Vision Transformers for Wheat Phenotyping?cited by 0
- 2026How Merge-Tolerant Are Vision Transformers for Wheat Phenotyping?24 Aug 2026
- 2026ARTA: Adaptive Mixed-Resolution Token Allocation for Efficient Dense Feature Extraction27 Mar 2026
- 2026PMT: Plain Mask Transformer for Image and Video Segmentation with Frozen Vision Encoders26 Mar 2026
- 2025ClustViT: Clustering-based Token Merging for Semantic Segmentation2 Oct 2025
- 2025Your ViT is Secretly an Image Segmentation Model24 Mar 2025
- 2025A Survey on Dynamic Neural Networks: from Computer Vision to Multi-modal Sensor Fusion13 Jan 2025
- 2024SegMAN: Omni-scale Context Modeling with State Space Models and Local Attention for Semantic Segmentation16 Dec 2024
- 2024Embedding-Free Transformer with Inference Spatial Reduction for Efficient Semantic Segmentation24 Jul 2024
- 2024PIG: Prompt Images Guidance for Night-Time Scene Parsing15 Jun 2024
- 2023SED: A Simple Encoder-Decoder for Open-Vocabulary Semantic Segmentation27 Nov 2023
Similar, not cited
Close in wording, no citation either way
- 2026Decoder-Agnostic Token Merging for Vision Transformers: A Systematic Study of G2TM
- 2026RAPID: Layer-Wise Redundancy-Aware Pruning and Importance-Driven Token Merging for Efficient ViT
- 2024Token Cropr: Faster ViTs for Quite a Few Tasks
- 2024ImagePiece: Content-aware Re-tokenization for Efficient Image Recognition
- 2024Learning to Merge Tokens via Decoupled Embedding for Efficient Vision Transformers
- 2024Segformer++: Efficient Token-Merging Strategies for High-Resolution Semantic Segmentation
- 2024Understanding the Effect of using Semantically Meaningful Tokens for Visual Representation Learning
- 2023MSViT: Dynamic Mixed-Scale Tokenization for Vision Transformers