TL;DR
Researchers have discovered that Large Vision Language Models (LVLMs) exhibit a "cliff layer" effect: image tokens are crucial in shallow layers but become largely redundant in deeper layers. By identifying and truncating these redundant visual features, models can maintain—and sometimes even improve—their reasoning accuracy while potentially saving on computation.
What Problem Does This Paper Address?
Large Vision Language Models (LVLMs) like LLaVA or Qwen-VL are essentially "black boxes." While they excel at multimodal tasks, we don't fully understand how they integrate visual information with text during reasoning.
A typical image is converted into hundreds of tokens to be processed by the model's Transformer backbone. The authors ask: Do all these visual tokens remain relevant throughout the entire depth of the network? Or does the model "digest" the image early on and focus purely on linguistic reasoning in its final stages? Understanding this "information flow" is key to improving model interpretability and efficiency.
Methods
The authors propose a dual-pronged approach to visualize how information moves through the model:
- Attention Analysis (Forward Pass): They track attention scores to see which tokens the model "looks at" during forward propagation.
- LLaVA-CAM (Backward Pass): Inspired by Grad-CAM, this method captures gradient changes during backward propagation. It reveals which specific image regions actually contribute to the final answer, providing a more functional view of importance than attention scores alone.
To verify their findings, they implemented an Image Token Truncation strategy. By zeroing out image tokens after a certain layer (the "cliff layer"), they tested whether the model could still reason effectively using only the remaining textual information and the "digested" visual features from earlier layers.
Datasets
The study evaluated several popular LVLMs (LLaVA-1.5, Intern-VL, Qwen-VL, Shikra, InstructBLIP2, and LLaVA-1.6) across four diverse benchmarks:
- ScienceQA: Complex multimodal reasoning with chain-of-thought.
- POPE: A benchmark for evaluating object hallucination (e.g., "Is there a horse in the image?").
- TextVQA: Tasks requiring the model to read and reason about text within images.
- CHAIR: A metric used to assess object hallucination in image captioning.
Key Insights and Ideas
- The Information Flow Cliff: The most striking finding is that image tokens tend to converge in shallow layers but diversify or disappear in deeper layers. The authors call the point where image tokens cease to contribute the "image information flow (i-f) cliff layer."
- Task Complexity Dictates the Cliff: The "cliff" appears at different depths depending on the task. In complex reasoning tasks (ScienceQA), the model converges on relevant regions very early (around layer 12 in LLaVA-1.5). In simpler tasks like object detection (POPE), the visual information remains relevant deeper into the network (up to layer 24).
- The Retrospective Layer: Interestingly, at the very last layer (e.g., layer 32), there is often a sudden spike in attention back to the image and prompt tokens. The authors suggest this acts as a "retrospective" step where the model integrates all initial inputs one last time before generating the final answer.
Key Results
The experimental results strongly support the "redundancy" hypothesis. In many cases, truncating image tokens at the cliff layer actually improved performance:
- LLaVA-1.5 on POPE: Accuracy increased from a baseline of 84.70% to 85.51% after truncating redundant image tokens.
- Intern-VL on ScienceQA: Accuracy rose from 66.20% to 66.85%.
- Generalization: This pattern held true across different model architectures and projector types (MLP, Linear, or Cross-attention), suggesting that the "cliff layer" is an inherent property of how LLM-based backbones handle multimodal data.
Limitations and Future Work
While the results are compelling, the authors acknowledge several limitations:
- Model Scale: The study focused primarily on 7B parameter models. It remains to be seen if larger models (13B, 70B+) exhibit the same cliff layer patterns.
- Interpretability vs. Dynamics: Attention scores are static snapshots; they may not fully capture the dynamic "thinking" process of the model.
- Efficiency Gains: While the paper proves redundancy exists, it does not yet provide a production-ready method for reducing computational overhead during inference, which is a promising direction for future engineering work.
Summary updated