Enhancing Multimodal Large Language Models Complex Reason via Similarity Computation

Xiaofeng Zhang, Fanshuo Zeng, Yihao Quan, Zheng Hui, Jiawei Yao
12/13/2024
cs.CVcs.CL

No official code found. Best implementation: 0x4e8/Simignore (21 stars, last commit 2025-01-14).

Abstract

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}.

View on arXivView PDF

Code Implementations(1)

0x4e8/SimignoreCommunity100%

[AAAI 2025] Code for paper:Enhancing Multimodal Large Language Models Complex Reasoning via Similarity Computation

210C, C++Jun 12, 20241 years ago

Similar Papers

Cite this paper

@article{zhang2024enhancing,
  title  = {Enhancing Multimodal Large Language Models Complex Reason via Similarity Computation},
  author = {Xiaofeng Zhang and Fanshuo Zeng and Yihao Quan and Zheng Hui and Jiawei Yao},
  year   = {2024},
  eprint = {2412.09817},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.09817v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.09817.svg)](https://codeofpaper.com/paper/2412.09817)

Discussion