arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.04444cs.CV

ToFu:面向多模态、多图像块、多图像任务的视觉 Token 融合缩减方法

ToFu: Visual Tokens Reduction via Fusion for Multi-modal, Multi-patch, Multi-image Task

University of Modena and Reggio Emilia(摩德纳与雷焦艾米利亚大学);Amazon(亚马逊公司)

Vittorio Pippi, Matthieu Guillaumin, Silvia Cascianelli, Rita Cucchiara, Maximilian Jaritz, Loris Bazzani

AI总结:

提出ToFu,一种与视觉编码器无关、无需训练的Token融合策略,通过合并相似视觉token并保留独特token,有效降低多图像任务的计算开销,在LLaVA-Interleave Bench和ComPairs基准上实现效率与性能的双重提升。

摘要:

大型多模态模型(LMMs)是能够推理和理解超越文本与语言的多模态信息的强大工具。尽管其影响根深蒂固,但与单模态模型相比,LMMs 的发展受到更高计算需求的阻碍。造成这一问题的主要原因之一是编码视觉输入需要大量 token,这在多图像多模态任务中尤为明显。近期减少视觉 token 的方法依赖于视觉编码器架构,需要微调 LLM 以维持性能,且仅考虑单图像场景。为解决这些局限性,我们提出了 ToFu,这是一种与视觉编码器无关、无需训练的 Token 融合策略,用于结合 LMMs 中冗余的视觉 token,以处理高分辨率、多图像任务。我们方法背后的核心直觉简单而有效:保留独特的 token,同时合并相似的 token。我们通过顺序检查视觉 token,决定是将它们与其他 token 合并还是保留为独立实体来实现这一点。我们在成熟的 LLaVA-Interleave Bench 上验证了我们的方法,该基准涵盖具有挑战性的多图像任务。此外,我们将方法推向极限,在一个新创建的基准 ComPairs 上进行测试,该基准专注于多图像比较,其中向 LMMs 输入了更大数量的图像和视觉 token。我们考虑多种 LMM 架构的广泛分析,证明了我们的方法在效率和性能提升方面的优势。

英文摘要:

Large Multimodal Models (LMMs) are powerful tools that are capable of reasoning and understanding multimodal information beyond text and language. Despite their entrenched impact, the development of LMMs is hindered by the higher computational requirements compared to their unimodal counterparts. One of the main causes of this is the large amount of tokens needed to encode the visual input, which is especially evident for multi-image multimodal tasks. Recent approaches to reduce visual tokens depend on the visual encoder architecture, require fine-tuning the LLM to maintain the performance, and only consider single-image scenarios. To address these limitations, we propose ToFu, a visual encoder-agnostic, training-free Token Fusion strategy that combines redundant visual tokens of LMMs for high-resolution, multi-image, tasks. The core intuition behind our method is straightforward yet effective: preserve distinctive tokens while combining similar ones. We achieve this by sequentially examining visual tokens and deciding whether to merge them with others or keep them as separate entities. We validate our approach on the well-established LLaVA-Interleave Bench, which covers challenging multi-image tasks. In addition, we push to the extreme our method by testing it on a newly-created benchmark, ComPairs, focused on multi-image comparisons where a larger amount of images and visual tokens are inputted to the LMMs. Our extensive analysis, considering several LMM architectures, demonstrates the benefits of our approach both in terms of efficiency and performance gain.

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

↑