arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.14178cs.CLcs.CVcs.LG
收藏

mPLUG-Owl:模块化赋能大语言模型的多模态能力

mPLUG-Owl: Modularization Empowers Large Language Models with Multimodality

DAMO Academy, Alibaba Group(阿里巴巴达摩院)
Qinghao Ye, Haiyang Xu, Guohai Xu, Jiabo Ye, Ming Yan, Yiyang Zhou, Junyang Wang, Anwen Hu, Pengcheng Shi, Yaya Shi, Chenliang Li, Yuanhong Xu, Hehong Chen, Jun… 展开作者

Qinghao Ye, Haiyang Xu, Guohai Xu, Jiabo Ye, Ming Yan, Yiyang Zhou, Junyang Wang, Anwen Hu, Pengcheng Shi, Yaya Shi, Chenliang Li, Yuanhong Xu, Hehong Chen, Junfeng Tian, Qi Qian, Ji Zhang, Fei Huang, Jingren Zhou

AI总结:

本文提出mPLUG-Owl训练范式,通过模块化学习视觉知识模块与抽象器模块并采用两阶段对齐微调,赋予大语言模型多模态指令理解、多轮对话及知识推理能力,性能超越现有模型。

摘要:

大语言模型(LLMs)已在多种开放式任务上展现出令人印象深刻的零样本能力,近期研究也探索了将LLMs用于多模态生成。在本研究中,我们提出了mPLUG-Owl,一种新颖的训练范式,通过对基础LLM、视觉知识模块和视觉抽象器模块进行模块化学习,赋予LLMs多模态能力。该方法能够支持多种模态,并通过模态协作促进多样化的单模态与多模态能力。mPLUG-Owl的训练范式采用两阶段方法对齐图像与文本,在LLM的辅助下学习视觉知识,同时保持甚至提升LLM的生成能力。在第一阶段,视觉知识模块和抽象器模块与冻结的LLM模块一起训练,以对齐图像和文本。在第二阶段,使用纯语言和多模态监督数据集,通过冻结视觉知识模块,对LLM上的低秩适配(LoRA)模块和抽象器模块进行联合微调。我们精心构建了一个视觉相关的指令评估集OwlEval。实验结果表明,我们的模型优于现有的多模态模型,展示了mPLUG-Owl出色的指令与视觉理解能力、多轮对话能力和知识推理能力。此外,我们观察到一些意想不到且令人兴奋的能力,如多图像关联和场景文本理解,这使得它有可能被用于更困难的真实场景,例如仅视觉的文档理解。我们的代码、预训练模型、指令微调模型和评估集可在https://github.com/X-PLUG/mPLUG-Owl获取。在线演示可在https://www.modelscope.cn/studios/damo/mPLUG-Owl获取。

英文摘要:

Large language models (LLMs) have demonstrated impressive zero-shot abilities on a variety of open-ended tasks, while recent research has also explored the use of LLMs for multi-modal generation. In this study, we introduce mPLUG-Owl, a novel training paradigm that equips LLMs with multi-modal abilities through modularized learning of foundation LLM, a visual knowledge module, and a visual abstractor module. This approach can support multiple modalities and facilitate diverse unimodal and multimodal abilities through modality collaboration. The training paradigm of mPLUG-Owl involves a two-stage method for aligning image and text, which learns visual knowledge with the assistance of LLM while maintaining and even improving the generation abilities of LLM. In the first stage, the visual knowledge module and abstractor module are trained with a frozen LLM module to align the image and text. In the second stage, language-only and multi-modal supervised datasets are used to jointly fine-tune a low-rank adaption (LoRA) module on LLM and the abstractor module by freezing the visual knowledge module. We carefully build a visually-related instruction evaluation set OwlEval. Experimental results show that our model outperforms existing multi-modal models, demonstrating mPLUG-Owl's impressive instruction and visual understanding ability, multi-turn conversation ability, and knowledge reasoning ability. Besides, we observe some unexpected and exciting abilities such as multi-image correlation and scene text understanding, which makes it possible to leverage it for harder real scenarios, such as vision-only document comprehension. Our code, pre-trained model, instruction-tuned models, and evaluation set are available at https://github.com/X-PLUG/mPLUG-Owl. The online demo is available at https://www.modelscope.cn/studios/damo/mPLUG-Owl.

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

↑