mlsanityData to 7 Oct 2026

ImagePiece: Content-aware Re-tokenization for Efficient Image Recognition

arXiv 2412.16491 ↗First posted 21 Dec 2024cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Vision Transformers (ViTs) have achieved remarkable success in various computer vision tasks. However, ViTs have a huge computational cost due to their inherent reliance on multi-head self-attention (MHSA), prompting efforts to accelerate ViTs for practical applications. To this end, recent works aim to reduce the number of tokens, mainly focusing on how to effectively prune or merge them. Nevertheless, since ViT tokens are generated from non-overlapping grid patches, they usually do not convey sufficient semantics, making it incompatible with efficient ViTs. To address this, we propose ImagePiece, a novel re-tokenization strategy for Vision Transformers. Following the MaxMatch strategy of NLP tokenization, ImagePiece groups semantically insufficient yet locally coherent tokens until they convey meaning. This simple retokenization is highly compatible with previous token reduction methods, being able to drastically narrow down relevant tokens, enhancing the inference speed of DeiT-S by 54% (nearly 1.5× faster) while achieving a 0.39% improvement in ImageNet classification accuracy. For hyper-speed inference scenarios (with 251% acceleration), our approach surpasses other baselines by an accuracy over 8%.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 39 of its 45 references that are in the map. First posted on arXiv 21 Dec 2024.

Builds on

39 of 45 references.

References · 39

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  7. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  8. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
  9. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  10. 2020Reformer: The Efficient Transformercited by 1,658
  11. 2020Rethinking Attention with Performerscited by 1,584
  12. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
27 more
  1. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  2. 2022Token Merging: Your ViT But Fastercited by 995
  3. 2021Multiscale Vision Transformerscited by 896
  4. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
  5. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  6. 2019Are Sixteen Heads Really Better than One?cited by 803
  7. 2021Going deeper with Image Transformerscited by 759
  8. 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
  9. 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
  10. 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
  11. 2021MViTv2: Improved Multiscale Vision Transformers for Classification and Detectioncited by 516
  12. 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
  13. 2021Early Convolutions Help Transformers See Bettercited by 395
  14. 2018Efficient Attention: Attention with Linear Complexitiescited by 366
  15. 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 360
  16. 2021DeepViT: Towards Deeper Vision Transformercited by 288
  17. 2021Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformercited by 175
  18. 2021IA-RED2: Interpretability-Aware Redundancy Reduction for Vision Transformerscited by 127
  19. 2020Length-Adaptive Transformer: Train Once with Length Drop, Use Anytime with Searchcited by 76
  20. 2021Token Pooling in Vision Transformerscited by 68
  21. 2022CF-ViT: A General Coarse-to-Fine Method for Vision Transformercited by 63
  22. 2022Hydra Attention: Efficient Attention with Many Headscited by 55
  23. 2021Less is More: Pay Less Attention in Vision Transformerscited by 53
  24. 2022Beyond Attentive Tokens: Incorporating Token Importance and Diversity for Efficient Vision Transformerscited by 47
  25. 2021A Unified Pruning Framework for Vision Transformerscited by 40
  26. 2022CP-ViT: Cascade Vision Transformer Pruning via Progressive Sparsity Predictioncited by 39
  27. 2021A Study on Token Pruning for ColBERTcited by 14

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2023MSViT: Dynamic Mixed-Scale Tokenization for Vision Transformers
  2. 2024Token Cropr: Faster ViTs for Quite a Few Tasks
  3. 2026Decoder-Agnostic Token Merging for Vision Transformers: A Systematic Study of G2TM
  4. 2025Where Do Tokens Go? Understanding Pruning Behaviors in STEP at High Resolutions
  5. 2026RAPID: Layer-Wise Redundancy-Aware Pruning and Importance-Driven Token Merging for Efficient ViT
  6. 2023Dynamic Token Pruning in Plain Vision Transformers for Semantic Segmentation
  7. 2024VLTP: Vision-Language Guided Token Pruning for Task-Oriented Segmentation
  8. 2025Similarity-Aware Token Pruning: Your VLM but Faster