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

基于条件分数引导的文本驱动图像到图像翻译

Conditional Score Guidance for Text-Driven Image-to-Image Translation

IPAI, Seoul National University(首尔国立大学IPAI);ECE(电子与计算机工程学院)

Hyunsoo Lee, Minsoo Kang, Bohyung Han

AI总结:

提出基于预训练扩散模型的条件分数引导算法,通过分解条件分数并结合源图像、源文本提示与mixup技术,实现高保真的文本驱动图像到图像翻译。

摘要:

我们提出了一种基于预训练文本到图像扩散模型的文本驱动图像到图像翻译新算法。我们的方法旨在通过选择性编辑源图像中由修改文本定义的兴趣区域来生成目标图像,同时保留其余部分。与仅依赖目标提示的现有技术不同,我们引入了一个新的分数函数,该函数额外考虑了源图像和源文本提示,以针对特定翻译任务进行调整。为此,我们以有原则的方式推导了条件分数函数,将其分解为标准分数和用于目标图像生成的引导项。对于引导项的梯度计算,我们假设后验分布为高斯分布,并估计其均值和方差以在不进行额外训练的情况下调整梯度。此外,为了提高条件分数引导的质量,我们采用了一种简单而有效的mixup技术,该技术结合了从源潜变量和目标潜变量导出的两个交叉注意力图。该策略有效促进了源图像中不变部分与目标提示对齐的编辑区域的理想融合,从而实现高保真目标图像生成。通过全面实验,我们证明我们的方法在各种任务上实现了出色的图像到图像翻译性能。

英文摘要:

We present a novel algorithm for text-driven image-to-image translation based on a pretrained text-to-image diffusion model. Our method aims to generate a target image by selectively editing the regions of interest in a source image, defined by a modifying text, while preserving the remaining parts. In contrast to existing techniques that solely rely on a target prompt, we introduce a new score function that additionally considers both the source image and the source text prompt, tailored to address specific translation tasks. To this end, we derive the conditional score function in a principled manner, decomposing it into the standard score and a guiding term for target image generation. For the gradient computation of the guiding term, we assume a Gaussian distribution of the posterior distribution and estimate its mean and variance to adjust the gradient without additional training. In addition, to improve the quality of the conditional score guidance, we incorporate a simple yet effective mixup technique, which combines two cross-attention maps derived from the source and target latents. This strategy is effective for promoting a desirable fusion of the invariant parts in the source image and the edited regions aligned with the target prompt, leading to high-fidelity target image generation. Through comprehensive experiments, we demonstrate that our approach achieves outstanding image-to-image translation performance on various tasks.

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

↑