Try   HackMD

Score-Based Generative Modeling Through Stochastic Differential Equations

論文連結: https://arxiv.org/pdf/2011.13456.pdf

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

如果我們知道每個timestep的分布得分

xlogpt(X),則可以反轉此SDE

Forward SDE

dx=f(X,t)dt+g(t)dw

  • f(.,t)
    :
    Rd
    Rd
    是一個向量函數,
    x(t)
    的漂移係數(drift coefficient)
  • g(.)
    :
    R
    R
    是一個純量函數,
    x(t)
    的擴散係數 ( diffusion coefficient)
  • w
    是標準維納過程(standard Wiener process,又稱布朗運動)

Reverse SDE

dx=[f(x,t)g2(t)xlogpt(X)]dt+g(t)dw¯

  • xlogpt(X)
    是每個timestep的分布得分
  • dt
    是一個無窮小的負數timestep
  • w¯
    是時間
    T
    倒流到時間0的標準維納過程

其餘符號

  • pt(X)
    表示
    X(t)
    的機率密度
  • pst(X(t)|X(s))
    表示
    X(s)
    X(t)
    的轉換核(perturbation kernels),其中
    0s<tT

對於DDPM的擾動核

{pai(X|X0)}i=1N,離散馬可夫鏈(加入noise的方式)是:
Xi=1βiXi1+βiZi1,i=1,...,N

N
時,上式會收斂到SDE:
dx=1/2β(t)Xdt+β(t)dW
(VP-SDE,Variance Preserving,DiffPure中使用的SDE)

參考連結

原文翻譯:https://zhuanlan.zhihu.com/p/578322735
Score-based SDE理論推導:
https://zhuanlan.zhihu.com/p/589106222?utm_id=0
Score-based Generative Models總結:https://zhuanlan.zhihu.com/p/583666759
擴散模型與布朗運動和隨機微分方程的關係:https://zhuanlan.zhihu.com/p/562654949
擴散模型,Score-Matching和SDE,ODE的關係:https://zhuanlan.zhihu.com/p/576779879