From Redundancy to Relevance: Information Flow in LVLMs Across Reasoning Tasks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Xiaofeng, Quan, Yihao, Shen, Chen, Yuan, Xiaosong, Yan, Shaotian, Xie, Liang, Wang, Wenxiao, Gu, Chaochen, Tang, Hao, Ye, Jieping
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913549634240512
author Zhang, Xiaofeng
Quan, Yihao
Shen, Chen
Yuan, Xiaosong
Yan, Shaotian
Xie, Liang
Wang, Wenxiao
Gu, Chaochen
Tang, Hao
Ye, Jieping
author_facet Zhang, Xiaofeng
Quan, Yihao
Shen, Chen
Yuan, Xiaosong
Yan, Shaotian
Xie, Liang
Wang, Wenxiao
Gu, Chaochen
Tang, Hao
Ye, Jieping
contents 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. The paper's source code can be accessed from \url{https://github.com/zhangbaijin/From-Redundancy-to-Relevance}
format Preprint
id arxiv_https___arxiv_org_abs_2406_06579
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle From Redundancy to Relevance: Information Flow in LVLMs Across Reasoning Tasks
Zhang, Xiaofeng
Quan, Yihao
Shen, Chen
Yuan, Xiaosong
Yan, Shaotian
Xie, Liang
Wang, Wenxiao
Gu, Chaochen
Tang, Hao
Ye, Jieping
Computation and Language
Artificial Intelligence
Computer Vision and Pattern Recognition
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. The paper's source code can be accessed from \url{https://github.com/zhangbaijin/From-Redundancy-to-Relevance}
title From Redundancy to Relevance: Information Flow in LVLMs Across Reasoning Tasks
topic Computation and Language
Artificial Intelligence
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2406.06579