mlsanityData to 14 Oct 2026

FlexAttention for Efficient High-Resolution Vision-Language Models

arXiv 2407.20228 ↗First posted 29 Jul 2024cs.CVcited by 9

On the map: Multimodal LLMs / vision-language models → Visual token pruning and efficiency

Abstract (arXiv)

Current high-resolution vision-language models encode images as high-resolution image tokens and exhaustively take all these tokens to compute attention, which significantly increases the computational cost. To address this problem, we propose FlexAttention, a flexible attention mechanism for efficient high-resolution vision-language models. Specifically, a high-resolution image is encoded both as high-resolution tokens and low-resolution tokens, where only the low-resolution tokens and a few selected high-resolution tokens are utilized to calculate the attention map, which greatly shrinks the computational cost. The high-resolution tokens are selected via a high-resolution selection module which could retrieve tokens of relevant regions based on an input attention map. The selected high-resolution tokens are then concatenated to the low-resolution tokens and text tokens, and input to a hierarchical self-attention layer which produces an attention map that could be used for the next-step high-resolution token selection. The hierarchical self-attention process and high-resolution token selection process are performed iteratively for each attention layer. Experiments on multimodal benchmarks prove that our FlexAttention outperforms existing high-resolution VLMs (e.g., relatively ~9% in V* Bench, ~7% in TextVQA), while also significantly reducing the computational cost by nearly 40%.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Visual token pruning and efficiency, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 46 of its 61 references that are in the map. First posted on arXiv 29 Jul 2024.

Builds on

46 of 61 references.

References · 46

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2023GPT-4 Technical Reportcited by 18,396
  7. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  8. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
  9. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  10. 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
  11. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
  12. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
34 more
  1. 2023InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuningcited by 2,876
  2. 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,711
  3. 2015VQA: Visual Question Answeringcited by 2,506
  4. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  5. 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
  6. 2023MMBench: Is Your Multi-modal Model an All-around Player?cited by 2,141
  7. 2019Towards VQA Models That Can Readcited by 1,718
  8. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  9. 2020Reformer: The Efficient Transformercited by 1,668
  10. 2023MME: A Comprehensive Evaluation Benchmark for Multimodal Large Language Modelscited by 1,652
  11. 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,553
  12. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  13. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  14. 2023MM-Vet: Evaluating Large Multimodal Models for Integrated Capabilitiescited by 1,239
  15. 2020Oscar: Object-Semantics Aligned Pre-training for Vision-Language Taskscited by 1,214
  16. 2019OK-VQA: A Visual Question Answering Benchmark Requiring External Knowledgecited by 1,121
  17. 2016Modeling Context in Referring Expressionscited by 1,063
  18. 2023CogAgent: A Visual Language Model for GUI Agentscited by 704
  19. 2019VideoBERT: A Joint Model for Video and Language Representation Learningcited by 703
  20. 2023MiniGPT-v2: large language model as a unified interface for vision-language multi-task learningcited by 625
  21. 2023Otter: A Multi-Modal Model with In-Context Instruction Tuningcited by 550
  22. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  23. 2019Unified Vision-Language Pre-Training for Image Captioning and VQAcited by 494
  24. 2023V*: Guided Visual Search as a Core Mechanism in Multimodal LLMscited by 482
  25. 2019Unicoder-VL: A Universal Encoder for Vision and Language by Cross-modal Pre-trainingcited by 451
  26. 2021Random Feature Attentioncited by 354
  27. 2023GeoChat: Grounded Large Vision-Language Model for Remote Sensingcited by 328
  28. 2020Towards Learning a Generic Agent for Vision-and-Language Navigation via Pre-trainingcited by 231
  29. 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 205
  30. 2020RSVQA: Visual Question Answering for Remote Sensing Datacited by 203
  31. 2021VinVL: Revisiting Visual Representations in Vision-Language Modelscited by 110
  32. 2023DocPedia: Unleashing the Power of Large Multimodal Model in the Frequency Domain for Versatile Document Understandingcited by 106
  33. 2023OtterHD: A High-Resolution Multi-modality Modelcited by 72
  34. 2024RWKV-TS: Beyond Traditional Recurrent Neural Network for Time Series Taskscited by 22

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 5; 2026: 2.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Pyramid Token Pruning for High-Resolution Large Vision-Language Models via Region, Token, and Instruction-Guided Importance
  2. 2025HERO: Rethinking Visual Token Early Dropping in High-Resolution Large Vision-Language Models
  3. 2025STAR: Stage-Wise Attention-Guided Token Reduction for Efficient Large Vision-Language Models Inference
  4. 2026When Text Matters: Design Principles for Visual Token Pruning in Vision-Language Model
  5. 2026Attention-Free and Lightweight Token Reduction for Efficient Vision-Language Models
  6. 2026LearnPruner: Rethinking Attention-based Token Pruning in Vision Language Models
  7. 2026Efficient Inference for Large Vision-Language Models: Bottlenecks, Techniques, and Prospects
  8. 2026HAP: Head-Adaptive Visual Token Pruning via Cross-Modal Alignment