arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.02268cs.CVcs.AI
收藏

我们需要什么样的视觉 Token?从图视角出发的多模态大语言模型免训练视觉 Token 剪枝

What Kind of Visual Tokens Do We Need? Training-free Visual Token Pruning for Multi-modal Large Language Models from the Perspective of Graph

Xiamen University(厦门大学)

Yutao Jiang, Qiong Wu, Wenhao Lin, Wei Yu, Yiyi Zhou

AI总结:

该文提出基于图的免训练视觉 token 剪枝方法 G-Prune,依据语义相似性传播并保留关键前景或背景 token,在 LLaVA-NeXT 上显著降低 FLOPs 且性能损失很小。

摘要:

近期的多模态大语言模型(Multimodal Large Language Models,MLLMs)通常使用大量视觉 token 来弥补其视觉能力上的不足,从而导致过多计算开销和明显的视觉冗余。本文研究 MLLMs 究竟需要何种视觉 token,并揭示:鉴于样本难度存在差异,前景 token 和背景 token 对 MLLMs 都至关重要。基于这一观察,我们提出一种基于图的免训练视觉 token 剪枝方法,名为 G-Prune。具体而言,G-Prune 将视觉 token 视为节点,并根据它们的语义相似性构建连接。随后,信息流通过加权连接传播,经过迭代后保留对 MLLMs 最重要的 token,这些 token 可以来自前景,也可以来自背景。为验证 G-Prune,我们将其应用于近期的 MLLM——LLaVA-NeXT,并在一系列基准上开展大量实验。实验结果表明,G-Prune 能够显著降低计算开销,同时在粗粒度和细粒度任务上保持高性能。例如,在 VQA2.0 和 TextVQA 上,G-Prune 可将 LLaVA-NeXT 的 FLOPs 降低 63.57%,而准确率分别仅下降 0.95% 和 2.34%。

英文摘要:

Recent Multimodal Large Language Models(MLLMs) often use a large number of visual tokens to compensate their visual shortcoming, leading to excessive computation and obvious visual redundancy. In this paper, we investigate what kind of visual tokens are needed for MLLMs, and reveal that both foreground and background tokens are critical for MLLMs given the varying difficulties of examples. Based on this observation, we propose a graph-based method towards training-free visual token pruning, termed G-Prune.In particular, G-Prune regards visual tokens as nodes, and construct their connections based on their semantic similarities. Afterwards, the information flow is propagated via weighted links, and the most important tokens after iterations are kept for MLLMs, which can be front or background.To validate G-Prune, we apply it to a recent MLLM called LLaVA-NeXT, and conduct extensive experiments on a set of benchmarks.The experiment results show that G-Prune can greatly reduce computation overhead while retaining high performance on both coarse- and fine-grained tasks. For instance, G-Prune can reduce 63.57\% FLOPs of LLaVA-NeXT on VQA2.0 and TextVQA with only 0.95\% and 2.34\% accuracy drops, respectively.

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

↑