arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2304.10592cs.CV
收藏

MiniGPT-4:利用先进大型语言模型增强视觉-语言理解

MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models

King Abdullah University of Science and Technology(阿卜杜拉国王科技大学)

Deyao Zhu, Jun Chen, Xiaoqian Shen, Xiang Li, Mohamed Elhoseiny

AI总结:

本文提出 MiniGPT-4,通过单一投影层对齐冻结视觉编码器与 Vicuna,复现 GPT-4 式多模态能力,并用详细图像描述微调解决输出不自然问题。

摘要:

近期的 GPT-4 展现出非凡的多模态能力,例如直接根据手写文本生成网站,以及识别图像中的幽默元素。这些特征在以往的视觉-语言模型中很少见到。然而,GPT-4 背后的技术细节仍未公开。我们认为,GPT-4 增强的多模态生成能力源于对复杂大型语言模型(LLM)的使用。为检验这一现象,我们提出 MiniGPT-4,它使用一个投影层将冻结的视觉编码器与冻结的先进 LLM——Vicuna——对齐。我们的工作首次揭示,将视觉特征与先进大型语言模型适当对齐,即可具备 GPT-4 所展示的众多先进多模态能力,例如生成详细图像描述以及根据手绘草稿创建网站。此外,我们还观察到 MiniGPT-4 的其他涌现能力,包括根据给定图像获得灵感来撰写故事和诗歌、根据食物照片教用户如何烹饪等。在实验中,我们发现使用短图像描述对训练的模型会产生不自然的语言输出(例如重复和碎片化)。为解决这一问题,我们在第二阶段整理了一个详细图像描述数据集来微调该模型,从而提高了模型的生成可靠性和整体可用性。我们的代码、预训练模型和收集的数据集可在 https://minigpt-4.github.io/ 获取。

英文摘要:

The recent GPT-4 has demonstrated extraordinary multi-modal abilities, such as directly generating websites from handwritten text and identifying humorous elements within images. These features are rarely observed in previous vision-language models. However, the technical details behind GPT-4 continue to remain undisclosed. We believe that the enhanced multi-modal generation capabilities of GPT-4 stem from the utilization of sophisticated large language models (LLM). To examine this phenomenon, we present MiniGPT-4, which aligns a frozen visual encoder with a frozen advanced LLM, Vicuna, using one projection layer. Our work, for the first time, uncovers that properly aligning the visual features with an advanced large language model can possess numerous advanced multi-modal abilities demonstrated by GPT-4, such as detailed image description generation and website creation from hand-drawn drafts. Furthermore, we also observe other emerging capabilities in MiniGPT-4, including writing stories and poems inspired by given images, teaching users how to cook based on food photos, and so on. In our experiment, we found that the model trained on short image caption pairs could produce unnatural language outputs (e.g., repetition and fragmentation). To address this problem, we curate a detailed image description dataset in the second stage to finetune the model, which consequently improves the model's generation reliability and overall usability. Our code, pre-trained model, and collected dataset are available at https://minigpt-4.github.io/.

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

↑