Why EM Can Move Slowly
The expectation-maximization algorithm (EM) is useful when a model contains latent variables: quantities that are part of the model but are not observed directly. In a shared-random-effects joint model, subject-specific random effects are latent. They link the longitudinal marker trajectory to the event hazard, so information about them comes from both the repeated measurements and the event or censoring history. This shared structure can also make an EM iteration move only a small distance, even when it is correctly implemented.
Slow progress matters in practice because an apparently stable fit may reflect tiny iteration-to-iteration changes rather than a well-characterized solution. The central question here is how latent-effect uncertainty and survival association can make EM slow, and how likelihood increments and parameter changes together help assess progress.
Joint-Model Likelihood and the EM Update
For subject \(i\), let \(y_i\) denote the observed longitudinal measurements, \(T_i\) the observed event or censoring time, and \(\delta_i\) the event indicator, with \(\delta_i=1\) for an event and \(0\) for right censoring. Let \(b_i\) be the subject’s latent random-effects vector. A common shared-parameter specification has
Here \(m_i(t;b_i)\) is a longitudinal mean or other specified marker feature, \(\alpha\) is its association parameter in the hazard, and \(\beta,\gamma\) are regression parameters. The exact specification may differ, but the key feature is that \(b_i\) enters both data models. The observed-data likelihood integrates over the random effects:
The parameter vector \(\theta\) contains the model parameters being estimated. In the complete data, the \(b_i\)'s are treated as if observed. At iteration \(k\), the E-step computes the conditional expectation of the complete-data log likelihood given the observed data under the current estimate \(\theta^{(k)}\). The M-step chooses \(\theta^{(k+1)}\) to maximize that expected log likelihood.
Why Coupling Creates Slow Convergence
An EM iteration does not simply plug in one estimate of each subject’s random effect. It averages over the conditional distribution of \(b_i\) given that subject’s marker measurements and event history. When \(\alpha\) is appreciable, the event history can be informative about \(b_i\): a subject’s event time changes the relative support for random-effect values associated with higher or lower hazard. At the same time, changing the random-effects distribution or the longitudinal parameters changes that conditional distribution. Thus the survival association and latent-effect parameters are updated in a mutually dependent way.
If the latent effects were nearly known from the data, there would be little missing information and EM would often move quickly. If substantial uncertainty remains, the E-step averages across plausible latent-effect values. Parameter changes that would be clear if \(b_i\) were observed can then be softened by this averaging. Strong dependence among parameter directions can make this effect more pronounced: one parameter may partly compensate for another while leaving the observed likelihood nearly unchanged.
This local result assumes a differentiable likelihood and update map, a regular interior solution, and nonsingular information matrices. It describes behavior near a fixed point; it does not guarantee that an algorithm has reached the global maximum. In a joint model, the random-effects and survival-association components can contribute to directions with substantial missing information. Coupling alone does not prove that convergence will be slow: the amount of information in the observed data and the model’s parameterization also matter.
A Short Justification for the Local Rate
The rate result connects the EM update to the information lost by not observing the latent effects. Write \(M(\theta)\) for one exact EM update, so that \(\theta^{(k+1)}=M(\theta^{(k)})\). At a fixed point \(\theta^\ast\), \(M(\theta^\ast)=\theta^\ast\). Under the regularity conditions above, differentiating the first-order condition for maximizing \(Q\) gives
Thus, locally, the error vector is transformed by \(I_c^{-1}I_m\) at each iteration. In a direction with rate eigenvalue \(\lambda\), the error is approximately multiplied by \(\lambda\) per iteration. For example, if \(\lambda=0.97\), roughly 97% of the current error in that direction remains after one iteration. This explains slow progress without implying that the algorithm is malfunctioning.
Worked Example: Reading a Local EM Rate
Suppose that, after rescaling two parameter directions to comparable units, the local EM derivative is
The directions \((1,1)^{\mathsf T}\) and \((1,-1)^{\mathsf T}\) are eigenvectors. Their corresponding eigenvalues are \(0.685+0.285=0.970\) and \(0.685-0.285=0.400\). If the initial local error is along the first direction, its size after \(k\) iterations is approximately \(0.970^k\) times its initial size. After 10 iterations, this is \(0.970^{10}\approx0.737\); after 50, it is \(0.970^{50}\approx0.218\). By contrast, the second direction’s error after 10 iterations is approximately \(0.400^{10}\approx0.000105\) of its starting size.
This hypothetical calculation illustrates how one parameter combination can converge much more slowly than another. In a joint model, such a direction could involve both a random-effects parameter and the survival association parameter. The matrix is a local diagnostic, not a claim that every fitted joint model has these particular rates.
Assessing Progress with Likelihood and Parameter Changes
For exact EM on the exact observed-data likelihood, each update does not decrease the likelihood. To see why, let \(q_k\) be the conditional distribution of the latent effects under \(\theta^{(k)}\). Jensen’s inequality gives
An exact M-step makes the right-hand side nonnegative by maximizing \(Q\), so \(\ell(\theta^{(k+1)})\geq\ell(\theta^{(k)})\). This is a monotonicity statement for exact EM, not a claim that each likelihood increment must be large. A small increment may mean that the algorithm is close to a solution, but it can also arise while parameters continue to change along a relatively flat direction.
Therefore examine both the observed log-likelihood increment and the parameter changes. A likelihood increment is \(\Delta\ell_k=\ell(\theta^{(k+1)})-\ell(\theta^{(k)})\). Parameter changes should be judged on meaningful scales: a raw change of 0.01 has different importance for a parameter measured in years than for one measured on a log scale. A scaled change can be formed by dividing each parameter change by a prespecified, meaningful scale and taking a norm. Such summaries describe movement; they do not, by themselves, establish convergence.
Worked Example: Likelihood Increments and Scaled Changes
Consider a hypothetical fit with two parameters, the survival association \(\alpha\) and the log random-effects standard deviation \(\eta=\log(\sigma_b)\). The observed log likelihoods and estimates are:
| Iteration \(k\) | \(\ell(\theta^{(k)})\) | \(\alpha^{(k)}\) | \(\eta^{(k)}\) |
|---|---|---|---|
| 0 | -412.760 | 0.72 | -0.10 |
| 1 | -412.310 | 0.84 | -0.04 |
| 2 | -412.158 | 0.91 | 0.02 |
| 3 | -412.106 | 0.95 | 0.07 |
The likelihood increments are \(0.450\), \(0.152\), and \(0.052\), calculated by subtracting consecutive log likelihoods. Each is positive, as expected for exact EM, and the increments are shrinking. From iteration 2 to 3, the parameter changes are \(\Delta\alpha=0.95-0.91=0.04\) and \(\Delta\eta=0.07-0.02=0.05\).
For illustration, choose scales of 0.10 for each parameter and use the Euclidean norm of the scaled change. The final change is \( \sqrt{(0.04/0.10)^2+(0.05/0.10)^2}=\sqrt{0.41}\approx0.640 \). The likelihood gain is small, but the scaled parameter movement is not negligible under these chosen scales. This pattern warrants further iterations and checks rather than a conclusion based on the likelihood increment alone. The scales are diagnostic choices, not universal thresholds.
Diagnostics, Alternatives, and Limitations
A useful progress record includes the observed log likelihood at each iteration, the increment, and changes in all scientifically important parameters. It is also sensible to inspect combinations of parameters that are known to be strongly associated, such as random-effects variation and survival association. A steadily shrinking increment together with shrinking scaled parameter changes is consistent with local convergence. A tiny increment alongside persistent parameter movement can instead indicate weak identification, a flat ridge, or movement between compensating parameter values.
Check that likelihood evaluations use consistent and sufficiently accurate numerical integration settings. Otherwise, small apparent increments may reflect evaluation error rather than true progress. The earlier material on gradient checks and Hessian diagnostics provides complementary evidence: near-zero increments alone do not show that the score is small or that uncertainty estimates are reliable. Comparing fits from different starting values can also reveal whether similar likelihood values correspond to distinct parameter estimates.
EM’s advantage is that its E-step uses the conditional distribution of latent effects, avoiding direct optimization of every integral as though it were an ordinary closed-form likelihood. Its limitation is precisely that the averaging can make updates conservative. Direct likelihood maximization, including numerical optimization of the integrated likelihood, can move more rapidly when gradients and curvature are accurately computed, but it requires reliable likelihood and derivative calculations. Hybrid strategies may use EM to obtain stable initial estimates and a different optimizer for refinement. None removes weak identification: if the observed data provide little information in a parameter direction, a faster optimizer does not create information that is absent.
A frequent mistake is to treat a very small likelihood increment as proof that the parameter estimates have stabilized. The increment measures improvement in fit, not distance traveled in parameter space. Conversely, a small parameter change in one iteration does not guarantee that the fit is at a maximum; it may be a slow step. Assess both quantities, and interpret them alongside numerical accuracy and local diagnostics.
Check Your Understanding
Answer each question, then compare your reasoning with the brief solutions.
- In a shared-random-effects joint model, why can event history affect the E-step distribution of a subject’s random effects?
- If a local EM rate eigenvalue is 0.90, what fraction of local error in that direction remains after five iterations, approximately?
- An exact EM update raises the observed log likelihood by 0.001, while an important parameter changes substantially on a meaningful scale. What should be concluded?
- Why is a tiny likelihood increment not sufficient evidence that the fit is at a well-identified maximum?
Solutions. (1) The random effects enter the hazard, so event or censoring information contributes to their conditional distribution given the observed data. (2) Approximately \(0.90^5=0.5905\), or 59.1%, remains. (3) The likelihood has improved slightly, but the parameter movement means stabilization has not been established; inspect further iterations and diagnostics. (4) The likelihood can change little along a flat or weakly identified direction even when parameter values remain uncertain or move appreciably.