

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


This appendix collects a few elementary facts used in the derivations above.
Lemma A.1.1 (Linear combinations of independent Gaussians). Let
1 ,... , t be independent standard Gaussian random vectors in R d , and let
a 1 ,... , at be real numbers. Then
∑^ t
s=
ass ∼ N
∑t
s=
a 2 s
Proof. The sum is Gaussian because it is a linear combination of jointly
Gaussian random vectors. Its mean is zero, and its covariance is
Cov
∑t
s=
ass
∑^ t
s=
a 2 s Cov(s) =
∑t
s=
a 2 s
where independence removes the cross-covariance terms.
Lemma A.1.2 (Conditioning a joint Gaussian). Suppose
( A B
μA μB
with ΣBB invertible. Then
A | B = b ∼ N
μA + ΣAB Σ − 1 BB (b^ −^ μB^ ),^ ΣAA^ −^ ΣAB^ Σ
− 1 BB ΣBA
Similarly, if ΣAA is invertible, then
B | A = a ∼ N
μB + ΣBAΣ − 1 AA(a^ −^ μA),^ ΣBB^ −^ ΣBAΣ
− 1 AAΣAB
Proof. Let
RA = A − μA − ΣAB Σ − 1 BB (B^ −^ μB^ ).^ (A.6)
Since (A, B) is jointly Gaussian, (RA, B) is jointly Gaussian. Moreover,
Cov(RA, B) = ΣAB − ΣAB Σ − 1 BB ΣBB^ = 0.^ (A.7)
For jointly Gaussian random variables, zero covariance implies independence,
so RA is independent of B. Its mean is zero and its covariance is
Cov(RA) = ΣAA − ΣAB Σ − 1 BB ΣBA.^ (A.8)
Therefore, conditioning on B = b only replaces B by b in the affine repre-
sentation of A, giving the displayed formula for A | B = b. The formula
for B | A = a follows by the same argument with the roles of A and B
interchanged.
Lemma A.1.3 (KL between Gaussians with the same covariance). If P =
N (m 1 , Σ) and Q = N (m 2 , Σ) with the same positive definite covariance ma-
trix Σ, then
KL(P ‖ Q) =
(m 1 − m 2 ) T Σ − 1 (m 1 − m 2 ). (A.9)
Proof. Writing the two Gaussian log densities and subtracting, the normal-
izing constants and quadratic terms in x cancel except for the difference in
means. Taking expectation under P gives
log
dP
dQ
(X − m 2 ) T Σ − 1 (X − m 2 ) − (X − m 1 ) T Σ − 1 (X − m 1 )
Since EP [X] = m 1 , this reduces to the stated expression.
Lemma A.1.4 (Chain rule for KL). Suppose q(x, y) = q(x)q(y | x) and
p(x, y) = p(x)p(y | x). Then
KL(q(x, y) ‖ p(x, y)) = KL(q(x) ‖ p(x)) + Eq(x) [KL(q(y | x) ‖ p(y | x))]. (A.11) More generally, if
q(x1:T ) = q(xT )
t=
q(xt− 1 | xt:T ) and p(x1:T ) = p(xT )
t=
p(xt− 1 | xt:T ),