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

Tao Gong, Chengqi Lyu, Shilong Zhang, Yudong Wang, Miao Zheng +5 more
5/8/2023
cs.CVcs.CL

Official code: open-mmlab/Multimodal-GPT (1,512 stars, Apache-2.0, last commit 2023-06-04).

Abstract

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

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Multimodal-GPT

1,512129PythonApr 26, 20233 years agoApache-2.0
flamingogptgpt-4llamamultimodal+2 more

Cite this paper

@article{gong2023multimodalgpt,
  title  = {MultiModal-GPT: A Vision and Language Model for Dialogue with Humans},
  author = {Tao Gong and Chengqi Lyu and Shilong Zhang and Yudong Wang and Miao Zheng and Qian Zhao and Kuikun Liu and Wenwei Zhang and Ping Luo and Kai Chen},
  year   = {2023},
  eprint = {2305.04790},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.04790v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.04790.svg)](https://codeofpaper.com/paper/2305.04790)

Discussion