Intelligence, Agency and Consciousness Canon · 0018

When hidden cases become weighted counts: Dempster, Laird and Rubin’s EM algorithm

EM turns a hard observed-data likelihood into a loop of conditional expectation and familiar complete-data optimisation, climbing at every exact step without promising the highest summit.

A. P. Dempster · N. M. Laird · D. B. Rubin · Journal of the Royal Statistical Society, Series B · 1977

Intelligence, Agency and Consciousness Canon · 0018

When hidden cases become weighted counts: Dempster, Laird and Rubin’s EM algorithm

Rajesh Ranjan Mahapatra

EM turns a hard observed-data likelihood into a loop of conditional expectation and familiar complete-data optimisation, climbing at every exact step without promising the highest summit.

© 2026 Rajesh Ranjan Mahapatra. 25 min read

When hidden cases become weighted counts: Dempster, Laird and Rubin’s EM algorithmAll AI Research Library

TLDR

  1. Incomplete data are defined by a many-to-one map from a chosen complete-data space to what was observed; the same observed model can therefore support more than one EM construction.
  2. The E-step computes the conditional expectation of the complete-data log likelihood at the current parameter, and the M-step chooses a parameter that maximises that expected objective.
  3. An exact EM step cannot decrease the observed-data likelihood because its gain decomposes into a nonnegative Q gain and a nonnegative conditional-distribution term.
  4. Likelihood ascent is not global optimisation: EM can be slow, depend on its start, approach a local maximum or stationary point, and expose non-identifiability as a ridge.
  5. The 1977 achievement was unification: missing values, grouping, censoring, mixtures, random effects, robust reweighting and factor analysis became instances of one incomplete-data design pattern.
Part I · Choose what would make the calculation easy

Incomplete data are a map, not merely empty cells

A table with blank entries is the obvious incomplete-data case, but it is not the paper’s governing abstraction. Dempster, Laird and Rubin begin with a complete-data space X, an observed-data space Y and a many-to-one map y=y(x). The record y tells us that the unseen complete record x belongs to the fibre X(y), the collection of complete configurations compatible with what was observed. Maximising the observed likelihood g(y|θ) may be awkward because it sums or integrates the complete density f(x|θ) over that fibre.

This definition reaches beyond accidental nonresponse. A mixture observation has a measured value but an unknown component label. A censored lifetime is known only to cross a threshold. A grouped count reports an interval rather than the underlying value. A random effect is not a missing questionnaire response, yet treating it as an unobserved part of a larger record can simplify likelihood calculation. “Incomplete” names an inferential relation between two spaces, not a defect visible in a spreadsheet.

The mapping view also separates three quantities that introductory accounts often blur. The observed values y are fixed for the likelihood calculation. The hidden complete record X is a random variable under the conditional distribution induced by y and the current parameter. The parameter θ indexes both the complete density and its marginal observed density. EM does not alternately estimate “the data” and “the parameter” as if they had equal status. It alternates an expectation over possible complete records with an optimisation over the parameter. That distinction matters when the hidden object is a whole path, a factor score or a count of unobserved truncated cases rather than one scalar blank.

It also prevents a common error about evidence. Introducing latent variables can make an optimisation elegant, but it does not create new observations. The conditional weights in the E-step are derived from the same y and the current model. When the observed record poorly distinguishes compatible complete states, the resulting uncertainty remains large. EM can propagate that uncertainty into sufficient statistics, yet no number of iterations recovers information that the observation map discarded. Computational completion is not empirical completion.

Observed likelihood: g(y | θ) = ∫x ∈ X(y) f(x | θ) dx

The complete-data density must induce the same observed-data model when its hidden part is integrated away. This constraint is firm; the augmentation itself may not be unique. The analyst is therefore designing a computational representation. A useful complete record makes its maximum-likelihood calculation simple and its conditional distribution given y tractable. A poor choice can preserve the observed likelihood yet produce difficult expectations or painfully small updates.

Thought experiment 1 · Reveal only the totals

Setup. Two urns generate red and blue balls with different colour probabilities, and a hidden coin chooses the urn for every draw. You observe colours but not urn labels. Single change. Imagine that the label is printed in disappearing ink and becomes readable. Estimation becomes simple counting by urn. When the ink vanishes again, EM replaces each absent label with a conditional membership weight. This probe shows why latent labels are useful complete data. It does not establish that two urns, rather than one or three, generated the observations.

Many complete records collapse to one observed recordSix complete cards with hidden labels flow through a many-to-one aperture into three observed colour totals. Dashed return paths represent conditional weighting over compatible cards.complete records xobserved yred · label Ared · label Bblue · label Ablue · label Bred · label Ablue · label By(x)red total = 3blue total = 3conditional weights return to compatible x
Figure 1 · Observation collapses a fibre Several labelled complete records can yield the same unlabelled totals. The E-step distributes conditional weight back across the compatible fibre.Authored map after Dempster, Laird and Rubin (1977), Section 1.

Worked example 1 · One category split by expectation

The paper opens with 197 animals in four observed genetic categories, with counts 125, 18, 20 and 34. The first observed category can be represented as two hidden complete-data cells. At an iterate θ, the E-step divides its 125 animals between those cells according to their current conditional probabilities. The other three counts remain known. The M-step then uses the five expected cell counts as if they were complete sufficient statistics. Cycling the two formulae moves the genetic parameter towards the same observed-likelihood solution that a direct scoring method seeks, but through simple multinomial arithmetic.

The augmentation is part of the algorithm

Given g(y|θ), many complete-data specifications can integrate to it. That freedom explains why it is misleading to call EM a single fixed recipe. An EM algorithm is defined by the observed model, the chosen augmentation and the resulting update map. Two augmentations can have the same target likelihood but different Q functions, computational costs and rates of convergence.

The paper develops the method at three levels. In a regular exponential family, the E-step needs only the conditional expectations of complete-data sufficient statistics. For a curved exponential family, those expectations still drive a constrained maximisation. At the broadest level, no exponential-family form is required: one computes the expected complete-data log likelihood Q(θ′|θ) and maximises it in θ′.

At the exponential-family level the design principle is especially transparent. Complete-data fitting depends on t(X), a finite vector of sufficient statistics. The E-step replaces t(X) by its conditional expectation tᵖ=E[t(X)|y,θᵖ]. The M-step solves the same complete-data likelihood equations, but with tᵖ in place of an observed statistic. This is why old routines for counts, regressions or covariance matrices can often be reused. The general Q formulation is broader, but the computational appeal is strongest when the hidden record compresses to a small expected statistic.

This is not ordinary single imputation. Replacing every missing value by one conditional mean can lose uncertainty and distort nonlinear sufficient statistics. If a normal observation is missing, estimating a mean may use E[X|y,θ], but estimating a variance also needs E[X²|y,θ]. Squaring the conditional mean is generally not the conditional second moment. EM expects the complete-data log likelihood, or the sufficient statistics it requires, rather than pretending one completed dataset was observed.

A valid augmentation must pass two tests. First, marginalising f(x|θ) over X(y) must reproduce g(y|θ) exactly. Otherwise the algorithm climbs the wrong likelihood. Second, both the conditional expectation and the complete-data optimisation must be feasible enough to justify the detour. An augmentation can pass the first test yet fail the second. For truncated samples, for example, one complete-data choice can leave an iterative maximum-likelihood problem inside every M-step. Extending the hidden record to include the truncated sample points may restore a simpler calculation, but it also changes the missing-information fraction and computational burden.

Different complete-data augmentations create different routes to one likelihoodOne observed likelihood at the bottom connects to three complete-data constructions above: labels, latent values and latent counts. Their update paths have different step sizes but return to the same target surface.one observed likelihood g(y|θ)hidden labelssimple countslatent valuesmomentsmissing casesexpected totalsfast route?different Qcostly E-step?
Figure 2 · Complete-data design changes the journey Equivalent marginal models can support distinct augmentations. Convenience and missing-information fraction determine whether a route is useful.Authored augmentation comparison after Dempster, Laird and Rubin (1977).

Thought experiment 2 · Add an unnecessary veil

Setup. A likelihood is already easy to maximise from observed counts. Single change. Invent a hidden label for every count and apply EM. The target maximum is unchanged, but each iteration now estimates labels that were never needed. Predict the speed: the artificial missing information can make progress smaller. The case shows that augmentation is an engineering choice, not a free theorem. It cannot tell us which augmentation is best without analysing the conditional computation and update rate.

Expectation and maximisation are two different commitments

Let θᵖ be the current parameter. The E-step forms Q(θ′|θᵖ)=E[log f(X|θ′) | Y=y, θᵖ]. The first argument is the candidate to be optimised; the second fixes the conditional distribution used for the expectation. Confusing those roles breaks the method. During the E-step the current parameter is held fixed while hidden configurations receive posterior weights. During the M-step those weights are held fixed while the candidate parameter changes.

E-step: Q(θ′ | θᵖ) = Eθᵖ[log f(X | θ′) | Y=y]
M-step: θᵖ⁺¹ ∈ arg maxθ′ Q(θ′ | θᵖ)

The heuristic “fill in, then fit” is safe only when read as expected complete-data calculation. In a finite mixture, responsibilities are fractional membership indicators. They are not claims that 0.73 of a person belongs to a component. They are the current conditional probabilities used to average the log likelihood over unknown labels. The M-step then recomputes mixture proportions and component parameters from weighted sufficient statistics.

Bayes’ rule supplies those weights. For component k and observation yᵢ, responsibility rᵢk is proportional to the current mixing weight times the component density at yᵢ, then normalised across components. The M-step reads ∑ᵢrᵢk as an expected component count. A weighted mean divides ∑ᵢrᵢkyᵢ by that count. Thus the two steps are coupled: the current fit determines which observations each component provisionally owns, and that provisional ownership determines the next fit. The observed values never move; only their conditional allocation does.

The notation Q(θ′|θᵖ) also blocks a tempting but invalid shortcut. Responsibilities computed at θᵖ belong to that conditional distribution. If an optimiser silently recomputes them while changing θ′ inside the same M-step, it is no longer maximising the Q function that the ascent decomposition uses. Some algorithms deliberately interleave or approximate the steps, but then their guarantee must be established for that algorithm. Reusing the name EM does not inherit the theorem automatically.

Dempster, Laird and Rubin also define generalised EM, or GEM. A GEM step need not find the global maximum of Q. It need only raise Q relative to the current parameter. This matters when the exact M-step is itself difficult: a partial conditional optimisation can preserve likelihood ascent. But “partial” does not mean arbitrary. If the candidate lowers Q, the ascent proof no longer applies.

The EM cycle alternates between a conditional distribution and a parameter fitA circular two-station process moves from current parameters to weighted hidden records in the E-step, then to updated parameters in the M-step. A smaller GEM lane raises rather than fully maximises Q.E-stepcondition on y, θᵖweight hidden xM-stephold Q weightsupdate θᵖ⁺¹Q(θ′|θᵖ)repeat until the stopping ruleGEM: raise Qobservedy fixed
Figure 3 · Alternate what is fixed E fixes the current parameter and averages hidden records. M fixes that averaged objective and changes the parameter. GEM permits a Q-increasing partial M-step.Authored algorithm loop after equations 2.17 and 3.5.

Worked example 2 · Four fractional labels become two means

Suppose four observations are 0, 1, 5 and 6, from two normal components with common known variance. Start component means at 1 and 4 with equal mixing weight. The E-step assigns high first-component responsibilities to 0 and 1, low responsibilities to 5 and 6, and intermediate weights where densities overlap. If the weights for the first component are 0.95, 0.88, 0.12 and 0.05, its new mean is (0×0.95+1×0.88+5×0.12+6×0.05)/(0.95+0.88+0.12+0.05)=0.89. The second mean uses complementary weights and becomes 5.11. No observation was split physically; the complete-data sufficient counts were averaged.

Part II · Separate ascent from arrival

Why every exact step climbs the observed likelihood

The central result is an inequality, not a metaphor. Write L(θ)=log g(y|θ). The complete conditional density of X within the observed fibre is k(x|y,θ). The expected complete log likelihood can be decomposed as Q(θ′|θ)=L(θ′)+H(θ′|θ), where H is the conditional expectation of log k. Rearrangement expresses the observed-likelihood gain as a Q gain plus an H difference.

L(θ′) - L(θ) = [Q(θ′|θ) - Q(θ|θ)] + [H(θ|θ) - H(θ′|θ)]

The M-step makes the first bracket nonnegative. Jensen’s inequality, equivalently the nonnegativity of a conditional Kullback-Leibler divergence under regular conditions, makes the second bracket nonnegative. Therefore any GEM move that raises Q cannot lower L. The proof is broad because it depends on the relationship between complete and observed densities, not on one particular mixture or missing-value table.

The second term deserves attention because it is what turns a surrogate improvement into an observed-likelihood improvement. At the current parameter, the conditional density k(x|y,θ) is the reference distribution. Comparing it with k(x|y,θ′) produces an expected log ratio. Jensen’s inequality says this reference-to-candidate divergence cannot be negative. Equality requires the two conditional distributions to agree almost everywhere on the observed fibre. The M-step therefore gains observed likelihood through any Q improvement and may gain more because the hidden conditional distribution changes.

This argument is sometimes restated as a lower-bound construction. Holding the current conditional distribution fixed produces a tangent lower bound to the observed log likelihood, up to a constant. Maximising Q raises that bound, and the bound touches the likelihood at θᵖ. The language anticipates variational optimisation, but exact EM uses the actual conditional distribution under the current model, not a freely chosen approximate family. If the E-step substitutes an approximation, the bound and monotonicity properties must be re-derived.

Monotonicity is computationally valuable. A falling observed log likelihood in an exact, correctly implemented EM routine is a diagnostic: the E-step, M-step, numerical integration or likelihood evaluation is inconsistent. Approximate variants require more care. Monte Carlo noise, truncated inner optimisation or numerical underflow can produce apparent falls unless additional controls are used.

Even exact arithmetic requires the observed likelihood to be evaluated stably. Mixture densities can be tiny, so implementations should use log-sum-exp calculations rather than taking logarithms after probabilities underflow to zero. A reported decline can be a likelihood-evaluation defect rather than an EM defect. Conversely, a monotone trace cannot validate the responsibilities: two consistently wrong steps may optimise a different surrogate. Unit tests need algebraic invariants as well as the trace.

Observed likelihood gain is the sum of a Q gain and a conditional divergenceA balance joins two nonnegative blocks, Q improvement and conditional KL, into a rising observed-likelihood staircase. A red downward arrow is blocked.Q gain≥ 0+conditionalKL term≥ 0=observedL gain≥ 0likelihood staircasedown-step blocked
Figure 4 · Two nonnegative contributions support ascent Improving Q is enough because the change in the hidden conditional distribution contributes another nonnegative term.Authored decomposition after Lemma 1 and Theorem 1.

Worked example 3 · A partial M-step still earns ascent

Imagine Q as a concave quadratic in one parameter with current value 0 and Q maximum at 4. Moving to 4 is the exact M-step. Moving only to 2 nevertheless raises Q, so it is a valid GEM step and the observed likelihood cannot decrease under the theorem’s conditions. Moving to -1 lowers Q and loses the guarantee. The example distinguishes “did not fully maximise” from “did not improve”. ECM later exploits this distinction by replacing a difficult joint maximisation with several conditional maximisations.

A staircase can stop below the highest summit

A nondecreasing likelihood sequence is not the same as a parameter sequence converging to the global maximum. The likelihood may be bounded while parameters move along a ridge. It may have several local maxima. A fixed point can be stationary without being globally best. The 1977 paper supplies sufficient conditions for convergence and relates a converged regular solution to likelihood stationarity, but its discussion itself notes ridges, saddle behaviour and local rather than global maxima.

C. F. Jeff Wu’s 1983 analysis is essential reading discipline here. Wu identified a flaw in the implication used in the original proof of Theorem 2 and rebuilt convergence results under clearer topological and differentiability conditions. For curved exponential families with compact parameter space, limit points are stationary under his conditions; with a unimodal likelihood and suitable differentiability, the sequence converges to the unique maximum. The later theorem is stronger precisely because the conditions are visible.

The practical rule is to run multiple starts, evaluate the observed likelihood, inspect parameters for degeneracy and distinguish a small update from a solved optimisation problem. In mixture models, swapping component labels gives an equivalent maximum; collapsing a variance towards zero can create pathological likelihood behaviour in more flexible specifications. No stopping tolerance can decide model identifiability or global optimality by itself.

There are also two kinds of convergence to distinguish. The scalar sequence L(θᵖ) may converge because it is nondecreasing and bounded, while θᵖ itself fails to approach a single point. On a likelihood ridge, separated parameter values have the same observed fit. A sequence can move within that set while the likelihood appears perfectly stable. Conditions that control the update distance or make stationary points isolated are what convert scalar convergence into pointwise parameter convergence.

A fixed point must be interpreted with the parameter space in view. Interior differentiable maxima have zero score. Boundary solutions need constrained optimality conditions instead; a zero mixture weight or variance component may be meaningful, degenerate or a sign of misspecification. The original discussion raised these cases for contingency tables and factor analysis. Declaring “gradient near zero” without checking constraints can therefore miss both a valid boundary maximum and an improper solution.

EM guarantees form a ladder with separate rungsFive ascending rungs read Q improvement, likelihood ascent, likelihood convergence, stationary limit and global maximum. The first two are green, later rungs require additional amber conditions, and global optimality is not automatic.Q does not fall · GEM definitionobserved likelihood does not fall · theorem 1likelihood values converge · boundednessparameter limit is stationary · regularityglobal maximum · shape and uniquenessadditional assumptions?
Figure 5 · Do not jump rungs EM’s defining calculation earns Q improvement and likelihood ascent. Parameter convergence, stationarity and global optimality need progressively stronger conditions.Authored guarantee ladder after Dempster et al. (1977) and Wu (1983).

Thought experiment 3 · Begin on the symmetry line

Setup. Fit two equal-variance Gaussian components to two separated clusters, but initialise both component means at exactly the same value with equal weights. Single change. Nudge one mean by a tiny amount. At perfect symmetry, both components receive identical responsibilities and can remain collapsed; after the nudge, their paths may separate. The case reveals a stationary symmetry and sensitivity to starts. It cannot prove that the separated solution is the global maximum for every mixture specification.

The missing-information fraction sets the pace

Near a regular fixed point, EM is generally linearly convergent. Dempster, Laird and Rubin connect its local rate to observed information and information in the unobserved part of the complete record. If little information is lost by observing y instead of x, the conditional hidden distribution is sharp and updates can be large. If the hidden part remains highly uncertain, successive E-steps change little and the largest local rate eigenvalue can sit close to one.

This explains both stability and slowness. EM uses the geometry of an easier complete-data problem and avoids aggressive curvature inversion. It often respects parameter constraints naturally: mixture weights remain probabilities and covariance updates can remain positive semidefinite. The price is that much of each complete-data step can be spent re-estimating information that remains missing.

The rate matrix can be read direction by direction. One combination of parameters may be well determined by y and update rapidly, while another is closely tied to an uncertain hidden allocation and crawls. A single norm of the parameter change hides this anisotropy. Inspecting component-wise traces, the observed score or an estimate of the local rate can reveal that one apparently settled parameter is masking another still moving slowly.

Uncertainty estimation is a separate task. The M-step’s complete-data curvature is not the observed-data curvature because hidden information has been averaged away. Treating expected records as truly observed will make standard errors too small. The missing-information principle relates complete and observed information, and later work gives practical observed-information formulae. Bootstrap or direct likelihood curvature can also be used, but the chosen method must reflect the observed model, not merely the convenient complete-data routine.

The discussants at the 1976 Royal Statistical Society meeting made the trade-off concrete. Several praised simplicity and numerical stability while warning that Newton-Raphson or scoring could be faster and supply variance estimates more directly. Sundberg reported cases with local convergence factors above 0.98. The authors’ reply accepted that EM is not an all-purpose optimal numerical method and stressed robustness against model failure and inspection of multiple maxima.

More missing information produces shorter EM stepsTwo likelihood paths climb the same hill. A low-missing-information path reaches the top in four large teal steps, while a high-missing-information path uses many short violet steps.likelihood summitlow missing fractionlarger local moveshigh missing fractionlinear crawl
Figure 6 · Stable steps can be small steps The fraction of information hidden by the augmentation governs local speed. Components of the same parameter vector may converge at different rates.Authored rate illustration after Section 3 and the published discussion.

Worked example 4 · Why 0.98 feels stationary

If the remaining parameter error is multiplied by 0.98 each iteration, 100 iterations retain 0.98¹⁰⁰≈0.133 of the initial error. Roughly 228 iterations are needed to reduce it below one per cent. With a factor of 0.5, seven iterations suffice. Both sequences converge linearly and both can increase likelihood at every step. A likelihood-change stopping rule may declare victory early on the slow path because the surface is flat even while the parameter remains materially displaced.

Part III · See the family resemblance without erasing differences

One pattern spans very different statistical problems

The paper’s examples are not decorative. They argue that a general level of description exposes a shared mechanism across techniques that had appeared separate. In missing multinomial data, expected cell indicators replace unknown classifications. In a normal linear model, expected missing values can support least squares, but multivariate covariance estimation also needs expected squares and cross-products. In grouped, censored and truncated samples, the unseen exact values or truncated cases become complete data.

For finite mixtures, component labels are hidden. The E-step computes posterior component probabilities and the M-step performs weighted complete-data fitting. The paper connects this to earlier genetic counting and Baum’s Markov-process method. In variance-component and empirical-Bayes settings, latent random quantities make the complete-data problem simpler. Iteratively reweighted least squares appears when unobserved scale variables turn a heavy-tailed marginal model into conditionally normal observations. Factor analysis treats factor scores as hidden variables and alternates familiar regressions.

Generality does not erase application assumptions. Accidental missingness requires a defensible missing-data mechanism; the paper invokes Rubin’s missing-at-random condition for the examples in Section 4.1. A mixture requires a component model and chosen number of components. Censoring and truncation require correct observation rules. Factor analysis can have rotational non-identifiability and boundary solutions. EM computes within a model; it does not validate the model.

Missing at random is not synonymous with “missing values look random”. It is a conditional statement about how the probability of a missingness pattern may depend on observed information but not on the unseen value after conditioning. The distinctness of missingness parameters also matters for ignoring that mechanism in likelihood inference. If a measurement disappears because of its unseen magnitude even after recorded predictors are held fixed, the ordinary observed-data likelihood omitting that mechanism can be wrong. EM can maximise that wrong likelihood flawlessly.

Censoring and truncation further illustrate why the observation map must be explicit. A censored case remains in the sample with only a bound or interval observed. A truncated case is absent because its value fell outside the sampling region. Their fibres and likelihood normalisations differ. Treating truncation as censoring invents observed cases; treating censoring as ordinary missingness discards the information carried by the threshold. The EM architecture can handle either, but only after the sampling story is correctly encoded.

Seven application families share a complete-data hubA central EM hub sends spokes to missing cells, grouped and censored data, finite mixtures, variance components, hyperparameters, robust reweighting and factor analysis. Each spoke carries a different hidden object.E expectedM fittedmissing cellsvalues and momentsgrouped · censoredlatent exact valuesfinite mixturescomponent labelsrandom effectslatent effectshyperparameterslatent parametersrobust fittinglatent scalesfactor analysisfactor scores
Figure 7 · The hidden object changes; the pattern persists Each spoke defines different complete data and assumptions. EM’s contribution is the reusable hub, not a claim that the applications are scientifically interchangeable.Authored application map after Sections 4.1-4.7.

Worked example 5 · Mean filling fails a variance update

Suppose a hidden normal value has conditional mean 2 and conditional variance 9. Its expected square is Var(X|y)+E[X|y]²=9+4=13. Filling in 2 and then squaring supplies only 4. A complete-data variance calculation needs the expected sum of squares, so EM contributes 13 for this case, not 4. The difference is precisely the uncertainty that single conditional-mean imputation discards.

Expected sufficient statistics preserve a hidden second momentA bell-shaped hidden distribution has mean two and broad spread. One route collapses it to a point and square four; the EM route carries mean two, variance nine and expected square thirteen.E[X]=2single fill-in2² = 4uncertainty lostexpected statisticsE[X²] = 9 + 4= 13conditional distribution X|y,θᵖ
Figure 8 · Expect what the likelihood needs Conditional means are sufficient for some linear statistics. Variance and covariance updates require expected quadratic statistics too.Authored moment illustration after Section 4.1.

An executable mixture laboratory

The laboratory fits a two-component normal mixture to twelve fixed one-dimensional observations. Component variance is known and shared, while the mixing proportion and two means are estimated. The hidden complete data are twelve component indicators. The E-step computes their responsibilities; the M-step turns those fractional indicators into a mixing weight and two weighted means.

Choose a clearly separated or overlapping dataset and alter both starting means. The chart shows the final responsibility of every observation and the observed log-likelihood trace. Multiple starts matter most when groups overlap or the starting means are symmetric. Swapping the two labels changes parameter names but not the fitted density or final likelihood.

Assumptions encoded. Observations are independent, there are exactly two normal components, variance is fixed at 1.44, every value is recorded, and the likelihood is evaluated without rounding. These favourable choices isolate EM’s mechanics. A real analysis must justify component number, distribution, independence and stopping criteria.

Mixture responsibilities and likelihood traceResponsibility bars for twelve observations and a monotone observed log-likelihood path.

How to inspect it. First run the separated data from -1 and 1. Then set both means to 0 and observe the collapsed symmetric solution. Finally switch to overlap and start at -3 and 3. Compare final likelihoods, not just mean movement. The three self-tests check responsibility normalisation, monotone likelihood and label-swap invariance. Passing validates this finite implementation, not every EM program or mixture model.

Read the upper and lower bar segments as one probability allocation. A point with a nearly full indigo upper bar is strongly assigned to component one under the final model; a nearly full coral lower segment favours component two. Near-equal segments mark ambiguity, not an observed hybrid label. When the datasets overlap, more points remain ambiguous and the hidden labels carry more missing information. This generally makes the component parameters more coupled and the iteration less decisive.

The log-likelihood trace is the primary implementation diagnostic, but compare its scale with parameter movement. Late gains can fall below display precision while means still change. The laboratory reports the smallest numerical gain and uses a tight tolerance only for its deterministic fixed-size calculation. Production software needs tolerances scaled to likelihood magnitude, parameter scale and downstream decisions, plus an iteration cap and explicit non-convergence status.

Different initial points reach different parts of a mixture likelihood landscapeA stylised surface contains two label-swapped high peaks, a lower central stationary ridge and three coloured paths from different starts.label order Alabel order Bcollapsedinitial μ₁, μ₂observed likelihood
Figure 9 · Ascent follows the basin it starts in Label-swapped peaks represent the same fitted density. A symmetric start can remain at a lower stationary configuration.Authored qualitative landscape; not a scale drawing of the laboratory likelihood.

Worked example 6 · Labels change while the model does not

A fitted mixture with weight 0.4, mean -2 and second mean 3 defines the same density as a mixture with weight 0.6, first mean 3 and second mean -2. Responsibilities complement one another, but the observed likelihood is identical. Treating those two parameter vectors as different scientific explanations would confuse labels with identifiable structure. The laboratory’s swap test checks this exact symmetry.

Later work repairs, accelerates and approximates the loop

Wu’s convergence analysis clarifies what conditions turn likelihood ascent into stationary-point or unique-maximum convergence. Meng and Rubin’s 1993 ECM algorithm replaces a complicated M-step with a sequence of conditional maximisations and retains GEM-style ascent properties. When the E-step integral is intractable, Monte Carlo EM replaces it with simulation, but sampling error breaks deterministic monotonicity unless effort and acceptance controls are managed.

The same pattern connects to the surrounding canon. Rubin’s potential-outcome paper made a missing quantity central to causal definition; EM makes hidden or coarsened data central to computation, but it does not identify causal effects. Dawid’s conditional independence paper, next in the canon, gives a formal language for when conditional factorisations are legitimate. Rosenbaum and Rubin then use conditional treatment probabilities to balance observed covariates. Geman and Geman replace exact conditional expectation with stochastic local sampling in a different computational architecture.

ECM is not merely “EM with more steps”. It preserves the same E-step, then replaces one joint maximisation with conditional maximisation steps over parameter blocks while holding specified functions of the other blocks fixed. Each block step raises Q, so the whole cycle is GEM. The attraction is practical: a conditional complete-data fit may have a closed form even when the joint fit does not. The possible cost is more iterations or a different local rate.

Monte Carlo EM changes a different part of the architecture. It approximates Q when conditional expectations are analytically unavailable, often by sampling hidden records. A fixed small Monte Carlo sample injects persistent noise, so ordinary deterministic convergence is not available. Increasing simulation effort as the iteration approaches a solution is sensible because the true EM steps become smaller and must be distinguished from sampling error. Stochastic approximation and variational methods make other trade-offs; their names should not be allowed to blur their distinct guarantees.

Thought experiment 4 · Estimate the E-step with ten dice rolls

Setup. The exact conditional expectation is unavailable, so ten simulated hidden records approximate it. Single change. Repeat with ten thousand simulations near the optimum. The small sample can make the estimated Q noisy enough to lower the true observed likelihood; the large sample stabilises a tiny late-stage update. The probe explains why Monte Carlo effort often must grow across iterations. It cannot specify a universal sample schedule without variance and model information.

EM connects missing causal comparisons to conditional structure and stochastic computationCanon paper 0018 sits at the centre. Arrows enter from Rubin causal effects and Bayes, then leave towards Dawid conditional independence, propensity scores, Gibbs sampling and ECM.Bayes · 0013conditional weightsRubin · 0017missing outcomes0018 · EMexpect hiddensufficient statisticsthen maximiseDawid · 0019independencepropensity · 0020balancingGibbs · 0021stochastic conditionalsECM · 1993conditional M-steps
Figure 10 · Place in the canon EM is a computational bridge. It shares conditional reasoning with neighbouring papers while remaining distinct from causal identification and stochastic sampling.Authored dependency map.

Strongest earned conclusion. With a valid complete-data augmentation and exact conditional calculations, EM or GEM supplies a reusable likelihood-ascent construction across a remarkable range of incomplete-data models.

Most important unpaid debt. Ascent does not certify model truth, missingness assumptions, identifiability, global optimality, useful speed, correct uncertainty, causal interpretation, intelligence, agency or consciousness.

Memory studio

The X-Y-Q-M spine

  1. X: choose useful complete data.
  2. Y: preserve the observed map y(x).
  3. Q: expect the complete log likelihood.
  4. M: raise or maximise Q.

Three non-equivalences

Expected statistics are not a completed dataset. Likelihood ascent is not parameter convergence. A stationary point is not necessarily the global maximum.

Five audit questions

  1. What exactly is hidden?
  2. Why is complete fitting easier?
  3. Can the E-step be computed?
  4. Which theorem justifies the update?
  5. What do other starts find?

Recall ladder

30 seconds Hidden labels become weights; weights become a fit.

5 minutes Write Q and the ascent decomposition.

1 hour Audit convergence, speed, missingness and augmentation choice.

Teach-back test

Explain how EM can increase likelihood on every iteration yet converge slowly to a result that is not the global maximum.

Flash prompts

Reveal five answers
  1. What is incomplete data? A many-to-one observed map.
  2. What does E average? Complete-data log likelihood or its sufficient statistics.
  3. What does GEM require? A nondecreasing Q step.
  4. What controls local speed? The missing-information fraction.
  5. What should always be varied? Starting values.

Next three papers to read

  1. Canon 0019, Dawid (1979). Treat conditional independence as a formal relation with its own logic.
  2. Canon 0020, Rosenbaum and Rubin (1983). See how a scalar treatment probability balances observed covariates under strong assumptions.
  3. Canon 0021, Geman and Geman (1984). Replace exact hidden-data averaging with local stochastic transitions for image restoration.

The achievement is a reusable computational representation

Dempster, Laird and Rubin did not invent every special iteration later recognised as EM. Their paper names the two-step method, defines incomplete data at a level broad enough to include latent and coarsened structures, proves a general ascent property, studies local rate and gathers applications that had lived in separate literatures. The unification lets an analyst search for useful complete data instead of attacking a difficult marginal likelihood directly.

The disciplined reading is conditional. First specify f(x|θ), y(x) and the induced g(y|θ). Then calculate Q with the current conditional distribution, perform a valid M or GEM step, monitor the observed likelihood and inspect the solution landscape. If the likelihood falls, debug the implementation. If it stalls, examine missing information and augmentation. If starts disagree, report the landscape rather than hiding it.

For research on intelligence, agency and consciousness, EM is valuable wherever internal states, strategies or types are latent. It can fit a probabilistic model of hidden state sequences or mixture membership. The inferred responsibilities remain model-conditioned distributions over latent variables. They do not by themselves show that the proposed states are real psychological kinds, conscious experiences or moral patients.

Source note and reading discipline

The governing source is the complete 1977 paper and published discussion, visually checked from the Journal of the Royal Statistical Society, Series B scan and cross-checked against a searchable transcription. The paper’s original genetic counts, complete-data map, general Q definition, GEM ascent theorem, missing-information rate interpretation, seven application families and discussants’ speed objections ground this reconstruction. Formulae here use modernised symbols where scan typography is unclear.

Convergence language is deliberately narrower than the 1977 abstract. Wu’s 1983 paper identifies a flaw in one original proof implication and states conditions for stationary limit points and convergence to a unique maximum. Later ECM and Monte Carlo EM claims are attributed to their own sources. All mixture numbers and visual geometries outside the cited 1977 animal counts are synthetic teaching constructions.

References

  1. A. P. Dempster, N. M. Laird and D. B. Rubin, “Maximum Likelihood from Incomplete Data Via the EM Algorithm”, Journal of the Royal Statistical Society, Series B 39(1), 1-38, 1977.
  2. C. F. Jeff Wu, “On the Convergence Properties of the EM Algorithm”, Annals of Statistics 11(1), 95-103, 1983.
  3. Donald B. Rubin, “Inference and Missing Data”, Biometrika 63(3), 581-592, 1976.
  4. L. E. Baum, T. Petrie, G. Soules and N. Weiss, “A Maximization Technique Occurring in the Statistical Analysis of Probabilistic Functions of Markov Chains”, Annals of Mathematical Statistics 41(1), 164-171, 1970.
  5. T. Orchard and M. A. Woodbury, “A Missing Information Principle: Theory and Applications”, Proceedings of the Sixth Berkeley Symposium, volume 1, 697-715, 1972.
  6. Xiao-Li Meng and Donald B. Rubin, “Maximum Likelihood Estimation via the ECM Algorithm: A General Framework”, Biometrika 80(2), 267-278, 1993.
  7. Ronald C. Neath, “On Convergence Properties of the Monte Carlo EM Algorithm”, arXiv:1206.4768, 2012.
  8. Nan M. Laird, “The EM Algorithm in Genetics, Genomics and Public Health”, Statistical Science 25(4), 450-457, 2010.

Research-to-publication brief

Primary professional question. How can a difficult observed-data likelihood be maximised by introducing useful hidden data? Primary phrase. expectation maximisation algorithm. Related language. incomplete-data likelihood; latent variables; mixture responsibilities; GEM; missing information; likelihood monotonicity.

Audience and decision context. Researchers and technical decision-makers choosing, implementing or auditing latent-variable likelihood methods. Original thesis. EM is best understood as representation design: choose complete data that make fitting easy, while preserving the observed model and exposing the assumptions behind ascent. Evidence boundary. Exact Q improvement earns likelihood ascent; convergence and global optimality need separate conditions and diagnostics. Pillar and cluster. Probability, causality and decision theory; latent-variable computation. Internal route. Bayes and Rubin, then Dawid, propensity scores and Gibbs sampling.

Executive translation. Before trusting EM, document the hidden record, observed map, E-step distribution, M-step objective, start grid and likelihood trace. Reader questions. What did the augmentation add? Why does Q increase? Where could the iteration stop? Page title. When hidden cases become weighted counts: Dempster, Laird and Rubin’s EM algorithm. Description. A visual and executable reconstruction of EM’s incomplete-data map, ascent proof, speed limit, applications and convergence boundary.