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

通过自适应文本-图像协调实现新物体合成

Novel Object Synthesis via Adaptive Text-Image Harmony

RIKEN(理化学研究所);College of Computer Science, Nankai University(南开大学计算机学院)

Zeren Xiong, Zedong Zhang, Zikun Chen, Shuo Chen, Xiang Li, Gan Sun, Jian Yang, Jun Li

AI总结:

针对文本与图像条件失衡导致扩散模型偏向单一输入的问题,提出ATIH,通过注意力调节、平衡损失和自适应相似度评分生成高保真且可编辑的新物体。

摘要:

本文研究一种物体合成任务,该任务将物体文本与物体图像结合以创建新的物体图像。然而,大多数扩散模型在处理该任务时存在困难,即由于输入之间的不平衡,生成的物体往往主要反映文本或图像中的一方。为解决这一问题,我们提出了一种简单而有效的方法,称为自适应文本-图像协调(Adaptive Text-Image Harmony,ATIH),用于生成新颖且令人惊奇的物体。首先,我们引入尺度因子和注入步,分别在文本-图像反演扩散过程中平衡交叉注意力中的文本与图像特征,并在自注意力中保留图像信息。其次,为更好地融合物体文本与图像,我们设计了带有噪声参数的平衡损失函数,以确保物体图像同时具有最佳可编辑性和保真度。第三,为自适应调整这些参数,我们提出了一种新的相似度评分函数,该函数不仅最大化生成物体图像与输入文本/图像之间的相似度,还平衡这些相似度,以协调文本与图像的融合。大量实验证明了我们方法的有效性,展示了诸如疣猴-玻璃罐之类出色的物体创作。项目页面:https://xzr52.github.io/ATIH/。

英文摘要:

In this paper, we study an object synthesis task that combines an object text with an object image to create a new object image. However, most diffusion models struggle with this task, \textit{i.e.}, often generating an object that predominantly reflects either the text or the image due to an imbalance between their inputs. To address this issue, we propose a simple yet effective method called Adaptive Text-Image Harmony (ATIH) to generate novel and surprising objects. First, we introduce a scale factor and an injection step to balance text and image features in cross-attention and to preserve image information in self-attention during the text-image inversion diffusion process, respectively. Second, to better integrate object text and image, we design a balanced loss function with a noise parameter, ensuring both optimal editability and fidelity of the object image. Third, to adaptively adjust these parameters, we present a novel similarity score function that not only maximizes the similarities between the generated object image and the input text/image but also balances these similarities to harmonize text and image integration. Extensive experiments demonstrate the effectiveness of our approach, showcasing remarkable object creations such as colobus-glass jar. Project page: https://xzr52.github.io/ATIH/.

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

↑