arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.11615cs.LGmath.OC
收藏

从分数匹配到扩散:在高斯设定下的细粒度误差分析

From Score Matching to Diffusion: A Fine-Grained Error Analysis in the Gaussian Setting

ENS Paris, PSL, CNRS(巴黎高等师范学院、巴黎综合理工学院、国家科学研究中心);Univ. Paris-Saclay, Inria, CEA(巴黎萨克雷大学、法国国家信息与自动化技术研究所、法国原子能委员会)

Samuel Hurault, Matthieu Terris, Thomas Moreau, Gabriel Peyré

AI总结:

本文研究了在高斯设定下使用扩散采样器时的采样误差,分析了分数匹配和扩散过程中的四个主要误差源,并揭示了数据分布各向异性与端到端采样方法关键参数之间的相互作用。

摘要:

从未知分布采样,仅能通过离散样本获取,是生成式人工智能的核心基础问题。当前最先进的方法遵循两步过程:首先估计分数函数(平滑对数分布的梯度),然后应用基于扩散的采样算法——如兰格-恩或扩散模型。所得到分布的正确性可能受四个主要因素影响:分数匹配中的泛化和优化误差,以及扩散过程中的离散化和最小噪声幅度。在本文中,我们明确地在高斯设定下使用扩散采样器时的采样误差。我们提供了来自这些四个误差源的Wasserstein采样误差的精确分析。这使我们能够严格追踪数据分布各向异性(通过其功率谱编码)如何与端到端采样方法的关键参数相互作用,包括初始样本数量、分数匹配和扩散中的步长以及噪声幅度。值得注意的是,我们展示了Wasserstein采样误差可以表示为数据功率谱的核型范数,其中具体的核取决于方法参数。这一结果为进一步分析优化采样精度的权衡提供了基础。

英文摘要:

Sampling from an unknown distribution, accessible only through discrete samples, is a fundamental problem at the core of generative AI. The current state-of-the-art methods follow a two-step process: first, estimating the score function (the gradient of a smoothed log-distribution) and then applying a diffusion-based sampling algorithm -- such as Langevin or Diffusion models. The resulting distribution's correctness can be impacted by four major factors: the generalization and optimization errors in score matching, and the discretization and minimal noise amplitude in the diffusion. In this paper, we make the sampling error explicit when using a diffusion sampler in the Gaussian setting. We provide a sharp analysis of the Wasserstein sampling error that arises from these four error sources. This allows us to rigorously track how the anisotropy of the data distribution (encoded by its power spectrum) interacts with key parameters of the end-to-end sampling method, including the number of initial samples, the stepsizes in both score matching and diffusion, and the noise amplitude. Notably, we show that the Wasserstein sampling error can be expressed as a kernel-type norm of the data power spectrum, where the specific kernel depends on the method parameters. This result provides a foundation for further analysis of the tradeoffs involved in optimizing sampling accuracy.

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

↑