MaskMerge: Structure-aware Token Merging for Efficient Instance Segmentation
On the map: Efficient LLM inference and serving → Token pruning and merging for ViTs
Abstract (arXiv)
Token merging improves the efficiency of Vision Transformers by combining redundant tokens, but existing methods largely rely on feature similarity to determine which tokens to merge. This criterion is effective for semantic segmentation, yet can fail in instance segmentation, where adjacent objects of the same class often have highly similar features. We identify this failure mode as cross-instance token fusion. We introduce MaskMerge, an instance-aware token merging method that uses coarse intermediate mask predictions to constrain feature-based merging and preserve instance boundaries. We evaluate MaskMerge on two diverse instance segmentation domains characterized by high inter-instance visual similarity: PanNuke and iSAID. Against the SOTA token merging method ALGM, MaskMerge improves mAP from 30.1 to 32.1 on PanNuke while reducing computation from 229 to 153 GFLOPs and running 1.18x faster, and from 33.1 to 36.2 on iSAID while reducing computation from 198 to 182 GFLOPs and running 1.23x faster. Additionally, we also test it on Cityscapes and match ALGM's performance while using fewer FLOPs. The gains also transfer to an MAE pretrained backbone, demonstrating that instance-aware merging enables more aggressive compression when appearance similarity alone cannot reliably preserve object identity.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Token pruning and merging for ViTs, one of 12 directions in Efficient LLM inference and serving. Builds on 61 of its 64 references that are in the map. Submitted 16 Oct 2026.
Builds on
61 of 64 references.
Closest ancestors · 14
Same direction, newest first
- 2026StructSAM: Structure- and Spectrum-Preserving Token Merging for Segment Anything Models7 Mar
- 2024Learning to Merge Tokens via Decoupled Embedding for Efficient Vision Transformers13 Dec
- 2024ALGM: Adaptive Local-then-Global Token Merging for Efficient Semantic Segmentation with Plain Vision Transformers14 Jun
- 2024Accelerating Transformers with Spectrum-Preserving Token Merging25 May
- 2023PPT: Token Pruning and Pooling for Efficient Vision Transformers3 Oct
- 2023Dynamic Token Pruning in Plain Vision Transformers for Semantic Segmentation2 Aug
- 2023Learned Thresholds Token Merging and Pruning for Vision Transformers20 Jul
- 2023Revisiting Token Pruning for Object Detection and Instance Segmentation12 Jun
- 2023DiffRate : Differentiable Compression Rate for Efficient Vision Transformers29 May
- 2023Zero-TPrune: Zero-Shot Token Pruning through Leveraging of the Attention Graph in Pre-Trained Transformers27 May
- 2023Joint Token Pruning and Squeezing Towards More Aggressive Compression of Vision Transformers21 Apr
- 2022Token Merging: Your ViT But Faster17 Oct
2 more
Other references · 47
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,277
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,365
- 2020End-to-End Object Detection with Transformerscited by 7,562
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,526
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,528
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 3,023
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,453
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,130
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,983
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,254
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,177
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 915
35 more
- 2021Segmenter: Transformer for Semantic Segmentationcited by 868
- 2018Panoptic Segmentationcited by 833
- 2018Path Aggregation Network for Instance Segmentationcited by 810
- 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 740
- 2024LLaVA-PruMerge: Adaptive Token Reduction for Efficient Large Multimodal Modelscited by 443
- 2022Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizationscited by 394
- 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 380
- 2021Post-Training Quantization for Vision Transformercited by 287
- 2019iSAID: A Large-scale Dataset for Instance Segmentation in Aerial Imagescited by 212
- 2021TokenLearner: What Can 8 Learned Tokens Do for Images and Videos?cited by 136
- 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 131
- 2017Compressed Video Action Recognitioncited by 112
- 2022Q-ViT: Accurate and Fully Quantized Low-bit Vision Transformercited by 111
- 2022SegViT: Semantic Segmentation with Plain Vision Transformerscited by 108
- 2025Your ViT is Secretly an Image Segmentation Modelcited by 74
- 2021Global Vision Transformer Pruning with Hessian-Aware Saliencycited by 71
- 2022Learning to Merge Tokens in Vision Transformerscited by 71
- 2023X-Pruner: eXplainable Pruning for Vision Transformerscited by 70
- 2023SparseViT: Revisiting Activation Sparsity for Efficient High-Resolution Vision Transformercited by 63
- 2023PuMer: Pruning and Merging Tokens for Efficient Vision Language Modelscited by 56
- 2024Don't Look Twice: Faster Video Transformers with Run-Length Tokenizationcited by 51
- 2022Beyond Attentive Tokens: Incorporating Token Importance and Diversity for Efficient Vision Transformerscited by 49
- 2022Expediting Large-Scale Vision Transformer for Dense Prediction without Fine-tuningcited by 36
- 2024MrT5: Dynamic Token Merging for Efficient Byte-level Language Modelscited by 34
- 2023Making Vision Transformers Efficient from A Token Sparsification Viewcited by 31
- 2021Self-slimmed Vision Transformercited by 30
- 2024Instance-Aware Group Quantization for Vision Transformerscited by 29
- 2023Prune Spatio-temporal Tokens by Semantic-aware Temporal Accumulationcited by 26
- 2023Content-aware Token Sharing for Efficient Semantic Segmentation with Vision Transformerscited by 25
- 2022RGB no more: Minimally-decoded JPEG Vision Transformerscited by 19
- 2023Sparsifiner: Learning Sparse Instance-Dependent Attention for Efficient Vision Transformerscited by 17
- 2025Accelerating Vision Transformers with Adaptive Patch Sizescited by 16
- 2023AiluRus: A Scalable ViT Framework for Dense Predictioncited by 11
- 2023Dynamic Token-Pass Transformers for Semantic Segmentationcited by 8
- 2023PAUMER: Patch Pausing Transformer for Semantic Segmentationcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026SCMerge: Spatial-Consistency-Aware Token Pair Merging for Efficient Semantic Segmentation
- 2025Where Do Tokens Go? Understanding Pruning Behaviors in STEP at High Resolutions
- 2026Decoder-Agnostic Token Merging for Vision Transformers: A Systematic Study of G2TM
- 2025ClustViT: Clustering-based Token Merging for Semantic Segmentation
- 2025CORE: Compact Object-centric REpresentations as a New Paradigm for Token Merging in LVLMs
- 2023Token Fusion: Bridging the Gap between Token Pruning and Token Merging
- 2026Do All Visual Tokens Matter Equally? Object-Evidence Preserving Token Merging for Vision-Language Retrieval
- 2024Segformer++: Efficient Token-Merging Strategies for High-Resolution Semantic Segmentation