mlsanityData to 14 Oct 2026

Representation Shift: Unifying Token Compression with FlashAttention

arXiv 2508.00367 ↗First posted 1 Aug 2025cs.CVcited by 5

On the map: Efficient LLM inference and serving → Visual token pruning in multimodal models

Abstract (arXiv)

Transformers have demonstrated remarkable success across vision, language, and video. Yet, increasing task complexity has led to larger models and more tokens, raising the quadratic cost of self-attention and the overhead of GPU memory access. To reduce the computation cost of self-attention, prior work has proposed token compression techniques that drop redundant or less informative tokens. Meanwhile, fused attention kernels such as FlashAttention have been developed to alleviate memory overhead by avoiding attention map construction and its associated I/O to HBM. This, however, makes it incompatible with most training-free token compression methods, which rely on attention maps to determine token importance. Here, we propose Representation Shift, a training-free, model-agnostic metric that measures the degree of change in each token's representation. This seamlessly integrates token compression with FlashAttention, without attention maps or retraining. Our method further generalizes beyond Transformers to CNNs and state space models. Extensive experiments show that Representation Shift enables effective token compression compatible with FlashAttention, yielding significant speedups of up to 5.5% and 4.4% in video-text retrieval and video QA, respectively. Code is available at https://github.com/mlvlab/Representation-Shift.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Visual token pruning in multimodal models, one of 12 directions in Efficient LLM inference and serving. Builds on 67 of its 78 references that are in the map. First posted on arXiv 1 Aug 2025.

Builds on

67 of 78 references.

References · 67

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  5. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
  6. 2020End-to-End Object Detection with Transformerscited by 7,414
  7. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  9. 2022A ConvNet for the 2020scited by 3,579
  10. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
  11. 2020Longformer: The Long-Document Transformercited by 3,413
  12. 2023InternVL: Scaling up Vision Foundation Models and Aligning for Generic Visual-Linguistic Taskscited by 2,565
38 more
  1. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  2. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
  3. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  4. 2020Rethinking Attention with Performerscited by 1,601
  5. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  6. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,369
  7. 2022VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Trainingcited by 1,322
  8. 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,319
  9. 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,152
  10. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
  11. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
  12. 2022Token Merging: Your ViT But Fastercited by 1,021
  13. 2024VMamba: Visual State Space Modelcited by 969
  14. 2023Vision Transformers Need Registerscited by 871
  15. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
  16. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
  17. 2021Going deeper with Image Transformerscited by 764
  18. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 751
  19. 2023ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoderscited by 712
  20. 2017Localizing Moments in Video with Natural Languagecited by 663
  21. 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 642
  22. 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
  23. 2022MaxViT: Multi-Axis Vision Transformercited by 476
  24. 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
  25. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
  26. 2023VideoComposer: Compositional Video Synthesis with Motion Controllabilitycited by 464
  27. 2022InternVideo: General Video Foundation Models via Generative and Discriminative Learningcited by 447
  28. 2020End-to-End Video Instance Segmentation with Transformerscited by 443
  29. 2022Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizationscited by 363
  30. 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 362
  31. 2024InternVideo2: Scaling Foundation Models for Multimodal Video Understandingcited by 317
  32. 2021AdaViT: Adaptive Vision Transformers for Efficient Image Recognitioncited by 228
  33. 2022cosFormer: Rethinking Softmax in Attentioncited by 213
  34. 2023Unmasked Teacher: Towards Training-Efficient Video Foundation Modelscited by 199
  35. 2016Movie Descriptioncited by 181
  36. 2023EfficientViT: Memory Efficient Vision Transformer with Cascaded Group Attentioncited by 172
  37. 2021Learned Token Pruning for Transformerscited by 139
  38. 2022Revealing Single Frame Bias for Video-and-Language Learningcited by 133

50 most cited of 67 All 67 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Beyond Selection: Token Parameterization for Extreme Visual Token Compression
  2. 2026LRCP: Low-Rank Compressibility Guided Visual Token Pruning for Efficient LVLMs
  3. 2026Vision Token Reduction via Attention-Driven Self-Compression for Efficient Multimodal Large Language Models
  4. 2026V-CoLA: Vision Token Compression with Linear Attention
  5. 2025Hybrid Token Compression for Vision-Language Models
  6. 2026Rethinking Visual Token Compression for Video Large Language Models: A Simple Yet Strong Baseline
  7. 2026DynaTok: Temporally Adaptive and Positional Bias-Aware Token Compression for Video-LLMs
  8. 2024FocusLLaVA: A Coarse-to-Fine Approach for Efficient and Effective Visual Token Compression