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

扩散模型的黄金噪声:一种学习框架

Golden Noise for Diffusion Models: A Learning Framework

HKUST-GZ(香港科技大学-广州);Shanghai AI Lab(上海人工智能实验室);MBZUAI(穆罕默德·本·拉希德人工智能学院);HKBU(香港都会大学)

Zikai Zhou, Shitong Shao, Lichen Bai, Shufei Zhang, Zhiqiang Xu, Bo Han, Zeke Xie

AI总结:

本文提出噪声提示学习框架,通过构建含10万对样本的噪声提示数据集并训练小型NPNet,将随机高斯噪声转换为黄金噪声,从而以极低计算成本提升多种扩散模型的文本-图像对齐和图像质量。

摘要:

文本到图像扩散模型是一种流行的范式,通过提供文本提示和随机高斯噪声来合成个性化图像。尽管人们观察到某些噪声是“黄金噪声”,能够比其他噪声实现更好的文本-图像对齐和更高的人类偏好,但我们仍然缺乏一个机器学习框架来获得这些黄金噪声。为了学习用于扩散采样的黄金噪声,我们在本文中主要做出三项贡献。首先,我们提出一个新概念,称为“噪声提示(noise prompt)”,其目标是通过添加一个从文本提示中导出的微小期望扰动,将随机高斯噪声转变为黄金噪声。遵循这一概念,我们首先构建了“噪声提示学习(noise prompt learning)”框架,该框架系统地为扩散模型学习与文本提示相关联的“被提示的”黄金噪声。其次,我们设计了一个噪声提示数据收集流程,并收集了一个大规模“噪声提示数据集(noise prompt dataset,NPD)”,其中包含10万对随机噪声和黄金噪声及其关联的文本提示。利用准备好的NPD作为训练数据集,我们训练了一个小型“噪声提示网络(noise prompt network,NPNet)”,它可以直接学习将随机噪声转换为黄金噪声。学习到的黄金噪声扰动可以被视为一种针对噪声的提示,因为它富含语义信息并且针对给定的文本提示进行了定制。第三,我们的大量实验证明了NPNet在提升各种扩散模型合成图像质量方面的显著有效性和泛化能力,这些模型包括SDXL、DreamShaper-xl-v2-turbo和Hunyuan-DiT。此外,NPNet是一个小型且高效的控制器,作为一个即插即用模块,只需提供黄金噪声而不是随机噪声,无需访问原始流程,因此额外的推理和计算成本非常有限。

英文摘要:

Text-to-image diffusion model is a popular paradigm that synthesizes personalized images by providing a text prompt and a random Gaussian noise. While people observe that some noises are ``golden noises'' that can achieve better text-image alignment and higher human preference than others, we still lack a machine learning framework to obtain those golden noises. To learn golden noises for diffusion sampling, we mainly make three contributions in this paper. First, we identify a new concept termed the \textit{noise prompt}, which aims at turning a random Gaussian noise into a golden noise by adding a small desirable perturbation derived from the text prompt. Following the concept, we first formulate the \textit{noise prompt learning} framework that systematically learns ``prompted'' golden noise associated with a text prompt for diffusion models. Second, we design a noise prompt data collection pipeline and collect a large-scale \textit{noise prompt dataset}~(NPD) that contains 100k pairs of random noises and golden noises with the associated text prompts. With the prepared NPD as the training dataset, we trained a small \textit{noise prompt network}~(NPNet) that can directly learn to transform a random noise into a golden noise. The learned golden noise perturbation can be considered as a kind of prompt for noise, as it is rich in semantic information and tailored to the given text prompt. Third, our extensive experiments demonstrate the impressive effectiveness and generalization of NPNet on improving the quality of synthesized images across various diffusion models, including SDXL, DreamShaper-xl-v2-turbo, and Hunyuan-DiT. Moreover, NPNet is a small and efficient controller that acts as a plug-and-play module with very limited additional inference and computational costs, as it just provides a golden noise instead of a random noise without accessing the original pipeline.

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

↑