InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning

Wenliang Dai, Junnan Li, Dongxu Li, Anthony Meng Huat Tiong, Junqi Zhao +4 more
5/11/2023
cs.CVcs.LG

Official code: salesforce/LAVIS (11,261 stars, BSD-3-Clause, last commit 2024-11-18).

Abstract

Large-scale pre-training and instruction tuning have been successful at creating general-purpose language models with broad competence. However, building general-purpose vision-language models is challenging due to the rich input distributions and task diversity resulting from the additional visual input. Although vision-language pretraining has been widely studied, vision-language instruction tuning remains under-explored. In this paper, we conduct a systematic and comprehensive study on vision-language instruction tuning based on the pretrained BLIP-2 models. We gather 26 publicly available datasets, covering a wide variety of tasks and capabilities, and transform them into instruction tuning format. Additionally, we introduce an instruction-aware Query Transformer, which extracts informative features tailored to the given instruction. Trained on 13 held-in datasets, InstructBLIP attains state-of-the-art zero-shot performance across all 13 held-out datasets, substantially outperforming BLIP-2 and larger Flamingo models. Our models also lead to state-of-the-art performance when finetuned on individual downstream tasks (e.g., 90.7% accuracy on ScienceQA questions with image contexts). Furthermore, we qualitatively demonstrate the advantages of InstructBLIP over concurrent multimodal models. All InstructBLIP models are open-sourced at https://github.com/salesforce/LAVIS/tree/main/projects/instructblip.

View on arXivView PDF

Code Implementations(1)

salesforce/LAVISOfficial100%
BSD-3-Clause

LAVIS - A One-stop Library for Language-Vision Intelligence

11,2611,108Shell, PythonAug 24, 20221 years agoBSD-3-Clause
deep-learningdeep-learning-libraryimage-captioningmultimodal-datasetsmultimodal-deep-learning+6 more

Similar Papers

Cite this paper

@article{dai2023instructblip,
  title  = {InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning},
  author = {Wenliang Dai and Junnan Li and Dongxu Li and Anthony Meng Huat Tiong and Junqi Zhao and Weisheng Wang and Boyang Li and Pascale Fung and Steven Hoi},
  year   = {2023},
  eprint = {2305.06500},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.06500v2},
  journal = {NEURIPS 2023 2023}
}

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.06500.svg)](https://codeofpaper.com/paper/2305.06500)

Discussion