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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhang, Shilong, Sun, Peize, Chen, Shoufa, Xiao, Min, Shao, Wenqi, Zhang, Wenwei, Liu, Yu, Chen, Kai, Luo, Ping
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912425296527360
author Zhang, Shilong
Sun, Peize
Chen, Shoufa
Xiao, Min
Shao, Wenqi
Zhang, Wenwei
Liu, Yu
Chen, Kai
Luo, Ping
author_facet Zhang, Shilong
Sun, Peize
Chen, Shoufa
Xiao, Min
Shao, Wenqi
Zhang, Wenwei
Liu, Yu
Chen, Kai
Luo, Ping
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2307_03601
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle GPT4RoI: Instruction Tuning Large Language Model on Region-of-Interest
Zhang, Shilong
Sun, Peize
Chen, Shoufa
Xiao, Min
Shao, Wenqi
Zhang, Wenwei
Liu, Yu
Chen, Kai
Luo, Ping
Computer Vision and Pattern Recognition
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.
title GPT4RoI: Instruction Tuning Large Language Model on Region-of-Interest
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2307.03601