Tutorials › Generalized Linear Models › Local Convergence Rates and the Role of Starting Values

Newton Methods and Convergence · Tutorial 208 of 981

Local Convergence Rates and the Role of Starting Values

Learn when Newton’s method converges quadratically near a GLM likelihood maximum—and why that guarantee does not make every starting value safe.

Intermediate 10 min read

What You'll Learn

  • State regularity conditions that yield local quadratic convergence of Newton’s method.
  • Derive an error bound for the Newton update near a likelihood maximum.
  • Identify a neighborhood in which Newton iterates remain and converge.
  • Calculate Newton updates for binomial and Poisson intercept models.
  • Explain why a distant starting value can produce a very large, harmful step.

Why Local Convergence Is Not a Global Guarantee

Newton’s method is attractive for likelihood optimization because, near a well-behaved maximum, its error can shrink roughly as the square of the previous error. Once an iterate is sufficiently close, this can mean a rapid gain in accuracy. But the word “near” matters: the local result does not guarantee that an arbitrary starting value will reach that region. The likelihood’s curvature can be weak far from the maximum, making a Newton step very large or sending it to a location where the method behaves poorly.

We formulate the method for a GLM log-likelihood \(\ell(\beta)\), where \(\beta\in\mathbb{R}^p\) is the coefficient vector. Write \(g(\beta)=\nabla\ell(\beta)\) for the score vector and \(H(\beta)=\nabla^2\ell(\beta)\) for the Hessian. When \(H(\beta)\) is nonsingular, a full Newton update for maximizing the log-likelihood is

$$ \beta_{\mathrm{new}}=\beta-H(\beta)^{-1}g(\beta). $$

The update seeks a zero of the score. If \(\beta^*\) is a stationary point, then \(g(\beta^*)=0\). The convergence result below concerns iterates close to such a point when it is a strict local maximum, so \(H(\beta^*)\) is negative definite.

Local Quadratic Convergence

Theorem: Let \(U\subset\mathbb{R}^p\) be open and let \(\ell:U\to\mathbb{R}\) be three times continuously differentiable. Suppose \(\beta^*\in U\), \(g(\beta^*)=0\), and \(H(\beta^*)\) is nonsingular. Assume there is a closed ball \(B\) centered at \(\beta^*\), contained in \(U\), on which \(H\) is Lipschitz continuous: for some \(L<\infty\), \(\|H(x)-H(y)\|\le L\|x-y\|\) for all \(x,y\in B\). Then there are a smaller ball around \(\beta^*\) and a constant \(C<\infty\) such that every Newton update from a point \(\beta\) in that smaller ball is defined and satisfies \(\|\beta_{\mathrm{new}}-\beta^*\|\le C\|\beta-\beta^*\|^2\). If \(H(\beta^*)\) is negative definite, \(\beta^*\) is a strict local maximum.

Here \(\|\cdot\|\) is the Euclidean norm for vectors and its induced operator norm for matrices. The Lipschitz condition holds, for example, if the third derivatives of \(\ell\) are bounded on the ball. We prove the error bound directly. Set \(e=\beta-\beta^*\). The fundamental theorem of calculus, applied to the score along the line segment from \(\beta^*\) to \(\beta\), gives

$$ g(\beta)=g(\beta^*)+\int_0^1 H(\beta^*+te)e\,dt =\left(\int_0^1 H(\beta^*+te)\,dt\right)e. $$

The segment is in \(B\), which is convex, and \(g(\beta^*)=0\). Substituting this expression into the Newton update and subtracting \(\beta^*\) yields

$$ \begin{aligned} \beta_{\mathrm{new}}-\beta^* &=e-H(\beta)^{-1} \left(\int_0^1 H(\beta^*+te)\,dt\right)e\\ &=H(\beta)^{-1} \left(\int_0^1[H(\beta)-H(\beta^*+te)]\,dt\right)e. \end{aligned} $$

Because \(H(\beta^*)\) is nonsingular and \(H\) is continuous, there is a sufficiently small closed ball around \(\beta^*\) on which \(H(\beta)\) remains nonsingular and \(\|H(\beta)^{-1}\|\le M\) for some finite \(M\). Shrink the ball to lie within \(B\). The Lipschitz condition then gives

$$ \begin{aligned} \|\beta_{\mathrm{new}}-\beta^*\| &\le M\int_0^1 L\|\beta-(\beta^*+te)\|\,dt\,\|e\|\\ &=ML\|e\|^2\int_0^1(1-t)\,dt\\ &=\frac{ML}{2}\|\beta-\beta^*\|^2. \end{aligned} $$

Thus the theorem holds with \(C=ML/2\). Negative definiteness of the Hessian at a stationary point implies a strict local maximum by the second-derivative test. \(\square\)

Corollary: Under the theorem’s conditions, choose a radius \(r>0\) small enough that the closed ball of radius \(r\) lies in the region where the bound holds and \(Cr<1\). If \(\|\beta_0-\beta^*\|\le r\), full Newton iterates are defined, remain in that ball, and converge to \(\beta^*\).

To verify the claim, let \(e_k=\|\beta_k-\beta^*\|\). As long as \(\beta_k\) is in the ball, the theorem gives \(e_{k+1}\le Ce_k^2\le Cr e_k\). Since \(Cr<1\), this implies \(e_{k+1}\le r\), so the next iterate also lies in the ball. Induction shows every update is defined and stays there. Moreover, \(e_k\le (Cr)^k e_0\), which tends to zero. The stronger quadratic bound \(e_{k+1}\le Ce_k^2\) holds at every iteration. \(\square\)

This is a local guarantee: it provides a region where the method works, not a promise that an initial value outside that region will enter it. The radius depends on the likelihood’s local curvature and its variation. It may be small, and it is not generally known in advance.

Worked Newton Updates in GLM Intercept Models

Worked Example: A Binomial Intercept Near Its Maximum

Observe \(3\) successes in \(4\) Bernoulli trials, and fit a logistic model with an intercept \(\beta\). Ignoring a constant that does not depend on \(\beta\), the log-likelihood is \(\ell(\beta)=3\beta-4\log(1+e^\beta)\). Its score and Hessian are

$$ g(\beta)=3-4p,\qquad H(\beta)=-4p(1-p), \qquad p=\frac{e^\beta}{1+e^\beta}. $$

The score vanishes at \(p=3/4\), so \(\beta^*=\log 3\approx1.098612289\). Starting at \(\beta_0=1\), we have \(p_0\approx0.731058579\), \(g(\beta_0)\approx0.075765685\), and \(H(\beta_0)\approx-0.786447733\). Thus

$$ \beta_1=1-\frac{0.075765685}{-0.786447733} \approx1.096339123. $$

At \(\beta_1\), \(p_1\approx0.7495735\), so \(g(\beta_1)\approx0.0017058\) and \(H(\beta_1)\approx-0.7508522\). The second update gives \(\beta_2\approx1.0986110\), with error \(\beta_2-\log3\approx-0.0000013\). The starting error was \(1-\log3\approx-0.0986123\); after one update its magnitude is about \(0.0022732\), and after the second it is about \(0.0000013\). This rapid reduction is consistent with local quadratic convergence.

Worked Example: The Same Likelihood From a Distant Start

Use the binomial model above, but start at \(\beta_0=-4\). Then \(p_0\approx0.0179862\), \(g(\beta_0)\approx2.9280553\), and \(H(\beta_0)\approx-0.0706508\). The full Newton update is approximately

$$ \beta_1=-4-\frac{2.9280553}{-0.0706508}\approx37.44. $$

The step is enormous because the likelihood curvature, \(|H(-4)|\), is small compared with the score. To check whether it improved the objective, the starting log-likelihood is \(\ell(-4)=-12-4\log(1+e^{-4})\approx-12.073\). At \(\beta_1\approx37.44\), the log-likelihood is approximately \(-37.44\): since \(e^{\beta_1}\) is enormous, \(\log(1+e^{\beta_1})\) is approximately \(\beta_1\), giving \(3\beta_1-4\beta_1\approx-\beta_1\). The full update has sharply reduced the log-likelihood, rather than moving toward its maximum. The local convergence theorem does not apply at this distant starting value; its hypotheses only guarantee the stated behavior sufficiently near \(\log3\).

Worked Example: Quadratic Error Shrinkage in a Poisson Intercept Model

Suppose the observed counts are \(1,1,1\), with a Poisson log-link model having only an intercept \(\beta\). Up to an additive constant, \(\ell(\beta)=3\beta-3e^\beta\). Therefore \(g(\beta)=3-3e^\beta\) and \(H(\beta)=-3e^\beta\). The maximum is at \(\beta^*=0\), where the Hessian is negative. The Newton update simplifies to

$$ \beta_{\mathrm{new}} =\beta-\frac{3-3e^\beta}{-3e^\beta} =\beta+e^{-\beta}-1. $$

Start at \(\beta_0=0.2\). Then \(\beta_1=0.2+e^{-0.2}-1\approx0.01873075\). A second update gives \(\beta_2=0.01873075+e^{-0.01873075}-1\approx0.00017433\). The errors are \(e_0=0.2\), \(e_1\approx0.01873075\), and \(e_2\approx0.00017433\). The error ratio \(e_1/e_0^2\approx0.468\), while \(e_2/e_1^2\approx0.4969\). Both are near \(1/2\), as expected from the expansion \(e^{-\beta}=1-\beta+\beta^2/2+O(\beta^3)\) near zero. The calculation illustrates why error can fall dramatically once the starting point is already close.

What Starting Values Change

The examples separate two ideas that are easy to conflate. First, a nonsingular Hessian and smooth likelihood near a strict maximum support a local quadratic rate. Second, a Newton update from elsewhere depends on the score and Hessian at that starting point. If the Hessian is nearly singular there, its inverse can magnify the score and create a very large step. The local error bound says nothing about the quality of that step.

This distinction matters in GLM computation because the curvature can vary substantially with the coefficients. For instance, in the binomial intercept example, probabilities near zero make the magnitude of the Hessian \(4p(1-p)\) small. The resulting update from \(-4\) was large even though the model had a finite maximum. A finite maximum and local convergence near it do not imply safe behavior from every initial value.

Practical safeguards such as likelihood-based step acceptance or step-halving can prevent some harmful full steps. They address global movement; they do not change the local theorem’s assumptions. When accepted updates eventually become full Newton steps in the neighborhood where the theorem applies, the quadratic rate can then appear. Assessing an algorithm’s stopping conditions is a separate question from establishing this convergence rate.

Common Mistake

  • Wrong reasoning: “Newton’s method converges quadratically, so starting anywhere should produce very fast convergence.” This mistakes a local rate for a global guarantee.
  • Correction: Quadratic convergence requires a starting point sufficiently close to a stationary point, along with smoothness and an invertible Hessian nearby. Far away, curvature may be weak or changing, and a full Newton step may be very large or reduce the likelihood. The theorem controls the error only inside a suitable local region.
Key takeaway: Near a regular strict likelihood maximum, Newton’s error is bounded by a constant times the square of the previous error. The starting value determines whether the iterations reach that local region safely; quadratic convergence alone does not ensure that they will.

Check Your Understanding

Try these questions using the definitions and results above.

  1. State the score and Hessian conditions at \(\beta^*\) required by the local convergence theorem.
  2. In the proof, why does continuity of \(H\) and nonsingularity of \(H(\beta^*)\) allow the Newton update to be defined near \(\beta^*\)?
  3. What does the bound \(\|\beta_{\mathrm{new}}-\beta^*\|\le C\|\beta-\beta^*\|^2\) say about the local error rate?
  4. In the binomial example, explain why the Newton step from \(-4\) is large by referring to the score and Hessian at that point.
  5. Does a finite likelihood maximum guarantee quadratic convergence from every starting value? Explain.
Clinical Biostats