Research Library · Idea
EM algorithm
The expectation-maximisation (EM) algorithm computes maximum likelihood estimates when some of the data are unobserved or missing. It alternates two steps: the E-step computes the expected complete-data log likelihood given the current parameter estimates, and the M-step maximises that expectation over the parameters. Dempster, Laird and Rubin's 1977 paper gave the algorithm its name and a general theory, and acknowledged earlier special cases, including Orchard and Woodbury (1972), Sundberg (1976) and Baum et al. (1970).1
The main result is monotonicity: the likelihood after an iteration is never smaller than before, and convergence implies a stationary point.1 The authors state that these results stop short of implying convergence to a maximum likelihood estimator, that the limit will almost always be a local and not necessarily global maximum, and that a saddle point is possible.1 Wu's 1983 paper found an error in their proof of the convergence theorem, which misused the triangle inequality, while monotonicity survives. Wu proved that under conditions, for example a curved exponential family with compact parameter space, limit points of an EM sequence are stationary points; if the likelihood is unimodal with a single stationary point and a derivative is continuous, the parameter sequence converges to the maximiser.2
The paper's opening example uses Rao's 197 animals in four categories, counts (125, 18, 20, 34), with cell probabilities one half plus pi/4, (1-pi)/4, (1-pi)/4 and pi/4. Starting at pi = 0.5 the E-step gives an expected hidden count of 25 and the M-step gives pi = 59/97, about 0.6082; further iterations approach 0.6268.1 For a Gaussian mixture, the E-step produces each point's probability of belonging to each component and the M-step re-estimates means (and variances and weights) as weighted averages. K-means is the limit of that procedure with equal weights and a shared variance shrinking to zero.
Because mixture likelihoods usually have several stationary points, results depend on starting values and EM is commonly run from several starts.
Source · Maximum Likelihood from Incomplete Data via the EM Algorithm (opens in a new tab) · Dempster, Laird and Rubin, Journal of the Royal Statistical Society B 39(1), 1977, doi:10.1111/j.2517-6161.1977.tb01600.x
References
- Maximum Likelihood from Incomplete Data via the EM Algorithm (opens in a new tab) · Journal of the Royal Statistical Society B 39(1) (full-text copy) · January 1, 1977 ↩ ↩ ↩ ↩
- On the Convergence Properties of the EM Algorithm (opens in a new tab) · C. F. J. Wu, Annals of Statistics 11(1), pp. 95-103, doi:10.1214/aos/1176346060 · March 1, 1983 ↩
Research articles
- Before deep learning: a reader in the classical methods behind tabular machine learning, from nearest neighbours to gradient boosting · Machine learning
See what connects to it on the map of ideas →

SecSIG