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

基于参考模仿的零样本图像编辑

Zero-shot Image Editing with Reference Imitation

The University of Hong Kong(香港大学);Alibaba Group(阿里巴巴集团);Ant Group(蚂蚁集团)

Xi Chen, Yutong Feng, Mengting Chen, Yiyang Wang, Shilong Zhang, Yu Liu, Yujun Shen, Hengshuang Zhao

AI总结:

本文提出模仿式图像编辑范式,通过 MimicBrush 框架利用视频帧间信息进行自监督训练,使模型依据任意参考图像零样本编辑目标区域,并构建基准验证其优势。

摘要:

图像编辑是一项实用但颇具挑战性的任务,因为用户需求多种多样,其中最困难的部分之一是精确描述编辑后的图像应当呈现何种效果。在本研究中,我们提出一种新的编辑形式,称为模仿式编辑,以帮助用户更便捷地发挥创造力。具体而言,为了编辑图像中的感兴趣区域,用户可以自由地直接从一些自然场景中的参考图像(例如在网上偶然看到的相关图片)汲取灵感,而无需处理参考图像与源图像之间的适配问题。这样的设计要求系统自动判断应从参考图像中获取什么信息来执行编辑。为此,我们提出了一个名为 MimicBrush 的生成式训练框架:该框架从一个视频片段中随机选取两帧,对其中一帧的部分区域进行掩码,并学习利用另一帧的信息恢复被掩码区域。通过这种方式,我们基于扩散先验开发的模型能够以自监督方式捕捉不同图像之间的语义对应关系。实验表明,我们的方法在多种测试场景下均有效,并且相较现有替代方案具有优越性。我们还构建了一个基准,以促进后续研究。

英文摘要:

Image editing serves as a practical yet challenging task considering the diverse demands from users, where one of the hardest parts is to precisely describe how the edited image should look like. In this work, we present a new form of editing, termed imitative editing, to help users exercise their creativity more conveniently. Concretely, to edit an image region of interest, users are free to directly draw inspiration from some in-the-wild references (e.g., some relative pictures come across online), without having to cope with the fit between the reference and the source. Such a design requires the system to automatically figure out what to expect from the reference to perform the editing. For this purpose, we propose a generative training framework, dubbed MimicBrush, which randomly selects two frames from a video clip, masks some regions of one frame, and learns to recover the masked regions using the information from the other frame. That way, our model, developed from a diffusion prior, is able to capture the semantic correspondence between separate images in a self-supervised manner. We experimentally show the effectiveness of our method under various test cases as well as its superiority over existing alternatives. We also construct a benchmark to facilitate further research.

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

↑