arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.01970cs.CVcs.AI
收藏

扩散模型中的水晶球假设:从初始噪声中预测物体位置

The Crystal Ball Hypothesis in diffusion models: Anticipating object positions from initial noise

UCLA(加利福尼亚大学洛杉矶分校);UMD(马里兰大学);Google(谷歌);PSU(宾夕法尼亚州立大学)

Yuanhao Ban, Ruochen Wang, Tianyi Zhou, Boqing Gong, Cho-Jui Hsieh, Minhao Cheng

AI总结:

本研究发现扩散模型初始噪声中存在决定物体生成位置的“触发块”,通过后验分析技术与训练检测器识别此类异常块,并提出拒绝采样策略以优化噪声,提升图像生成的提示词遵循度与位置多样性。

摘要:

扩散模型在文本到图像生成任务中取得了显著成功;然而,初始噪声的作用却很少被探讨。在本研究中,我们识别了初始噪声图像中的特定区域,称为触发块,它们在生成图像中的物体生成中起着关键作用。值得注意的是,这些块是“通用的”,可以泛化到不同的位置、种子和提示词。具体而言,从一种噪声中提取这些块并注入另一种噪声中,会导致在目标区域生成物体。我们通过分析生成图像中物体边界框的离散程度来识别这些块,从而开发出一种后验分析技术。此外,我们创建了一个由高斯噪声组成的数据集,这些噪声标有与生成图像中出现的物体相对应的边界框,并训练了一个检测器来从初始噪声中识别这些块。为了解释这些块的形成,我们揭示它们是高斯噪声中的异常值,并通过双样本测试遵循不同的分布。最后,我们发现提示词与触发块模式之间的不匹配会导致图像生成失败。本研究提出了一种拒绝采样策略以获取最优噪声,旨在提高图像生成中的提示词遵循度和位置多样性。

英文摘要:

Diffusion models have achieved remarkable success in text-to-image generation tasks; however, the role of initial noise has been rarely explored. In this study, we identify specific regions within the initial noise image, termed trigger patches, that play a key role for object generation in the resulting images. Notably, these patches are ``universal'' and can be generalized across various positions, seeds, and prompts. To be specific, extracting these patches from one noise and injecting them into another noise leads to object generation in targeted areas. We identify these patches by analyzing the dispersion of object bounding boxes across generated images, leading to the development of a posterior analysis technique. Furthermore, we create a dataset consisting of Gaussian noises labeled with bounding boxes corresponding to the objects appearing in the generated images and train a detector that identifies these patches from the initial noise. To explain the formation of these patches, we reveal that they are outliers in Gaussian noise, and follow distinct distributions through two-sample tests. Finally, we find the misalignment between prompts and the trigger patch patterns can result in unsuccessful image generations. The study proposes a reject-sampling strategy to obtain optimal noise, aiming to improve prompt adherence and positional diversity in image generation.

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

↑