EM算法的一些基本原理_第1页
EM算法的一些基本原理_第2页
EM算法的一些基本原理_第3页
EM算法的一些基本原理_第4页
EM算法的一些基本原理_第5页
已阅读5页,还剩5页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

16.0SomeFundamentalPrinciples:EMAlgorithmEM算法的一些基本原理

数字语音处理概论IntroductiontoDigitalSpeechProcessingReferences:1.4.3.2,4.4.2ofHuang,or9.1-9.3ofJelinek2.6.4.3ofRabinerandJuang3.http://www.stanford.edu/class/cs229/materials.html4./people/bilmes/mypapers/em.pdf5./2785880/A_note_on_EM_algorithm_for_probabilistic_latent_semantic_analysisEM(ExpectationandMaximization)Algorithm

Goal

estimatingtheparametersforsomeprobabilisticmodelsbasedonsomecriteriaParameterEstimationPrinciplesgivensomeobservations

X=[x1,x2,……,xN]:MaximumLikelihood(ML)Principle

findthemodelparameterset

suchthatthelikelihoodfunctionismaximized,P(X|

)=max.Forexample,if

={,}istheparametersofanormaldistribution,andXisi.i.d,thentheMLestimateof

={,}canbeshowntobe

theMaximumAPosteriori(MAP)PrincipleFindthemodelparameter

sothattheAPosteriorprobabilityismaximized

i.e.P(

|X)=P(X|

)P(

)/P(X)=max

P(X|

)P(

)=maxParameterEstimation

EM(ExpectationandMaximization)AlgorithmWhyEM?Insomecasestheevaluationoftheobjectivefunction(e.g.likelihoodfunction)dependsonsomeintermediatevariables(latentdata)whicharenotobservable(e.g.

thestatesequence

forHMMparametertraining)directestimationofthedesiredparameterswithoutsuchlatentdataisimpossibleordifficult

e.g.toestimate{A,B,

}forHMMwithoutknowingthestatesequence

EM(ExpectationandMaximization)AlgorithmIteractiveProcedurewithTwoStepsinEachIteration:E(Expectation):expectationoftheobjectivefunctionwithrespecttoadistribution(valuesandprobabilities)ofthelatentdatabasedonthecurrentestimatesofthedesiredparametersconditionedonthegivenobservationsM(Maximization):generatinganewsetofestimatesofthedesiredparametersbymaximizingtheobjectivefunction(e.g.accordingtoMLorMAP)theobjectivefunctionincreasedaftereachiteration,eventuallyconvergedX:availabledata

(k):k-thestimateoftheparameterset

z:latentdataP(X|):objectivefunction(X,

(k))Pz(k)(z|X,

(k))Ez(k)[P(X|

)]

(k+1)=argmax

{Maximization(M)}Expectation(E)EMAlgorithm:AnexampleParametertobeestimated:λ={P(A),P(B),P(R|A),P(G|A),P(R|B),P(G|B)}ABoutputObserveddata:O:“ballsequence”:RGGLatentdata:q:“bottlesequence”:AAB(RGG)First,randomlyassignedλ(0)={P(0)(A),P(0)(B),P(0)(R|A),P(0)(G|A),P(0)(R|B),P(0)(G|B)}

forexample:{P(0)(A)=0.4,P(0)(B)=0.6,P(0)(R|A)=0.5,P(0)(G|A)=0.5,P(0)(R|B)=0.5,P(0)(G|B)=0.5}ExpectationStep:findtheexpectationoflogP(O|λ)

8possiblestatesequencesqi:{AAA},{BBB},{AAB},{BBA},{ABA},{BAB},{ABB},{BAA}MaximizationStep:findλ(1)tomaximizetheexpectationfunctionEq(logP(O|λ))Iterations:λ(0)

λ(1)

λ(2)....Forexample,whenqi={AAB}EMAlgorithmInEachIteration(assuminglogP(x

|)istheobjectivefunction)

Estep:expressingthelog-likelihoodlogP(x|

)intermsofthedistributionofthelatentdataconditionedon[x,

(k)]Mstep:findawaytomaximizedtheabovefunction,suchthattheabovefunctionincreasesmonotonically,i.e.,logP(x|

(k+1))logP(x|

(k))TheConditionsforeachIterationtoProceedbasedontheCriterionx:observed(incomplete)data,z:latentdata,{x,z}:completedataEMAlgorithmFortheEMIterationstoProceedbasedontheCriterion:tomakesurelogP(x|

[k+1])logP(x|

[k])H(

[k+1],

[k])H(

[k],

[k])duetoJenson’sInequality

theonlyrequirementistohave

[k+1]suchthat

Q(

[k+1],

[k])-Q(

[k],

[k])0

E-step:toestimate

Q(

,

[k]):auxiliaryfunction(increaseinthisfunctionmeansincreaseinobjectivefunction,maximizingthisfunctionmaybeeasier),theexpectationoftheobjectivefunctionintermsofthedistributionofthelatentdataconditionedon(x,

[k])M-step:

[k+1]=Q(

,

[k])argmax

Example:UseofEMAlgorithminSolvingProblem3ofHMMObserveddata:observationsO,latentdata:statesequenceqTheprobabilityofthecompletedatais

P(O,q|λ)=P(O|q,λ)P(q|λ)E-Step:

Q(λ,λ[k])=E[logP(O,q|λ)|O,λ[k]]=Σq

P(q|O,λ[k])log[P(O,q|λ)]λ[k]:k-thestimateofλ(known),λ:unknownparam

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论