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

将视觉令牌视为文本?但您的MLLM只需更少努力即可“看见”

Treat Visual Tokens as Text? But Your MLLM Only Needs Fewer Efforts to See

Purdue University(普渡大学);UIUC(伊利诺伊大学厄巴纳-香槟分校);Adobe Inc.(奥多比公司);University of Rochester(罗切斯特大学)

Zeliang Zhang, Phu Pham, Wentian Zhao, Kun Wan, Yu-Jhe Li, Jianing Zhou, Daniel Miranda, Ajinkya Kale, Chenliang Xu

AI总结:

针对MLLM因视觉令牌数量增加导致计算效率瓶颈的问题,本研究在LLaVA中探索视觉计算冗余并提出邻域感知注意力等简化策略,实现计算需求降低88%且保持性能,还验证了其他MLLMs的冗余性,为高效处理密集视觉令牌提供新途径。

摘要:

通过将视觉编码器生成的视觉令牌视为文本令牌,多模态大型语言模型(MLLMs)利用大型语言模型(LLMs)的稳健架构,在多种视觉理解任务中取得了显著进展。然而,随着令牌数量增加,LLMs中计算的二次方缩放引入了显著的效率瓶颈,阻碍了进一步的可扩展性。尽管近期方法探索了修剪视觉令牌或采用更轻量的LLM架构,但视觉令牌数量增加带来的计算开销仍是重大挑战。在本研究中,我们在代表性MLLM模型LLaVA中,从参数和计算模式层面研究视觉计算的冗余性,并引入一套简化策略以提升效率,包括邻域感知视觉令牌注意力、修剪非活跃视觉注意力头以及选择性丢弃视觉计算层。通过在LLaVA中实施这些策略,我们在关键基准上保持模型性能的同时,将计算需求降低了88%。此外,我们验证了其他MLLMs(如Qwen2-VL-7B和InternVL-2.0-4B/8B/26B)中视觉计算冗余的存在。这些结果为MLLMs以最小计算成本处理密集视觉令牌提供了新途径。代码和模型检查点将发布以支持进一步研究。

英文摘要:

By treating visual tokens from visual encoders as text tokens, Multimodal Large Language Models (MLLMs) have achieved remarkable progress across diverse visual understanding tasks, leveraging the robust architectures of Large Language Models (LLMs). However, as token counts grow, the quadratic scaling of computation in LLMs introduces a significant efficiency bottleneck, impeding further scalability. Although recent approaches have explored pruning visual tokens or employing lighter LLM architectures, the computational overhead from an increasing number of visual tokens remains a substantial challenge. In this study, we investigate the redundancy in visual computation at both the parameter and computational pattern levels within LLaVA, a representative MLLM, and introduce a suite of streamlined strategies to enhance efficiency. These include neighbor-aware visual token attention, pruning of inactive visual attention heads, and selective layer dropping for visual computations. By implementing these strategies in LLaVA, we achieve a reduction in computational demands of 88% while maintaining model performance across key benchmarks. Additionally, we validate the existence of visual computational redundancy in other MLLMs, such as Qwen2-VL-7B and InternVL-2.0-4B/8B/26B. These results present a novel pathway for MLLMs to handle dense visual tokens with minimal computational costs. Code and model checkpoints will be released to support further research.

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

↑