Reproduce “Visual Instruction Tuning” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Haotian Liu, Chunyuan Li, Qingyang Wu, Yong Jae Lee

LLaVA trains a vision-language assistant to answer questions about images by using text-only GPT-4 to turn captions and object boxes into 158K varied instruction examples. A frozen CLIP ViT-L/14 encoder connects images to Vicuna. Full data scores a relative 85.1 versus 73.8 for conversation-only on COCO; LLaVA alone reaches 90.92% on ScienceQA, below MM-CoT Large’s 91.68%.

Key insights

  • Instruction tuning, a paradigm successful in text-only LLMs, can be effectively extended to multimodal models, drastically improving their ability to follow diverse human instructions.
  • Large language models like GPT-4 can be leveraged to automatically generate high-quality, large-scale vision-language instruction-following data, overcoming a major data scarcity challenge.
  • A simple two-stage training approach, involving initial visual feature alignment and subsequent end-to-end fine-tuning, is effective for integrating pre-trained vision encoders with LLMs while preserving their capabilities.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.