Introduction
Large Vision-Language Models (LVLMs) achieve impressive performance across multiple tasks, but their inference cost skyrockets when processing high-resolution visual inputs due to the sheer volume of visual tokens. While "token pruning" has emerged as a promising solution to discard redundant information, existing methods suffer from a "spatial amnesia" problem. Because they primarily focus on semantic relevance (e.g., keeping pixels that look like a cat), they often discard background tokens that serve as crucial spatial anchors. This causes models to fail at visual grounding and spatial reasoning tasks (e.g., determining where the cat is relative to a chair).
IVC-Prune is a novel, training-free strategy that reduces the number of visual tokens in LVLMs by approximately 50% while maintaining over 99% of original performance. It achieves this by identifying and preserving "Implicit Visual Coordinate" (IVC) tokens—specific positions within Rotary Position Embeddings (RoPE) that act as essential spatial anchors for the model's reasoning.
Methods: Preserving Spatial Maps and Semantics
The authors introduce IVC-Prune, a prompt-aware pruning method that preserves two distinct types of tokens to maintain both spatial awareness and semantic accuracy:
- Implicit Visual Coordinate (IVC) Tokens: The authors mathematically prove that LVLMs using Rotary Position Embeddings (RoPE) implicitly establish a coordinate system. They identify "anchor" positions where the RoPE rotation matrices approximate the identity matrix (real-axis) or a 90° rotation (imaginary-axis). These tokens are retained regardless of their visual content to preserve the model's internal spatial "grid."
- Foreground Tokens: To find semantically important tokens without the bias of positional embeddings, the authors employ a robust two-stage process:
- Semantic Seed Discovery: They calculate the similarity between text and image tokens using value vectors (which are unaffected by RoPE) to find the most relevant "seeds."
- Contextual Refinement: They expand these seeds to capture entire objects by evaluating the similarity between the seeds and the remaining visual tokens.
This pruning occurs once at a specific intermediate layer. The selected tokens are then used to prune the KV caches of all previous and subsequent layers, maximizing computational efficiency.
Key Insights
- RoPE is a Mapmaker: A significant discovery is that RoPE isn't just for calculating relative distance; its periodic nature creates a stable, implicit coordinate system that the model relies on for absolute localization.
- The "Early Layer" Myth: Previous research suggested that pruning early layers inherently damages performance. This paper reveals that the damage stems from the accidental removal of IVC tokens, not the pruning itself. If IVC tokens are preserved, early layers can be pruned safely.
- Value-Vector Similarity over Attention Scores: Standard attention scores are heavily biased by token proximity. By using value-vector similarity for token selection, IVC-Prune identifies semantically relevant tokens more accurately across the entire image.
Evaluation and Key Results
The researchers evaluated IVC-Prune across 20 diverse benchmarks using four major LVLM families (Qwen2.5-VL, InternVL 2.5, DeepSeek-VL2, and LLaVA-v1.5). The evaluation covered visual grounding (RefCOCO variants), general reasoning, hallucination/OCR, and video understanding.
- Efficiency: IVC-Prune reduces visual tokens by ~50% and cuts total inference time significantly (e.g., from ~60 minutes to ~47 minutes on RefCOCOtestA).
- Performance Retention: Across almost all benchmarks, the model maintains ≥99% of its vanilla performance. In some instances, performance actually improves due to the removal of distracting redundant tokens.
- Superior Grounding: On spatially sensitive tasks like RefCOCO, IVC-Prune significantly outperforms existing state-of-the-art pruning methods (like FastV and PDrop), which often suffer double-digit performance drops on models like Qwen2.5-VL.
Limitations and Future Work
Currently, IVC-Prune uses a fixed pruning ratio (e.g., 50%), though an adaptive ratio based on image complexity would be more optimal. Additionally, the "optimal" layer for pruning is determined empirically, and the specific math for identifying IVC tokens is tailored to RoPE-based models. Future work will explore dynamic, task-adaptive pruning ratios and the integration of IVC-Prune directly into the training process of future LVLMs.
Summary updated