[论文解读] GPT4RoI: Instruction Tuning Large Language Model on Region-of-Interest
GPT4RoI 是一个端到端的视觉-语言模型,通过用 RoI 特征替换区域引用来对区域文本数据进行指令微调,从而实现区域级理解和交互式多轮对话。
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.
研究动机与目标
- 引入在自然语言指令中引用感兴趣区域(RoI)的空间指令调优,使得大模型能够进行区域级理解。
- 开发一个端到端模型,将 RoI 特征与语言嵌入整合,用于区域描述和推理。
- 利用公开的区域文本数据集训练一个能够进行关于 RoIs 的多轮对话的统一模型。
- 在 VCR、Visual Genome 区域描述、Visual-7W 等基准上展示最先进的区域理解能力。
提出的方法
- 定义一个特殊标记 <region { i } >,并通过 RoIAlign 从多级特征金字塔将其嵌入替换为 RoI 特征。
- 将区域特征与语言嵌入交错形成一个由 LLM(Vicuna/LLaMA 系列)处理的序列。
- 使用一个视觉编码器(ViT-H/14)配合区域特征提取器和投射器,将图像级信息与区域级信息对齐到语言空间。
- 分两阶段训练:阶段1 预训练以简单区域文本对将区域特征与词嵌入对齐;阶段2 端到端微调区域提取器、图像投射器和 LLM,使用更复杂的区域文本。
- 结合 LLaVA150K 数据和 LVIS 检 detector 以提升多轮对话能力和区域引用处理能力。
实验结果
研究问题
- RQ1在一个端到端的视觉-语言模型中,是否可以通过在输入序列中对区域引用进行空间定位来实现区域级理解?
- RQ2相比于图像级指令调优,空间指令调优对区域描述和推理任务有何影响?
- RQ3在区域文本数据集的使用下,区域描述、推理和 VCR 风格任务的基准表现有何影响?
- RQ4模型在多轮对话中是否仍然具备交互式的多区域引用能力?
主要发现
- GPT4RoI 在 VCR 上达到81.6%(Q→AR)的状态最先进准确率,对比 GPT4RoI-13B,接近人类表现的85.0%。
- 在 Visual Genome 区域描述任务中,GPT4RoI-7B 与 GPT4RoI-13B 的 CIDEr 得分分别超越了上一代最先进的 GRiT(分别为 145.2 和 146.8)。
- GPT4RoI-13B 显著优于此前的 Visual-7W 方法(例如某些基线为 84.82% 对 72.53%)。
- 该模型在区域描述与推理基准(VG 区域描述、Visual-7W、VCR)上展现出强大的区域级能力。
- 端到端微调结合区域特征至关重要;7B 与 13B 变体在区域描述方面表现相近,表明仍有提升视觉模块和数据可用性的空间。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。