FlexAttention for Efficient High-Resolution Vision-Language Models
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
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023GPT-4 Technical Reportcited by 18,396
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
34 more
- 2023InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuningcited by 2,876
- 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,711
- 2015VQA: Visual Question Answeringcited by 2,506
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
- 2023MMBench: Is Your Multi-modal Model an All-around Player?cited by 2,141
- 2019Towards VQA Models That Can Readcited by 1,718
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Reformer: The Efficient Transformercited by 1,668
- 2023MME: A Comprehensive Evaluation Benchmark for Multimodal Large Language Modelscited by 1,652
- 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,553
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2023MM-Vet: Evaluating Large Multimodal Models for Integrated Capabilitiescited by 1,239
- 2020Oscar: Object-Semantics Aligned Pre-training for Vision-Language Taskscited by 1,214
- 2019OK-VQA: A Visual Question Answering Benchmark Requiring External Knowledgecited by 1,121
- 2016Modeling Context in Referring Expressionscited by 1,063
- 2023CogAgent: A Visual Language Model for GUI Agentscited by 704
- 2019VideoBERT: A Joint Model for Video and Language Representation Learningcited by 703
- 2023MiniGPT-v2: large language model as a unified interface for vision-language multi-task learningcited by 625
- 2023Otter: A Multi-Modal Model with In-Context Instruction Tuningcited by 550
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
- 2019Unified Vision-Language Pre-Training for Image Captioning and VQAcited by 494
- 2023V*: Guided Visual Search as a Core Mechanism in Multimodal LLMscited by 482
- 2019Unicoder-VL: A Universal Encoder for Vision and Language by Cross-modal Pre-trainingcited by 451
- 2021Random Feature Attentioncited by 354
- 2023GeoChat: Grounded Large Vision-Language Model for Remote Sensingcited by 328
- 2020Towards Learning a Generic Agent for Vision-and-Language Navigation via Pre-trainingcited by 231
- 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 205
- 2020RSVQA: Visual Question Answering for Remote Sensing Datacited by 203
- 2021VinVL: Revisiting Visual Representations in Vision-Language Modelscited by 110
- 2023DocPedia: Unleashing the Power of Large Multimodal Model in the Frequency Domain for Versatile Document Understandingcited by 106
- 2023OtterHD: A High-Resolution Multi-modality Modelcited by 72
- 2024RWKV-TS: Beyond Traditional Recurrent Neural Network for Time Series Taskscited by 22
Built on by
Citing papers per year: 2024: 2; 2025: 5; 2026: 2.
9 papers.
- 2024AuroraCap: Efficient, Performant Video Detailed Captioning and a New Benchmarkcited by 140
- 2025Optimizing Anytime Reasoning via Budget Relative Policy Optimizationcited by 27
- 2025Multimodal Mamba: Decoder-only Multimodal State Space Model via Quadratic to Linear Distillationcited by 12
- 2026The Model Knows Which Tokens Matter: Automatic Token Selection via Noise Gatingcited by 11
- 2025L2M: Mutual Information Scaling Law for Long-Context Language Modelingcited by 9
- 2024NeuralPLexer3: Accurate Biomolecular Complex Structure Prediction with Flow Modelscited by 5
- 2025Vision Remember: Recovering Visual Information in Efficient LVLM with Vision Feature Resamplingcited by 2
- 2025Remote Sensing Image Intelligent Interpretation with the Language-Centered Perspective: Principles, Methods and Challengescited by 1
- 2026Representative Spectral Correlation Network for Multi-source Remote Sensing Image Classificationcited by 1
- 2026Representative Spectral Correlation Network for Multi-source Remote Sensing Image Classification30 Apr 2026
- 2026The Model Knows Which Tokens Matter: Automatic Token Selection via Noise Gating7 Mar 2026
- 2025Remote Sensing Image Intelligent Interpretation with the Language-Centered Perspective: Principles, Methods and Challenges9 Aug 2025
- 2025Vision Remember: Recovering Visual Information in Efficient LVLM with Vision Feature Resampling4 Jun 2025
- 2025Optimizing Anytime Reasoning via Budget Relative Policy Optimization19 May 2025
- 2025L2M: Mutual Information Scaling Law for Long-Context Language Modeling6 Mar 2025
- 2025Multimodal Mamba: Decoder-only Multimodal State Space Model via Quadratic to Linear Distillation18 Feb 2025
- 2024NeuralPLexer3: Accurate Biomolecular Complex Structure Prediction with Flow Models14 Dec 2024
- 2024AuroraCap: Efficient, Performant Video Detailed Captioning and a New Benchmark4 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2025Pyramid Token Pruning for High-Resolution Large Vision-Language Models via Region, Token, and Instruction-Guided Importance
- 2025HERO: Rethinking Visual Token Early Dropping in High-Resolution Large Vision-Language Models
- 2025STAR: Stage-Wise Attention-Guided Token Reduction for Efficient Large Vision-Language Models Inference
- 2026When Text Matters: Design Principles for Visual Token Pruning in Vision-Language Model
- 2026Attention-Free and Lightweight Token Reduction for Efficient Vision-Language Models
- 2026LearnPruner: Rethinking Attention-based Token Pruning in Vision Language Models
- 2026Efficient Inference for Large Vision-Language Models: Bottlenecks, Techniques, and Prospects
- 2026HAP: Head-Adaptive Visual Token Pruning via Cross-Modal Alignment