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

基于潜在优化的免训练草图引导扩散

Training-Free Sketch-Guided Diffusion with Latent Optimization

The University of Tokyo(东京大学)

Sandra Zhang Ding, Jiafeng Mao, Kiyoharu Aizawa

AI总结:

本文提出一种免训练的草图引导文本到图像生成方法,通过交叉注意力图跟踪草图结构,并在生成中间步骤对噪声潜在进行优化,从而在不训练模型的情况下提升生成图像与参考草图的结构一致性。

摘要:

基于近期先进的扩散模型,文本到图像(T2I)生成模型已经展示了其生成多样且高质量图像的能力。然而,在现实世界内容创作中利用其潜力,特别是在为用户提供对图像生成结果的精确控制方面,仍构成重大挑战。本文提出了一种创新的免训练流程,扩展现有文本到图像生成模型,以将草图作为附加条件纳入。为生成布局和结构与输入草图高度相似的新图像,我们发现草图的这些核心特征可以通过扩散模型的交叉注意力图进行跟踪。我们引入了潜在优化方法,该方法在生成过程的每个中间步骤利用交叉注意力图细化噪声潜在,以确保生成的图像紧密遵循参考草图中概述的期望结构。通过潜在优化,我们的方法提高了图像生成的准确性,为用户在内容创作中提供了更大的控制和定制选项。

英文摘要:

Based on recent advanced diffusion models, Text-to-image (T2I) generation models have demonstrated their capabilities to generate diverse and high-quality images. However, leveraging their potential for real-world content creation, particularly in providing users with precise control over the image generation result, poses a significant challenge. In this paper, we propose an innovative training-free pipeline that extends existing text-to-image generation models to incorporate a sketch as an additional condition. To generate new images with a layout and structure closely resembling the input sketch, we find that these core features of a sketch can be tracked with the cross-attention maps of diffusion models. We introduce latent optimization, a method that refines the noisy latent at each intermediate step of the generation process using cross-attention maps to ensure that the generated images adhere closely to the desired structure outlined in the reference sketch. Through latent optimization, our method enhances the accuracy of image generation, offering users greater control and customization options in content creation.

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

↑