TL;DR
Vision-Language Models (VLMs) spend massive compute processing redundant visual tokens, but standard attention-based pruning methods are severely corrupted by intrinsic LLM biases like recency bias and attention sinks. This paper introduces two lightweight, training-free debiasing techniques that filter out these positional and padding distortions. By restoring the semantic clarity of attention maps, this plug-and-play method consistently boosts the accuracy of existing pruning frameworks across multiple benchmarks.
What Problem Does This Paper Address?
Large Vision-Language Models (VLMs) typically process images by breaking them down into hundreds or thousands of patch tokens. Because these visual tokens heavily outnumber text tokens, they create a massive computational bottleneck and slow down inference. To mitigate this, researchers use "token pruning"—discarding visual tokens that receive low attention scores from the language model, assuming they are less relevant to the text prompt.
However, the authors reveal a critical flaw in this approach: the Large Language Model (LLM) decoders inside VLMs have pathological attention habits inherited from their sequential training. Specifically, they suffer from recency bias (disproportionately favoring tokens at the end of a sequence) and attention sinks (allocating massive attention to semantically empty tokens like the Begin-of-Sequence or padding tokens).
When an image is flattened into a sequence, recency bias translates spatially into an over-attention to the bottom of the image. Consequently, standard pruning methods accidentally keep useless padding or random background patches at the bottom of the frame while discarding crucial visual details needed to answer a prompt.
Methods
The authors propose two simple, training-free, and plug-and-play fixes to restore the reliability of attention maps:
-
Positional Debiasing: To counteract recency bias, the authors statistically model the upward trend of attention across a large dataset using a smooth exponential function: $$f(x) = \mu \cdot e^{\sigma x}$$ By dividing the raw attention scores by this fitted curve, they neutralize position-based inflation, leaving a purely content-aware importance score.
-
Padding Attention Suppression: To eliminate attention sinks in the image borders, they simply zero out the attention scores of any padding tokens.
These steps require no retraining or architectural modifications and can be integrated into any attention-based pruning pipeline with just a few lines of code.
Datasets
The method was rigorously evaluated on ten image-based benchmarks: VQAv2, GQA, VizWiz, ScienceQA-Image (SQA), TextVQA, POPE, MME, MMBench, MMBench-CN, and MM-Vet.
For temporal video understanding, they tested the framework on three video QA benchmarks: TGIF-QA, MSVD-QA, and MSR-VTT-QA. No new datasets were introduced.
Key Insights and Ideas
- LLM Biases Have Spatial Consequences: Because images are flattened into sequences (usually top-to-bottom, left-to-right), the LLM's sequential recency bias inadvertently creates a spatial bias, making the model think the bottom of every image is inherently more important than the top.
- The Illusion of Importance: Semantically empty padding regions trigger abnormally large activations in the hidden states of the model, creating an "attention sink." Pruning algorithms mistake this massive activation for semantic relevance.
- Simple Math Beats Complex Retraining: Instead of expensive sparsification-aware retraining or modifying positional encodings (like RoPE), a simple post-hoc statistical normalization completely restores the reliability of language-to-vision attention maps.
Key Results
The authors integrated their debiasing module into six state-of-the-art pruning methods (FastV, PyramidDrop, SparseVLM, HiMAP, TokenCarve, and iLLaVA) using LLaVA-v1.5 (7B and 13B) backbones.
- Consistent Performance Gains: The debiased attention maps consistently improved average accuracy across all six pruning methods. For instance, applying the method to FastV on LLaVA-7B increased overall accuracy across the ten benchmarks from 59.6% to 62.5%.
- Robustness to Aggressive Pruning: The performance gains became even more pronounced under tight token budgets (e.g., pruning down to just 64 tokens), proving that debiasing ensures only the most critical tokens survive.
- Qualitative Clarity: Visualizations show that standard pruning frequently retains empty gray padding bars or random grass patches at the bottom of a baseball field. With debiasing, the model accurately preserves fine-grained details like numbers on a ruler or jersey digits.
Limitations and Future Work
- Architecture Dependency: Padding suppression relies on the explicit presence of padding tokens; it cannot directly benefit padding-free or alternative tokenization architectures.
- Inference-Only Patch: This method mitigates the symptoms of attention bias during inference rather than curing the root cause during LLM training. The underlying hidden representations may still carry latent biases. The authors suggest that future work should look into more fundamental, architecture-agnostic training-time debiasing strategies.
Summary updated