Representation Shift: Unifying Token Compression with FlashAttention
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
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2022A ConvNet for the 2020scited by 3,579
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2023InternVL: Scaling up Vision Foundation Models and Aligning for Generic Visual-Linguistic Taskscited by 2,565
38 more
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Rethinking Attention with Performerscited by 1,601
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,369
- 2022VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Trainingcited by 1,322
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,319
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,152
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
- 2022Token Merging: Your ViT But Fastercited by 1,021
- 2024VMamba: Visual State Space Modelcited by 969
- 2023Vision Transformers Need Registerscited by 871
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2021Going deeper with Image Transformerscited by 764
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 751
- 2023ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoderscited by 712
- 2017Localizing Moments in Video with Natural Languagecited by 663
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 642
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
- 2023VideoComposer: Compositional Video Synthesis with Motion Controllabilitycited by 464
- 2022InternVideo: General Video Foundation Models via Generative and Discriminative Learningcited by 447
- 2020End-to-End Video Instance Segmentation with Transformerscited by 443
- 2022Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizationscited by 363
- 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 362
- 2024InternVideo2: Scaling Foundation Models for Multimodal Video Understandingcited by 317
- 2021AdaViT: Adaptive Vision Transformers for Efficient Image Recognitioncited by 228
- 2022cosFormer: Rethinking Softmax in Attentioncited by 213
- 2023Unmasked Teacher: Towards Training-Efficient Video Foundation Modelscited by 199
- 2016Movie Descriptioncited by 181
- 2023EfficientViT: Memory Efficient Vision Transformer with Cascaded Group Attentioncited by 172
- 2021Learned Token Pruning for Transformerscited by 139
- 2022Revealing Single Frame Bias for Video-and-Language Learningcited by 133
50 most cited of 67 All 67 (JSON)
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026StreamCacheVGGT: Streaming Visual Geometry Transformers with Robust Scoring and Hybrid Cache Compressioncited by 5
- 2026DocPrune:Efficient Document Question Answering via Background, Question, and Comprehension-aware Token Pruningcited by 4
- 2026OVGGT: O(1) Constant-Cost Streaming Visual Geometry Transformercited by 1
- 2026Baseline-Relative Counterfactual Refinement for Bit-Aware Visual Token Communicationcited by 1
- 2026DORA: Dynamic Online Reinforcement Agent for Token Pruning in Vision Transformerscited by 0
- 2026DORA: Dynamic Online Reinforcement Agent for Token Pruning in Vision Transformers28 Sep 2026
- 2026Baseline-Relative Counterfactual Refinement for Bit-Aware Visual Token Communication17 Aug 2026
- 2026DocPrune:Efficient Document Question Answering via Background, Question, and Comprehension-aware Token Pruning24 Apr 2026
- 2026StreamCacheVGGT: Streaming Visual Geometry Transformers with Robust Scoring and Hybrid Cache Compression16 Apr 2026
- 2026OVGGT: O(1) Constant-Cost Streaming Visual Geometry Transformer6 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026Beyond Selection: Token Parameterization for Extreme Visual Token Compression
- 2026LRCP: Low-Rank Compressibility Guided Visual Token Pruning for Efficient LVLMs
- 2026Vision Token Reduction via Attention-Driven Self-Compression for Efficient Multimodal Large Language Models
- 2026V-CoLA: Vision Token Compression with Linear Attention
- 2025Hybrid Token Compression for Vision-Language Models
- 2026Rethinking Visual Token Compression for Video Large Language Models: A Simple Yet Strong Baseline
- 2026DynaTok: Temporally Adaptive and Positional Bias-Aware Token Compression for Video-LLMs
- 2024FocusLLaVA: A Coarse-to-Fine Approach for Efficient and Effective Visual Token Compression