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

面向图像编辑的对象感知反演与重组

Object-aware Inversion and Reassembly for Image Editing

Zhejiang University(浙江大学);Monash University(莫纳什大学)

Zhen Yang, Ganggui Ding, Wen Wang, Hao Chen, Bohan Zhuang, Chunhua Shen

AI总结:

提出对象感知反演与重组(OIR)范式,通过自适应搜索每对编辑的最优反演步骤并重组结果,实现对象级细粒度编辑,在多对象编辑中性能优越。

摘要:

通过比较原始提示词和目标提示词,我们可以获得大量的编辑对,每个编辑对包含一个对象及其对应的编辑目标。为了在保持对输入图像保真度的同时实现可编辑性,现有的编辑方法通常采用固定数量的反演步骤,将整个输入图像投影到其噪声更大的潜在表示中,随后由目标提示词引导的去噪过程。然而,我们发现,由于编辑难度各异,不同编辑对实现理想编辑结果所需的最优反演步骤数差异显著。因此,当前依赖固定反演步骤数的文献,在生成质量上产生次优结果,尤其是在处理自然图像中的多个编辑对时。为此,我们提出了一种新的图像编辑范式,称为对象感知反演与重组(Object-aware Inversion and Reassembly, OIR),以实现对象级别的细粒度编辑。具体而言,我们设计了一种新的搜索度量,通过联合考虑目标的可编辑性和非编辑区域的保真度,为每个编辑对确定最优反演步骤数。在编辑图像时,我们使用该搜索度量为每个编辑对找到最优反演步骤。然后,我们分别编辑这些编辑对以避免概念不匹配。随后,我们提出一个额外的重组步骤,将各自的编辑结果与非编辑区域无缝整合,以获得最终的编辑图像。为系统评估我们方法的有效性,我们收集了两个数据集,分别称为OIRBench,用于基准测试单对象和多对象编辑。实验表明,我们的方法在编辑对象形状、颜色、材质、类别等方面表现出优越性能,尤其是在多对象编辑场景中。

英文摘要:

By comparing the original and target prompts, we can obtain numerous editing pairs, each comprising an object and its corresponding editing target. To allow editability while maintaining fidelity to the input image, existing editing methods typically involve a fixed number of inversion steps that project the whole input image to its noisier latent representation, followed by a denoising process guided by the target prompt. However, we find that the optimal number of inversion steps for achieving ideal editing results varies significantly among different editing pairs, owing to varying editing difficulties. Therefore, the current literature, which relies on a fixed number of inversion steps, produces sub-optimal generation quality, especially when handling multiple editing pairs in a natural image. To this end, we propose a new image editing paradigm, dubbed Object-aware Inversion and Reassembly (OIR), to enable object-level fine-grained editing. Specifically, we design a new search metric, which determines the optimal inversion steps for each editing pair, by jointly considering the editability of the target and the fidelity of the non-editing region. We use our search metric to find the optimal inversion step for each editing pair when editing an image. We then edit these editing pairs separately to avoid concept mismatch. Subsequently, we propose an additional reassembly step to seamlessly integrate the respective editing results and the non-editing region to obtain the final edited image. To systematically evaluate the effectiveness of our method, we collect two datasets called OIRBench for benchmarking single- and multi-object editing, respectively. Experiments demonstrate that our method achieves superior performance in editing object shapes, colors, materials, categories, etc., especially in multi-object editing scenarios.

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

↑