arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.22586cs.LGcs.CL
收藏

扩散理论教程:从微分方程到扩散模型

A Tutorial on Diffusion Theory: From Differential Equations to Diffusion Models

Jiayi Fu, Yuxia Wang

AI总结:

本教程从微分方程角度统一阐述扩散模型的数学基础,推导ODE和SDE表示,解释分数匹配和去噪目标,并涵盖DDPM、DDIM、流匹配和扩散语言模型。

摘要:

扩散模型已成为生成建模的主导框架,但其数学基础通常通过扩散概率模型、基于分数的建模、随机微分方程和数值采样方法分别呈现。我们编写本教程,从微分方程的角度提供这些观点的统一且自洽的阐述。从条件高斯噪声过程出发,我们推导常微分方程(ODE)和随机微分方程(SDE)表示,过渡到相应的边际正向动力学,然后得到使生成成为可能的逆向时间SDE和概率流ODE。我们表明逆向采样中的中心未知量是边际分数,解释在噪声预测参数化下分数匹配如何成为标准去噪目标,并讨论实际的逆向时间采样和引导。我们进一步将DDPM、DDIM、流匹配和基于分数的SDE置于一个共同框架中,并以连续嵌入空间中的扩散语言模型结束,同时简要讨论离散掩码标记扩散。本教程旨在作为扩散过程的分析基础与建立在其上的现代生成算法之间的桥梁。

英文摘要:

Diffusion models have emerged as a leading framework for generative modeling, yet their mathematical foundations are often presented in separate treatments. This tutorial offers a unified, self-contained introduction organized into three parts. First, we construct a forward generative stochastic differential equation (SDE) that transports noise to data, marginalize over the clean data endpoint, and derive training objectives directly from the forward dynamics. Second, we begin with a conditional path from data to noise, marginalize it to obtain the forward process, and derive the corresponding reverse-time SDE and training objectives. Within this forward-reverse framework, we also establish the connection between denoising diffusion probabilistic models (DDPMs) and variance-preserving (VP) SDEs. Third, we review numerical methods for solving SDEs and discuss two approaches to guided generation: classifier guidance and classifier-free guidance.

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

↑