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

面向高效视觉大语言模型的窗口令牌拼接方法

Window Token Concatenation for Efficient Visual Large Language Models

ETH Zürich(苏黎世联邦理工学院);Arizona State University(亚利桑那州立大学);University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校)

Yifan Li, Wentao Bao, Botao Ye, Zhen Tan, Tianlong Chen, Huan Liu, Yu Kong

AI总结:

本文提出窗口令牌拼接方法WiCo及其增强版WiCo+,通过滑动窗口拼接相邻视觉令牌并微调视觉编码器,在保持高效推理的同时提升视觉大语言模型的细粒度理解性能。

摘要:

为了有效减少视觉大语言模型(VLLMs)中的视觉令牌数量,我们提出了一种名为窗口令牌拼接(WiCo)的新方法。具体而言,我们采用滑动窗口来拼接空间上相邻的视觉令牌。然而,直接拼接这些令牌可能会将不同的令牌合并为一个,从而模糊一些细节信息。为了解决这一问题,我们提出对视觉编码器的最后几层进行微调,以自适应地调整视觉令牌,促使同一窗口内的令牌表现出相似的特征。为了进一步提升细粒度视觉理解任务的性能,我们引入了WiCo+,它在LLM的后几层中分解视觉令牌。这种设计既利用了LLM的大感知场来实现细粒度视觉理解,又保持了较少的视觉令牌数量以实现高效推理。我们基于LLaVA-1.5和Shikra在粗粒度和细粒度视觉理解任务上进行了大量实验,结果表明与现有的令牌缩减投影器相比,我们的方法具有更好的性能。代码已开源:https://github.com/JackYFL/WiCo。

英文摘要:

To effectively reduce the visual tokens in Visual Large Language Models (VLLMs), we propose a novel approach called Window Token Concatenation (WiCo). Specifically, we employ a sliding window to concatenate spatially adjacent visual tokens. However, directly concatenating these tokens may group diverse tokens into one, and thus obscure some fine details. To address this challenge, we propose fine-tuning the last few layers of the vision encoder to adaptively adjust the visual tokens, encouraging that those within the same window exhibit similar features. To further enhance the performance on fine-grained visual understanding tasks, we introduce WiCo+, which decomposes the visual tokens in later layers of the LLM. Such a design enjoys the merits of the large perception field of the LLM for fine-grained visual understanding while keeping a small number of visual tokens for efficient inference. We perform extensive experiments on both coarse- and fine-grained visual understanding tasks based on LLaVA-1.5 and Shikra, showing better performance compared with existing token reduction projectors. The code is available: https://github.com/JackYFL/WiCo.

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

↑