skoro v0.0.0

What elimination leaves

Integrating a block of variables out of an improper Gaussian factor, by the elimination of its rows, leaves an improper Gaussian factor on the blocks it was tied to, of any rank and exactly; it is a normal when it determines them, and the factor is the exact answer when it does not.

Updated 2026-11-25 · 3 min read

An improper Gaussian factor was introduced by an integral: what is left of a model of normals on a quantity’s neighbours once the quantity is integrated out. The examples there were integrals done by hand. Elimination does the same integral by an orthogonal factorization of the rows, and this note states what it leaves, in general: a factor of the same kind on the blocks that were tied to the one eliminated, which need not determine them.

The integral#

Proposition 1(Integrating a block out leaves an improper factor).

Let ℓ\logterm be an improper Gaussian factor over the blocks (xk,xS)(\point_k, \point_S), with the stacked tangent δ=(vk,vS)\delta = (\tangent_k, \tangent_S) at its anchors, so that −ℓ+c=ϕ(vk,vS)-\logterm + c = \phi(\tangent_k, \tangent_S) is the function of Lemma 10, and let the columns AkA_k of its rows for block kk have rank dkd_k. With the notation of that lemma,

log⁡∫Rdkeℓ dvk=−12∣A′vS−b′∣2−(ηS−T⊤y)⊤vS+c−γ+dk2log⁡2π−log⁡∣det⁡R∣, \log \int_{\R^{d_k}} e^{\logterm}\, \dd \tangent_k = -\tfrac12 \lvert A' \tangent_S - b' \rvert^2 - (\eta_S - T\transpose y)\transpose \tangent_S + c - \gamma + \tfrac{d_k}{2} \log 2\pi - \log \lvert \det R \rvert ,

an improper Gaussian factor over xS\point_S at the same anchors, whatever the rank of A′A'. If AkA_k has rank less than dkd_k, the integral is infinite for every vS\tangent_S.

Proof.

The first part is part 2 of Lemma 10, with the constant cc carried along: eℓ=ec−ϕe^{\logterm} = e^{c - \phi}. The right-hand side is a squared affine residual in vS\tangent_S, a linear term and a constant, which is the definition Definition 2, and nothing in it requires A′A' to have full rank. For the second, take n≠0n \ne 0 with Akn=0A_k n = 0; along the line vk+tn\tangent_k + t n the squares do not change and ℓ\logterm changes linearly, by −t ηk⊤n-t\, \eta_k\transpose n, so eℓe^{\logterm} is constant or grows exponentially along the line and its integral over Rdk\R^{d_k} diverges.

∎

That is an improper Gaussian factor of the variables left: its rows are the rows the factorization did not use, its linear term is what is left of the linear terms, and its constant collects the rest. Nothing requires A′A' to have full rank, and when the eliminated block was the only thing tying down some direction of vS\tangent_S, it has not. The factor is the exact answer all the same.

The integral is over the block’s tangent coordinates, against Lebesgue measure. On a Euclidean space that is the integral over the quantity itself. On a curved or a positive space it is the integral of the factor as written in the chart at the anchor, and an integral against the space’s own measure carries the chart’s volume, as (4) does for a mode.

What the factor is. Repeated block by block, the statement integrates any set of blocks out of a sum of factors, in any order, leaving a sum of factors on the rest; when the rows left determine every direction, the sum is a normal, and its mean and precision are those of the marginal of Corollary 13. Restricted to the factors joined to the blocks integrated out, as in (14), it is the single factor on their Markov blanket that replaces them: the factor that a model keeps when it forgets a quantity.

A block that is not determined. The second part says when a block cannot be integrated out: when its own rows do not determine it, the integral over it is infinite. A landmark seen from one pose along one direction, with no prior, cannot be integrated out, since its rows say nothing of it across that direction; the pose, which has a prior, can be, and leaves on the landmark a factor that is flat along the bearing, the first example of the improper factor’s note. The elimination’s diagonal reports which: a block whose triangular root has a zero diagonal entry has no integral.

The order of integration. Integrating out is elimination by part 2 of Lemma 10, and elimination by part 1 leaves the same rows and differs only in the constant. So the order that keeps the factorization cheap, the elimination tree, is the order that keeps integrating out cheap, and a chain of quantities integrated out from one end is eliminated with no fill at all. The next note is that chain.

Built on by