arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2211.13752cs.CVcs.GRcs.LG
收藏

草图引导的文本到图像扩散模型

Sketch-Guided Text-to-Image Diffusion Models

Google Research(谷歌研究院);Tel Aviv University(特拉维夫大学)

Andrey Voynov, Kfir Aberman, Daniel Cohen-Or

摘要:

文本到图像模型在机器学习的发展中引入了一个显着的飞跃,展示了从给定的文本提示合成高质量的图像。然而,这些强大的预训练模型仍然缺乏可以指导合成图像空间属性的控制手柄。在这项工作中,我们引入了一种通用的方法来指导预训练的文本到图像扩散模型,具有来自另一个域的空间映射(例如,在推理时间内绘制)。与以前的作品不同,我们的方法不需要训练一个专用的模型或专门的编码器的任务。我们的关键思想是训练一个潜在的指导预测器(LGP)-一个小的,每像素,多层感知器(MLP),映射噪声图像的潜在特征的空间地图,其中深层特征提取的核心去噪扩散概率模型(DDPM)网络。LGP仅在几千张图像上进行训练,并构成差分引导地图预测器,通过该预测器计算损失并传播回来,以推动中间图像与空间地图一致。每像素训练提供了灵活性和局部性,使该技术能够在域外草图上表现良好,包括徒手风格的绘图。我们特别关注草图到图像的翻译任务,揭示了一个强大的和富有表现力的方式来生成图像,遵循任意风格或域的草图的指导。项目页面:sketch-guided-diffusion.github.io

英文摘要:

Text-to-Image models have introduced a remarkable leap in the evolution of machine learning, demonstrating high-quality synthesis of images from a given text-prompt. However, these powerful pretrained models still lack control handles that can guide spatial properties of the synthesized images. In this work, we introduce a universal approach to guide a pretrained text-to-image diffusion model, with a spatial map from another domain (e.g., sketch) during inference time. Unlike previous works, our method does not require to train a dedicated model or a specialized encoder for the task. Our key idea is to train a Latent Guidance Predictor (LGP) - a small, per-pixel, Multi-Layer Perceptron (MLP) that maps latent features of noisy images to spatial maps, where the deep features are extracted from the core Denoising Diffusion Probabilistic Model (DDPM) network. The LGP is trained only on a few thousand images and constitutes a differential guiding map predictor, over which the loss is computed and propagated back to push the intermediate images to agree with the spatial map. The per-pixel training offers flexibility and locality which allows the technique to perform well on out-of-domain sketches, including free-hand style drawings. We take a particular focus on the sketch-to-image translation task, revealing a robust and expressive way to generate images that follow the guidance of a sketch of arbitrary style or domain. Project page: sketch-guided-diffusion.github.io

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

↑