skoro v0.0.0

Fisher scoring

Where a scale is itself estimated, the Gauss–Newton rows omit as much curvature as they keep; Fisher scoring puts the expected information in the Hessian's place, assembled from roots as a second set of rows whose gradient is exact, and it is the Gauss–Newton linearization again when every scale is fixed.

Updated 2026-11-25 · 4 min read

The linearization of a model of normals assumes every scale fixed, and fails when one is not: in the scale’s own direction the rows omit as much curvature as they keep, and the Gauss–Newton iteration need not converge. A noise whose size is to be estimated is common enough to need an answer. Fisher scoring is the answer. It replaces the Hessian by the expected information, the expectation, over the quantity a distribution is the law of, of the Hessian of its negative log-density. That matrix is positive semidefinite by construction, and the normal’s has a closed form with a root (the expected information). This note assembles the roots into rows, so that the same elimination serves, and shows what the result is and is not.

The rows#

Definition 1(The Fisher linearization).

Let ff be the negative log-density of a model of normals at a point x\point of a product of manifolds, as in Definition 1, except that the scale of a term tt may depend on x\point through coordinates θt\theta_t, with the scale block Cθ,tC_{\theta, t} of the root (7). For such a term, write its residual as rt=Wt str_t = W_t\, s_t, let Jtμ=WtDstJ^\mu_t = W_t \D s_t be the Jacobian of the residual with the scale held fixed, and Jtθ=Cθ,tDθtJ^\theta_t = C_{\theta, t} \D \theta_t its scale block composed with the Jacobian of the scale’s coordinates, both in the charts at x^\hat \point. Let its scale residual utu_t be the vector, indexed as the rows of Cθ,tC_{\theta, t}, with

(ut)(a,a)=(rt)a2−12,(ut)(a,b)=(rt)a(rt)b(a>b). (u_t)_{(a, a)} = \frac{(r_t)_a^2 - 1}{\sqrt 2} , \qquad (u_t)_{(a, b)} = (r_t)_a (r_t)_b \quad (a > b) .

The Fisher linearization of ff at x^\hat \point is

mF(v)=cF+∑t12∣Jtμv+rt+c^t∣2+∑t free scale12∣Jtθv+ut∣2+η⊤v, m_F(\tangent) = c_F + \sum_t \tfrac12 \bigl\lvert J^\mu_t \tangent + r_t + \hat c_t \bigr\rvert^2 + \sum_{t \text{ free scale}} \tfrac12 \bigl\lvert J^\theta_t \tangent + u_t \bigr\rvert^2 + \eta\transpose \tangent ,

with Jtμ=JtJ^\mu_t = J_t for a term whose scale is fixed, c^t\hat c_t and η\eta as in the linearization, WtW_t taken at x^\hat \point where the scale is free, and cFc_F chosen so that mF(0)=f(x^)m_F(0) = f(\hat \point).

The rows are of the linearization’s shape, a matrix and a right-hand side for each term over the variables the term reads, whether through its point, its mean or its scale. The factor structure is therefore the same, and the problem is eliminated as the linearization is.

They are a root of the expected information. The root (7) composed with the Jacobians of the term’s point, mean and scale coordinates is

Ct[DxDμDθt]=[Wt(Dx−Dμ)Cθ,tDθt], C_t \begin{bmatrix} \D \point \\ \D \mu \\ \D \theta_t \end{bmatrix} = \begin{bmatrix} W_t (\D \point - \D \mu) \\ C_{\theta, t} \D \theta_t \end{bmatrix} ,

since its blocks are ±Wt\pm W_t, the derivatives of st=x⊖μs_t = \point \ominus \mu at a zero residual. On the spaces flat in disguise those derivatives are ±I\pm I everywhere, so the first block row is WtDst=JtμW_t \D s_t = J^\mu_t exactly, and the matrix of mFm_F,

∇2mF=∑tJtμ⊤Jtμ+∑t free scaleJtθ⊤Jtθ,(2) \nabla^2 m_F = \sum_t J^{\mu\top}_t J^\mu_t + \sum_{t \text{ free scale}} J^{\theta\top}_t J^\theta_t , \tag{2}
(2)

is the sum of the terms’ expected information, each an expectation over its own point with its arguments at their values at x^\hat \point. On a curved space the derivatives of ⊖\ominus at the current residual stand where the root has their values at zero. The two differ at first order in the residual, and in a quadratic form at second order, which is the accuracy the normal’s root has in its blocks of the point and the mean. The residual’s own Jacobian is the better of the two derivatives to use, for the reason that follows.

Their gradient is exact. The gradient of mFm_F at zero is

∇mF(0)=∑tJtμ⊤(rt+c^t)+∑t free scaleJtθ⊤ut+η=g. \nabla m_F(0) = \sum_t J^{\mu\top}_t (r_t + \hat c_t) + \sum_{t \text{ free scale}} J^{\theta\top}_t u_t + \eta = g .

The first sum and η\eta are the gradients of the squares through the point and the mean, and of the log-volumes, as in (2). The second is the gradient through the scale. With Ti=L⊤ ∂iΛ LT_i = L\transpose\, \partial_i \Lambda\, L as for the root, z=rtz = r_t and ε=Lz\varepsilon = L z, the negative log-density’s derivative in θi\theta_i is

12ε⊤∂iΛ ε−12tr⁡(Σ ∂iΛ)=12(z⊤Tiz−tr⁡Ti)=∑a(Ti)aa2⋅za2−12+∑a>b(Ti)ab zazb, \tfrac12 \varepsilon\transpose \partial_i \Lambda\, \varepsilon - \tfrac12 \operatorname{tr}(\Sigma\, \partial_i \Lambda) = \tfrac12 \bigl(z\transpose T_i z - \operatorname{tr} T_i\bigr) = \sum_a \frac{(T_i)_{aa}}{\sqrt 2} \cdot \frac{z_a^2 - 1}{\sqrt 2} + \sum_{a > b} (T_i)_{ab}\, z_a z_b ,

which is (Cθ,t⊤ut)i(C_{\theta, t}\transpose u_t)_i. So the scale’s score lies in the row space of its root, and the scale residual carries it, as c^t\hat c_t carries a folded log-volume. Had the first block row used ±Wt\pm W_t on a curved space, the gradient through the point and the mean would have missed a term of first order in the residual, and the iteration would have stopped short of the stationary point. With JtμJ^\mu_t, a Fisher scoring step

vF∗=−(∇2mF)−1g(3) \tangent^*_F = -\bigl(\nabla^2 m_F\bigr)^{-1} g \tag{3}
(3)

stops only where g=0g = 0, at a stationary point of ff, log-volumes included, by the argument of Proposition 4 with this matrix as the curvature. It converges there at the linear rate that the difference between the Hessian and the expected information sets.

Where the expected information is exact#

For an isotropic scale in its logarithmic chart, u=log⁡σu = \log \sigma, the root’s scale block is −2-\sqrt 2 in each of the d\dimension diagonal rows, and the scale’s information is 2d2 \dimension. The Hessian of the term in uu is 2∣rt∣22 \lvert r_t \rvert^2, which at a stationary point of the scale alone, ∣rt∣2=d\lvert r_t \rvert^2 = \dimension, is 2d2 \dimension too. The case that makes the Gauss–Newton rate one has a rate of zero in the scale’s own direction here. The scale residual’s diagonal rows are ((rt)a2−1)/2((r_t)_a^2 - 1) / \sqrt 2, and the step in uu is (∣rt∣2−d)/2d(\lvert r_t \rvert^2 - \dimension) / 2\dimension, the first-order step toward 12log⁡(∣rt∣2/d)\tfrac12 \log (\lvert r_t \rvert^2 / \dimension): the logarithm of the root-mean-square whitened residual, which is the factor by which the scale is off.

Two linearizations#

With every scale fixed, no term has a scale block, every JtμJ^\mu_t is JtJ_t, and mF=mm_F = m, on every space. The two differ only where a scale is free. They are worth keeping apart all the same, because they answer different questions.

The residual linearization is the Gauss–Newton model of ff. Its curvature at a mode is a Laplace approximation’s, and with it come an evidence and the factor that integrating variables out leaves. The Fisher linearization is the expected information. Its marginal covariances are those of the inverse of (2), a free scale’s among them, and where the variables are parameters and not themselves drawn from the model, that inverse is the asymptotic covariance of their maximum-likelihood estimator. It gives no evidence and no marginal factor: those approximate an integral of the density, whose curvature in a free scale is not the expected information.

A likelihood factor has no expected information, since that is an expectation over the quantity a distribution is the law of, and a likelihood factor is the law of none. Its scale must be fixed, and it contributes the rows of its residual, which for an improper Gaussian factor on flat spaces is its exact negative Hessian.

Built on by