Unit 10, lesson 54

Inverse Problems and Regularization

How small singular values amplify noise in an inverse problem, how truncated SVD and Tikhonov regularization control it through filter factors, the residual and solution norm tradeoff, and what no method can recover.

  • Video 54
  • Capstones in Structure and Reconstruction

An instrument records one direction of its input accurately, a second direction weakly and a third not at all. Should a reconstruction fit the noisy data as closely as possible? The closest fit divides measurement noise by the weak gain and still says nothing about the third direction. This lesson compares three reconstructions, the pseudoinverse, truncated SVD and Tikhonov regularization, by their residuals, their sizes and their sensitivity to noise, and it separates what a better method can control from what no method can recover. Throughout, F\mathbb{F} is R\mathbb{R} or C\mathbb{C} and every norm is the Euclidean norm.

Key terms

Inverse problem

Definition Let A∈Fm×nA \in \mathbb{F}^{m \times n} be a known matrix that models a measurement. A linear inverse problem asks for an estimate of an unknown input xtrue∈Fnx_{\text{true}} \in \mathbb{F}^{n} from observed data

b=Axtrue+e∈Fm,b = Ax_{\text{true}} + e \in \mathbb{F}^{m},

where the noise ee is unknown too. Take a full SVD A=UΣV∗A = U\Sigma V^{*} with UU and VV unitary, columns u1,…,umu_1, \dots, u_m of UU and v1,…,vnv_1, \dots, v_n of VV, rank r≥1r \ge 1 and positive singular values σ1≥⋯≥σr>0\sigma_1 \ge \dots \ge \sigma_r > 0. Then Avj=σjujAv_j = \sigma_j u_j for j≤rj \le r and Avj=0Av_j = 0 for j>rj > r. Write βj=uj∗b\beta_j = u_j^{*}b for the coordinates of the data. The baseline reconstruction is the pseudoinverse solution

x+=A+b=∑j=1rβjσj vj,x^{+} = A^{+}b = \sum_{j=1}^{r} \frac{\beta_j}{\sigma_j}\, v_j,

the least-squares solution of smallest norm. The least-squares solutions are exactly the vectors x++zx^{+} + z with z∈ker⁡Az \in \ker A. Noise amplification, the weakness of this baseline, means that a small error in the data can become a much larger error in the reconstruction. The noise passes through linearly, as

A+e=∑j=1ruj∗eσj vj,A^{+}e = \sum_{j=1}^{r} \frac{u_j^{*}e}{\sigma_j}\, v_j,

so the component of the noise along uju_j is multiplied by 1/σj1/\sigma_j for j≤rj \le r, and the components along uju_j with j>rj > r are dropped. Because the vjv_j are orthonormal and ∑j∣uj∗e∣2=∥e∥2\sum_{j} \lvert u_j^{*}e \rvert^2 = \lVert e \rVert^2, this gives

∥A+e∥≤∥e∥σr,\lVert A^{+}e \rVert \le \frac{\lVert e \rVert}{\sigma_r},

with equality when ee is a multiple of uru_r. For square invertible AA and xtrue≠0x_{\text{true}} \ne 0, the reconstruction x+=A−1bx^{+} = A^{-1}b has error x+−xtrue=A−1ex^{+} - x_{\text{true}} = A^{-1}e, and the same bound together with ∥Axtrue∥≤σ1∥xtrue∥\lVert Ax_{\text{true}} \rVert \le \sigma_1 \lVert x_{\text{true}} \rVert gives the relative bound

∥x+−xtrue∥∥xtrue∥≤κ2(A) ∥e∥∥Axtrue∥,κ2(A)=σ1σn.\begin{gathered} \frac{\lVert x^{+} - x_{\text{true}} \rVert}{\lVert x_{\text{true}} \rVert} \le \kappa_2(A)\, \frac{\lVert e \rVert}{\lVert Ax_{\text{true}} \rVert}, \\[0.4em] \kappa_2(A) = \frac{\sigma_1}{\sigma_n}. \end{gathered}

In plain words You know how the instrument responds and you see its noisy output. In singular coordinates the instrument multiplies the input coordinate along vjv_j by the gain σj\sigma_j, so undoing it means dividing by σj\sigma_j. That is harmless for a large gain, magnifies noise for a small one and is impossible for a zero one.

Example Take the real matrix and data

A=[10001100000],b=[11503100].A = \begin{bmatrix} 1 & 0 & 0 \\ 0 & \tfrac{1}{10} & 0 \\ 0 & 0 & 0 \end{bmatrix}, \qquad b = \begin{bmatrix} 1 \\ \tfrac{1}{50} \\ \tfrac{3}{100} \end{bmatrix}.

Here U=V=IU = V = I, the singular values are 11, 110\tfrac{1}{10} and 00, the rank is 22 and β=b\beta = b. The pseudoinverse gives x+=(1,15,0)x^{+} = (1, \tfrac15, 0), with fitted data (1,150,0)(1, \tfrac{1}{50}, 0), residual b−Ax+=(0,0,3100)b - Ax^{+} = (0, 0, \tfrac{3}{100}) and ∥x+∥2=2625\lVert x^{+} \rVert^2 = \tfrac{26}{25}. To see the noise at work, construct an input for comparison, xtrue=(1,110,7)x_{\text{true}} = (1, \tfrac{1}{10}, 7). A real solver is never handed such a vector. The noiseless data of this input are (1,1100,0)(1, \tfrac{1}{100}, 0), so the noise is e=(0,1100,3100)e = (0, \tfrac{1}{100}, \tfrac{3}{100}) and

A+e=(0,110,0).A^{+}e = (0, \tfrac{1}{10}, 0).

The data error 1100\tfrac{1}{100} in the weak channel became an error of 110\tfrac{1}{10} in the second coordinate of the reconstruction, ten times larger, which is why x+x^{+} reports 15\tfrac15 instead of 110\tfrac{1}{10}. Even so, the residual norm of x+x^{+} is 3100\tfrac{3}{100}, smaller than the residual norm ∥e∥=10100≈0.032\lVert e \rVert = \tfrac{\sqrt{10}}{100} \approx 0.032 of the input that actually produced the data.

Truncated SVD reconstruction

Definition In the setting above, choose a threshold τ>0\tau > 0. The truncated SVD reconstruction keeps only the singular directions with σj>τ\sigma_j > \tau,

xτ=∑j : σj>τβjσj vj.x_{\tau} = \sum_{j \,:\, \sigma_j > \tau} \frac{\beta_j}{\sigma_j}\, v_j .

If exactly kk singular values exceed τ\tau, then xτ=Ak+bx_{\tau} = A_k^{+}b for the rank kk truncation Ak=∑j=1kσjujvj∗A_k = \sum_{j=1}^{k} \sigma_j u_j v_j^{*}, so xτx_{\tau} is the minimum-norm least-squares solution for the truncated matrix. Since vj∗A∗b=σjβjv_j^{*}A^{*}b = \sigma_j \beta_j, the reconstruction equals ∑σj>τσj−2 vjvj∗A∗b\sum_{\sigma_j > \tau} \sigma_j^{-2}\, v_j v_j^{*} A^{*}b, and grouping equal singular values turns the sum of the vjvj∗v_j v_j^{*} into orthogonal projectors onto eigenspaces of A∗AA^{*}A. So xτx_{\tau} does not depend on which SVD is used, even when singular values repeat. Every retained data coordinate βj\beta_j is multiplied by 1/σj<1/τ1/\sigma_j < 1/\tau, and discarded directions contribute nothing. The threshold is a modeling decision tied to the noise level, the units or the resolution needed. Linear algebra alone does not supply it.

In plain words Trust a direction only when the instrument records it strongly enough, and report nothing in the others. This removes the noise in a weak direction together with any real signal there.

Example With τ=320\tau = \tfrac{3}{20} the singular value 11 is kept, 110\tfrac{1}{10} is discarded and 00 was never invertible. So xτ=(1,0,0)x_{\tau} = (1, 0, 0), with residual (0,150,3100)(0, \tfrac{1}{50}, \tfrac{3}{100}) and

∥b−Axτ∥2=12500+910000=1310000.\begin{aligned} \lVert b - Ax_{\tau} \rVert^2 &= \frac{1}{2500} + \frac{9}{10000} \\[0.4em] &= \frac{13}{10000}. \end{aligned}

The residual norm is 13100≈0.036\tfrac{\sqrt{13}}{100} \approx 0.036 and the solution norm is 11. Changing the second data value no longer changes the answer, but the second coordinate 110\tfrac{1}{10} of the constructed input is lost as well.

Tikhonov regularization

Definition Let A∈Fm×nA \in \mathbb{F}^{m \times n}, b∈Fmb \in \mathbb{F}^{m} and λ>0\lambda > 0. Here λ\lambda is a penalty parameter, not an eigenvalue. Tikhonov regularization chooses x∈Fnx \in \mathbb{F}^{n} to minimize

Jλ(x)=∥Ax−b∥2+λ∥x∥2.J_{\lambda}(x) = \lVert Ax - b \rVert^2 + \lambda \lVert x \rVert^2 .

The theorem says that JλJ_{\lambda} has exactly one minimizer xλx_{\lambda}, that xλx_{\lambda} is the unique solution of the regularized normal equations

(A∗A+λIn) x=A∗b,(A^{*}A + \lambda I_n)\, x = A^{*}b,

and that in a full SVD of AA

xλ=∑j=1rσjβjσj2+λ vj.x_{\lambda} = \sum_{j=1}^{r} \frac{\sigma_j \beta_j}{\sigma_j^2 + \lambda}\, v_j .

For the proof, put c=V∗xc = V^{*}x. Unitary matrices preserve norms, so

Jλ(x)=∑j=1r(∣σjcj−βj∣2+λ∣cj∣2)+λ∑j=r+1n∣cj∣2+∑j=r+1m∣βj∣2.\begin{aligned} J_{\lambda}(x) &= \sum_{j=1}^{r} \bigl( \lvert \sigma_j c_j - \beta_j \rvert^2 + \lambda \lvert c_j \rvert^2 \bigr) \\[0.4em] &\quad + \lambda \sum_{j=r+1}^{n} \lvert c_j \rvert^2 \\[0.4em] &\quad + \sum_{j=r+1}^{m} \lvert \beta_j \rvert^2 . \end{aligned}

Each term involves one coefficient. In a term with j≤rj \le r, put σ=σj\sigma = \sigma_j, β=βj\beta = \beta_j, a=σ2+λ>0a = \sigma^2 + \lambda > 0 and c0=σβ/ac_0 = \sigma\beta / a, and complete the square,

∣σc−β∣2+λ∣c∣2=a∣c∣2−2Re⁡(σc‾ β)+∣β∣2=a∣c−c0∣2+λ∣β∣2a.\begin{aligned} &\lvert \sigma c - \beta \rvert^2 + \lambda \lvert c \rvert^2 \\[0.4em] &\quad = a \lvert c \rvert^2 - 2\operatorname{Re}(\sigma \overline{c}\, \beta) + \lvert \beta \rvert^2 \\[0.4em] &\quad = a \lvert c - c_0 \rvert^2 + \frac{\lambda \lvert \beta \rvert^2}{a}. \end{aligned}

Expanding a∣c−c0∣2a \lvert c - c_0 \rvert^2 gives back the same cross term, and the constants agree because ∣β∣2−σ2∣β∣2/a=λ∣β∣2/a\lvert \beta \rvert^2 - \sigma^2 \lvert \beta \rvert^2 / a = \lambda \lvert \beta \rvert^2 / a. So the term is smallest exactly at cj=c0c_j = c_0. A term λ∣cj∣2\lambda \lvert c_j \rvert^2 with j>rj > r is smallest exactly at cj=0c_j = 0, because λ>0\lambda > 0, and the last sum does not involve xx. This proves existence, uniqueness and the formula without any calculus. For the linear system, every z≠0z \ne 0 gives

z∗(A∗A+λI)z=∥Az∥2+λ∥z∥2>0,\begin{aligned} &z^{*}(A^{*}A + \lambda I)z \\[0.4em] &\quad = \lVert Az \rVert^2 + \lambda \lVert z \rVert^2 > 0, \end{aligned}

so A∗A+λIA^{*}A + \lambda I is positive definite and invertible even when AA is rank deficient. In the basis of the vjv_j it is diagonal with entries σj2+λ\sigma_j^2 + \lambda, where σj=0\sigma_j = 0 for j>rj > r, and V∗A∗bV^{*}A^{*}b has entries σjβj\sigma_j \beta_j for j≤rj \le r and 00 after that, so its solution has the coordinates found above. At λ=0\lambda = 0 the coordinates cjc_j with j>rj > r drop out of the function, so the minimizer is not unique when r<nr < n.

In plain words Ask for a good fit, but charge a price λ\lambda for every unit of squared size. Directions with a large gain hardly feel the price, and directions with a small gain are damped. The penalty measures size in the units of the input, so changing the units of one coordinate changes what counts as large, and a weighted penalty may be the honest model.

Example For the running AA and bb with λ=1100\lambda = \tfrac{1}{100}, the coefficients are

c1=1⋅11+1100=100101,c2=110⋅1501100+1100=110,\begin{gathered} c_1 = \frac{1 \cdot 1}{1 + \tfrac{1}{100}} = \frac{100}{101}, \\[0.4em] c_2 = \frac{\tfrac{1}{10} \cdot \tfrac{1}{50}}{\tfrac{1}{100} + \tfrac{1}{100}} = \frac{1}{10}, \end{gathered}

and c3=0c_3 = 0, so xλ=(100101,110,0)x_{\lambda} = (\tfrac{100}{101}, \tfrac{1}{10}, 0). Check the normal equations. The matrix ATA+λIA^{\mathsf{T}}A + \lambda I is diagonal with entries 101100\tfrac{101}{100}, 150\tfrac{1}{50} and 1100\tfrac{1}{100}, and ATb=(1,1500,0)A^{\mathsf{T}}b = (1, \tfrac{1}{500}, 0). Indeed 101100⋅100101=1\tfrac{101}{100} \cdot \tfrac{100}{101} = 1, 150⋅110=1500\tfrac{1}{50} \cdot \tfrac{1}{10} = \tfrac{1}{500} and 1100⋅0=0\tfrac{1}{100} \cdot 0 = 0. The second coordinate matches the constructed input only by luck of this data, since halving the noisy value 15\tfrac15 happens to give 110\tfrac{1}{10}.

Filter factors

Definition All three reconstructions have the form

x=∑j=1rφj βjσj vjx = \sum_{j=1}^{r} \varphi_j\, \frac{\beta_j}{\sigma_j}\, v_j

with numbers φj\varphi_j between 00 and 11, called filter factors. The pseudoinverse uses φj=1\varphi_j = 1. Truncation uses φj=1\varphi_j = 1 when σj>τ\sigma_j > \tau and φj=0\varphi_j = 0 otherwise. Tikhonov regularization uses

φj=σj2σj2+λ,\varphi_j = \frac{\sigma_j^2}{\sigma_j^2 + \lambda},

which is near 11 when σj2\sigma_j^2 is much larger than λ\lambda and near 00 when it is much smaller. The number φj/σj\varphi_j / \sigma_j is the gain applied to the data coordinate βj\beta_j. A data error ee changes the reconstruction by ∑j(φj/σj)(uj∗e) vj\sum_j (\varphi_j/\sigma_j)(u_j^{*}e)\, v_j, whose norm is at most max⁡j(φj/σj)∥e∥\max_j (\varphi_j/\sigma_j) \lVert e \rVert. The largest pseudoinverse gain 1/σr1/\sigma_r grows without limit as σr\sigma_r shrinks toward 00, the truncated gains stay below 1/τ1/\tau, and every Tikhonov gain satisfies

σσ2+λ≤12λfor all σ≥0,\frac{\sigma}{\sigma^2 + \lambda} \le \frac{1}{2\sqrt{\lambda}} \quad \text{for all } \sigma \ge 0,

because σ2+λ−2σλ=(σ−λ)2≥0\sigma^2 + \lambda - 2\sigma\sqrt{\lambda} = (\sigma - \sqrt{\lambda})^2 \ge 0, with equality at σ=λ\sigma = \sqrt{\lambda}. As λ→0+\lambda \to 0^{+} every Tikhonov factor tends to 11 and xλ→x+x_{\lambda} \to x^{+}. As λ→∞\lambda \to \infty every factor tends to 00 and xλ→0x_{\lambda} \to 0.

In plain words Each method is the pseudoinverse with a dial on every singular direction. The pseudoinverse leaves every dial fully open, truncation sets each one to open or shut, and Tikhonov regularization turns weak directions down smoothly.

Example In the running example the weak direction has σ2=110\sigma_2 = \tfrac{1}{10}. Its gains are 1010 for the pseudoinverse, 00 for truncation and

1101100+1100=5\frac{\tfrac{1}{10}}{\tfrac{1}{100} + \tfrac{1}{100}} = 5

for Tikhonov with λ=1100\lambda = \tfrac{1}{100}. This is the largest gain that λ\lambda allows, since σ2=λ\sigma_2 = \sqrt{\lambda}. Raising the second data value by 1100\tfrac{1}{100} therefore moves the second coefficient by 110\tfrac{1}{10}, 00 and 120\tfrac{1}{20}. The Tikhonov filter factors are 100101\tfrac{100}{101} for the strong direction and 12\tfrac12 for the weak one. With λ=3100\lambda = \tfrac{3}{100} the second coefficient becomes 1500/4100=120\tfrac{1}{500} / \tfrac{4}{100} = \tfrac{1}{20}. A zero gain also means no response at all to a real change in that direction.

Residual and solution norm tradeoff

Definition For a reconstruction with filter factors φj\varphi_j between 00 and 11, orthonormality of the uju_j and of the vjv_j gives

∥b−Ax∥2=∑j=1r(1−φj)2∣βj∣2+∑j=r+1m∣βj∣2,∥x∥2=∑j=1rφj2 ∣βj∣2σj2.\begin{aligned} \lVert b - Ax \rVert^2 &= \sum_{j=1}^{r} (1 - \varphi_j)^2 \lvert \beta_j \rvert^2 \\[0.4em] &\quad + \sum_{j=r+1}^{m} \lvert \beta_j \rvert^2, \\[0.4em] \lVert x \rVert^2 &= \sum_{j=1}^{r} \varphi_j^2\, \frac{\lvert \beta_j \rvert^2}{\sigma_j^2}. \end{aligned}

Raising a filter factor φj\varphi_j with βj≠0\beta_j \ne 0 lowers the residual and raises the solution norm. This is the residual and solution norm tradeoff. For every input xx whatsoever, the squared residual is at least the sum of ∣βj∣2\lvert \beta_j \rvert^2 over j>rj > r, which does not depend on xx, so the pseudoinverse, with all φj=1\varphi_j = 1, has the smallest residual possible. In Tikhonov regularization every φj\varphi_j strictly decreases as λ\lambda grows, so ∥xλ∥\lVert x_{\lambda} \rVert decreases and ∥b−Axλ∥\lVert b - Ax_{\lambda} \rVert increases, strictly when βj≠0\beta_j \ne 0 for some j≤rj \le r. No input does better than xλx_{\lambda} on both counts. If x≠xλx \ne x_{\lambda} and ∥x∥≤∥xλ∥\lVert x \rVert \le \lVert x_{\lambda} \rVert, then Jλ(x)>Jλ(xλ)J_{\lambda}(x) > J_{\lambda}(x_{\lambda}) gives

∥b−Ax∥2>∥b−Axλ∥2+λ(∥xλ∥2−∥x∥2)≥∥b−Axλ∥2.\begin{aligned} \lVert b - Ax \rVert^2 &> \lVert b - Ax_{\lambda} \rVert^2 \\[0.4em] &\quad + \lambda\bigl(\lVert x_{\lambda} \rVert^2 - \lVert x \rVert^2\bigr) \\[0.4em] &\ge \lVert b - Ax_{\lambda} \rVert^2 . \end{aligned}

In plain words Tikhonov regularization slides along the tradeoff as λ\lambda changes. Each of its solutions is the best fit available at its size, so a closer fit than that costs a larger solution, and a smaller solution costs a worse fit. Other reconstructions can be beaten on both counts, as the truncated candidate is in the example below. Where to stop depends on the noise and on the purpose, not on the algebra.

Example The three reconstructions of the running example compare as follows.

Reconstructionxx∥b−Ax∥\lVert b - Ax \rVert∥x∥2\lVert x \rVert^2
Pseudoinverse(1,15,0)(1, \tfrac15, 0)3100=0.0300\tfrac{3}{100} = 0.03002625=1.0400\tfrac{26}{25} = 1.0400
Truncated, τ=320\tau = \tfrac{3}{20}(1,0,0)(1, 0, 0)13100≈0.0361\tfrac{\sqrt{13}}{100} \approx 0.036111
Tikhonov, λ=1100\lambda = \tfrac{1}{100}(100101,110,0)(\tfrac{100}{101}, \tfrac{1}{10}, 0)≈0.0331\approx 0.0331≈0.9903\approx 0.9903

For the Tikhonov row the exact values are ∥b−Axλ∥2=110201+11000\lVert b - Ax_{\lambda} \rVert^2 = \tfrac{1}{10201} + \tfrac{1}{1000} and ∥xλ∥2=1000010201+1100\lVert x_{\lambda} \rVert^2 = \tfrac{10000}{10201} + \tfrac{1}{100}. The Tikhonov candidate has the smallest norm, because it also shrinks the strong first coordinate slightly, and its residual lies between the other two. With this τ\tau and this λ\lambda the truncated candidate happens to be worse than the Tikhonov candidate in both quantities, but other choices of the threshold or the penalty change the comparison.

Unrecoverable component

Definition For A∈Fm×nA \in \mathbb{F}^{m \times n}, the unrecoverable component of an input xx is its orthogonal projection onto ker⁡A\ker A, which is (I−A+A)x(I - A^{+}A)x. Because A(x+z)=AxA(x + z) = Ax for every z∈ker⁡Az \in \ker A, inputs that differ only in this component produce identical noiseless data, so when ker⁡A≠{0}\ker A \ne \{0\} no reconstruction computed from AA and bb alone can determine it. All three reconstructions lie in (ker⁡A)⊥=span⁡{v1,…,vr}(\ker A)^{\perp} = \operatorname{span}\{v_1, \dots, v_r\}. They set the unrecoverable component to zero by a convention or a penalty, not by a measurement. For the pseudoinverse the error splits into amplified noise and the lost kernel part,

x+−xtrue=A+e−(I−A+A) xtrue.x^{+} - x_{\text{true}} = A^{+}e - (I - A^{+}A)\, x_{\text{true}} .

A different loss lives in the data space. The component (I−AA+)b(I - AA^{+})b of the data in (im⁡A)⊥=ker⁡A∗(\operatorname{im} A)^{\perp} = \ker A^{*} is orthogonal to every output AxAx, so it stays in every residual and ∥b−Ax∥≥∥(I−AA+)b∥\lVert b - Ax \rVert \ge \lVert (I - AA^{+})b \rVert for every xx. The kernel ker⁡A\ker A has dimension n−rn - r and lies in the input space, while ker⁡A∗\ker A^{*} has dimension m−rm - r and lies in the output space. The first consists of input directions that the measurement never records, and the second of data directions that no input can explain.

In plain words Weakly measured directions can be estimated at a price in noise. Unmeasured directions cannot be estimated at all, and a small residual says nothing about them.

Example In the running example ker⁡A\ker A is the line spanned by (0,0,1)(0, 0, 1) in the input space. Every vector (1,110,s)(1, \tfrac{1}{10}, s) with ss real has the same noiseless data (1,1100,0)(1, \tfrac{1}{100}, 0), so nothing computed from this AA and this bb can tell s=0s = 0 from s=7s = 7. The data value 3100\tfrac{3}{100} in the third output coordinate is a separate issue. The vector (I−AA+)b=(0,0,3100)(I - AA^{+})b = (0, 0, \tfrac{3}{100}) lies in (im⁡A)⊥(\operatorname{im} A)^{\perp}, no input fits it, and it is the whole residual of x+x^{+}.

Check yourself

  1. Let AA be the real diagonal matrix with entries 22, 14\tfrac14 and 00, and let b=(4,12,110)b = (4, \tfrac12, \tfrac{1}{10}). Find the pseudoinverse reconstruction and its residual, then the truncated SVD reconstruction with τ=12\tau = \tfrac12 and its residual norm.
Show the answer

The singular vectors are the coordinate vectors, so β=b\beta = b. Dividing by the positive singular values gives

x+=(42,1/21/4,0)=(2,2,0),x^{+} = (\tfrac{4}{2}, \tfrac{1/2}{1/4}, 0) = (2, 2, 0),

with fitted data (4,12,0)(4, \tfrac12, 0) and residual (0,0,110)(0, 0, \tfrac{1}{10}) of norm 110\tfrac{1}{10}. With τ=12\tau = \tfrac12 only the singular value 22 is kept, so xτ=(2,0,0)x_{\tau} = (2, 0, 0). Its residual is (0,12,110)(0, \tfrac12, \tfrac{1}{10}), of norm 14+1100=2610≈0.51\sqrt{\tfrac14 + \tfrac{1}{100}} = \tfrac{\sqrt{26}}{10} \approx 0.51.

  1. For the same AA and bb, find the Tikhonov reconstruction with λ=116\lambda = \tfrac{1}{16} and check it against the regularized normal equations. If the second data value may be off by up to 110\tfrac{1}{10}, how far can the second coefficient move under the pseudoinverse and under this Tikhonov reconstruction?
Show the answer

The coefficients σjβj/(σj2+λ)\sigma_j \beta_j / (\sigma_j^2 + \lambda) are

2⋅44+116=12865,14⋅12116+116=1,\begin{gathered} \frac{2 \cdot 4}{4 + \tfrac{1}{16}} = \frac{128}{65}, \\[0.4em] \frac{\tfrac14 \cdot \tfrac12}{\tfrac{1}{16} + \tfrac{1}{16}} = 1, \end{gathered}

and 00 in the kernel direction, so xλ=(12865,1,0)x_{\lambda} = (\tfrac{128}{65}, 1, 0). The matrix ATA+λIA^{\mathsf{T}}A + \lambda I is diagonal with entries 6516\tfrac{65}{16}, 18\tfrac18 and 116\tfrac{1}{16}, and ATb=(8,18,0)A^{\mathsf{T}}b = (8, \tfrac18, 0). Indeed 6516⋅12865=8\tfrac{65}{16} \cdot \tfrac{128}{65} = 8, 18⋅1=18\tfrac18 \cdot 1 = \tfrac18 and 116⋅0=0\tfrac{1}{16} \cdot 0 = 0. The gain in the weak direction is 44 for the pseudoinverse and

14116+116=2\frac{\tfrac14}{\tfrac{1}{16} + \tfrac{1}{16}} = 2

for Tikhonov, so an error of 110\tfrac{1}{10} moves the second coefficient by up to 25\tfrac25 and 15\tfrac15. Here λ=σ22\lambda = \sigma_2^2, so the filter factor is 12\tfrac12 and the gain equals the largest value 1/(2λ)=21/(2\sqrt{\lambda}) = 2.

  1. The theorem on Tikhonov regularization assumes λ>0\lambda > 0. For the same AA and bb, show what goes wrong with the conclusion when λ=0\lambda = 0 and when λ=−1\lambda = -1.
Show the answer

At λ=0\lambda = 0 the function is the plain squared residual. The matrix ATAA^{\mathsf{T}}A is diagonal with entries 44, 116\tfrac{1}{16} and 00, so it is singular, and the normal equations are solved by every (2,2,s)(2, 2, s) with ss real. All of these have the same residual, so the minimizer exists but is not unique. The pseudoinverse picks s=0s = 0 by the separate rule of smallest norm. At λ=−1\lambda = -1 take x=(0,0,s)x = (0, 0, s). Then Ax=0Ax = 0 and

J−1(x)=∥b∥2−s2,J_{-1}(x) = \lVert b \rVert^2 - s^2,

which decreases without bound as ss grows, so there is no minimizer at all. The penalty must be positive to pin down the kernel direction.

How this lesson connects