Abstract
Large Vision Language Models (LVLMs) achieve great performance on visual-language reasoning tasks, however, the black-box nature of LVLMs hinders in-depth research on the reasoning mechanism. As all images need to be converted into image tokens to fit the input format of large language models (LLMs) along with natural language prompts, sequential visual representation is essential to the performance of LVLMs, and the information flow analysis approach can be an effective tool for determining interactions between these representations. In this paper, we propose integrating attention analysis with LLaVA-CAM, concretely, attention scores highlight relevant regions during forward propagation, while LLaVA-CAM captures gradient changes through backward propagation, revealing key image features. By exploring the information flow from the perspective of visual representation contribution, we observe that it tends to converge in shallow layers but diversify in deeper layers. To validate our analysis, we conduct comprehensive experiments with truncation strategies across various LVLMs for visual question answering and image captioning tasks, and experimental results not only verify our hypothesis but also reveal a consistent pattern of information flow convergence in the corresponding layers, and the information flow cliff layer will be different due to different contexts.
Introduction
Large Vision Language Models (LVLMs) like LLaVA have revolutionized multimodal AI by processing visual tokens alongside text. However, despite their success, these models remain largely "black boxes." A critical question persists: how do image and text tokens interact throughout the model's architecture? Current research suggests that deep layers may process visual information inefficiently, but a clear mapping of "information flow"—the actual influence of specific tokens on the final output—has been missing.
Methodology: Mapping the Black Box
To investigate these interactions, we developed a dual-pronged analysis framework:
- LLaVA-CAM: Utilizing backward propagation gradients to visualize which image regions contribute to the generated answer at each layer.
- Attention-Score Analysis: Examining forward propagation to quantify the "weight" assigned to system prompts, image tokens, and user questions.
- Truncation Experiments: To validate our observations, we implemented a strategy to "cut off" image tokens at various layers. If model performance remains stable or improves without these tokens in deeper layers, it confirms their redundancy.
The "Information Flow Cliff"
Our analysis reveals a striking phenomenon: image information flow tends to converge on relevant features in shallow layers but "diverges" or becomes sparse in deeper layers. We identify a specific "cliff layer" after which image tokens become highly redundant.
As shown in the conceptual diagram above, the model's reliance on visual input drops significantly after a certain depth. This "cliff" is not fixed; its location depends on task complexity. In complex reasoning tasks like ScienceQA, the model completes its visual "heavy lifting" early (around layer 12). Conversely, in simpler tasks like image captioning, the model maintains visual attention until much later (around layer 30).
Quantitative analysis (Figure 2A) shows that the proportion of weight assigned to image tokens peaks early and then declines, while system and user prompt weights dominate the middle and late stages. Interestingly, a "retrospective" spike often occurs in the final layer, where the model refocuses on all inputs before outputting the final answer.
Experimental Results
The truncation experiments yielded counter-intuitive but significant results:
- Performance Gains: Truncating image tokens at the cliff layer often improved accuracy. For instance, LLaVA 1.5's ScienceQA score rose from 65.00% to 66.48% post-truncation.
- Cross-Model Consistency: This pattern of deep-layer redundancy was consistent across various models, including LLaVA, Intern-VL, and Qwen-VL.
- Efficiency: Since image tokens constitute the bulk of the input sequence, identifying the cliff layer offers a path to significantly faster inference by dropping redundant tokens mid-stack.
Conclusion
LVLMs currently exhibit massive information redundancy, effectively "over-thinking" visual inputs in deeper layers. By identifying the task-specific "cliff layer," we can move toward more efficient, interpretable, and accurate multimodal reasoning. Future work will explore scaling these findings to larger models (13B+) and developing automated pruning architectures.
Summary updated