MPM: Mutual Pair Merging for Efficient Vision Transformers
On the map: Efficient LLM inference and serving → Token pruning and merging for ViTs
Abstract (arXiv)
Decreasing sequence length is a common way to accelerate transformers, but prior token reduction work often targets classification and reports proxy metrics rather than end-to-end latency. For semantic segmentation, token reduction is further constrained by the need to reconstruct dense, pixel-aligned features, and on modern accelerators the overhead of computing merge maps can erase expected gains. We propose Mutual Pair Merging (MPM), a training-free token aggregation module that forms mutual nearest-neighbor pairs in cosine space, averages each pair, and records a merge map enabling a gather-based reconstruction before the decoder so that existing segmentation heads can be used unchanged. MPM introduces no learned parameters and no continuous compression knob (no keep-rate or threshold). The speed-accuracy trade-off is set by a discrete insertion schedule. We benchmark end-to-end latency on an NVIDIA H100 GPU (with and without FlashAttention-2) and a Raspberry Pi 5 across standard segmentation datasets. On ADE20K, MPM reduces per-image latency by up to 60% for ViT-Tiny on Raspberry Pi 5, and increases throughput by up to 20% on H100 with FlashAttention-2 while keeping the mIoU drop below 3%. These results suggest that simple, reconstruction-aware, training-free token merging can translate into practical wall-clock gains for segmentation when overhead is explicitly accounted for.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Token pruning and merging for ViTs, one of 12 directions in Efficient LLM inference and serving. Builds on 33 of its 40 references that are in the map. First posted on arXiv 7 Apr 2026.
Builds on
33 of 40 references.
Closest ancestors · 9
Same direction, newest first
- 2024Learning to Merge Tokens via Decoupled Embedding for Efficient Vision Transformers13 Dec
- 2024Token Cropr: Faster ViTs for Quite a Few Tasks1 Dec
- 2024ALGM: Adaptive Local-then-Global Token Merging for Efficient Semantic Segmentation with Plain Vision Transformers14 Jun
- 2023Token Fusion: Bridging the Gap between Token Pruning and Token Merging2 Dec
- 2023PPT: Token Pruning and Pooling for Efficient Vision Transformers3 Oct
- 2022Token Merging: Your ViT But Faster17 Oct
- 2022Adaptive Sparse ViT: Towards Learnable Adaptive Token Pruning by Fully Exploiting Self-Attention28 Sep
- 2021SPViT: Enabling Faster Vision Transformers via Soft Token Pruning27 Dec
- 2021Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer3 Aug
Other references · 24
- 2017Attention Is All You Needcited by 59,932
- 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
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 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
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
- 2021Multiscale Vision Transformerscited by 896
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
12 more
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
- 2022EVA: Exploring the Limits of Masked Visual Representation Learning at Scalecited by 685
- 2022Vision Transformer Adapter for Dense Predictionscited by 564
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
- 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 360
- 2023Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistlescited by 287
- 2021Adaptive Token Sampling For Efficient Vision Transformerscited by 181
- 2022SegViT: Semantic Segmentation with Plain Vision Transformerscited by 105
- 2022Expediting Large-Scale Vision Transformer for Dense Prediction without Fine-tuningcited by 33
- 2023Content-aware Token Sharing for Efficient Semantic Segmentation with Vision Transformerscited by 22
- 2024Agglomerative Token Clusteringcited by 13
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026MergeOver: Post-Training Token Merging for Recursive Vision Transformers
- 2025Where Do Tokens Go? Understanding Pruning Behaviors in STEP at High Resolutions
- 2026StructSAM: Structure- and Spectrum-Preserving Token Merging for Segment Anything Models
- 2026Decoder-Agnostic Token Merging for Vision Transformers: A Systematic Study of G2TM
- 2025Lossless Token Merging Even Without Fine-Tuning in Vision Transformers
- 2023Dynamic Token Pruning in Plain Vision Transformers for Semantic Segmentation
- 2026MaMe & MaRe: Matrix-Based Token Merging and Restoration for Efficient Visual Perception and Synthesis
- 2023Training-Free Acceleration of ViTs with Delayed Spatial Merging