Introduction
A Gaussian-mixture likelihood is generally not a single smooth hill with one peak. Its surface can contain local maxima, saddle points, and directions along which the likelihood does not change. These distinctions matter because an iterative method can settle at a point where the likelihood cannot be improved by a small move in some directions, even though other directions lead to a better fit.
This tutorial focuses on the geometry of regular interior points: points where the mixture weights are positive, covariance matrices are positive definite, and the likelihood is differentiable in the chosen parameterization. The examples use fixed, known variances to make the calculations transparent. The central lesson is that convergence of EM is evidence about the path taken by an algorithm, not a certificate that the best possible likelihood has been found.
In a mixture model, \(\theta\) typically includes component parameters and coordinates for the weights. For \(K\) components, the observed-data density for observation \(x_i\) has the form \(f(x_i;\theta)=\sum_{k=1}^K\pi_k f_k(x_i;\eta_k)\), with \(\pi_k>0\) and \(\sum_k\pi_k=1\). The log-likelihood is the sum of the logarithms of these mixture densities. Because it is a sum of component densities inside a logarithm, its curvature is not simply the curvature of any one component likelihood.
What the Hessian Can Tell Us
At a stationary point, the Hessian matrix \(H(\theta_*)=\nabla^2\ell(\theta_*)\) describes the leading change in log-likelihood for small parameter perturbations. A negative-definite Hessian gives a strict local maximum. An indefinite Hessian gives a saddle: there are directions in which the likelihood rises and others in which it falls. If the Hessian has zero eigenvalues, its second-order information is insufficient by itself.
To see why, write a nearby point as \(\theta_*+h\). The second-order Taylor expansion at a stationary point is
If the Hessian is negative definite, there is a constant \(c>0\) such that \(h^\mathsf{T}H(\theta_*)h\leq-c\lVert h\rVert^2\). The remainder divided by \(\lVert h\rVert^2\) tends to zero, so for sufficiently small nonzero \(h\), the negative quadratic term dominates and the likelihood decreases. If the Hessian has positive and negative eigenvalues, choose unit eigenvectors \(v_+\) and \(v_-\) for those eigenvalues. Along \(h=t v_+\), the leading change is positive for sufficiently small nonzero \(t\); along \(h=t v_-\), it is negative. Thus every neighborhood contains points on both sides of the stationary likelihood value. \(\square\)
This test is decisive when the Hessian has the specified curvature, but it is not a complete classification rule. A zero eigenvalue means that the quadratic term vanishes in at least one direction. Higher-order terms—or an exact comparison of likelihood values—are then needed.
Worked Example: A Strict Local Maximum in a Symmetric Mixture
Take two observations, \(x_1=-a\) and \(x_2=a\), from a two-component univariate Gaussian mixture with equal, fixed weights and known component variance \(1\). Parameterize the component means as \(\mu_1=m+d\) and \(\mu_2=m-d\). Up to a constant that does not depend on \(m\) or \(d\), the log-likelihood is
This expression follows by factoring the mixture density for each observation: the average of the two normal kernels is proportional to \(\phi(x-m)e^{-d^2/2}\cosh((x-m)d)\), where \(\phi\) is the standard normal density. At \((m,d)=(0,0)\), the gradient is zero. Using \(\log\cosh(z)=z^2/2+o(z^2)\) near zero, the quadratic terms are
Set \(a=0.5\). Then the quadratic part is \(-m^2-0.75d^2\), so the Hessian is diagonal with entries \(-2\) and \(-1.5\). It is negative definite, and the stationary point is a strict local maximum in this fixed-equal-weight model. This conclusion is local: it says nearby changes in either \(m\) or \(d\) lower the likelihood.
Mixture Curvature and Responsibilities
Responsibilities make the structure of the Hessian explicit. For one observation, write \(q_k(\theta)=\log\{\pi_k f_k(x_i;\eta_k)\}\) in a smooth coordinate system for the parameters. Then \(\log f(x_i;\theta)=\log\sum_k\exp(q_k(\theta))\), and the posterior responsibility is \(r_{ik}=\exp(q_k)/\sum_j\exp(q_j)\). Differentiating this log-sum yields a Hessian with two contributions.
For a derivation, differentiating \(\log\sum_k\exp(q_k)\) gives \(\sum_k r_{ik}u_k=\bar u\). Differentiating the responsibility gives \(\nabla r_{ik}=r_{ik}(u_k-\bar u)\). Therefore
The first sum equals \(\sum_k r_{ik}(u_k-\bar u)(u_k-\bar u)^\mathsf{T}\), since \(\sum_k r_{ik}(u_k-\bar u)=0\). This proves the stated identity. Summing the identity over observations gives the observed log-likelihood Hessian. The second term is a weighted covariance matrix of component score vectors and is positive semidefinite; the first term contributes the component log-kernel curvature. Their combination, rather than either part alone, determines the observed likelihood geometry. \(\square\)
Worked Example: A Saddle Point
Use the same fixed-equal-weight model, but now take observations \(-2\) and \(2\), so \(a=2\). At \((m,d)=(0,0)\), the gradient is again zero. The quadratic expansion becomes
The Hessian has diagonal entries \(-2\) and \(6\): moving in the \(m\) direction lowers the likelihood to second order, while moving in the \(d\) direction raises it. For instance, sufficiently small nonzero \(m\) with \(d=0\) decreases the likelihood, whereas sufficiently small nonzero \(d\) with \(m=0\) increases it. The point is therefore a saddle, not a local maximum.
Flat Directions and Redundant Representations
A flat direction is a direction along which the likelihood remains unchanged, not merely one where its first derivative happens to be zero. Mixture models can have such directions when different parameter values describe the same density. In particular, if two component densities coincide, changing their relative weights does not change their combined density. Label switching creates another familiar form of non-uniqueness: permuting component labels leaves the mixture distribution unchanged, although that symmetry generally gives distinct equivalent points rather than a continuous flat path.
Worked Example: A Flat Mixing-Weight Direction
Consider observations \(-1\) and \(1\) from a two-component normal mixture with known variance \(1\), means \(\mu_1,\mu_2\), and weight \(\pi\) for the first component. At \(\mu_1=\mu_2=0\), each observation has density \(\phi(x)\), regardless of \(\pi\). Thus the log-likelihood is
which is exactly constant in \(\pi\). The point is stationary in all three coordinates. The derivative with respect to \(\pi\) is zero because the two component densities agree. For the means, the posterior responsibilities are \(\pi\) and \(1-\pi\) for each observation, so the mean score for the first component is \(\pi[(-1)+1]=0\), and the score for the second is \((1-\pi)[(-1)+1]=0\). The weight can vary throughout \((0,1)\) without changing the likelihood. A zero-curvature direction here reflects an exact flat path, not evidence of a strict local maximum.
A zero Hessian eigenvalue alone does not establish that an entire flat path exists. For example, the first nonzero change in a direction could be cubic or quartic. Classification in such cases requires examining higher-order terms or the likelihood itself. It is also important to distinguish a flat direction from label switching: label switching gives equivalent likelihood values at permuted parameter points, while a flat direction continuously connects parameter values with identical likelihood.
What EM Convergence Does—and Does Not—Establish
For exact EM, the E-step computes posterior responsibilities at the current parameter, and the M-step maximizes the corresponding expected complete-data log-likelihood. Under the usual conditions for these steps, the observed log-likelihood does not decrease. This monotonicity is useful, but it compares consecutive values along one algorithmic path; it does not compare the endpoint with every other parameter value.
There is a precise connection between an interior EM fixed point and stationarity. Suppose the EM update is well-defined, the likelihood and expected complete-data log-likelihood are differentiable near \(\theta_*\), and \(\theta_*\) is an interior fixed point that maximizes the M-step objective. At the fixed point, the posterior distribution used in the E-step is the posterior under \(\theta_*\). The gradient of the M-step objective with respect to its proposed parameter, evaluated at \(\theta_*\), equals the observed likelihood score there: this follows by differentiating the finite sum or integral defining the conditional expectation of the complete-data log-likelihood, under conditions permitting differentiation under the integral. Since an interior maximizer has zero gradient, \(\nabla\ell(\theta_*)=0\). Thus such an EM fixed point is stationary. Stationarity, however, does not specify whether the point is a local maximum, a saddle, or part of a flat set.
Worked Example: EM Can Remain at a Saddle
Return to the fixed-equal-weight, variance-one mixture and data \(-2,2\). Initialize EM with both means equal to zero. In the E-step, each observation has responsibility \(1/2\) for each component, since the component densities coincide. In the M-step, the updated mean for either component is its responsibility-weighted average:
The next iterate is therefore the same as the current one, and every subsequent iterate remains at \((m,d)=(0,0)\). Yet the earlier curvature calculation showed that this point is a saddle: separating the means slightly raises the likelihood. Exact symmetry keeps this initialization at the saddle; convergence of the iterates has not certified a local, much less global, maximum.
In practice, EM’s nondecreasing likelihood and a small change in parameters or likelihood can be useful convergence diagnostics. They answer whether a particular run has nearly stopped changing. They do not, on their own, reveal the Hessian’s curvature, rule out flat directions, or compare the result to other stationary points. A careful assessment separates three questions: has the algorithm stabilized, what is the local geometry at its endpoint, and how does its likelihood compare with those from other starts or candidate solutions?
Common Pitfall
- Wrong reasoning: “The EM iterates stopped changing and the likelihood stopped increasing, so this must be the global maximum.”
- Correction: A fixed point can be stationary without being a maximum, as the saddle example demonstrates. Even a strict local maximum is only locally optimal. Use curvature to assess the local geometry, and do not treat convergence from one initialization as a global-optimality result.
- Another warning: A zero Hessian eigenvalue does not by itself prove either a flat region or a maximum. Inspect higher-order behavior or compare likelihood values along the relevant direction.
Check Your Understanding
Use the definitions and calculations above to answer the following.
- At a stationary point, what Hessian conditions establish a strict local maximum and a saddle?
- Why is a zero Hessian eigenvalue insufficient to conclude that the likelihood is constant in that direction?
- In the fixed-equal-weight example with observations \(-a,a\), what are the two diagonal Hessian entries at \(m=d=0\), and what do they imply when \(a=2\)?
- Why does changing the mixing weight leave the likelihood unchanged when the two component densities coincide?
- What does convergence of exact EM to an interior fixed point establish under the conditions described, and what does it not establish?