arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.04790cs.CVcs.CL
收藏

MultiModal-GPT:一种用于与人类对话的视觉语言模型

MultiModal-GPT: A Vision and Language Model for Dialogue with Humans

Shanghai AI Laboratory(上海人工智能实验室);The University of Hong Kong(香港大学);Tianjin University(天津大学)

Tao Gong, Chengqi Lyu, Shilong Zhang, Yudong Wang, Miao Zheng, Qian Zhao, Kuikun Liu, Wenwei Zhang, Ping Luo, Kai Chen

AI总结:

本研究提出视觉语言模型MultiModal-GPT,基于OpenFlamingo用LoRA高效微调,通过构建多模态指令模板、联合纯语言与视觉语言指令训练,提升多轮对话性能,相关资源已开源。

摘要:

我们提出了一种名为MultiModal-GPT的视觉语言模型,用于与人类进行多轮对话。MultiModal-GPT能够遵循人类的各类指令,比如生成详细的图像描述、统计感兴趣物体的数量以及回答用户的通用问题。MultiModal-GPT基于OpenFlamingo进行参数高效微调,在语言模型的交叉注意力部分和自注意力部分均添加了低秩适配器(Low-rank Adapter,LoRA)。我们首先构建了结合视觉与语言数据的指令模板,用于多模态指令微调,以使模型理解并遵循人类指令。我们发现训练数据的质量对对话性能至关重要,少量包含短答案的数据就会导致模型对任何指令都给出简短回复。为进一步增强MultiModal-GPT与人类聊天的能力,我们利用纯语言指令遵循数据对其进行联合训练。采用相同指令模板的纯语言指令与视觉语言指令联合训练,有效提升了对话性能。各类演示验证了MultiModal-GPT与人类持续对话的能力。代码、数据集和演示可在https://github.com/open-mmlab/Multimodal-GPT获取。

英文摘要:

We present a vision and language model named MultiModal-GPT to conduct multi-round dialogue with humans. MultiModal-GPT can follow various instructions from humans, such as generating a detailed caption, counting the number of interested objects, and answering general questions from users. MultiModal-GPT is parameter-efficiently fine-tuned from OpenFlamingo, with Low-rank Adapter (LoRA) added both in the cross-attention part and the self-attention part of the language model. We first construct instruction templates with vision and language data for multi-modality instruction tuning to make the model understand and follow human instructions. We find the quality of training data is vital for the dialogue performance, where few data containing short answers can lead the model to respond shortly to any instructions. To further enhance the ability to chat with humans of the MultiModal-GPT, we utilize language-only instruction-following data to train the MultiModal-GPT jointly. The joint training of language-only and visual-language instructions with the \emph{same} instruction template effectively improves dialogue performance. Various demos show the ability of continuous dialogue of MultiModal-GPT with humans. Code, dataset, and demo are at https://github.com/open-mmlab/Multimodal-GPT

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

↑