TL;DR
VISion On Request (VISOR) optimizes Large Vision-Language Models (LVLMs) by sparsifying the computational layers executed during inference rather than discarding visual tokens. By dynamically allocating cheap cross-attention and selective self-attention layers based on per-sample complexity, VISOR achieves up to an 18× reduction in FLOPs while matching or exceeding state-of-the-art accuracy on complex, high-resolution visual reasoning tasks.
What Problem Does This Paper Address?
Large Vision-Language Models (LVLMs) typically process images by converting them into a large grid of dense visual tokens. As image resolutions increase to handle detailed tasks, the number of tokens grows sharply. Because standard transformer layers perform full self-attention across both text and vision tokens, the computational cost scales quadratically, making inference incredibly expensive.
To fix this, prior works rely on visual token reduction (pruning or merging redundant image patches). However, the authors demonstrate that this strategy creates an irreversible information bottleneck. While token reduction works fine for "easy" tasks requiring only coarse visual understanding, it severely degrades performance on "hard" tasks that demand fine-grained reasoning, such as reading charts or analyzing dense documents. VISOR aims to reduce inference costs without discarding any high-resolution visual information.
Methods
Instead of compressing the input image tokens, VISOR decouples the processing of text and vision streams inside the LLM backbone, executing vision-related computations only "on request."
- Efficient Visual Context via Cross-Attention: Most layers in the model operate strictly on text tokens. To provide visual context cheaply, VISOR inserts a small, uniformly distributed set of cross-attention layers. Here, text tokens act as queries to sample the static visual features without modifying or updating the visual tokens themselves.
- Selective Self-Attention for Feature Refinement: For complex tasks, static features aren't enough. VISOR introduces a few strategically placed full self-attention layers that allow the model to update and refine visual representations hierarchically.
- Universal Training: The authors train a single universal network capable of running under different computational budgets by randomly sampling different configurations (varying the number of active self-attention layers) during fine-tuning.
- Adaptive Inference Policy: At test time, a lightweight policy network (an MLP processing a specialized routing token) predicts the optimal layer configuration on a per-sample basis. For simple questions, it skips the expensive self-attention layers entirely; for complex queries, it activates them.
Datasets
The model was trained on standard datasets used by LLaVA-OV:
- Pretraining: A 4M knowledge dataset combining parts of CC3M, COCO118K, BLIP558K, SynthDog, and Evol-Instruct.
- Fine-tuning: The LLaVA-OV Single-Image 3.2M dataset.
For evaluation, the authors categorized 13 diverse benchmarks into two groups based on their sensitivity to visual token dropping:
- Easy Datasets (Coarse Vision): RealWorldQA, ScienceQA, GQA, MME, MMSTAR, MMBench, and POPE.
- Hard Datasets (Fine-grained Vision): TextVQA, AI2D, ChartQA, OCRBench, InfoVQA, and DocVQA.
Key Insights and Ideas
- Image-Text Interactions are Sparse and Task-Dependent: By analyzing attention maps, the authors found that standard models do not look at the image uniformly. Easy tasks only require visual grounding at the very beginning and end of the network, while hard tasks require sustained attention throughout (see Figure 2 in the paper).
- Visual Features Evolve in Stages: Using Centered Kernel Alignment (CKA) similarity, the paper shows that for simple tasks, visual features remain static across layers. For hard tasks, features evolve progressively in distinct clusters, proving that visual representations must be actively refined to solve complex problems.
- Layer Sparsification > Token Reduction: Retaining all tokens but limiting the layers that process them avoids the information bottleneck. If a fine-grained detail is needed later in the network, it is still fully accessible.
Key Results
VISOR was evaluated against state-of-the-art token reduction methods using a LLaVA-OV (0.5B) backbone:
- Efficiency vs. Accuracy: On easy datasets, VISOR matches or beats baseline performance while achieving an 8.6× FLOPs reduction. When combined with token reduction (VISOR-TR), it pushes efficiency to 18× FLOPs savings with negligible accuracy loss.
- Dominance on Hard Tasks: On complex datasets like DocVQA and ChartQA, traditional token compression methods suffer massive accuracy drops (up to 20%+). VISOR maintains or exceeds the baseline performance of the dense model while remaining significantly faster.
- Regularization Effect: Interestingly, training the model universally across multiple computational budgets acts as a form of regularization, often allowing the universal VISOR model to outperform independently trained, fixed-budget counterparts.
Limitations and Future Work
- Parameter Overhead: Introducing the cross-attention layers adds a small architectural overhead, increasing the total model parameter count by less than 7.5%.
- Policy Training Stability: Training the dynamic routing policy directly can be unstable. The authors bypassed this using an offline pseudo-labeling strategy, but end-to-end joint training of the policy and the network remains an open area for improvement.
Summary updated