arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.18212cs.CVcs.AI
收藏

Paint by Inpaint:通过先移除物体来学习为图像添加物体

Paint by Inpaint: Learning to Add Image Objects by Removing Them First

Weizmann Institute of Science(魏茨曼科学研究所);Technion - Israel Institute of Technology(以色列理工学院)

Navve Wasserman, Noam Rotstein, Roy Ganz, Ron Kimmel

AI总结:

针对文本指令下无掩码无缝添加图像物体的难题,研究团队利用“移除物体比添加简单”的特性,构建含自然图像对的大规模数据集,训练逆转修复过程的扩散模型,在物体添加和通用编辑任务上性能超越现有模型。

摘要:

随着文本条件扩散模型的推出,图像编辑技术取得了显著进展。尽管有这些进步,无需用户提供输入掩码、仅凭文本指令就在图像中无缝添加物体仍是一项挑战。我们利用“移除物体(图像修复Inpaint)比其逆过程即添加物体(绘制Paint)简单得多”这一洞见来解决该问题,这是因为图像修复模型能受益于分割掩码的引导。基于这一认知,我们通过搭建一套自动化的大规模流程,整理出一个经过筛选的大规模图像数据集,其中包含成对的图像及其对应的移除目标物体后的版本。利用这些图像对,我们训练了一个扩散模型来逆转图像修复过程,从而有效地向图像中添加物体。与其他编辑数据集不同,我们的数据集采用自然目标图像而非合成图像,并且通过构建方式确保了源图像与目标图像的一致性。此外,我们使用大型视觉语言模型(Vision-Language Model)对被移除的物体进行详细描述,并使用大语言模型(Large Language Model)将这些描述转换为多样的自然语言指令。我们的定量和定性结果表明,所训练的模型在物体添加和通用编辑任务上均优于现有模型。如需获取发布的数据集和训练好的模型,请访问我们的项目页面:https://rotsteinnoam.github.io/Paint-by-Inpaint。

英文摘要:

Image editing has advanced significantly with the introduction of text-conditioned diffusion models. Despite this progress, seamlessly adding objects to images based on textual instructions without requiring user-provided input masks remains a challenge. We address this by leveraging the insight that removing objects (Inpaint) is significantly simpler than its inverse process of adding them (Paint), attributed to inpainting models that benefit from segmentation mask guidance. Capitalizing on this realization, by implementing an automated and extensive pipeline, we curate a filtered large-scale image dataset containing pairs of images and their corresponding object-removed versions. Using these pairs, we train a diffusion model to inverse the inpainting process, effectively adding objects into images. Unlike other editing datasets, ours features natural target images instead of synthetic ones while ensuring source-target consistency by construction. Additionally, we utilize a large Vision-Language Model to provide detailed descriptions of the removed objects and a Large Language Model to convert these descriptions into diverse, natural-language instructions. Our quantitative and qualitative results show that the trained model surpasses existing models in both object addition and general editing tasks. Visit our project page for the released dataset and trained models at https://rotsteinnoam.github.io/Paint-by-Inpaint.

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

↑