mlsanityData to 14 Oct 2026

Token Compensator: Altering Inference Cost of Vision Transformer without Re-Tuning

arXiv 2408.06798 ↗First posted 13 Aug 2024cs.CVcited by 6

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

Abstract (arXiv)

Token compression expedites the training and inference of Vision Transformers (ViTs) by reducing the number of the redundant tokens, e.g., pruning inattentive tokens or merging similar tokens. However, when applied to downstream tasks, these approaches suffer from significant performance drop when the compression degrees are mismatched between training and inference stages, which limits the application of token compression on off-the-shelf trained models. In this paper, we propose a model arithmetic framework to decouple the compression degrees between the two stages. In advance, we additionally perform a fast parameter-efficient self-distillation stage on the pre-trained models to obtain a small plugin, called Token Compensator (ToCom), which describes the gap between models across different compression degrees. During inference, ToCom can be directly inserted into any downstream off-the-shelf models with any mismatched training and inference compression degrees to acquire universal performance improvements without further training. Experiments on over 20 downstream tasks demonstrate the effectiveness of our framework. On CIFAR100, fine-grained visual classification, and VTAB-1k, ToCom can yield up to a maximum improvement of 2.3%, 1.5%, and 2.0% in the average performance of DeiT-B, respectively. Code: https://github.com/JieShibo/ToCom

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Token pruning and merging for ViTs, one of 12 directions in Efficient LLM inference and serving. Builds on 47 of its 69 references that are in the map. First posted on arXiv 13 Aug 2024.

Builds on

47 of 69 references.

Closest ancestors · 5

Same direction, newest first

  1. 2023PPT: Token Pruning and Pooling for Efficient Vision Transformers3 Oct
  2. 2023DiffRate : Differentiable Compression Rate for Efficient Vision Transformers29 May
  3. 2023Joint Token Pruning and Squeezing Towards More Aggressive Compression of Vision Transformers21 Apr
  4. 2022Token Merging: Your ViT But Faster17 Oct
  5. 2021Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer3 Aug

Other references · 42

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  3. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  4. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  5. 2013Describing Textures in the Wildcited by 2,125
  6. 2022Visual Prompt Tuningcited by 1,681
  7. 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,496
  8. 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,457
  9. 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,245
  10. 2022Editing Models with Task Arithmeticcited by 1,120
  11. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
  12. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
30 more
  1. 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 797
  2. 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 724
  3. 2022AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognitioncited by 719
  4. 2022Vision Transformer Adapter for Dense Predictionscited by 565
  5. 2017Learning multiple visual domains with residual adapterscited by 557
  6. 2018Rotation Equivariant CNNs for Digital Pathologycited by 422
  7. 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 362
  8. 2022Scaling & Shifting Your Features: A New Baseline for Efficient Model Tuningcited by 294
  9. 2021Post-Training Quantization for Vision Transformercited by 278
  10. 2023LCM-LoRA: A Universal Stable-Diffusion Acceleration Modulecited by 211
  11. 2023ZipLoRA: Any Subject in Any Style by Effectively Merging LoRAscited by 194
  12. 2021Adaptive Token Sampling For Efficient Vision Transformerscited by 183
  13. 2023Composing Parameter-Efficient Modules with Arithmetic Operationscited by 156
  14. 2021FQ-ViT: Post-Training Quantization for Fully Quantized Vision Transformercited by 151
  15. 2022Neural Prompt Searchcited by 135
  16. 2021Patch Slimming for Efficient Vision Transformerscited by 133
  17. 2022FacT: Factor-Tuning for Lightweight Adaptation on Vision Transformercited by 133
  18. 2022Convolutional Bypasses Are Better Vision Transformer Adapterscited by 121
  19. 2017Fine-Grained Car Detection for Visual Census Estimationcited by 76
  20. 2016DeepMind Labcited by 74
  21. 2023E^2VPT: An Effective and Efficient Approach for Visual Prompt Tuningcited by 70
  22. 2023X-Pruner: eXplainable Pruning for Vision Transformerscited by 68
  23. 2022Vision Transformer Slimming: Multi-Dimension Searching in Continuous Optimization Spacecited by 66
  24. 2023Oscillation-free Quantization for Low-bit Vision Transformerscited by 57
  25. 2023Improving Visual Prompt Tuning for Self-supervised Vision Transformerscited by 57
  26. 2023CrossGET: Cross-Guided Ensemble of Tokens for Accelerating Vision-Language Transformerscited by 44
  27. 2023Revisiting the Parameter Efficiency of Adapters from the Perspective of Precision Redundancycited by 44
  28. 2024Memory-Space Visual Prompting for Efficient Vision-Language Fine-Tuningcited by 20
  29. 2023Consolidator: Mergeable Adapter with Grouped Connections for Visual Adaptationcited by 18
  30. 2022Super Vision Transformercited by 13

Built on by

Cited by year (2026 to 14 Oct)

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

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Token Compression Meets Compact Vision Transformers: A Survey and Comparative Evaluation for Edge AI
  2. 2025ToFe: Lagged Token Freezing and Reusing for Efficient Vision Transformer Inference
  3. 2025Efficient Token Compression for Vision Transformer with Spatial Information Preserved
  4. 2024Visual-Word Tokenizer: Beyond Fixed Sets of Tokens in Vision Transformers
  5. 2024HiRED: Attention-Guided Token Dropping for Efficient Inference of High-Resolution Vision-Language Models
  6. 2026Fusion: A Framework for Unified Sequential Token AdaptatIon in VisiOn TraNsformers
  7. 2026Beyond Selection: Token Parameterization for Extreme Visual Token Compression
  8. 2023CAIT: Triple-Win Compression towards High Accuracy, Fast Inference, and Favorable Transferability For ViTs