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

基于图像修补的视觉修复

Visual Prompting via Image Inpainting

Tel Aviv University(特拉维夫大学);UC Berkeley(加州大学伯克利分校)

Amir Bar, Yossi Gandelsman, Trevor Darrell, Amir Globerson, Alexei A. Efros

摘要:

如何在没有特定于任务的微调或任何模型修改的情况下,使预训练的视觉模型适应新的下游任务?受自然语言处理中提示的启发,本文研究了视觉提示:在测试时给定一个新任务的输入输出图像示例和一个新的输入图像,目标是自动生成与给定示例一致的输出图像。我们表明,提出这个问题作为简单的图像修补-字面上只是填补了一个洞,在一个连接的视觉提示图像-原来是令人惊讶的有效,提供了修复算法已经训练正确的数据。我们在一个新的数据集上训练屏蔽的自动编码器,我们策划了来自Arxiv上学术论文来源的88 k未标记的数字。我们将视觉提示应用于这些预训练模型,并展示了各种下游图像到图像任务的结果,包括前景分割,单个目标检测,彩色化,边缘检测等。

英文摘要:

How does one adapt a pre-trained visual model to novel downstream tasks without task-specific finetuning or any model modification? Inspired by prompting in NLP, this paper investigates visual prompting: given input-output image example(s) of a new task at test time and a new input image, the goal is to automatically produce the output image, consistent with the given examples. We show that posing this problem as simple image inpainting - literally just filling in a hole in a concatenated visual prompt image - turns out to be surprisingly effective, provided that the inpainting algorithm has been trained on the right data. We train masked auto-encoders on a new dataset that we curated - 88k unlabeled figures from academic papers sources on Arxiv. We apply visual prompting to these pretrained models and demonstrate results on various downstream image-to-image tasks, including foreground segmentation, single object detection, colorization, edge detection, etc.

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

↑