arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.01278cs.CVcs.AIcs.CL
收藏

VPGTrans:跨LLM迁移视觉提示生成器

VPGTrans: Transfer Visual Prompt Generator across LLMs

National University of Singapore(新加坡国立大学);Tsinghua University(清华大学)

Ao Zhang, Hao Fei, Yuan Yao, Wei Ji, Li Li, Zhiyuan Liu, Tat-Seng Chua

AI总结:

本文首次研究跨LLM的视觉提示生成器(VPG)迁移,提出两阶段框架VPGTrans,在不牺牲性能下实现超10倍加速与10.7%数据节省,并定制了VL-LLaMA等新型多模态LLM。

摘要:

尽管通过在海量图文对上从头预训练来开发新的多模态LLM(MLLM)会极其消耗资源,但将现有的LLM与相对轻量级的视觉提示生成器(VPG)连接起来成为一种可行的范式。然而,进一步微调MLLM的VPG部分仍然面临不可避免的计算成本,即需要数千GPU小时和数百万训练数据。一种替代解决方案是将任何现有MLLM的现有VPG迁移到目标MLLM。在本工作中,我们首次研究了跨LLM的VPG可迁移性,并探索降低VPG迁移成本的解决方案。我们首先研究了不同LLM规模(例如从小到大)和不同LLM类型之间的VPG迁移,借此诊断最大化迁移效率的关键因素。基于我们的观察,我们设计了一个名为VPGTrans的两阶段迁移框架,该框架简单但高效。通过大量实验,我们证明VPGTrans在不牺牲性能的情况下显著加快了迁移学习过程。值得注意的是,它实现了从BLIP-2 OPT$_\ ext{2.7B}$到BLIP-2 OPT$_\ ext{6.7B}$的VPG迁移,与从头将VPG连接到OPT$_\ ext{6.7B}$相比,实现了超过10倍的加速,并仅使用了10.7%的训练数据。此外,我们提供并讨论了一系列有趣的发现及其潜在原理。最后,我们通过使用最新发布的LLaMA和Vicuna LLM定制两个新型MLLM(包括VL-LLaMA和VL-Vicuna),展示了VPGTrans方法的实用价值。

英文摘要:

While developing a new multimodal LLM (MLLM) by pre-training on tremendous image-text pairs from scratch can be exceedingly resource-consuming, connecting an existing LLM with a comparatively lightweight visual prompt generator (VPG) becomes a feasible paradigm. However, further tuning the VPG part of the MLLM still suffers from indispensable computational costs, i.e., requiring thousands of GPU hours and millions of training data. One alternative solution is to transfer an existing VPG from any existing MLLMs for the target MLLM. In this work, we for the first time investigate the VPG transferability across LLMs, and explore a solution to reduce the cost of VPG transfer. We first study the VPG transfer across different LLM sizes (e.g., small-to-large), and across different LLM types, through which we diagnose the key factors to maximize the transfer efficiency. Based on our observation, we design a two-stage transfer framework named VPGTrans, which is simple yet highly effective. Through extensive experiments, we demonstrate that VPGTrans helps significantly speed up the transfer learning process without compromising performance. Remarkably, it helps achieve the VPG transfer from BLIP-2 OPT$_\text{2.7B}$ to BLIP-2 OPT$_\text{6.7B}$ with over 10 times speed-up and 10.7% training data compared with connecting a VPG to OPT$_\text{6.7B}$ from scratch. Further, a series of intriguing findings and potential rationales behind them are provided and discussed. Finally, we showcase the practical value of our VPGTrans approach, by customizing two novel MLLMs, including VL-LLaMA and VL-Vicuna, with recently released LLaMA and Vicuna LLMs.

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

↑