Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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/.

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

Related benchmarks

TaskDatasetResultRank
Visual Question AnsweringVQA v2
Accuracy75.1
1165
Visual Question AnsweringTextVQA
Accuracy52.3
1117
Visual Question AnsweringVizWiz
Accuracy51.9
1043
Visual Question AnsweringGQA
Accuracy58.4
963
Object Hallucination EvaluationPOPE
Accuracy84.7
935
Multimodal EvaluationMME
Score581.7
557
Multimodal UnderstandingMM-Vet
MM-Vet Score22.1
418
Visual Question AnsweringGQA
Accuracy32.2
374
Multimodal UnderstandingMMBench
Accuracy24.3
367
Mathematical ReasoningMathVista
Score23.1
322
Showing 10 of 211 rows
...

Other info

Code

Follow for update