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

往返之间:关于扩散模型中噪声与图像逆向之间的关系

There and Back Again: On the relation between Noise and Image Inversions in Diffusion Models

Warsaw University of Technology(华沙技术大学);IDEAS Research Institute(IDEAS研究机构);University of Warsaw(华沙大学);Institute of Mathematics, Polish Academy of Sciences(波兰科学院数学研究所);IDEAS NCBR

Łukasz Staniszewski, Łukasz Kuciński, Kamil Deja

AI总结:

本文研究了扩散模型中噪声与图像逆向之间的关系,通过替换DDIM逆向步骤为正向扩散过程,解相关潜在编码并提升编辑与插值质量。

摘要:

扩散模型在生成新样本方面取得了最先进的性能,但缺乏一个低维潜在空间,该空间将数据编码为可编辑的特征。基于逆向的方法通过反转去噪轨迹,将图像转换为其近似的起始噪声。在本工作中,我们深入分析了这一过程,并关注初始噪声、生成样本及其通过DDIM逆向获得的相应潜在编码之间的关系。首先,我们显示潜在特征呈现出结构模式,形式为在平滑图像区域中预测的噪声较少多样(例如,平原天空)。通过一系列分析,我们将这一问题追溯到第一次逆向步骤,这些步骤未能提供准确且多样的噪声。因此,DDIM逆向空间明显比原始噪声更具可操控性。我们展示了先前的逆向方法未能完全解决这一问题,但我们的简单修复方法,即用正向扩散过程替换第一次DDIM逆向步骤,成功地解相关了潜在编码,并使更高质量的编辑和插值成为可能。代码可在https://github.com/luk-st/taba上获得。

英文摘要:

Diffusion Models achieve state-of-the-art performance in generating new samples but lack a low-dimensional latent space that encodes the data into editable features. Inversion-based methods address this by reversing the denoising trajectory, transferring images to their approximated starting noise. In this work, we thoroughly analyze this procedure and focus on the relation between the initial noise, the generated samples, and their corresponding latent encodings obtained through the DDIM inversion. First, we show that latents exhibit structural patterns in the form of less diverse noise predicted for smooth image areas (e.g., plain sky). Through a series of analyses, we trace this issue to the first inversion steps, which fail to provide accurate and diverse noise. Consequently, the DDIM inversion space is notably less manipulative than the original noise. We show that prior inversion methods do not fully resolve this issue, but our simple fix, where we replace the first DDIM Inversion steps with a forward diffusion process, successfully decorrelates latent encodings and enables higher quality editions and interpolations. The code is available at https://github.com/luk-st/taba.

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

↑