![期望傳播算法及其推導(dǎo)_第1頁](http://file4.renrendoc.com/view/9fc6f491f8e02b20e9784e0718797191/9fc6f491f8e02b20e9784e07187971911.gif)
![期望傳播算法及其推導(dǎo)_第2頁](http://file4.renrendoc.com/view/9fc6f491f8e02b20e9784e0718797191/9fc6f491f8e02b20e9784e07187971912.gif)
![期望傳播算法及其推導(dǎo)_第3頁](http://file4.renrendoc.com/view/9fc6f491f8e02b20e9784e0718797191/9fc6f491f8e02b20e9784e07187971913.gif)
![期望傳播算法及其推導(dǎo)_第4頁](http://file4.renrendoc.com/view/9fc6f491f8e02b20e9784e0718797191/9fc6f491f8e02b20e9784e07187971914.gif)
![期望傳播算法及其推導(dǎo)_第5頁](http://file4.renrendoc.com/view/9fc6f491f8e02b20e9784e0718797191/9fc6f491f8e02b20e9784e07187971915.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、期望傳播算法及其推導(dǎo)個人博客:Notations:Diag(a):adiagonalmatrixwithabeingitsdiagonalelement.diag(A):avectorfromthediagonalelementoAf.ab:componentwisemultiply.a0b:componentwisedivide.RecapofVariationalInferenceAsmentionedin1,wehaveintroducedvariationalinferenceanditsapplicationinBayesianlinearregression.Inthisblog,
2、wefocusonavariationalinferenceperspectiveonexpectationpropagation.Insignalprocessingregime,theposteriordistributionisinterested.However,itisdifficulttoobtainowingtomanyhigh-dimensionintegral.Forexample,weconsiderlinearGaussianmodely=Hx+wItsposteriordistributiondenotedby(y|x)(x)p(x|y)=Jp(y|x)p(x)dxwh
3、erep(y|x)=pw(yHx).Unlessbothp(y|x)andp(x)areGaussian,wecantobtaintheclose-formofp(x|y)directly.Forthat,someapproximationsarenecessary.Tothidend,weuseq(x)toapproximatetheposteriordistributionandKL-divergencetomeasurethedifferencebetweenq(x)andp(x|y).Forsimplification,wegenerallyrestricttheformofq(x)f
4、romthedistributionfamilyS,i.e.,argminq(x)=g(x)GSDKL(P|q)Obviously,adistributionfamilywithexcellentpropertieswillgreatlyreducetheamountofcomputation.Fortunately,exponentialfamilyisoneofthat.ExponentialFamilyTheexponentialfamilyoverxparameteredbynisdefinedbyp(x;n)=h(x)g(n)exp(nTu(x)whereg(n)isnormaliz
5、ationconstant=1g(n)(/h(x)exp(nTu(x)dx)Takingthegradientofbothsideoftheabovew.r.t.n,wegetg(n)/h(x)exp(nTu(x)dx+g(n)/h(x)俗吩)U(x)dx=Rearrangingyields1一g(n)g(n)=g(n)/u(x)h(x)exp(nTu(x)dxfu(x)h(x)exp(nTu(x)dx=fh(x)exp(nTu(x)dx=Eu(x)UsingthefactSgg(n)=g(n)Vg(n),wehavelogg(n)=Eu(x)(*1)AVariationalInference
6、PerspectiveonEPForthedistributionofq(x)invariationalinference,Wetakeexponentialfamilydistributionintoaccountq(x)=h(x)g(n)exp(nTu(x)wethenwriteDKl(pIIq)asDKL(p|q)=logg(n)-nTEP(x)u(x)+constTakingthegradientofthebothsideofabovew.r.t.ntozeroyieldslogg(n)=Ep(x)u(x)Asmentionedin(*1),wethengetEq(x)u(x)=Ep(
7、x)u(x)Notethatifq(x)isGaussianN(x|”,S),wethenminimizetheKL-divergencebysettingMequaltothemeanofp(x)and乞equaltothevarianceofp(x).Weexploitthisresulttoobtainapraticalalgorithmforapproximateinference.Formanyprobabilitymodels,thejointdistributionofdataD=y,yNandhiddenvariables(mayincludingparameters)comp
8、risesaproductoffactorsintheformnp(d,&)=ifi(e)wheref0(6)=p(e)and九(&)=P(yn|。),(n!=0).Theposteriordistributionisgivenbyp(d,e)1nP(e|D)=p(D)=p(D)ifi(e)wherep(D)ispartitionfunctionorevidencefunction.rnP(D)=/ifi(e)deAswedeterminetheformofq(x)inq(e)=Ziqi(e)Thenq(e)isupdatedbyminimizingqi(e)argmin1=qi(e)DKL(
9、p(D)ninifi(e)llziqi(e)Actually,theapproximationispoorsinceeachfactorisindividuallyapproximated.Toremedythissituation,expectationpropagationmakesamuchbetterapproximationbyoptimizingeachfactorinturninthecontextofalloftheremainingfactors2.Below,wehavegiventhedetaileddescriptionsofEPstep-by-step.Stepi:I
10、nitializeallfactorsqi(e)fromdistributionfamilyS.inq(e)=Ziqi(e)Step2:Computeqj(e)denotedbyq(e)qj(e)=Cqj(e)whereCisnormalizationconstant.Step3:Updateqnewp)=Dkl(Zjfj(e)qj(e)|q(e)whereqnew(e)istheupdateofq(0).Step4:Updateqj(6)qnew(e)%=cqjwhereCisanormalizationconstant.Step5:_、step2.ApplicationinCommunic
11、ationWeconsiderstandardlinearGaussianmodel(SLM)y=Hx+wwherexWCNgeneratedfromM-QAMconstellationwithdistributionp(x)=ni=1p(xi).PassingthechannelHeCMxN(estimatedperfeetbeforhand)andaddingthewhiteGaussiannoisewNc(w|0,2I),theobservedsignalyisthenobtained.Weaimatdesigninganhigh-efficientsignaldetectorusing
12、EP.Basedonaboveknowledge,wewritetheposteriordistributionofthismodelasp(y|x)p(x)p(x|y)=p(y)gp(y|x)p(x)Noticethatsinceyisgiven,thenp(y)isregardedasaconstant.Wefurtherassumetheeachobserveddataareindependentofothers,i.e.,nMp(y|x)=Q=1p(a|x)Step1:Initializeq(x),theapproximationofq(x).Sincep(y|x)isGaussian
13、,wethenapproximatep(x)byGaussian,oneofexponentialfamily.q(x)=Nc(x|m,Diag(v)Itsmarginaldistributionisq(xj=Nc(xilmi,vi).Notethatq(xjhereisq/。)mentionedinsection3.Step2:Calculatethejointdistributionq(x,y)q(x,y)=q(x)p(y|x)=Nc(x|m,Diag(v)Nc(y|Hx,b2I)aNc(x|m,Diag(v)Nc(x|(HH)-1Hy,(-2HH)-1)xNc(xM,s)wherethe
14、lastequaitoncanbeobtainedbyGaussianproductlemmamentionedin2,andfollowingequations乞=(b-1HHH+Diag(10v)-1M=S(a2HHy+Diag(m0v)Here,wefurtherexploitNc(xj(ijQjj)toapproximatep(xj,y).Thisoperationignoresthecorrelationofxjandxj,sowewriteitasq(叼,y)=”上叼仏,Ejj).Step3:Computeqj(叼)q(叼,y)M(叼bjQjj)qj(xj)=q(xj)=Nc(xj
15、|mj,vj)xNc(xj|mjem,vjem)temtemwhere(mj,vj)canbeobtainedbyGaussianproductlemmatemvj=11(%Vj)temmj=/Pjvt叫j-1mjvjStep4:Updateq(xi,y)byminimizingKL-divergenceargmin1qnew(xj,y)=q(Xj,y)Sdkl(Cp(xj)qj(xj)|q(xj,y)丿Thisstepcanbewrittenastemtemxj=xj|mj,vjtemtemvj=Varxj|mj,vjtemtemP(xj)Nc(xjmj,vj),wheretheexpect
16、ationistakenoverfp(叼)Nc(叼mtem,vm)dxj.ItmeansthatXjandVjisthemeanandvarianeeofC1p(xj)qj(xj),respectively.Withmomentmatch,thereisqnew(叼,y)=Nc(xj|Xj,Vj)Notethatthemarginalposteriordistributionisapproximatedbyp(xj|y)Cp(xj)qj(xj).Step5:Updateq(xj),wethenupdateq(xj)byUsingtheGaussianproductlemma,wegetqnew(xj,y)q(xj)x(qj(xj)vj=1tem-vj-1mj=vj(temmjtemxjVj-vjStep6:step2.Totally,Withabovedescription,wesummarytheEPalgorithmasfollowing乞=(b-1HHH+Diag(10v
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 基建科工程施工范本合同
- 三農(nóng)村人居環(huán)境整治實施方案
- 公務(wù)車輛定點(diǎn)維修合同
- 法人向公司借款合同
- 經(jīng)典房地產(chǎn)開發(fā)的合同
- 編程語言高級應(yīng)用作業(yè)指導(dǎo)書
- 養(yǎng)殖業(yè)專業(yè)作業(yè)指導(dǎo)書
- 企業(yè)智能核能技術(shù)與應(yīng)用作業(yè)指導(dǎo)書
- 軟件技術(shù)開發(fā)與測試作業(yè)指導(dǎo)書
- 高港區(qū)二手房買賣合同
- 小學(xué)六年級數(shù)學(xué)上冊《簡便計算》練習(xí)題(310題-附答案)
- 青海省西寧市海湖中學(xué)2025屆中考生物仿真試卷含解析
- 2024年河南省《輔警招聘考試必刷500題》考試題庫及答案【全優(yōu)】
- 2024年中國養(yǎng)老產(chǎn)業(yè)商學(xué)研究報告-銀發(fā)經(jīng)濟(jì)專題
- 高教版2023年中職教科書《語文》(基礎(chǔ)模塊)下冊教案全冊
- 人教版英語七年級上冊閱讀理解專項訓(xùn)練16篇(含答案)
- 幼小銜接學(xué)拼音
- 有限空間辨識參考目錄圖片對照版
- 成本會計第一章總論
- 橋式起重機(jī)試驗項目及其內(nèi)容方法和要求
- GA∕T 1193-2014 人身損害誤工期、護(hù)理期、營養(yǎng)期評定
評論
0/150
提交評論