arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.03601cs.CV
收藏

GPT4RoI: 在感兴趣区域上对大语言模型进行指令微调

GPT4RoI: Instruction Tuning Large Language Model on Region-of-Interest

The University of Hong Kong(香港大学);Shanghai AI Laboratory(上海人工智能实验室);Alibaba Group(阿里巴巴集团)

Shilong Zhang, Peize Sun, Shoufa Chen, Min Xiao, Wenqi Shao, Wenwei Zhang, Yu Liu, Kai Chen, Ping Luo

AI总结:

针对现有视觉指令微调LLM缺乏细粒度区域理解能力的问题,提出空间指令微调方法GPT4RoI,支持语言与边界框交互,在VCR数据集上达81.6%准确率,接近人类水平。

摘要:

在图文对上开展大语言模型(LLM)的视觉指令微调,已实现通用的视觉语言能力。然而,区域-文本对的匮乏限制了其向细粒度多模态理解方向发展。本文提出空间指令微调方法,在指令中引入对感兴趣区域(RoI)的引用。在送入LLM前,该引用会被替换为RoI特征,并与语言嵌入交错排列成序列。我们的模型GPT4RoI在7个区域-文本对数据集上训练,与此前的图像级模型相比,带来了前所未有的交互式对话体验。(1)超越语言的交互:用户可同时通过语言和绘制边界框与模型交互,灵活调整指代粒度。(2)多用途多模态能力:GPT4RoI可挖掘每个RoI内的多种属性信息,例如颜色、形状、材质、动作等,此外还能基于常识对多个RoI进行推理。在视觉常识推理(VCR)数据集上,GPT4RoI取得了81.6%的出色准确率,以显著优势超越所有现有模型(第二名准确率为75.6%),几乎达到85.0%的人类水平性能。代码和模型可在https://github.com/jshilong/GPT4RoI获取。

英文摘要:

Visual instruction tuning large language model(LLM) on image-text pairs has achieved general-purpose vision-language abilities. However, the lack of region-text pairs limits their advancements to fine-grained multimodal understanding. In this paper, we propose spatial instruction tuning, which introduces the reference to the region-of-interest(RoI) in the instruction. Before sending to LLM, the reference is replaced by RoI features and interleaved with language embeddings as a sequence. Our model GPT4RoI, trained on 7 region-text pair datasets, brings an unprecedented interactive and conversational experience compared to previous image-level models. (1) Interaction beyond language: Users can interact with our model by both language and drawing bounding boxes to flexibly adjust the referring granularity. (2) Versatile multimodal abilities: A variety of attribute information within each RoI can be mined by GPT4RoI, e.g., color, shape, material, action, etc. Furthermore, it can reason about multiple RoIs based on common sense. On the Visual Commonsense Reasoning(VCR) dataset, GPT4RoI achieves a remarkable accuracy of 81.6%, surpassing all existing models by a significant margin (the second place is 75.6%) and almost reaching human-level performance of 85.0%. The code and model can be found at https://github.com/jshilong/GPT4RoI.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑