Session 14: LMMSE, Orthogonality, and Fusion

Movement IV: Gaussian Vectors and Linear Estimation

EE 520: Random Processes (Fall 2026). Instructor: John Lipor.

Launch

Two thermometers sit in the same room, reading Y1=21.3∘Y_1 = 21.3^\circ and Y2=20.6∘Y_2 = 20.6^\circ. There is one temperature. Do we average the two readings? Weight them, and if so, by how much? And what should we do if the two thermometers are not independent, if they share a draft from the same open window? Today we produce the weights, all of them, from a single geometric principle, and the very same principle will still be running the show in Session 17, when the unknown is no longer a temperature but an entire waveform observed through a continuum of noisy measurements. Movement IV has been about doing Session 2’s belief update in a Gaussian world; this session reads the update as the answer to an optimization problem, and shows that the two views coincide.

Development

The problem: best linear estimate of a scalar from a vector

We want to estimate a scalar unknown XX from a vector of observations Y=(Y1,…,Yn)TY = (Y_1, \dots, Y_n)^T, using an affine rule X̂=wTY+c=∑i=1nwiYi+c,\begin{equation} \hat X = w^T Y + c = \sum_{i=1}^n w_i Y_i + c, \label{eq:linform} \end{equation} and we choose the weights w∈ℝnw \in \mathbb{R}^n and offset c∈ℝc \in \mathbb{R} to minimize the mean squared error 𝔼[(X−X̂)2]\mathbb{E}[(X - \hat X)^2]. Restricting to [eq:linform] is a deliberate act of humility: the exact best estimator 𝔼[X|Y]\mathbb{E}[X \,|\,Y] can demand the full joint distribution, which we may not have, whereas [eq:linform] needs only means, variances, and covariances, the second-order description Session 12 taught us to assemble from a verbal sensor model.

The offset cc is dispatched first. For any fixed ww, the cross term in 𝔼[(X−wTY−c)2]\mathbb{E}[(X - w^T Y - c)^2] vanishes at the choice that centers the estimate, c=μX−wTμY,\begin{equation*} c = \mu_X - w^T \mu_Y, \end{equation*} so the optimal rule is X̂=μX+wT(Y−μY)\hat X = \mu_X + w^T(Y - \mu_Y): predict the prior mean, then correct by a weighted combination of the surprises Yi−μYiY_i - \mu_{Y_i}. This lets us assume XX and YY are zero-mean while solving for ww, and restore the means at the very end. We do so from here on.

The orthogonality principle

Everything now follows from one geometric fact. Write the error of a candidate estimate X̂=wTY\hat X = w^T Y as e=X−X̂e = X - \hat X.

Theorem 1 (Orthogonality principle). Among all linear estimates X̂=wTY\hat X = w^T Y of a zero-mean XX from a zero-mean YY, the mean squared error 𝔼[(X−X̂)2]\mathbb{E}[(X - \hat X)^2] is minimized if and only if the error is uncorrelated with every component of the data: 𝔼[(X−X̂)Yi]=0for i=1,…,n.\begin{equation} \mathbb{E}\left[(X - \hat X)\, Y_i\right] = 0 \qquad \text{for } i = 1, \dots, n. \label{eq:orth} \end{equation}

Proof. Necessity (optimal ⇒\Rightarrow orthogonal), by perturbation. Suppose X̂=wTY\hat X = w^T Y is optimal, and perturb one weight: compare against X̂+ϵYi\hat X + \epsilon Y_i for a scalar ϵ\epsilon. Its error is (X−X̂)−ϵYi(X - \hat X) - \epsilon Y_i, and 𝔼[((X−X̂)−ϵYi)2]=𝔼[(X−X̂)2]−2ϵ𝔼[(X−X̂)Yi]+ϵ2𝔼[Yi2].\begin{equation*} \mathbb{E}\left[\left((X - \hat X) - \epsilon Y_i\right)^2\right] = \mathbb{E}\left[(X - \hat X)^2\right] - 2\epsilon\, \mathbb{E}\left[(X - \hat X)Y_i\right] + \epsilon^2\, \mathbb{E}[Y_i^2]. \end{equation*} This is a quadratic in ϵ\epsilon with a positive leading coefficient, and by optimality it is minimized at ϵ=0\epsilon = 0. Its derivative there must vanish: −2𝔼[(X−X̂)Yi]=0-2\,\mathbb{E}[(X - \hat X)Y_i] = 0, which is [eq:orth]. (Geometrically: if the error had any correlation with YiY_i, we could shave the MSE by leaning a little on YiY_i; optimality means no such free improvement is left.)

Sufficiency (orthogonal ⇒\Rightarrow optimal), by add-and-subtract. Let X̂=wTY\hat X = w^T Y satisfy [eq:orth] and let X̃=vTY\tilde X = v^T Y be any other linear estimate. Then X̂−X̃=(w−v)TY\hat X - \tilde X = (w - v)^T Y is itself a linear combination of the YiY_i, so by [eq:orth] the error X−X̂X - \hat X is uncorrelated with it. Writing X−X̃=(X−X̂)+(X̂−X̃)X - \tilde X = (X - \hat X) + (\hat X - \tilde X), 𝔼[(X−X̃)2]=𝔼[(X−X̂)2]+2𝔼[(X−X̂)(X̂−X̃)]+𝔼[(X̂−X̃)2]=𝔼[(X−X̂)2]+0+𝔼[(X̂−X̃)2]≥𝔼[(X−X̂)2],\begin{align*} \mathbb{E}\left[(X - \tilde X)^2\right] &= \mathbb{E}\left[(X - \hat X)^2\right] + 2\,\mathbb{E}\left[(X - \hat X)(\hat X - \tilde X)\right] + \mathbb{E}\left[(\hat X - \tilde X)^2\right] \\ &= \mathbb{E}\left[(X - \hat X)^2\right] + 0 + \mathbb{E}\left[(\hat X - \tilde X)^2\right] \;\ge\; \mathbb{E}\left[(X - \hat X)^2\right], \end{align*} with equality only when X̃=X̂\tilde X = \hat X. So the orthogonal estimate is the unique minimizer. ◻

The name is literal. Regard random variables as vectors and the covariance 𝔼[UV]\mathbb{E}[UV] as their inner product; then [eq:orth] says the error is perpendicular to the data subspace span⁡(Y1,…,Yn)\operatorname{span}(Y_1, \dots, Y_n), and X̂\hat X is the orthogonal projection of XX onto that subspace. The best linear estimate is the foot of the perpendicular, and the error is the leg that stands at a right angle to everything the data can build.

Estimation is projection. The LMMSE estimate X̂\hat X is the orthogonal projection of XX onto span⁡(Y)\operatorname{span}(Y); the error X−X̂X - \hat X is perpendicular to the data, which is exactly [eq:orth].

The normal equations

Turn [eq:orth] into algebra. With X̂=wTY\hat X = w^T Y, the condition 𝔼[(X−wTY)Yi]=0\mathbb{E}[(X - w^T Y)Y_i] = 0 for every ii reads, stacking the nn equations, 𝔼[XYi]=∑j=1nwj𝔼[YjYi],i=1,…,n,\begin{equation*} \mathbb{E}[X Y_i] = \sum_{j=1}^n w_j\, \mathbb{E}[Y_j Y_i], \qquad i = 1, \dots, n, \end{equation*} which in matrix form is ΣYX=ΣYw\Sigma_{YX} = \Sigma_Y\, w, where ΣY=𝔼[YYT]\Sigma_Y = \mathbb{E}[YY^T] is the data covariance and ΣYX=𝔼[YX]\Sigma_{YX} = \mathbb{E}[Y X] is the cross-covariance vector. Solving, w=ΣY−1ΣYX,X̂=μX+ΣXYΣY−1(Y−μY),\begin{equation} \boxed{\; w = \Sigma_Y^{-1}\Sigma_{YX}, \qquad \hat X = \mu_X + \Sigma_{XY}\Sigma_Y^{-1}(Y - \mu_Y), \;} \label{eq:normal} \end{equation} (with the means restored, and ΣXY=ΣYXT\Sigma_{XY} = \Sigma_{YX}^T). The resulting error is computed once and reused forever: by orthogonality the error is uncorrelated with X̂\hat X, so 𝔼[(X−X̂)2]=𝔼[(X−X̂)X]=var⁡(X)−ΣXYw\mathbb{E}[(X - \hat X)^2] = \mathbb{E}[(X - \hat X)X] = \operatorname{var}(X) - \Sigma_{XY}\,w, that is, MSE=var⁡(X)−ΣXYΣY−1ΣYX.\begin{equation} \mathrm{MSE} = \operatorname{var}(X) - \Sigma_{XY}\Sigma_Y^{-1}\Sigma_{YX}. \label{eq:mmse} \end{equation}

The same formula, a third time. Compare [eq:normal] and [eq:mmse] with Session 13’s Gaussian conditioning: the gain ΣXYΣY−1\Sigma_{XY}\Sigma_Y^{-1} and the variance drop ΣXYΣY−1ΣYX\Sigma_{XY}\Sigma_Y^{-1}\Sigma_{YX} are the same formula as the conditional mean and covariance μu+ΣusΣss−1(xs−μs)\mu_u + \Sigma_{us}\Sigma_{ss}^{-1}(x_s - \mu_s) and Σuu−ΣusΣss−1Σsu\Sigma_{uu} - \Sigma_{us}\Sigma_{ss}^{-1}\Sigma_{su}, with XX playing the unknown block and YY the observed block. Session 13 arrived there by completing the square in a Gaussian density; here we arrived by a projection that never mentioned Gaussianity. So for a Gaussian problem the best linear estimator is the best estimator, period, because there the conditional mean 𝔼[X|Y]\mathbb{E}[X \,|\,Y] happens to be linear in YY. Stated cleanly: under Gaussianity, LMMSE equals the conditional mean; without Gaussianity, LMMSE is the best you can do while staying linear, and some nonlinear estimator may beat it.

Worked examples

Bayes twice, and when it breaks

We reuse Session 12’s hydrophone covariance and put it to work. A source amplitude AA has mean 00 and var⁡(A)=4\operatorname{var}(A) = 4. Two sensors report Y1=A+W1,Y2=A+W2,\begin{equation*} Y_1 = A + W_1, \qquad Y_2 = A + W_2, \end{equation*} with zero-mean noises of unequal quality, var⁡(W1)=1\operatorname{var}(W_1) = 1 (the good sensor) and var⁡(W2)=3\operatorname{var}(W_2) = 3 (the noisy one), correlated through cov⁡(W1,W2)=ρw\operatorname{cov}(W_1, W_2) = \rho_w, and both uncorrelated with AA. Session 12 assembled ΣY=[54+ρw4+ρw7],ΣYA=[44],\begin{equation*} \Sigma_Y = \begin{bmatrix} 5 & 4 + \rho_w \\ 4 + \rho_w & 7 \end{bmatrix}, \qquad \Sigma_{YA} = \begin{bmatrix} 4 \\ 4 \end{bmatrix}, \end{equation*} since var⁡(Yi)=var⁡(A)+var⁡(Wi)\operatorname{var}(Y_i) = \operatorname{var}(A) + \operatorname{var}(W_i), cov⁡(Y1,Y2)=var⁡(A)+ρw\operatorname{cov}(Y_1, Y_2) = \operatorname{var}(A) + \rho_w, and cov⁡(Yi,A)=var⁡(A)\operatorname{cov}(Y_i, A) = \operatorname{var}(A). Using both readings at once, the normal equations [eq:normal] with X=AX = A (all means zero) give the batch estimate w=ΣY−1ΣYA=[54+ρw4+ρw7]−1[44],Â=wTY=w1Y1+w2Y2,\begin{equation} w = \Sigma_Y^{-1}\Sigma_{YA} = \begin{bmatrix} 5 & 4 + \rho_w \\ 4 + \rho_w & 7 \end{bmatrix}^{-1} \begin{bmatrix} 4 \\ 4 \end{bmatrix}, \qquad \hat A = w^T Y = w_1 Y_1 + w_2 Y_2, \label{eq:batch} \end{equation} with MSE=var⁡(A)−ΣAYw=4−4(w1+w2)\mathrm{MSE} = \operatorname{var}(A) - \Sigma_{AY}w = 4 - 4(w_1 + w_2) by [eq:mmse]. That is the target. A filter running in real time cannot wait for both readings; it processes them one at a time, and the posterior after Y1Y_1 becomes the prior for Y2Y_2. When does that land on [eq:batch]?

(a) Uncorrelated noise (ρw=0\rho_w = 0): sequential equals batch.

Condition on Y1Y_1. In Session 13’s equation (4) take Xu=AX_u = A and Xs=Y1X_s = Y_1: μu=μs=0\mu_u = \mu_s = 0, Σuu=var⁡(A)=4\Sigma_{uu} = \operatorname{var}(A) = 4, Σus=cov⁡(A,Y1)=4\Sigma_{us} = \operatorname{cov}(A, Y_1) = 4, and Σss=var⁡(Y1)=4+1\Sigma_{ss} = \operatorname{var}(Y_1) = 4 + 1. So A|Y1=y1∼𝒩(m1,P1)A \,|\,Y_1 = y_1 \sim {\mathcal N}(m_1, P_1) with m1=0+44+1(y1−0)=45y1,P1=4−424+1=45.\begin{equation*} m_1 = 0 + \frac{4}{4 + 1}\,(y_1 - 0) = \tfrac45 y_1, \qquad P_1 = 4 - \frac{4^2}{4 + 1} = \tfrac45 . \end{equation*}

Use it as the prior for Y2Y_2. With ρw=0\rho_w = 0, the readings are independent given AA, so Bayes’ rule factors: f(a|y1,y2)∝f(a)f(y1|a)f(y2|a)∝f(a|y1)f(y2|a).\begin{equation*} f(a \,|\,y_1, y_2) \;\propto\; f(a)\, f(y_1 \,|\,a)\, f(y_2 \,|\,a) \;\propto\; f(a \,|\,y_1)\, f(y_2 \,|\,a). \end{equation*} This is the first calculation again, with prior 𝒩(m1,P1){\mathcal N}(m_1, P_1) in place of 𝒩(0,4){\mathcal N}(0, 4) and noise variance 33 in place of 11. Substituting 0→m10 \to m_1, 4→P14 \to P_1, 1→31 \to 3, y1→y2y_1 \to y_2: 𝔼[A|y1,y2]=m1+P1P1+3(y2−m1)=45y1+419(y2−45y1)=1219y1+419y2,var⁡(A|y1,y2)=P1−P12P1+3=45−1695=1219≈0.632.\begin{align*} \mathbb{E}[A \,|\,y_1, y_2] &= m_1 + \frac{P_1}{P_1 + 3}\,(y_2 - m_1) = \tfrac45 y_1 + \tfrac{4}{19}\left(y_2 - \tfrac 45 y_1\right) = \tfrac{12}{19} y_1 + \tfrac{4}{19} y_2, \\ \operatorname{var}(A \,|\,y_1, y_2) &= P_1 - \frac{P_1^2}{P_1 + 3} = \tfrac45 - \tfrac{16}{95} = \tfrac{12}{19} \approx 0.632 . \end{align*} The estimate moves by a gain, 419\tfrac{4}{19}, times the surprise y2−m1y_2 - m_1.

The batch answer agrees: at ρw=0\rho_w = 0, det⁡ΣY=35−16=19\det \Sigma_Y = 35 - 16 = 19 and [eq:batch] gives w=119[7−4−45][44]=(1219,419)Tw = \tfrac{1}{19}\left[\begin{smallmatrix} 7 & -4 \\ -4 & 5 \end{smallmatrix}\right] \left[\begin{smallmatrix} 4 \\ 4 \end{smallmatrix}\right] = (\tfrac{12}{19}, \tfrac{4}{19})^T and MSE=4−4⋅1619=1219\mathrm{MSE} = 4 - \tfrac{4 \cdot 16}{19} = \tfrac{12}{19}. The weights stand in the ratio 3:13 : 1 of the noise precisions, and precisions add, whether counted in one step or two: 1912=14+1+13=14/5+13\tfrac{19}{12} = \tfrac14 + 1 + \tfrac13 = \tfrac{1}{4/5} + \tfrac13.

(b) Shared noise (ρw=12\rho_w = \tfrac12): the tempting answer.

Now a draft from the same open window reaches both sensors, ρw=12\rho_w = \tfrac12. The posterior 𝒩(m1,P1){\mathcal N}(m_1, P_1) after Y1Y_1 is unchanged, since AA and Y1Y_1 alone never involve ρw\rho_w. Repeat (a)’s substitution and the recipe reports the same var⁡(A|y1,y2)=1219≈0.632\operatorname{var}(A \,|\,y_1, y_2) = \tfrac{12}{19} \approx 0.632 and the same weights. The batch formula [eq:batch] disagrees. Now ΣY=[54.54.57]\Sigma_Y = \left[\begin{smallmatrix} 5 & 4.5 \\ 4.5 & 7 \end{smallmatrix}\right] has determinant 35−20.25=59435 - 20.25 = \tfrac{59}{4}, and w=459[7−4.5−4.55][44]=[40/598/59],MSE=4−4⋅4859=4459≈0.746.\begin{equation*} w = \frac{4}{59}\begin{bmatrix} 7 & -4.5 \\ -4.5 & 5 \end{bmatrix} \begin{bmatrix} 4 \\ 4 \end{bmatrix} = \begin{bmatrix} 40/59 \\ 8/59 \end{bmatrix}, \qquad \mathrm{MSE} = 4 - \frac{4 \cdot 48}{59} = \frac{44}{59} \approx 0.746. \end{equation*} The naive filter is overconfident: it claims 0.6320.632 when the best achievable is 0.7460.746. It is also simply worse: its weights (1219,419)(\tfrac{12}{19}, \tfrac{4}{19}) leave the error 319A−1219W1−419W2\tfrac{3}{19}A - \tfrac{12}{19}W_1 - \tfrac{4}{19}W_2, whose variance works out to 276361≈0.765\tfrac{276}{361} \approx 0.765. Wrong about its own uncertainty, and wrong about the estimate.

The diagnosis is the factorization in (a): it needs the readings independent given AA, so that Y2Y_2’s noise is independent of everything already used, but here cov⁡(W2,Y1)=cov⁡(W2,W1)=12\operatorname{cov}(W_2, Y_1) = \operatorname{cov}(W_2, W_1) = \tfrac12: part of Y2Y_2’s noise was already in Y1Y_1. Treating Y2Y_2 as a fresh look counts that shared noise twice, the same double counting as Session 3’s repeated looks wrongly treated as independent.

The fix: update on the innovation.

Use only the part of Y2Y_2 that Y1Y_1 could not predict. The best linear prediction of Y2Y_2 from Y1Y_1 is cov⁡(Y2,Y1)var⁡(Y1)Y1=4.55Y1=0.9Y1\tfrac{\operatorname{cov}(Y_2, Y_1)}{\operatorname{var}(Y_1)}Y_1 = \tfrac{4.5}{5}Y_1 = 0.9\,Y_1, so define the innovation Ỹ2=Y2−0.9Y1.\begin{equation*} \tilde Y_2 = Y_2 - 0.9\,Y_1 . \end{equation*} (The naive recipe predicted Y2Y_2 by 45Y1\tfrac45 Y_1, the estimate of AA alone, as if Y1Y_1 said nothing about W2W_2.) By the orthogonality principle, applied to predicting Y2Y_2 from Y1Y_1, the prediction error Ỹ2\tilde Y_2 is uncorrelated with Y1Y_1; directly, cov⁡(Ỹ2,Y1)=4.5−0.9⋅5=0\operatorname{cov}(\tilde Y_2, Y_1) = 4.5 - 0.9 \cdot 5 = 0. Two facts now make the second step legitimate. First, (Y1,Ỹ2)(Y_1, \tilde Y_2) is an invertible linear transformation of (Y1,Y2)(Y_1, Y_2), so the two pairs build exactly the same linear estimates and share the same best one. Second, Y1Y_1 and Ỹ2\tilde Y_2 are uncorrelated, so their covariance matrix is diagonal, the normal equations decouple, and the best estimate from both is the update on Y1Y_1 already made plus a separate update on Ỹ2\tilde Y_2: cov⁡(A,Ỹ2)=4−0.9⋅4=0.4,var⁡(Ỹ2)=7−4.525=2.95,gain=0.42.95=859.\begin{equation*} \operatorname{cov}(A, \tilde Y_2) = 4 - 0.9 \cdot 4 = 0.4, \qquad \operatorname{var}(\tilde Y_2) = 7 - \frac{4.5^2}{5} = 2.95, \qquad \text{gain} = \frac{0.4}{2.95} = \frac{8}{59}. \end{equation*} The variance drops by 0.42/2.95=162950.4^2/2.95 = \tfrac{16}{295}, from 45\tfrac45 to 45−16295=4459\tfrac45 - \tfrac{16}{295} = \tfrac{44}{59}, and the estimate becomes Â=45Y1+859(Y2−0.9Y1)=4059Y1+859Y2,\begin{equation*} \hat A = \tfrac45 Y_1 + \tfrac{8}{59}\left(Y_2 - 0.9\,Y_1\right) = \tfrac{40}{59} Y_1 + \tfrac{8}{59} Y_2, \end{equation*} the batch answer exactly. In (a) nothing needed fixing, because with independent noises 45Y1\tfrac45 Y_1 was the best prediction of Y2Y_2: the surprise used there was already the innovation.

Posterior becomes prior, on innovations. Sequential updating reproduces the batch answer when each step uses the innovation, the part of the new reading that the old readings could not predict; the orthogonality principle is what manufactures it. With independent noises the innovation is just the surprise Y2−𝔼[Y2|Y1]Y_2 - \mathbb{E}[Y_2 \,|\,Y_1] that a naive filter would use anyway; with shared noise it is not, and the naive filter turns overconfident. That recursion, “today’s posterior is tomorrow’s prior,” run on innovations, is the germ of every tracking filter: when the unknown also drifts in time between observations, the same bookkeeping is precisely the Kalman filter. We only name it; its dynamics and state-space machinery belong to a later course. What Movement IV establishes is the update step it runs on, gain times innovation, over and over.

A reading with no signal in it

A weak signal XX (think of a fetal heartbeat) is buried in strong interference Z1Z_1 (the mother’s heartbeat). A microphone on the belly records Y1=X+Z1Y_1 = X + Z_1. A second, reference microphone near the mother’s heart records Y2=Z1+Z2Y_2 = Z_1 + Z_2, where Z2Z_2 is its own measurement noise: it hears the interference and none of the signal. Take XX, Z1Z_1, Z2Z_2 zero-mean and uncorrelated with var⁡(X)=1\operatorname{var}(X) = 1, var⁡(Z1)=9\operatorname{var}(Z_1) = 9, var⁡(Z2)=1\operatorname{var}(Z_2) = 1.

One microphone. From Y1Y_1 alone the gain is 11+9=110\tfrac{1}{1 + 9} = \tfrac1{10} and the MSE is 1−110=0.91 - \tfrac1{10} = 0.9, barely better than ignoring the data and guessing 00 (MSE 11). The interference swamps the signal.

The tempting answer. cov⁡(X,Y2)=0\operatorname{cov}(X, Y_2) = 0: the reference microphone is uncorrelated with what we want, so give it weight zero.

The orthogonality principle disagrees. The one-microphone estimate 0.1Y10.1\,Y_1 has error e=X−0.1Y1e = X - 0.1\,Y_1, and cov⁡(e,Y2)=cov⁡(X,Y2)−0.1cov⁡(Y1,Y2)=0−0.1⋅9=−0.9≠0.\begin{equation*} \operatorname{cov}(e, Y_2) = \operatorname{cov}(X, Y_2) - 0.1\,\operatorname{cov}(Y_1, Y_2) = 0 - 0.1 \cdot 9 = -0.9 \ne 0. \end{equation*} By Theorem 1, an estimate whose error is correlated with an available reading is not optimal: leaning on Y2Y_2 will lower the MSE. What matters is whether Y2Y_2 correlates with the error, not with the target. The normal equations, with ΣY=[109910]\Sigma_Y = \left[\begin{smallmatrix} 10 & 9 \\ 9 & 10 \end{smallmatrix}\right] (determinant 1919) and ΣYX=(1,0)T\Sigma_{YX} = (1, 0)^T, give w=119[10−9−910][10]=[10/19−9/19],MSE=1−1019=919≈0.47.\begin{equation*} w = \frac{1}{19}\begin{bmatrix} 10 & -9 \\ -9 & 10 \end{bmatrix} \begin{bmatrix} 1 \\ 0 \end{bmatrix} = \begin{bmatrix} 10/19 \\ -9/19 \end{bmatrix}, \qquad \mathrm{MSE} = 1 - \frac{10}{19} = \frac{9}{19} \approx 0.47 . \end{equation*} A microphone that never hears the signal nearly halves the error.

Reading the answer. Factor the estimate as X̂=1019(Y1−0.9Y2).\begin{equation*} \hat X = \frac{10}{19}\left(Y_1 - 0.9\,Y_2\right). \end{equation*} The term 0.9Y20.9\,Y_2 is the best estimate of the interference from the reference microphone (Session 13’s scalar conditioning: cov⁡(Z1,Y2)/var⁡(Y2)=910\operatorname{cov}(Z_1, Y_2)/\operatorname{var}(Y_2) = \tfrac{9}{10}). The estimator subtracts that estimate from the belly reading, cancelling most of the interference, and then shrinks what is left toward the prior mean. With a perfect reference (var⁡(Z2)→0\operatorname{var}(Z_2) \to 0) the weights tend to (1,−1)(1, -1), X̂→Y1−Y2=X\hat X \to Y_1 - Y_2 = X, and the MSE tends to 00: the interference cancels exactly.

Correlated with the error, not with the target. The two examples are one lesson seen from opposite sides. In the hydrophone example a reading that is correlated with AA was worth less than it looked, because part of it repeated what Y1Y_1 had already said. Here a reading that is uncorrelated with XX is worth a great deal, because it explains what the first estimate gets wrong. In both, the orthogonality principle settles the question, and intuition about correlation with the target does not.

The linear-Gaussian channel (for orientation)

The hydrophone example is the smallest case of a pattern that organizes all of Movements IV and V. Let X∼𝒩(0,ΣX)X \sim {\mathcal N}(0, \Sigma_X) be an unknown vector observed through a linear channel with additive independent Gaussian noise, Y=HX+N,N∼𝒩(0,ΣN),N⟂X.\begin{equation*} Y = HX + N, \qquad N \sim {\mathcal N}(0, \Sigma_N), \quad N \perp X. \end{equation*} Then the estimate is 𝔼[X|Y]=ΣXHT(HΣXHT+ΣN)−1Y.\begin{equation} \mathbb{E}[X \,|\,Y] = \Sigma_X H^T\left(H\Sigma_X H^T + \Sigma_N\right)^{-1} Y. \label{eq:lingauss} \end{equation} Read the ingredients: HΣXHT+ΣNH\Sigma_X H^T + \Sigma_N is the covariance of the data YY, and ΣXHT\Sigma_X H^T is the cross-covariance ΣXY\Sigma_{XY}, so [eq:lingauss] is nothing but the normal equations [eq:normal] in disguise, the same formula once more. We state it here for orientation only; deriving it from [eq:normal] is HW6, Problem 5.

Movement IV synthesis

Movement IV in one sentence: we did Session 2’s Bayes rule in a world where everything is Gaussian, and the update collapsed to a gain times an innovation. The belief that was a list of cell probabilities became a mean vector and a covariance matrix; renormalizing the list became conditioning the Gaussian; and the same three questions of the course thesis, what is uncertain, what is observed, how should belief change, got answered in closed form by [eq:normal]. The four columns line up exactly across the two worlds:

Table 1: Ingredient; Movement I (search); Movement IV (Gaussian)
Ingredient Movement I (search) Movement IV (Gaussian)
Prior cell probabilities (pi)(p_i) 𝒩(μ,Σ){\mathcal N}(\mu, \Sigma)
Observation a failed look Y=A+WY = A + W (linear ++ noise)
Posterior renormalized cells conditioned Gaussian [eq:normal]
Action where to look next the estimate X̂\hat X itself

The estimate is the action here: a posterior over a number, compressed to the single best number under squared error, ready to be reported or fused with the next reading. Movement V lets the unknown become a whole function and shows the same table survives intact.

Consolidation

  1. (Mechanical.) A scalar XX is zero-mean with var⁡(X)=9\operatorname{var}(X) = 9; a single sensor reports Y=X+VY = X + V with var⁡(V)=3\operatorname{var}(V) = 3, VV uncorrelated with XX. Using [eq:normal] and [eq:mmse], find the LMMSE weight and the MSE. (Answer: w=cov⁡(X,Y)/var⁡(Y)=9/12=3/4w = \operatorname{cov}(X,Y)/\operatorname{var}(Y) = 9/12 = 3/4; MSE=9−92/12=9−6.75=2.25\mathrm{MSE} = 9 - 9^2/12 = 9 - 6.75 = 2.25, i.e. var⁡(X)var⁡(V)/(var⁡(X)+var⁡(V))\operatorname{var}(X)\operatorname{var}(V)/(\operatorname{var}(X)+\operatorname{var}(V)).)

  2. (Conceptual.) A colleague fuses a bank of thermometers one at a time, adding each one’s precision 1/var⁡(Wi)1/\operatorname{var}(W_i) to a running total. When is this correct, and what goes wrong if the thermometers share a draft? (Answer: it is correct when the noises are uncorrelated with one another and with the unknown, so that each reading is a fresh look. With shared noise the running total counts the common part repeatedly: the reported variance is too small and the weights are off, as in the hydrophone example’s part (b). Update on innovations instead.)

  3. (Short proof.) Let X=(X1,…,Xn)X = (X_1, \dots, X_n) be zero-mean with cov⁡(Xi,Xj)=α|i−j|\operatorname{cov}(X_i, X_j) = \alpha^{\left\lvert i - j \right\rvert} for some |α|<1\left\lvert \alpha \right\rvert < 1, so neighbors are strongly related and distant entries weakly. Guess that the best linear predictor of XnX_n from X1,…,Xn−1X_1, \dots, X_{n-1} is αXn−1\alpha X_{n-1}, and prove it by checking the orthogonality principle instead of solving the (n−1)×(n−1)(n-1) \times (n-1) normal equations. What is the MSE? (Answer: for every i≤n−1i \le n - 1, 𝔼[(Xn−αXn−1)Xi]=αn−i−α⋅αn−1−i=0\mathbb{E}[(X_n - \alpha X_{n-1})X_i] = \alpha^{n-i} - \alpha \cdot \alpha^{n-1-i} = 0, so the error is uncorrelated with all the data and, by the sufficiency half of Theorem 1, αXn−1\alpha X_{n-1} is optimal. By orthogonality the MSE is 𝔼[(Xn−αXn−1)Xn]=1−α2\mathbb{E}[(X_n - \alpha X_{n-1})X_n] = 1 - \alpha^2. The older values get weight zero: everything they could say about XnX_n is already carried by Xn−1X_{n-1}.)

Synthesis

The course thesis asks how observation should change belief and action; this session answered “by projection.” The best linear estimate is the orthogonal projection of the unknown onto the span of the data, characterized by the one geometric fact that the leftover error correlates with nothing the data can build [eq:orth]. From that fact fell the normal equations [eq:normal], which turned out to be Session 13’s conditioning formulas reached by a different road. They specialize to precision-weighted fusion when the readings are independent, they run one reading at a time when each update uses the innovation, and they cancel interference using a reading that never sees the signal. Under Gaussianity the linear answer is the whole answer; without it, the linear answer is the best one can buy with second moments alone. Movement V now lets the index set run over a continuum: the projection becomes projection onto a space of functions, and the orthogonality principle returns for its third and final appearance as the Wiener filter.

Self-check questions

  1. State the orthogonality principle for the LMMSE estimate in one sentence, and explain why it forces the normal equations ΣYw=ΣYX\Sigma_Y w = \Sigma_{YX}.

  2. In the hydrophone example with ρw=12\rho_w = \tfrac12, naive sequential updating reported a variance of 0.6320.632 when the best achievable was 0.7460.746. Which assumption failed, and what should the second update have used in place of Y2Y_2?

  3. When does the LMMSE estimator coincide with 𝔼[X|Y]\mathbb{E}[X \,|\,Y], and what does it give up when that condition fails?

Pitfall. Three slips recur. (i) Applying the zero-mean formulas to non-centered data: [eq:normal] corrects the prior mean by the gain times the surprise Y−μYY - \mu_Y; feeding it raw YY instead of Y−μYY - \mu_Y biases the estimate. (ii) Treating every new reading as a fresh look: “posterior becomes prior” with each reading’s own noise variance is right only when the noises are uncorrelated. Shared noise makes the naive filter overconfident (it claimed 0.6320.632 against a best possible 0.7460.746) and its estimate worse (0.7650.765); update on the innovation. (iii) Zeroing a reading because it is uncorrelated with the unknown: the reference microphone never heard the signal and still nearly halved the MSE. Ask whether a reading correlates with the current error, not with the target.