arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.09817cs.CVcs.CL
收藏

通过相似度计算增强多模态大语言模型的复杂推理能力

Enhancing Multimodal Large Language Models Complex Reason via Similarity Computation

Shanghai Jiaotong University(上海交通大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Beijing Jiaotong University(北京交通大学);Columbia University(哥伦比亚大学);University of Washington(华盛顿大学)

Xiaofeng Zhang, Fanshuo Zeng, Yihao Quan, Zheng Hui, Jiawei Yao

AI总结:

针对大视觉语言模型可解释性不足、复杂推理机制不明确的问题,提出图像token缩减方法Simignore,通过图文嵌入相似度筛选重要图像token,提升模型复杂推理能力,经实验验证有效并已开源代码。

摘要:

多模态大语言模型发展迅速,已涌现出大量不同的模型。大视觉语言模型(LVLMs)的可解释性仍是一个尚未得到充分探索的领域。尤其是在面对思维链推理等更复杂的任务时,其内部机制仍像一个难以破译的黑箱。通过研究图像与文本之间的交互和信息流,我们注意到在LLaVA1.5等模型中,与文本语义相关的图像token更有可能在大语言模型(LLM)解码层出现信息流汇聚,且这些图像token会获得更高的注意力分数。而那些与文本相关性较低的图像token则不会出现信息流汇聚,仅能获得非常小的注意力分数。为高效利用图像信息,我们提出了一种新的图像token缩减方法Simignore,该方法旨在通过计算图像与文本嵌入之间的相似度,忽略与文本无关且不重要的图像token,从而提升LVLMs的复杂推理能力。通过大量实验,我们证明了该方法在复杂推理任务上的有效性。本文的源代码可通过https://github.com/FanshuoZeng/Simignore获取。

英文摘要:

Multimodal large language models have experienced rapid growth, and numerous different models have emerged. The interpretability of LVLMs remains an under-explored area. Especially when faced with more complex tasks such as chain-of-thought reasoning, its internal mechanisms still resemble a black box that is difficult to decipher. By studying the interaction and information flow between images and text, we noticed that in models such as LLaVA1.5, image tokens that are semantically related to text are more likely to have information flow convergence in the LLM decoding layer, and these image tokens receive higher attention scores. However, those image tokens that are less relevant to the text do not have information flow convergence, and they only get very small attention scores. To efficiently utilize the image information, we propose a new image token reduction method, Simignore, which aims to improve the complex reasoning ability of LVLMs by computing the similarity between image and text embeddings and ignoring image tokens that are irrelevant and unimportant to the text. Through extensive experiments, we demonstrate the effectiveness of our method for complex reasoning tasks. The paper's source code can be accessed from \url{https://github.com/FanshuoZeng/Simignore}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑