
Matched filter, regularized inverse, beamformer, fusion
\[ % Number sets \newcommand{\Nat}{\mathbb{N}} \newcommand{\Integer}{\mathbb{Z}} \newcommand{\Real}{\mathbb{R}} \newcommand{\Complex}{\mathbb{C}} % Operators \newcommand{\SNR}{\operatorname{SNR}} \newcommand{\tr}{\operatorname{tr}} \newcommand{\re}{\operatorname{Re}} \newcommand{\im}{\operatorname{Im}} \newcommand{\sign}{\operatorname{sign}} \newcommand{\rect}{\operatorname{rect}} \newcommand{\sinc}{\operatorname{si}} \newcommand{\erf}{\operatorname{erf}} \newcommand{\erfc}{\operatorname{erfc}} \newcommand{\kurt}{\operatorname{kurt}} \newcommand{\diag}{\operatorname{diag}} \newcommand{\MSE}{\operatorname{MSE}} \newcommand{\argmin}{\operatorname*{argmin}} \newcommand{\argmax}{\operatorname*{argmax}} \newcommand{\bias}{\operatorname{bias}} \newcommand{\Bin}{\operatorname{Bin}} % Delimiters \newcommand{\paren}[1]{\left(#1\right)} \newcommand{\bracket}[1]{\left[#1\right]} \newcommand{\set}[1]{\left\{#1\right\}} \newcommand{\abs}[1]{\left\lvert #1 \right\rvert} \newcommand{\norm}[1]{\left\lVert #1 \right\rVert} \newcommand{\ip}[1]{\left\langle #1 \right\rangle} % Notation \newcommand{\dd}{\,\mathrm{d}} \newcommand{\tran}{^{\top}} \newcommand{\conv}{\ast} \newcommand{\conj}{^{*}} \newcommand{\herm}{^{\mathsf{H}}} \newcommand{\opt}{^{\star}} % Expectation and variance % \newcommand{\E}[1]{\mathbb{E}\!\left[#1\right]} \newcommand{\E}[2][]{\mathbb{E}_{#1}\!\left[#2\right]} \newcommand{\Var}[1]{\mathbb{V}\!\left[#1\right]} % Distributions \newcommand{\Gauss}{\mathcal{N}} \newcommand{\Uniform}{\mathcal{U}} \newcommand{\FT}{\mathcal{F}} % Probability \newcommand{\Prob}[1]{\mathbb{P}\!\left(#1\right)} % Misc \newcommand{\bsy}[1]{\boldsymbol{#1}} \newcommand{\calR}{\mathcal{R}} \newcommand{\calC}{\mathcal{C}} \]
One answer A known signature, noise of known covariance, and one form for every answer: \[\mathbf R^{-1}\times\text{the known signature}.\]
In the notes The Matched Filter · Inverse Problems · Multichannel Estimation and Beamforming · Sensor Fusion
Detecting a known template \[H_0:\ \mathbf X=\mathbf N\qquad\text{vs.}\qquad H_1:\ \mathbf X=\mathbf u+\mathbf N,\] with \(\mathbf u\) a known template and \(\mathbf N\) zero-mean noise of covariance \(\mathbf R_{\mathbf{NN}}\).
Week 0 asked: which of these contain the face?

Two roads to a detector: assume a distribution and ask for the optimal test, or assume nothing and ask for the best linear score.
Gaussian noise, same covariance, different means: \[\begin{aligned}f(\mathbf x\mid H_0)&=c\,e^{-\frac12\mathbf x\herm\mathbf R_{\mathbf{NN}}^{-1}\mathbf x},\\ f(\mathbf x\mid H_1)&=c\,e^{-\frac12(\mathbf x-\mathbf u)\herm\mathbf R_{\mathbf{NN}}^{-1}(\mathbf x-\mathbf u)} .\end{aligned}\]
Gaussian log-likelihood ratio \[\begin{aligned}\ln\Lambda(\mathbf x)&=\ln f(\mathbf x\mid H_1)-\ln f(\mathbf x\mid H_0)\\ &=-\tfrac12(\mathbf x-\mathbf u)\herm\mathbf R_{\mathbf{NN}}^{-1}(\mathbf x-\mathbf u)+\tfrac12\mathbf x\herm\mathbf R_{\mathbf{NN}}^{-1}\mathbf x\\ &=\re\set{\mathbf u\herm\mathbf R_{\mathbf{NN}}^{-1}\mathbf x}-\tfrac12\,\mathbf u\herm\mathbf R_{\mathbf{NN}}^{-1}\mathbf u .\end{aligned}\]

Threshold \(\ln\Lambda\); the constant \(\tfrac12\mathbf u\herm\mathbf R_{\mathbf{NN}}^{-1}\mathbf u\) moves into \(\gamma\):
Neyman–Pearson test \[\begin{aligned}&\text{decide } H_1 \text{ when}\quad T(\mathbf x)=\re\set{\mathbf w\herm\mathbf x}>\gamma,\\ &\mathbf w=\mathbf R_{\mathbf{NN}}^{-1}\mathbf u,\end{aligned}\] with \(\gamma\) set by the false-alarm rate. Optimal among all tests, and linear in the data.

Optimal and linear. Correlated noise turns \(\mathbf w\) away from \(\mathbf u\).
No distribution assumed. Score with \(T=\mathbf w\herm\mathbf X\): \[\E{T\mid H_0}=0,\qquad\E{T\mid H_1}=\mathbf w\herm\mathbf u,\qquad\Var{T}=\mathbf w\herm\mathbf R_{\mathbf{NN}}\mathbf w\ \text{ under both}.\] The separation in noise units is the deflection: \[d^2(\mathbf w)=\frac{\abs{\E{T\mid H_1}-\E{T\mid H_0}}^2}{\Var{T\mid H_0}} =\frac{\abs{\mathbf w\herm\mathbf u}^2}{\mathbf w\herm\mathbf R_{\mathbf{NN}}\mathbf w}.\]
Whiten, then Cauchy–Schwarz. With \(\mathbf a=\mathbf R_{\mathbf{NN}}^{1/2}\mathbf w\) and \(\mathbf b=\mathbf R_{\mathbf{NN}}^{-1/2}\mathbf u\), \[d^2=\frac{\abs{\mathbf a\herm\mathbf b}^2}{\norm{\mathbf a}^2}\le\norm{\mathbf b}^2,\qquad\text{with equality when }\mathbf a\parallel\mathbf b .\]
Matched filter \[\mathbf w\opt\propto\mathbf R_{\mathbf{NN}}^{-1}\mathbf u,\qquad d^2_{\max}=\mathbf u\herm\mathbf R_{\mathbf{NN}}^{-1}\mathbf u .\]
Two roads
Reading the weights. Independent noise, \(\mathbf R_{\mathbf{NN}}=\diag(\sigma_k^2)\): \(w_k=u_k/\sigma_k^2\), the template with each entry scaled down by its noise power.
Gaussianity collapses “best linear” into “best”, in detection exactly as in estimation.
With \(\mathbf R_{\mathbf{NN}}=R_0\mathbf I\) the weights are the template: \[T=\frac{1}{R_0}\ip{\mathbf X,\mathbf u},\qquad d^2_{\max}=\frac{E_u}{R_0},\qquad E_u=\norm{\mathbf u}^2 .\]

In white noise with per-entry signal-to-noise ratio \(\text{SNR}_1=\abs{u_k}^2/R_0\) over \(N\) entries, \[d^2_{\max}=\frac{E_u}{R_0}=N\cdot\text{SNR}_1 .\]
A template of \(N=1000\) entries at \(-20\) dB per entry reaches \(d^2=10\), that is \(+10\) dB: invisible in every entry, obvious in the score.


In white noise only the template’s energy matters. That is why radar can spread a pulse over a long quiet chirp, and why spread-spectrum signals can hide below the noise floor in every single entry.

For fixed energy the best template points along the weakest noise eigenvector: put the signal where the noise is not. The same noise that swamps a template in its strong directions is harmless in its weak ones.


A narrowband source at \(\theta_0\) reaches sensor \(m\) delayed by \(\tau_m(\theta_0)\); at one frequency \(\Omega\) a delay is a phase. One snapshot: \[\mathbf X=\mathbf a(\theta_0)\,S+\mathbf N .\]
\(S\): the source’s complex amplitude, one complex random variable per snapshot. It carries no direction; that lives in the steering vector \([\mathbf a(\theta)]_m=e^{-j\Omega\tau_m(\theta)}\), the pattern of phases a source at \(\theta\) imprints across the array.
With the direction known, \(\mathbf a(\theta_0)\) is a known template in noise: \(\mathbf w\propto\mathbf R_{\mathbf{NN}}^{-1}\mathbf a(\theta_0)\), \(Y=\mathbf w\herm\mathbf X\).

In white noise \(\mathbf w=\mathbf a(\theta_0)/M\): undo each sensor’s phase, then average. This is the delay-and-sum beamformer.
Delay-and-sum is the matched filter for a direction in white noise.

The delay-and-sum main lobe narrows like \(1/M\): two sources closer than about one beam width look like one. Resolution is bought with aperture, or with a better covariance model.

Direction unknown: every candidate \(\theta\) offers its own template \(\mathbf a(\theta)\). For \(\mathbf X=\mathbf a(\theta)\,S+\mathbf N\) in Gaussian noise, fit \(S\) at each candidate angle and compare the likelihoods.
Maximum-likelihood direction \[P(\theta)=\frac{\abs{\mathbf a(\theta)\herm\mathbf R_{\mathbf{NN}}^{-1}\mathbf X}^2}{\mathbf a(\theta)\herm\mathbf R_{\mathbf{NN}}^{-1}\mathbf a(\theta)},\qquad \widehat\theta=\argmax_\theta P(\theta).\]
Whiten, correlate with each steering vector, normalize. In white noise: the Bartlett scan \(\abs{\mathbf a(\theta)\herm\mathbf X}^2\), on average \(\mathbf a(\theta)\herm\mathbf R_{\mathbf{XX}}\mathbf a(\theta)\).
Detection thresholds one matched filter. Parameter estimation runs a family of matched filters and returns the argmax.
The phase of \([\mathbf a(\theta)]_m\) is the extra path of sensor \(\mathbf p_m\) along the arrival direction, in wavelengths.

A cause \(\mathbf X\) produces an effect through a known forward operator: \[\mathbf Y=\mathbf A\mathbf X+\mathbf N\qquad(\text{a blur, a mixture, a channel, a projection}).\]

Inverse-problem letters: here the data are \(\mathbf Y\) and the cause \(\mathbf X\) is sought; the marks on the flow say which is which.


Denoising, deblurring, super-resolution, demosaicing, inpainting, tomography: one \(\mathbf A\) each. Its shape counts the measurements; its pattern says what each one sees.
Give the cause a prior: \(\mathbf X\) is random with mean \(\mathbf m_0\) and covariance \(\mathbf P_0\). The noise \(\mathbf N\) has zero mean and covariance \(\mathbf R_{\mathbf{NN}}\), and is independent of \(\mathbf X\). The data are \(\mathbf Y=\mathbf A\mathbf X+\mathbf N\).
Regularized inverse The affine estimator \(\widehat{\mathbf X}=\mathbf K\mathbf Y+\mathbf b\) with \(\mathbf K,\mathbf b\) minimizing \(\E{\norm{\mathbf X-\widehat{\mathbf X}}^2}\): \[\begin{aligned}\widehat{\mathbf X}&=\mathbf m_0+\mathbf C_{\mathbf{XY}}\mathbf C_{\mathbf{YY}}^{-1}\paren{\mathbf Y-\E{\mathbf Y}}\\ &=\mathbf m_0+\mathbf P_0\mathbf A\herm\paren{\mathbf A\mathbf P_0\mathbf A\herm+\mathbf R_{\mathbf{NN}}}^{-1}(\mathbf Y-\mathbf A\mathbf m_0),\end{aligned}\] with error covariance \(\mathbf C_{\mathbf{EE}}=\mathbf P_0-\mathbf C_{\mathbf{XY}}\mathbf C_{\mathbf{YY}}^{-1}\mathbf C_{\mathbf{XY}}\herm\).
Proof. Only the moments enter. \(\mathbf N\) has zero mean and is independent of \(\mathbf X\), so \[\E{\mathbf Y}=\mathbf A\mathbf m_0,\qquad \mathbf C_{\mathbf{XY}}=\E{(\mathbf X-\mathbf m_0)(\mathbf Y-\mathbf A\mathbf m_0)\herm}=\mathbf P_0\mathbf A\herm,\qquad \mathbf C_{\mathbf{YY}}=\mathbf A\mathbf P_0\mathbf A\herm+\mathbf R_{\mathbf{NN}} .\]
The same estimator has a second form, which inverts a matrix the size of the unknown, not of the data:
Information form \[\mathbf P^{-1}=\mathbf P_0^{-1}+\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf A,\qquad \widehat{\mathbf X}=\mathbf P\paren{\mathbf P_0^{-1}\mathbf m_0+\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf Y},\] and \(\mathbf P=\mathbf C_{\mathbf{EE}}\) is the error covariance.
Prior precision plus data precision. The data enter weighted by \(\mathbf R_{\mathbf{NN}}^{-1}\) because that is their precision; the prior counts as one more measurement.
Flat prior: weighted least squares
Let \(\mathbf P_0^{-1}\to\mathbf 0\): \(\mathbf m_0\) drops out, and \[\widehat{\mathbf X}=(\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf A)^{-1}\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf Y,\qquad \mathbf C_{\mathbf{EE}}=(\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf A)^{-1}.\] Isotropic noise, \(\mathbf R_{\mathbf{NN}}=\sigma^2\mathbf I\): \(\widehat{\mathbf X}=(\mathbf A\herm\mathbf A)^{-1}\mathbf A\herm\mathbf Y=\mathbf A^{+}\mathbf Y\), the pseudo-inverse.
The key statement: the gain \(\mathbf C_{\mathbf{XY}}\mathbf C_{\mathbf{YY}}^{-1}\) has two forms, \[\mathbf P_0\mathbf A\herm\paren{\mathbf A\mathbf P_0\mathbf A\herm+\mathbf R_{\mathbf{NN}}}^{-1} =\paren{\mathbf P_0^{-1}+\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf A}^{-1}\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}=\mathbf P\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}.\]
Push-through. Multiply out, then multiply by \(\mathbf P\) on the left and by \(\mathbf C_{\mathbf{YY}}^{-1}\) on the right: \[\paren{\mathbf P_0^{-1}+\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf A}\mathbf P_0\mathbf A\herm=\mathbf A\herm+\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf A\mathbf P_0\mathbf A\herm =\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\paren{\mathbf A\mathbf P_0\mathbf A\herm+\mathbf R_{\mathbf{NN}}}.\]
Estimate. Into the regularized inverse: \[\begin{aligned}\widehat{\mathbf X}&=\mathbf m_0+\mathbf P\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}(\mathbf Y-\mathbf A\mathbf m_0) =\mathbf P\paren{\paren{\mathbf P^{-1}-\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf A}\mathbf m_0+\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf Y}\\ &=\mathbf P\paren{\mathbf P_0^{-1}\mathbf m_0+\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf Y}.\end{aligned}\]
Error covariance. Likewise: \[\mathbf C_{\mathbf{EE}}=\mathbf P_0-\mathbf P\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf A\mathbf P_0 =\mathbf P\paren{\mathbf P^{-1}-\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf A}\mathbf P_0=\mathbf P .\]
Only means and covariances entered: no Gaussian needed.
The same answer without probability: fit the data in the noise metric, stay near \(\mathbf m_0\) in the prior metric, \[J(\mathbf x)=(\mathbf Y-\mathbf A\mathbf x)\herm \mathbf R_{\mathbf{NN}}^{-1}(\mathbf Y-\mathbf A\mathbf x)+(\mathbf x-\mathbf m_0)\herm\mathbf P_0^{-1}(\mathbf x-\mathbf m_0).\]
Gradient. Treat \(\mathbf x\) and \(\mathbf x\conj\) as independent (Wirtinger) and differentiate both terms: \[\begin{aligned}\frac{\partial J}{\partial\mathbf x\conj}&=-\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}(\mathbf Y-\mathbf A\mathbf x)+\mathbf P_0^{-1}(\mathbf x-\mathbf m_0)=\mathbf 0\\ \Longleftrightarrow\quad\paren{\mathbf P_0^{-1}+\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf A}\widehat{\mathbf X}&=\mathbf P_0^{-1}\mathbf m_0+\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf Y,\qquad\text{the information form.}\end{aligned}\]
Without the penalty, \(J\) is plain least squares after whitening, \(\norm{\widetilde{\mathbf Y}-\widetilde{\mathbf A}\mathbf x}^2\) with \(\widetilde{\mathbf Y}=\mathbf R_{\mathbf{NN}}^{-1/2}\mathbf Y\) and \(\widetilde{\mathbf A}=\mathbf R_{\mathbf{NN}}^{-1/2}\mathbf A\). Its residual is orthogonal to the columns of \(\widetilde{\mathbf A}\): \[\widetilde{\mathbf A}\herm\paren{\widetilde{\mathbf Y}-\widetilde{\mathbf A}\widehat{\mathbf X}}=\mathbf 0 \quad\Longleftrightarrow\quad \mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf A\,\widehat{\mathbf X}=\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf Y ,\qquad\text{weighted least squares.}\]
Without the penalty it needs \(\mathbf A\herm \mathbf R_{\mathbf{NN}}^{-1}\mathbf A\) invertible, \(\mathbf A\) tall and full rank: the problem is well posed.
Three readings of the regularized inverse \[\begin{aligned}\widehat{\mathbf X}&=\underbrace{\arg\min_{\mathbf x}J(\mathbf x)}_{\text{penalized least squares}}=\underbrace{\mathbf m_0+\mathbf C_{\mathbf{XY}}\mathbf C_{\mathbf{YY}}^{-1}(\mathbf Y-\mathbf A\mathbf m_0)}_{\text{best affine estimator}}\\ &\overset{\text{Gaussian}}{=}\underbrace{\arg\max_{\mathbf x}f_{\mathbf X\mid\mathbf Y}(\mathbf x\mid\mathbf Y)}_{\text{MAP}}=\underbrace{\E{\mathbf X\mid\mathbf Y}}_{\text{MMSE}}\end{aligned}\]
Under joint Gaussianity the formula is optimal among all estimators. Away from it, it is still the best affine one.
\(\mathbf A=\mathbf I\): observe the signal itself in white noise, \(\mathbf Y=\mathbf X+\mathbf N\). Then \(\widehat{\mathbf X}=\mathbf C_{\mathbf{XX}}\paren{\mathbf C_{\mathbf{XX}}+\sigma_N^2\mathbf I}^{-1}\mathbf Y\), and in the KLT coordinates of \(\mathbf C_{\mathbf{XX}}\) it applies independent gains \[g_k=\frac{\lambda_k}{\lambda_k+\sigma_N^2}\in(0,1).\]

The sensor attenuates: \(Y[k]=a_kX[k]+N[k]\) with \(a_k=e^{-k/\tau}\), so \(\mathbf A=\operatorname{diag}(a_0,\dots,a_{K-1})\): square, invertible. Signal \(X[k]=\sin(\Omega_0k)\), white noise \(\sigma_N=0.02\). The plain inverse multiplies by the growth \(e^{k/\tau}\): \[\paren{\mathbf A^{-1}\mathbf Y}[k]=X[k]+e^{k/\tau}N[k],\qquad\text{noise standard deviation }\sigma_Ne^{k/\tau}.\]

Prior \(\mathbf m_0=\mathbf 0\), \(\mathbf P_0=\sigma_X^2\mathbf I\) (\(\sigma_X^2=\tfrac12\), the sinusoid’s power). \(\mathbf A\) is diagonal: one scalar problem per sample, \[\widehat X[k]=\frac{a_k\sigma_X^2}{a_k^2\sigma_X^2+\sigma_N^2}\,Y[k]=g_k\,\frac{Y[k]}{a_k},\qquad g_k=\frac{\mathrm{SNR}_k}{\mathrm{SNR}_k+1},\quad\mathrm{SNR}_k=\frac{a_k^2\sigma_X^2}{\sigma_N^2}.\]

The plain inverse, damped by the denoising gain at each sample’s SNR: where the signal is buried, \(\widehat X[k]\) falls back to the prior mean \(0\).
An ill-posed \(\mathbf A\): a Gaussian blur (width 6 samples), 1% noise, undone with and without a prior.

Without a prior the inverse amplifies what the blur left in its weak directions: noise. The prior’s \(\mathbf P_0^{-1}\) in \(\mathbf P^{-1}\) lifts exactly those directions; choosing it well is the hard part.
With \(\mathbf m_0=\mathbf 0\), \(\mathbf P_0=\delta^{-1}\mathbf I\), \(\mathbf R_{\mathbf{NN}}=\mathbf I\) the regularized inverse is ridge regression, \((\mathbf A\herm\mathbf A+\delta\mathbf I)^{-1}\mathbf A\herm\mathbf Y\); \(\delta\) sets how strongly the prior pulls.

Too little: the noise explodes. Too much: the signal is flattened. The best \(\delta\) is the noise-to-signal ratio of the prior, \(\sigma_N^2/\sigma_X^2\) per component, which the probabilistic reading hands you and the purely deterministic one does not.
One pixel, \(412\) channels (\(0.4\)–\(2.5\,\mu\)m), three materials: \(\mathbf Y=\mathbf a_1X_1+\mathbf a_2X_2+\mathbf a_3X_3+\mathbf N=\mathbf A\mathbf X+\mathbf N\), with \(\mathbf a_k\) laboratory reflectance spectra, \(X_k\) area fractions, \(\sigma_N=0.1\) per channel. Prior for the regularized inverse: \(\mathbf m_0=\tfrac13\mathbf 1\), \(\mathbf P_0=0.1^2\,\mathbf I\).

The spectra are \(32\) to \(43^\circ\) apart: \(\mathbf A\tran\mathbf A\) is well conditioned, least squares alone gets the fractions, and the prior barely changes them. Error bars: \(\pm\) one standard deviation, from \(\mathbf C_{\mathbf{EE}}\).
Replace hematite by a second clay, montmorillonite, \(4^\circ\) from kaolinite. Least squares is unbiased with \(\mathbf C_{\mathbf{EE}}=\sigma_N^2(\mathbf A\tran\mathbf A)^{-1}\): its error is largest along the eigenvector of the smallest eigenvalue \(\lambda_{\min}\) of \(\mathbf A\tran\mathbf A\), with variance \(\sigma_N^2/\lambda_{\min}\).

The sum \(X_2+X_3\) stays sharp, the split does not. The prior cuts the spread about threefold and pays with a bias towards \(\tfrac13\). How hard the problem is can be read off \(\mathbf A\) before any data arrive.
\(\mathbf A\) keeps the left half: 2048 rows of the identity, so \(\mathbf Y=\mathbf A\mathbf X+\mathbf N\) holds 2048 measurements of 4096 unknowns, with a little noise (\(\sigma_N=0.02\)). Prior: mean \(\mathbf m_0\) and covariance \(\mathbf P_0\) of 320 training faces, plus a white floor \(\bar\lambda\mathbf I\).

\(\mathbf A\herm\mathbf A\) is singular: the data say nothing about the right half, and \(\mathbf A^{+}\mathbf Y\) leaves it at zero. The prior fills it: \(\mathbf P_0\mathbf A\herm\) carries what the left half says across the mirror line. Week 5’s conditional mean, read as an inverse problem.
\(\mathbf A\) blurs rows and columns with a Gaussian of width 2 pixels, \(\mathbf A=\mathbf B\otimes\mathbf B\): square, \(4096\times4096\), invertible. Noise \(\sigma_N=0.01\). Same face prior as before.

Square and invertible, and still ill posed: \(\mathbf A^{-1}\mathbf Y\) is the noise divided by the blur’s smallest singular values. Any prior tames it; a prior that knows faces puts back what the blur took.

Now the direction is known and the waveform is sought. Give \(S\) zero mean and power \(\sigma_S^2\); \(\mathbf N\) holds noise and interference. The information form with \(\mathbf A=\mathbf a(\theta_0)\) and \(\mathbf P_0=\sigma_S^2\) inverts a scalar:
Regularized inverse, one column \[\widehat S=\frac{\mathbf a\herm\mathbf R_{\mathbf{NN}}^{-1}\mathbf X}{\sigma_S^{-2}+\mathbf a\herm\mathbf R_{\mathbf{NN}}^{-1}\mathbf a},\qquad C_{EE}=\frac{1}{\sigma_S^{-2}+\mathbf a\herm\mathbf R_{\mathbf{NN}}^{-1}\mathbf a} .\]
White noise, \(\mathbf R_{\mathbf{NN}}=\sigma^2\mathbf I\): \(\widehat S=\dfrac{\mathbf a\herm\mathbf X}{M+\sigma^2/\sigma_S^2}\), delay-and-sum \(\mathbf a\herm\mathbf X/M\) shrunk toward zero. Flat prior, \(\sigma_S^2\to\infty\): delay-and-sum itself.
A different starting point: no model of the data, only a specification. Pass the look direction with gain one, let through as little power as possible: \[\min_{\mathbf w}\ \mathbf w\herm\mathbf R_{\mathbf{XX}}\mathbf w\quad\text{subject to}\quad\mathbf w\herm\mathbf a(\theta_0)=1 .\]
Whiten, then Cauchy–Schwarz: \(\mathbf v=\mathbf R_{\mathbf{XX}}^{1/2}\mathbf w\), \(\mathbf b=\mathbf R_{\mathbf{XX}}^{-1/2}\mathbf a(\theta_0)\), constraint \(\mathbf v\herm\mathbf b=1\), \[1=\abs{\mathbf v\herm\mathbf b}^2\le\norm{\mathbf v}^2\norm{\mathbf b}^2\ \Rightarrow\ \norm{\mathbf v}^2\ge1/\norm{\mathbf b}^2,\quad\text{equality iff }\mathbf v\parallel\mathbf b .\]
MVDR beamformer \[\mathbf w_{\text{MVDR}}=\frac{\mathbf R_{\mathbf{XX}}^{-1}\mathbf a(\theta_0)}{\mathbf a(\theta_0)\herm\mathbf R_{\mathbf{XX}}^{-1}\mathbf a(\theta_0)},\qquad P_{\min}(\theta_0)=\frac{1}{\mathbf a(\theta_0)\herm\mathbf R_{\mathbf{XX}}^{-1}\mathbf a(\theta_0)} .\]
\(\mathbf R_{\mathbf{XX}}\) is measured, interference included, and no noise model is needed. An interferer inflates \(\mathbf R_{\mathbf{XX}}\) along its own steering vector, and \(\mathbf R_{\mathbf{XX}}^{-1}\) suppresses exactly there.

→ Demo: delay-and-sum against MVDR, and what a short record does
Suppose the data do follow \(\mathbf X=\mathbf a S+\mathbf N\), the source exactly along \(\mathbf a=\mathbf a(\theta_0)\) and uncorrelated with \(\mathbf N\). Then \(\mathbf R_{\mathbf{XX}}=\sigma_S^2\mathbf a\mathbf a\herm+\mathbf R_{\mathbf{NN}}\), and on the constraint \(\mathbf w\herm\mathbf a=1\) \[\mathbf w\herm\mathbf R_{\mathbf{XX}}\mathbf w=\sigma_S^2\abs{\mathbf w\herm\mathbf a}^2+\mathbf w\herm\mathbf R_{\mathbf{NN}}\mathbf w=\sigma_S^2+\mathbf w\herm\mathbf R_{\mathbf{NN}}\mathbf w .\] The costs differ by a constant: the same minimizer, and the flat-prior estimate of the first slide, \[\widehat S_{\text{MVDR}}=\frac{\mathbf a\herm\mathbf R_{\mathbf{NN}}^{-1}\mathbf X}{\mathbf a\herm\mathbf R_{\mathbf{NN}}^{-1}\mathbf a}\qquad\text{(weighted least squares).}\]
With the prior: the regularized inverse is MVDR, then a scalar shrinkage, \[\widehat S=\frac{\text{SNR}}{1+\text{SNR}}\,\widehat S_{\text{MVDR}},\qquad\text{SNR}=\sigma_S^2\,\mathbf a\herm\mathbf R_{\mathbf{NN}}^{-1}\mathbf a,\] the output SNR of MVDR: source power over the output noise power \(1/\mathbf a\herm\mathbf R_{\mathbf{NN}}^{-1}\mathbf a\).
When the model is wrong, the two part. A look direction \(2^\circ\) off: MVDR keeps gain one along \(\mathbf a(\theta_0)\) and suppresses the real source.
LCMV beamformer Minimize \(\mathbf w\herm\mathbf R_{\mathbf{XX}}\mathbf w\) subject to \(\mathbf C\herm\mathbf w=\mathbf g\): \[\mathbf w_{\text{LCMV}}=\mathbf R_{\mathbf{XX}}^{-1}\mathbf C\paren{\mathbf C\herm\mathbf R_{\mathbf{XX}}^{-1}\mathbf C}^{-1}\mathbf g .\]
Proof. Whiten, \(\mathbf v=\mathbf R_{\mathbf{XX}}^{1/2}\mathbf w\), \(\mathbf B=\mathbf R_{\mathbf{XX}}^{-1/2}\mathbf C\): \(\quad\min_{\mathbf v}\norm{\mathbf v}^2\) subject to \(\mathbf B\herm\mathbf v=\mathbf g\).
1. Project. Split \(\mathbf v=\mathbf B\mathbf c+\mathbf v_\perp\): its projection onto the columns of \(\mathbf B\), plus a rest with \(\mathbf B\herm\mathbf v_\perp=\mathbf 0\). The constraint does not see \(\mathbf v_\perp\), and in the norm the cross term \(\mathbf c\herm\mathbf B\herm\mathbf v_\perp\) vanishes: \[\mathbf B\herm\mathbf v=\mathbf B\herm\mathbf B\,\mathbf c=\mathbf g,\qquad \norm{\mathbf v}^2=\norm{\mathbf B\mathbf c}^2+\norm{\mathbf v_\perp}^2 .\]
2. Solve and unwhiten. \(\mathbf v_\perp\) only costs power, so the minimum has \(\mathbf v=\mathbf B\mathbf c\): \[\mathbf c=\paren{\mathbf B\herm\mathbf B}^{-1}\mathbf g=\paren{\mathbf C\herm\mathbf R_{\mathbf{XX}}^{-1}\mathbf C}^{-1}\mathbf g,\qquad \mathbf w=\mathbf R_{\mathbf{XX}}^{-1/2}\mathbf B\,\mathbf c=\mathbf R_{\mathbf{XX}}^{-1}\mathbf C\,\mathbf c .\]
With \(\mathbf C=\mathbf a(\theta_0)\), \(\mathbf g=1\): MVDR again. Each constraint costs one of the \(M\) degrees of freedom, and is a specification, not a model: nulls, gain patterns, a widened main beam.
Estimation letters, as in the beamformer: \(\mathbf X_i\) the readings, \(\mathbf Y\) the unknown. \[\mathbf X_i=\mathbf H_i\mathbf Y+\mathbf N_i,\qquad i=1,\dots,M,\] independent noises \(\mathbf R_i\), and a prior \((\mathbf m_0,\mathbf P_0)\).

A direction no \(\mathbf H_i\) looks along gets certainty from no sensor.
Stack the sensors, \(\mathbf X=\mathbf H\mathbf Y+\mathbf N\) with \(\mathbf H=[\mathbf H_1;\dots;\mathbf H_M]\) and \(\mathbf R=\diag(\mathbf R_1,\dots,\mathbf R_M)\): one tall inverse problem. In its information form the block-diagonal \(\mathbf R\) splits \(\mathbf H\herm\mathbf R^{-1}\mathbf H\) into a sum over sensors:
Fused estimate \[\mathbf P^{-1}=\mathbf P_0^{-1}+\sum_i\mathbf H_i\herm\mathbf R_i^{-1}\mathbf H_i ,\qquad \widehat{\mathbf Y}=\mathbf P\paren{\mathbf P_0^{-1}\mathbf m_0+\sum_i\mathbf H_i\herm\mathbf R_i^{-1}\mathbf X_i}.\]
The scalar fusion of the Bayesian week (two sensors, precisions \(1/\sigma_i^2\)), promoted to matrices: precisions add, the prior is one more measurement, and each sensor is weighted by \(\mathbf R_i^{-1}\) times its signature \(\mathbf H_i\).
One held-out face \(\mathbf Y\). \(\mathbf H_1\) blurs (Gaussian, width 3 px, \(\sigma_1=0.05\)), \(\mathbf H_2\) keeps the top 40% (\(\sigma_2=0.02\)), \(\mathbf H_3\) differences neighbouring pixels from left to right, a high-pass (\(\sigma_3=0.01\)). Prior: the mean face, \(\mathbf P_0=\bar\lambda\mathbf I\), so every detail must come from the sensors.

Treat the unknown as a fixed parameter \(\mathbf y\). The score of the scalar week becomes a gradient, and the Fisher information a matrix: \[\mathbf s=\nabla_{\mathbf y}\ln f(\mathbf X;\mathbf y),\qquad\mathbf I=\E{\mathbf s\mathbf s\herm} .\]
With Gaussian noise, \(\ln f=c-\tfrac12\sum_i(\mathbf X_i-\mathbf H_i\mathbf y)\herm\mathbf R_i^{-1}(\mathbf X_i-\mathbf H_i\mathbf y)\); the noises are independent, so no cross terms survive: \[\mathbf s=\sum_i\mathbf H_i\herm\mathbf R_i^{-1}(\mathbf X_i-\mathbf H_i\mathbf y)=\sum_i\mathbf H_i\herm\mathbf R_i^{-1}\mathbf N_i ,\] \[\mathbf I=\sum_i\mathbf H_i\herm\mathbf R_i^{-1}\E{\mathbf N_i\mathbf N_i\herm}\mathbf R_i^{-1}\mathbf H_i=\sum_i\mathbf H_i\herm\mathbf R_i^{-1}\mathbf H_i .\]
Precision adds information
\(\mathbf P^{-1}=\mathbf P_0^{-1}+\mathbf I\): posterior precision is prior precision plus Fisher information. Without a prior the fused covariance is the Cramér–Rao bound, attained.

Each \(\mathbf H_i\herm\mathbf R_i^{-1}\mathbf H_i\) is rank one: certainty only along the direction that sensor sees. Neither alone pins the unknown down; together they do.
→ Demo: two directional sensors, precisions that add, and sequential fusion
Fusing complementary sensors Unknown \(\mathbf Y=[P,V]\tran\). Satellite fix: position only, \(\mathbf H_1=[1\ 0]\). Inertial unit: velocity only, \(\mathbf H_2=[0\ 1]\). No prior: \[\begin{aligned}\mathbf P^{-1}&=\begin{bmatrix}\sigma_g^{-2}&0\\0&0\end{bmatrix}+\begin{bmatrix}0&0\\0&\sigma_a^{-2}\end{bmatrix}\\ &=\diag\paren{\sigma_g^{-2},\sigma_a^{-2}} .\end{aligned}\]

Each summand is singular; the sum is not. When instruments fail in different directions, the information form weighs each by what it sees: never “average them”.
| instrument | known signature | answer |
|---|---|---|
| matched filter | template \(\mathbf u\) | \(\mathbf R_{\mathbf{NN}}^{-1}\mathbf u\) |
| regularized inverse | forward model \(\mathbf A\) | \(\mathbf P_0\mathbf A\herm(\mathbf A\mathbf P_0\mathbf A\herm+\mathbf R_{\mathbf{NN}})^{-1}\) |
| MVDR beamformer | steering vector \(\mathbf a(\theta_0)\) | \(\mathbf R_{\mathbf{XX}}^{-1}\mathbf a\,/\,\mathbf a\herm\mathbf R_{\mathbf{XX}}^{-1}\mathbf a\) |
| fusion | measurement maps \(\mathbf H_i\) | \(\mathbf P\,\mathbf H_i\herm\mathbf R_i^{-1}\) |
Whiten with the inverse covariance, then correlate with what you know. Every row is the projection of estimation-as-projection, or its Cauchy–Schwarz twin.
This week