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

扩散模型中高斯分数近似的惊人有效性及其应用

The Unreasonable Effectiveness of Gaussian Score Approximation for Diffusion Models and its Applications

Kempner Institute for the Study of Natural and Artificial Intelligence(肯普纳自然与人工智能研究所);Harvard University(哈佛大学);Harvard Medical School(哈佛医学院)

Binxu Wang, John J. Vastola

AI总结:

该研究揭示扩散模型学得的神经分数在中高噪声尺度下由高斯近似主导,基于此提出analytical teleportation混合采样方法,可跳过15%-30%初始采样步骤仍保持高质量,能加速现有采样器并为模型设计训练提供新思路。

摘要:

通过学习平滑数据分布的梯度,扩散模型能够从复杂分布中迭代生成样本。所学得的分数函数赋予了扩散模型泛化能力,但所学分数与底层数据流形的分数之间的关联在很大程度上仍不明确。本文旨在通过将学得的神经分数与两类解析可处理分布——高斯分布和高斯混合分布——的分数进行比较,阐明这一关联。高斯模型的简洁性使其具备理论吸引力,我们证明其存在闭式解,且能预测样本生成动力学的诸多定性特征。我们提出,在中等至高噪声尺度下,学得的神经分数由其线性(高斯)近似主导,并提供了理论与实证论据支撑这一论断。此外,实证表明高斯近似适用的噪声尺度范围比朴素理论预测的更广,且在训练早期会被优先学习。在较小噪声尺度下,我们观察到学得的分数更适合用训练数据的粗粒度(高斯混合)近似来描述,而非训练分布的分数,这一发现与泛化特性一致。上述发现使我们能够通过高斯近似精确预测训练模型采样轨迹的初始阶段。我们证明,这允许跳过前15%-30%的采样步骤,同时保持高样本质量(在CIFAR-10无条件生成任务上取得接近当前最优的1.93的FID分数)。这构成了一种名为analytical teleportation(解析瞬移)的新型混合采样方法的基础,该方法可无缝集成并加速现有采样器,包括DPM-Solver-v3和UniPC。我们的发现为改进扩散模型的设计与训练提供了思路。

英文摘要:

By learning the gradient of smoothed data distributions, diffusion models can iteratively generate samples from complex distributions. The learned score function enables their generalization capabilities, but how the learned score relates to the score of the underlying data manifold remains largely unclear. Here, we aim to elucidate this relationship by comparing learned neural scores to the scores of two kinds of analytically tractable distributions: Gaussians and Gaussian mixtures. The simplicity of the Gaussian model makes it theoretically attractive, and we show that it admits a closed-form solution and predicts many qualitative aspects of sample generation dynamics. We claim that the learned neural score is dominated by its linear (Gaussian) approximation for moderate to high noise scales, and supply both theoretical and empirical arguments to support this claim. Moreover, the Gaussian approximation empirically works for a larger range of noise scales than naive theory suggests it should, and is preferentially learned early in training. At smaller noise scales, we observe that learned scores are better described by a coarse-grained (Gaussian mixture) approximation of training data than by the score of the training distribution, a finding consistent with generalization. Our findings enable us to precisely predict the initial phase of trained models' sampling trajectories through their Gaussian approximations. We show that this allows the skipping of the first 15-30% of sampling steps while maintaining high sample quality (with a near state-of-the-art FID score of 1.93 on CIFAR-10 unconditional generation). This forms the foundation of a novel hybrid sampling method, termed analytical teleportation, which can seamlessly integrate with and accelerate existing samplers, including DPM-Solver-v3 and UniPC. Our findings suggest ways to improve the design and training of diffusion models.

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

↑