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

Tao Gong,Chengqi Lyu,Shilong Zhang,Yudong Wang,Miao Zheng,Qian Zhao,Kuikun Liu,Wenwei Zhang,Ping Luo,Kai Chen
2023-06-13
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 <a class="link-external link-https" href="https://github.com/open-mmlab/Multimodal-GPT" rel="external noopener nofollow">this https URL</a>
Computer Vision and Pattern Recognition,Computation and Language
What problem does this paper attempt to address?
The problem this paper attempts to address is the development of a visual and language model capable of engaging in multi-turn conversations with humans. Specifically, the paper proposes a model named MultiModal-GPT, which aims to achieve multimodal dialogue with humans through various instructions (such as generating detailed descriptions, counting specific objects, and answering general user questions). The main objectives of the paper include: 1. **Multimodal Instruction Understanding**: Enabling the model to understand and execute instructions that contain both visual and language information. 2. **High-Quality Dialogue**: Improving the model's performance in multi-turn conversations through efficient fine-tuning and data quality control, avoiding overly brief responses. 3. **Joint Training**: Enhancing the model's dialogue capabilities by using a unified instruction template for language and vision-language data during joint training. To achieve these goals, the authors fine-tuned OpenFlamingo and introduced Low-Rank Adapters (LoRA) to optimize the model's self-attention and cross-attention components. Additionally, they constructed instruction templates containing visual and language data to ensure the model could better follow human instructions. Experimental results show that MultiModal-GPT performs excellently in multi-turn conversations, generating detailed and human-expected responses.