Transfer Visual Prompt Generator across LLMs

By Ao Zhang, Hao Fei, Yuan Yao, Wei Ji, Li Li, Tat-seng Chua. 2023

114 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Multimodal Learning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Ziwei Liu
  2. Bo Li
  3. Xin Li
  4. Jingkang Yang
  5. Lidong Bing
  6. Yuanhan Zhang
  7. Ying Shan
  8. Weili Zeng

In Computer Vision and Pattern Recognition

  1. Xiaogang Wang
  2. Luc Van Gool
  3. Ziwei Liu
  4. Chen Change Loy
  5. Yi Yang
  6. Hongsheng Li
  7. Ming-Hsuan Yang
  8. Dacheng Tao

In Multimodal Learning

  1. Ziwei Liu
  2. Jingkang Yang
  3. Ying Shan
  4. Bo Li
  5. Tat-seng Chua
  6. Wei Ji
  7. Rui Zhao
  8. Yixiao Ge

Citations in the corpus