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

增强文本到图像编辑:基于混合掩码信息融合

Enhancing Text-to-Image Editing via Hybrid Mask-Informed Fusion

Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Aoxue Li, Mingyang Yi, Zhenguo Li

AI总结:

本文提出MaSaFusion方法,利用掩码信息和自注意力融合,改进扩散模型文本到图像编辑,解决纹理保留与角色创建冲突,显著提升编辑效果。

摘要:

近年来,通过应用扩散模型,文本到图像(T2I)编辑得到了极大的推动。尽管生成的图像在视觉上很有前景,但与预期文本提示不一致的情况仍然普遍存在。本文旨在通过解决其局限性,系统地改进基于扩散模型的文本引导图像编辑技术。值得注意的是,基于扩散的编辑中的常见思路首先通过反转技术(如DDIM反转)重建源图像。然后进行融合过程,将源图像的中间(隐藏)状态(通过反转获得)与目标图像的状态仔细整合。不幸的是,由于纹理保留和新角色在某些区域的创建之间的干扰,这种标准流程在许多情况下会失败。为了缓解这一问题,我们将人工标注作为外部知识纳入,将编辑限制在“掩码信息”区域内。然后,我们在模型的自注意力模块内,将编辑后的图像与源图像以及一个构建的中间图像仔细融合。大量的实证结果表明,所提出的“MaSaFusion”显著改进了现有的T2I编辑技术。

英文摘要:

Recently, text-to-image (T2I) editing has been greatly pushed forward by applying diffusion models. Despite the visual promise of the generated images, inconsistencies with the expected textual prompt remain prevalent. This paper aims to systematically improve the text-guided image editing techniques based on diffusion models, by addressing their limitations. Notably, the common idea in diffusion-based editing firstly reconstructs the source image via inversion techniques e.g., DDIM Inversion. Then following a fusion process that carefully integrates the source intermediate (hidden) states (obtained by inversion) with the ones of the target image. Unfortunately, such a standard pipeline fails in many cases due to the interference of texture retention and the new characters creation in some regions. To mitigate this, we incorporate human annotation as an external knowledge to confine editing within a ``Mask-informed'' region. Then we carefully Fuse the edited image with the source image and a constructed intermediate image within the model's Self-Attention module. Extensive empirical results demonstrate the proposed ``MaSaFusion'' significantly improves the existing T2I editing techniques.

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

↑