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.
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#
Let be an improper Gaussian factor over the blocks , with the stacked tangent at its anchors, so that is the function of Lemma 10, and let the columns of its rows for block have rank . With the notation of that lemma,
an improper Gaussian factor over at the same anchors, whatever the rank of . If has rank less than , the integral is infinite for every .
The first part is part 2 of Lemma 10, with the constant carried along: . The right-hand side is a squared affine residual in , a linear term and a constant, which is the definition Definition 2, and nothing in it requires to have full rank. For the second, take with ; along the line the squares do not change and changes linearly, by , so is constant or grows exponentially along the line and its integral over 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 to have full rank, and when the eliminated block was the only thing tying down some direction of , 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
- The Kalman filter The Kalman filter integrates the states of a linear-Gaussian chain out one at a time, so that what is left on each state is its prediction and, with its measurement, its update; its gain weighs the innovation, its evidence is the product of the innovations' densities, and in information or square-root form it is elimination along the chain, which carries a state its measurements do not yet determine.