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, is or and every norm is the Euclidean norm.
Key terms
Inverse problem
Definition Let be a known matrix that models a measurement. A linear inverse problem asks for an estimate of an unknown input from observed data
where the noise is unknown too. Take a full SVD with and unitary, columns of and of , rank and positive singular values . Then for and for . Write for the coordinates of the data. The baseline reconstruction is the pseudoinverse solution
the least-squares solution of smallest norm. The least-squares solutions are exactly the vectors with . 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
so the component of the noise along is multiplied by for , and the components along with are dropped. Because the are orthonormal and , this gives
with equality when is a multiple of . For square invertible and , the reconstruction has error , and the same bound together with gives the relative bound
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 by the gain , so undoing it means dividing by . 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
Here , the singular values are , and , the rank is and . The pseudoinverse gives , with fitted data , residual and . To see the noise at work, construct an input for comparison, . A real solver is never handed such a vector. The noiseless data of this input are , so the noise is and
The data error in the weak channel became an error of in the second coordinate of the reconstruction, ten times larger, which is why reports instead of . Even so, the residual norm of is , smaller than the residual norm of the input that actually produced the data.
Truncated SVD reconstruction
Definition In the setting above, choose a threshold . The truncated SVD reconstruction keeps only the singular directions with ,
If exactly singular values exceed , then for the rank truncation , so is the minimum-norm least-squares solution for the truncated matrix. Since , the reconstruction equals , and grouping equal singular values turns the sum of the into orthogonal projectors onto eigenspaces of . So does not depend on which SVD is used, even when singular values repeat. Every retained data coordinate is multiplied by , 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 the singular value is kept, is discarded and was never invertible. So , with residual and
The residual norm is and the solution norm is . Changing the second data value no longer changes the answer, but the second coordinate of the constructed input is lost as well.
Tikhonov regularization
Definition Let , and . Here is a penalty parameter, not an eigenvalue. Tikhonov regularization chooses to minimize
The theorem says that has exactly one minimizer , that is the unique solution of the regularized normal equations
and that in a full SVD of
For the proof, put . Unitary matrices preserve norms, so
Each term involves one coefficient. In a term with , put , , and , and complete the square,
Expanding gives back the same cross term, and the constants agree because . So the term is smallest exactly at . A term with is smallest exactly at , because , and the last sum does not involve . This proves existence, uniqueness and the formula without any calculus. For the linear system, every gives
so is positive definite and invertible even when is rank deficient. In the basis of the it is diagonal with entries , where for , and has entries for and after that, so its solution has the coordinates found above. At the coordinates with drop out of the function, so the minimizer is not unique when .
In plain words Ask for a good fit, but charge a price 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 and with , the coefficients are
and , so . Check the normal equations. The matrix is diagonal with entries , and , and . Indeed , and . The second coordinate matches the constructed input only by luck of this data, since halving the noisy value happens to give .
Filter factors
Definition All three reconstructions have the form
with numbers between and , called filter factors. The pseudoinverse uses . Truncation uses when and otherwise. Tikhonov regularization uses
which is near when is much larger than and near when it is much smaller. The number is the gain applied to the data coordinate . A data error changes the reconstruction by , whose norm is at most . The largest pseudoinverse gain grows without limit as shrinks toward , the truncated gains stay below , and every Tikhonov gain satisfies
because , with equality at . As every Tikhonov factor tends to and . As every factor tends to and .
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 . Its gains are for the pseudoinverse, for truncation and
for Tikhonov with . This is the largest gain that allows, since . Raising the second data value by therefore moves the second coefficient by , and . The Tikhonov filter factors are for the strong direction and for the weak one. With the second coefficient becomes . 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 between and , orthonormality of the and of the gives
Raising a filter factor with lowers the residual and raises the solution norm. This is the residual and solution norm tradeoff. For every input whatsoever, the squared residual is at least the sum of over , which does not depend on , so the pseudoinverse, with all , has the smallest residual possible. In Tikhonov regularization every strictly decreases as grows, so decreases and increases, strictly when for some . No input does better than on both counts. If and , then gives
In plain words Tikhonov regularization slides along the tradeoff as 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.
| Reconstruction | |||
|---|---|---|---|
| Pseudoinverse | |||
| Truncated, | |||
| Tikhonov, |
For the Tikhonov row the exact values are and . 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 and this 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 , the unrecoverable component of an input is its orthogonal projection onto , which is . Because for every , inputs that differ only in this component produce identical noiseless data, so when no reconstruction computed from and alone can determine it. All three reconstructions lie in . 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,
A different loss lives in the data space. The component of the data in is orthogonal to every output , so it stays in every residual and for every . The kernel has dimension and lies in the input space, while has dimension 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 is the line spanned by in the input space. Every vector with real has the same noiseless data , so nothing computed from this and this can tell from . The data value in the third output coordinate is a separate issue. The vector lies in , no input fits it, and it is the whole residual of .
Check yourself
- Let be the real diagonal matrix with entries , and , and let . Find the pseudoinverse reconstruction and its residual, then the truncated SVD reconstruction with and its residual norm.
Show the answer
The singular vectors are the coordinate vectors, so . Dividing by the positive singular values gives
with fitted data and residual of norm . With only the singular value is kept, so . Its residual is , of norm .
- For the same and , find the Tikhonov reconstruction with and check it against the regularized normal equations. If the second data value may be off by up to , how far can the second coefficient move under the pseudoinverse and under this Tikhonov reconstruction?
Show the answer
The coefficients are
and in the kernel direction, so . The matrix is diagonal with entries , and , and . Indeed , and . The gain in the weak direction is for the pseudoinverse and
for Tikhonov, so an error of moves the second coefficient by up to and . Here , so the filter factor is and the gain equals the largest value .
- The theorem on Tikhonov regularization assumes . For the same and , show what goes wrong with the conclusion when and when .
Show the answer
At the function is the plain squared residual. The matrix is diagonal with entries , and , so it is singular, and the normal equations are solved by every with real. All of these have the same residual, so the minimizer exists but is not unique. The pseudoinverse picks by the separate rule of smallest norm. At take . Then and
which decreases without bound as grows, so there is no minimizer at all. The penalty must be positive to pin down the kernel direction.