InstructBLIP:面向通用视觉-语言模型的指令微调

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

李俊男 Junnan Li · Salesforce · 2023-05-11 · arXiv:2305.06500 ↗ · 被引 3589

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

大规模预训练和指令微调成功创建了具有广泛能力的通用语言模型。然而,由于额外的视觉输入带来的丰富输入分布和任务多样性,构建通用视觉-语言模型具有挑战性。尽管视觉-语言预训练已被广泛研究,但视觉-语言指令微调仍未被充分探索。在本文中,我们基于预训练的 BLIP-2 模型,对视觉-语言指令微调进行了系统而全面的研究。我们收集了 26 个公开可用的数据集,涵盖了各种任务和能力,并将其转换为指令微调格式。此外,我们引入了一种指令感知的查询变换器,它能够提取针对给定指令的信息特征。在 13 个保留数据集上训练后,InstructBLIP 在所有 13 个保留数据集上取得了最先进的零样本性能,显著优于 BLIP-2 和更大的 Flamingo 模型。我们的模型在单个下游任务上进行微调时也达到了最先进的性能(例如,在带有图像上下文的 ScienceQA 问题上准确率达到 90.7%)。此外,我们定性地展示了 InstructBLIP 相对于同期多模态模型的优势。所有 InstructBLIP 模型已在 https://github.com/salesforce/LAVIS/tree/main/projects/instructblip 开源。

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.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 16)

阅读逐段中英对照全文 →