mlsanityData to 7 Oct 2026

Efficient Visual Transformer by Learnable Token Merging

arXiv 2407.15219 ↗First posted 21 Jul 2024cs.CV cs.LGcited by 7

On the map: Efficient LLM inference and serving → Token pruning and merging for ViTs

Abstract (arXiv)

Self-attention and transformers have been widely used in deep learning. Recent efforts have been devoted to incorporating transformer blocks into different neural architectures, including those with convolutions, leading to various visual transformers for computer vision tasks. In this paper, we propose a novel and compact transformer block, Transformer with Learnable Token Merging (LTM), or LTM-Transformer. LTM-Transformer performs token merging in a learnable scheme. LTM-Transformer is compatible with many popular and compact transformer networks, and it reduces the FLOPs and the inference time of the visual transformers while maintaining or even improving the prediction accuracy. In the experiments, we replace all the transformer blocks in popular visual transformers, including MobileViT, EfficientViT, ViT, and Swin, with LTM-Transformer blocks, leading to LTM-Transformer networks with different backbones. The LTM-Transformer is motivated by reduction of Information Bottleneck, and a novel and separable variational upper bound for the IB loss is derived. The architecture of the mask module in our LTM blocks, which generates the token merging mask, is designed to reduce the derived upper bound for the IB loss. Extensive results on computer vision tasks evidence that LTM-Transformer renders compact and efficient visual transformers with comparable or much better prediction accuracy than the original visual transformers. The code of the LTM-Transformer is available at https://github.com/Statistical-Deep-Learning/LTM}

Key facts. Cited by 7 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 39 of its 51 references that are in the map. First posted on arXiv 21 Jul 2024.

Builds on

39 of 51 references.

Closest ancestors · 4

Same direction, newest first

  1. 2023Token Fusion: Bridging the Gap between Token Pruning and Token Merging2 Dec
  2. 2023Learned Thresholds Token Merging and Pruning for Vision Transformers20 Jul
  3. 2022Token Merging: Your ViT But Faster17 Oct
  4. 2021SPViT: Enabling Faster Vision Transformers via Soft Token Pruning27 Dec

Other references · 35

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  5. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  6. 2020End-to-End Object Detection with Transformerscited by 7,384
  7. 2017Mask R-CNNcited by 7,259
  8. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  9. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  10. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  11. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
  12. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
23 more
  1. 2019Searching for MobileNetV3cited by 1,984
  2. 2021SwinIR: Image Restoration Using Swin Transformercited by 1,869
  3. 2016YOLO9000: Better, Faster, Strongercited by 1,429
  4. 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
  5. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  6. 2020Designing Network Design Spacescited by 954
  7. 2018MnasNet: Platform-Aware Neural Architecture Search for Mobilecited by 937
  8. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
  9. 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
  10. 2018Rethinking the Value of Network Pruningcited by 595
  11. 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
  12. 2019Attention Augmented Convolutional Networkscited by 363
  13. 2022EfficientFormer: Vision Transformers at MobileNet Speedcited by 240
  14. 2021Chasing Sparsity in Vision Transformers: An End-to-End Explorationcited by 181
  15. 2023EfficientViT: Memory Efficient Vision Transformer with Cascaded Group Attentioncited by 172
  16. 2022Understanding The Robustness in Vision Transformerscited by 144
  17. 2019MixConv: Mixed Depthwise Convolutional Kernelscited by 108
  18. 2022Unified Visual Transformer Compressioncited by 79
  19. 2022Vision Transformer Slimming: Multi-Dimension Searching in Continuous Optimization Spacecited by 66
  20. 2021ViDT: An Efficient and Effective Fully Transformer-based Object Detectorcited by 45
  21. 2021Information Bottleneck Approach to Spatial Attention Learningcited by 6
  22. 2024Learning Low-Rank Feature for Thorax Disease Classificationcited by 4
  23. 2022Adaptive Cross-Layer Attention for Image Restorationcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 4; 2026: 2.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Learning to Merge Tokens via Decoupled Embedding for Efficient Vision Transformers
  2. 2025Efficient Token Compression for Vision Transformer with Spatial Information Preserved
  3. 2023Training-Free Acceleration of ViTs with Delayed Spatial Merging
  4. 2026Decoder-Agnostic Token Merging for Vision Transformers: A Systematic Study of G2TM
  5. 2025Token Compression Meets Compact Vision Transformers: A Survey and Comparative Evaluation for Edge AI
  6. 2021Less is More: Pay Less Attention in Vision Transformers
  7. 2021Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer
  8. 2026MaMe & MaRe: Matrix-Based Token Merging and Restoration for Efficient Visual Perception and Synthesis