1 / 11

Expectation Maximization A “Gentle” Introduction

Expectation Maximization A “Gentle” Introduction. Scott Morris Department of Computer Science. Basic Premise. Given a set of observed data, X, what is the underlying model that produced X? Example: distributions – Gaussian, Poisson, Uniform

bian
Download Presentation

Expectation Maximization A “Gentle” Introduction

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Expectation MaximizationA “Gentle” Introduction Scott Morris Department of Computer Science

  2. Basic Premise • Given a set of observed data, X, what is the underlying model that produced X? • Example: distributions – Gaussian, Poisson, Uniform • Assume we know (or can intuit) what type of model produced data • Model has m parameters (Θ1..Θm) • Parameters are unknown, we would like to estimate them

  3. P(Θ|X) = Probability that a set of given parameters are “correct” ?? Instead define “likelihood” of the parameters given the data, L(Θ|X) What if data is continuous? Maximum Likelihood Estimators (MLE)

  4. MLE continued • We are solving an optimization problem • Often solve log() of Likelihood instead. • Why is this the same? • Any method that maximizes the likelihood function is called a Maximum Likelihood Estimator

  5. Simple Example: Least Squares Fit • Input: N points in R^2 • Model: A single line, y = ax+b • Parameters: a, b • Origin? Maximum Likelihood Estimator

  6. Expectation Maximization • An elaborate technique for maximizing the likelihood function • Often used when observed data is incomplete • Due to problems in observation process • Due to unknown or difficult distribution function(s) • Iterative Process • Still a local technique

  7. EM likelihood function • Observed data X, assume missing data Y. • Let Z be the complete data • Joint density function • P(z|Θ) = p(x,y|Θ) = p(y|x,Θ)p(x|Θ) • Define new likelihood function L(Θ|Z) = p(X,Y|Θ) • X,Θ are constants, so L() is a random variable dependent on the random variable Y.

  8. “E” Step of EM Algorithm • Since L(Θ|Z) is itself a random variable, we can compute its expected value: • Can be thought of as computing the expected value of Y given the current estimate of Θ.

  9. “M” step of EM Algorithm Once we have expectation computed, optimize Θ using the MLE. Convergence – Various results proving convergence cited. Generalized EM – Instead of finding optimal Θ, choose one that increases the MLE

  10. Mixture Models • Assume “mixture” of probability distributions: • Log-likelihood function is difficult to optimize, use a trick: • Assume unobserved data items Y whose values inform us which distribution generated each item in X.

  11. Update Equations • After much derivation, estimates for new parameters in terms of old result: • Θ = (μ,Σ) • Where μ is the mean and Σ is the variance of a d-dimensional normal distribution

More Related