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

IMProv:基于修复的多模态提示用于计算机视觉任务

IMProv: Inpainting-based Multimodal Prompting for Computer Vision Tasks

UC San Diego(加州大学圣地亚哥分校);UC Berkeley(加州大学伯克利分校);Microsoft Research(微软研究院)

Jiarui Xu, Yossi Gandelsman, Amir Bar, Jianwei Yang, Jianfeng Gao, Trevor Darrell, Xiaolong Wang

AI总结:

本文提出IMProv,一种通过文本和图像多模态提示进行视觉任务上下文学习的生成模型,并证明文本条件训练与扩大数据规模可显著提升分割、检测和着色等任务性能。

摘要:

上下文学习允许模型在测试时根据任务描述适应新任务。本文提出IMProv——一种能够从多模态提示中进行视觉任务上下文学习的生成模型。给定视觉任务的文本描述(例如“左:输入图像,右:前景分割”)、若干输入-输出视觉示例,或两者兼有,该模型能够通过上下文学习为新的测试输入解决该任务。我们在一个新的数据集上训练掩码生成式Transformer,该数据集由计算机视觉论文中的图及其关联标题构成,并与一个带标题的大规模图像-文本数据集结合使用。在推理阶段,我们用文本和/或图像任务示例提示模型,并让模型修复相应的输出。我们表明,通过文本条件训练并扩大数据集规模,可将计算机视觉任务的上下文学习性能提升:前景分割的AP提高超过+10%,单目标检测的AP提升超过+5%,着色任务的LPIPS降低近20%。我们的实证结果表明,视觉提示和语言提示是互补的,同时使用两者有利于获得更好的上下文学习性能。项目页面见 https://jerryxu.net/IMProv 。

英文摘要:

In-context learning allows adapting a model to new tasks given a task description at test time. In this paper, we present IMProv - a generative model that is able to in-context learn visual tasks from multimodal prompts. Given a textual description of a visual task (e.g. "Left: input image, Right: foreground segmentation"), a few input-output visual examples, or both, the model in-context learns to solve it for a new test input. We train a masked generative transformer on a new dataset of figures from computer vision papers and their associated captions, together with a captioned large-scale image-text dataset. During inference time, we prompt the model with text and/or image task example(s) and have the model inpaint the corresponding output. We show that training our model with text conditioning and scaling the dataset size improves in-context learning for computer vision tasks by over +10\% AP for Foreground Segmentation, over +5\% gains in AP for Single Object Detection, and almost 20\% lower LPIPS in Colorization. Our empirical results suggest that vision and language prompts are complementary and it is advantageous to use both to achieve better in-context learning performance. Project page is available at https://jerryxu.net/IMProv .

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

↑