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

激活大语言模型内的分布式视觉区域以实现高效且有效的视觉-语言训练与推理

Activating Distributed Visual Region within LLMs for Efficient and Effective Vision-Language Training and Inference

University of Southern California(南加州大学);Fudan University(复旦大学);Shanghai Innovation Institute(上海创新研究院);Sun Yat-sen University(中山大学);Alibaba Inc.(阿里巴巴公司)

Siyuan Wang, Dianyi Wang, Chengxing Zhou, Zejun Li, Zhihao Fan, Xuanjing Huang, Zhongyu Wei

AI总结:

本研究发现大语言模型内存在类视觉区域,通过选择性更新25%的稀疏均匀分布层可高效训练LVLM,还提出基于视觉区域的剪枝范式,为LVLM训练推理提供有效策略且跨模型适用。

摘要:

大型视觉-语言模型(LVLM)通常通过视觉指令微调来学习视觉能力,这一过程涉及对投影层及其大语言模型(LLM)主干的更新。受人类大脑视觉区域概念的启发,我们探究了LLM内部是否存在类似的、充当认知核心的“视觉区域”,并探索了通过选择性层微调实现LVLM高效训练的潜力。我们以Bunny-Llama-3-8B-V为对象开展详细分析,并使用另外三个LVLM在各类视觉与文本任务上进行验证,结果发现:当稀疏且均匀分布地选择性更新25%的LLM层时,可保留近99%的视觉性能,同时维持甚至提升文本任务的表现,还能有效缩短训练时间。基于这种靶向训练方法,我们进一步提出了一种全新的基于视觉区域的剪枝范式,移除视觉区域外的非关键层,该范式可实现极小的性能损失。本研究通过激活LLM内部的分层视觉区域,为LVLM的训练与推理提供了一种有效且高效的策略,且该策略在不同模型中均被证明持续有效。

英文摘要:

Large Vision-Language Models (LVLMs) typically learn visual capacity through visual instruction tuning, involving updates to both a projector and their LLM backbones. Inspired by the concept of a visual region in the human brain, we investigate the existence of an analogous \textit{visual region} within LLMs that functions as a cognitive core, and explore the potential of efficient training of LVLMs via selective layers tuning. Using Bunny-Llama-3-8B-V for detailed analysis and other three LVLMs for validation across diverse visual and textual tasks, we find that selectively updating 25\% of LLMs layers, when sparsely and uniformly distributed, can preserve nearly 99\% of visual performance and maintain or improve textual task results, while effectively reducing training time. Based on this targeted training approach, we further propose a novel visual region-based pruning paradigm, removing non-critical layers outside the visual region, which can achieve minimal performance loss. This study offers an effective and efficient strategy for LVLM training and inference by activating a layer-wise visual region within LLMs, which proves consistently effective across different models.

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

↑