HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

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

Deyao Zhu Jun Chen Xiaoqian Shen Xiang Li Mohamed Elhoseiny

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

Abstract

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

Benchmarks

BenchmarkMethodologyMetrics
spatial-reasoning-on-embspatial-benchMiniGPT4
Generation: 23.54
video-question-answering-on-mvbenchMiniGPT4
Avg.: 18.8
visual-question-answering-on-benchlmmMiniGPT4-13B
GPT-3.5 score: 34.93
visual-question-answering-on-mm-vetMiniGPT-4-14B
GPT-4 score: 24.4±0.4
Params: 14B
visual-question-answering-on-mm-vetMiniGPT-4-8B
GPT-4 score: 22.1±0.1
Params: 8B
visual-question-answering-vqa-on-5miniGPT4
Overall Accuracy: 51.0
visual-question-answering-vqa-on-core-mmMiniGPT-v2
Abductive: 13.28
Analogical: 5.69
Deductive: 11.02
Overall score: 10.43
Params: 8B

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp