Why Convergence Needs More Than a Status Message
A model-fitting program may report “success” because an algorithm met its stopping rule, reached an iteration limit, or stopped when successive objective values changed very little. These outcomes are not equivalent. For model-informed evidence, the reviewer needs to know whether the reported parameter estimates are supported by several pieces of numerical evidence—not just a label returned by the software.
This tutorial concerns the numerical behavior of estimation after the model and assumptions have been specified. In particular, it distinguishes evidence that an optimizer terminated from evidence that the reported solution is stable. Convergence checks do not establish that the model is appropriate for its context of use, that its predictions are adequate, or that the data support precise parameter estimates.
What the Main Convergence Checks Assess
Suppose estimation minimizes \(f(\boldsymbol{\theta})\) over parameters \(\boldsymbol{\theta}\) within stated constraints. For maximum likelihood, a common objective is the negative log-likelihood; other estimation procedures may minimize a different objective. The report should identify the objective, the constraints, the optimizer, and the stopping criteria well enough that the evidence can be interpreted.
- Optimizer status records how the algorithm stopped. A successful termination is encouraging only when the stopping reason is compatible with the intended convergence criteria. An iteration-limit message, numerical error, or failure to satisfy a required criterion is not converted into success by a plausible-looking estimate.
- Gradient size checks whether the objective changes appreciably for small parameter movements. A small gradient is useful evidence for an interior solution, but its size depends on units and scaling. The components should be assessed on meaningful parameter and objective scales, not by raw magnitude alone.
- Parameter boundaries matter because an optimum constrained to a feasible interval need not have a zero derivative. The gradient must be interpreted in feasible directions. A parameter merely close to a boundary is still an interior estimate unless it is exactly at the constraint.
- Replicate fits assess whether different reasonable starting values lead to consistent solutions. Agreement is reassuring but does not prove a global optimum; disagreement may signal local minima, a flat objective, boundary behavior, or algorithmic sensitivity.
- Covariance-step results assess whether local curvature calculations needed for standard errors were successful. Such a result is not a substitute for checking optimizer termination, gradients, or replicate fits.
Gradients, Scaling, and Constraints
At an unconstrained interior minimum of a differentiable objective, the gradient is zero. In computation, the relevant question is whether the gradient is small enough relative to numerical tolerances and the scales of the parameters and objective. A raw gradient can be misleading: a value that looks small may still imply a material objective change over a meaningful parameter increment, while a larger raw value can reflect the units used.
For a parameter with meaningful increment \(s_j\), and an objective change scale \(q\), one possible dimensionless scaled component is \(g_j^{\mathrm{scaled}}=(s_j/q)(\partial f/\partial\theta_j)\). The exact scaling convention varies by software; a report should identify it rather than imply that all programs use one universal threshold.
At a constraint, the relevant first-order condition is that no feasible small movement decreases the objective. For a single parameter \(\theta\) constrained by \(L\leq\theta\leq U\), the derivative conditions for a differentiable objective are:
These signs follow from feasible directions. At the lower bound, only small increases are feasible; if the derivative were negative, such an increase would decrease the objective. At the upper bound, only small decreases are feasible; a positive derivative would make such a decrease lower the objective. These are first-order necessary conditions, not guarantees of a minimum: curvature and behavior beyond the local neighborhood also matter.
Worked Example: A Small Scaled Gradient
Suppose a hypothetical model is minimized using negative log-likelihood \(f\). At a reported interior estimate, the raw gradient components for clearance \(CL\), measured in L/h, and an absorption rate constant \(k_a\), measured in h\(^{-1}\), are \(0.004\) per L/h and \(-0.006\) per h\(^{-1}\). The selected meaningful increments are \(s_{CL}=0.2\) L/h and \(s_{k_a}=0.05\) h\(^{-1}\), and the objective change scale is \(q=1\).
Using the stated scaling convention gives:
The largest absolute scaled component is \(0.0008\). If the prespecified scaled-gradient tolerance is \(0.001\), both components meet that criterion. This supports local stationarity at an interior estimate, assuming the reported gradient and scaling were computed correctly. It does not show that the solution is the global minimum, nor does it establish model adequacy. The raw gradients alone would not have supplied a scale-independent judgment.
Boundaries and Feasible Directions
A parameter near a boundary deserves attention, but proximity does not change the mathematical status of an estimate. A reported value strictly inside the permitted range must be assessed using the interior condition; the boundary condition applies only if the estimate is at the boundary. Numerical rounding can obscure this distinction, so reviewers should check the unrounded estimate and the actual constraints.
Worked Example: A Near-Boundary Estimate Is Still Interior
In a hypothetical fit, clearance is constrained to \(CL\geq0.50\) L/h. The reported estimate is \(CL=0.5002\) L/h, and the derivative of the minimized objective with respect to clearance at that estimate is \(+0.8\) objective units per L/h. The estimate is strictly above the lower bound, so a small decrease is feasible. For a decrease \(\Delta CL=-0.0001\) L/h, the first-order objective change is:
The negative change indicates a feasible direction of decreasing objective. Thus, the positive derivative at \(0.5002\) L/h does not support a constrained minimum at that reported interior point. It points toward a decrease in clearance, potentially toward the lower bound. If the actual solution were exactly \(CL=0.50\) L/h and the derivative there were positive, that sign would be consistent with a constrained minimum at the lower bound, because feasible increases would then increase the objective to first order. Being close to the boundary is not the same as being at it.
Replicate Fits and Covariance-Step Evidence
A practical replicate-fit check reruns the same model, data, objective, and constraints from several reasonable initial values. Compare termination reasons, objective values, parameter estimates, boundary status, and any quantities relevant to the intended use. Small differences can arise from numerical tolerances; substantial differences require investigation. An identical answer across starts is reassuring but not conclusive: starts may all enter the same basin, and different parameter values can sometimes yield similar objective values.
The covariance step usually uses local curvature near the estimate. For a twice-differentiable minimized objective, this curvature is represented by the Hessian matrix of second derivatives. When the local quadratic approximation is suitable and the Hessian is positive definite, its inverse can provide an approximate covariance matrix. Failure to compute this matrix can reflect non-positive curvature, numerical conditioning, or other implementation limitations. It does not by itself prove that the optimizer failed; conversely, a successful covariance calculation does not prove that optimization was stable.
Worked Example: Replicate Fits Reveal Different Solutions
A hypothetical population PK model is fitted four times with the same data and constraints but different starting values. Two runs terminate successfully at objective values \(120.000\) and \(120.003\), with clearance estimates \(4.10\) and \(4.11\) L/h. The other two also report successful termination, with objective values \(120.041\) and \(120.039\), and clearance estimates \(5.20\) and \(5.18\) L/h. Across these two groups, a model-derived exposure summary differs by 18%.
Within each group, estimates and objective values are close, but the four fits do not agree on a single solution. Since smaller objective values are preferred, the first group has the lower reported objective; however, the existence of a materially different second group means that “all runs succeeded” is not an adequate stability conclusion. The reviewer should examine starting values, termination details, gradients, constraints, and whether the objective calculations are comparable. The 18% difference in the exposure summary is a consequence to report for the intended use, not evidence by itself that either fit is scientifically valid. Further investigation is needed before treating the estimate as numerically stable.
Worked Example: Interpreting a Successful Covariance Step
For a hypothetical fit with two interior parameters, suppose the observed Hessian of the minimized objective at the estimate is:
The diagonal entries are positive, and the determinant is \(16(9)-4(4)=128>0\), so this symmetric \(2\times2\) matrix is positive definite. Its inverse is:
Under the local quadratic approximation, the approximate standard errors are the square roots of the diagonal entries: \(\sqrt{0.07031}=0.2652\) and \(\sqrt{0.1250}=0.3536\), in the respective parameter units. The positive-definite Hessian and successful inversion support the covariance step in this example. They do not establish that the optimizer reached the intended minimum; that still requires compatible status, gradient, constraint, and replicate-fit evidence. These calculations also do not settle whether the parameters are scientifically well determined.
A Practical Review Sequence
A disciplined review records evidence in a way that makes apparent contradictions visible. One useful sequence is:
Identify the objective, parameter constraints, algorithm, and applicable stopping criteria. Confirm that runs being compared used the same model and data.
Record the optimizer’s actual stopping reason and whether its required criteria were met; do not rely only on a displayed “success” label.
Interpret scaled gradients against the stated tolerance. For constrained estimates, check the derivative direction against feasible movements and use the unrounded estimates.
Look for consistency in objective values, parameter estimates, boundary status, and relevant model-derived quantities. Investigate distinct solution clusters rather than selecting one silently.
Record whether the covariance step succeeded and any warnings. State unresolved numerical concerns and avoid presenting a local calculation as proof of global or scientific validity.
Common Pitfalls and Limitations
- Equating “success” with a stable solution. A termination message describes the algorithm’s stopping condition, not the full evidence. Check gradients, constraints, replicate fits, and covariance-step results as separate pieces of evidence.
- Calling a near-boundary estimate a boundary solution. A strictly interior value permits movement in both directions. Apply the interior gradient condition there; apply one-sided conditions only at the actual constraint.
- Judging an unscaled gradient by appearance. Gradient magnitudes depend on units and objective scale. Report the scaling convention and tolerance, and examine whether a meaningful feasible movement could lower the objective.
- Treating covariance-step success as convergence proof. A locally usable Hessian supports an approximate covariance calculation; it does not establish that the optimizer found the right minimum.
- Assuming repeated agreement proves correctness. Repeated fits can share the same failure mode or basin. Numerical stability is necessary evidence for reporting estimates, not a validation of model assumptions or predictions.
The checks have limitations: tolerances are implementation-dependent, finite numerical precision affects derivatives and curvature, and multiple starting values cannot exhaust every possible starting point. A clear report therefore gives enough detail to judge the evidence and openly identifies failures or unresolved discrepancies instead of collapsing them into a binary convergence claim.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- An estimate is strictly inside its permitted range, and its gradient is not small under the stated scaling. What does this imply about the convergence evidence?
- A parameter is exactly at its lower bound. What sign of the derivative is consistent with a constrained minimum, and why?
- Four runs report successful termination, but two groups of materially different estimates and objective values appear. Is the estimate stable? What should be reviewed?
- A covariance step succeeds, but the optimizer stopped at its iteration limit. What conclusion is justified?
Solutions. (1) The evidence is insufficient for an interior stationary solution: a non-small scaled gradient indicates a potentially meaningful local direction of objective change. Check the termination reason, gradient calculation, and feasible movements. (2) A nonnegative derivative is consistent with a constrained minimum at the lower bound: feasible movements are increases, and a nonnegative derivative does not predict a first-order decrease in that direction. (3) Stability has not been established. Review termination details, starts, gradients, constraints, objective comparability, and differences in relevant model-derived quantities. (4) The successful covariance calculation supports local curvature computation only. It does not override the iteration-limit termination; convergence remains unresolved and should not be reported as established.