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

一个任务值得一词:使用任务提示学习高质量多功能图像修复

A Task is Worth One Word: Learning with Task Prompts for High-Quality Versatile Image Inpainting

Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Junhao Zhuang, Yanhong Zeng, Wenran Liu, Chun Yuan, Kai Chen

AI总结:

提出PowerPaint,首个高质量多功能图像修复模型,通过可学习任务提示和微调策略实现多任务最先进性能,并支持对象移除和形状引导修复。

摘要:

推进图像修复具有挑战性,因为它需要为各种意图(如背景填充和对象合成)填充用户指定的区域。现有方法要么专注于上下文感知填充,要么使用文本描述进行对象合成。然而,由于训练策略不同,同时完成这两个任务具有挑战性。为了克服这一挑战,我们引入了PowerPaint,这是第一个在多个修复任务中表现出色的高质量多功能修复模型。首先,我们引入可学习的任务提示以及量身定制的微调策略,以明确引导模型关注不同的修复目标。这使得PowerPaint能够通过利用不同的任务提示来完成各种修复任务,从而实现最先进的性能。其次,我们展示了PowerPaint中任务提示的多功能性,展示其作为对象移除的负面提示的有效性。此外,我们利用提示插值技术来实现可控的形状引导对象修复,增强了模型在形状引导应用中的适用性。最后,我们进行了广泛的实验和应用,以验证PowerPaint的有效性。我们在项目页面发布了我们的代码和模型:https://powerpaint.github.io/。

英文摘要:

Advancing image inpainting is challenging as it requires filling user-specified regions for various intents, such as background filling and object synthesis. Existing approaches focus on either context-aware filling or object synthesis using text descriptions. However, achieving both tasks simultaneously is challenging due to differing training strategies. To overcome this challenge, we introduce PowerPaint, the first high-quality and versatile inpainting model that excels in multiple inpainting tasks. First, we introduce learnable task prompts along with tailored fine-tuning strategies to guide the model's focus on different inpainting targets explicitly. This enables PowerPaint to accomplish various inpainting tasks by utilizing different task prompts, resulting in state-of-the-art performance. Second, we demonstrate the versatility of the task prompt in PowerPaint by showcasing its effectiveness as a negative prompt for object removal. Moreover, we leverage prompt interpolation techniques to enable controllable shape-guided object inpainting, enhancing the model's applicability in shape-guided applications. Finally, we conduct extensive experiments and applications to verify the effectiveness of PowerPaint. We release our codes and models on our project page: https://powerpaint.github.io/.

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

↑