Fundamentals / Numerical mathematics / Inverse problems and least squares

Choosing regularisation when the true answer is hidden

Derive two parameter choices from different information, then see how an excellent fit to sensor data can restore the noise in a weakly visible mode.

Each observation competes with a penalty

In orthogonal singular coordinates, let \(d_i=\sigma_i x_i+\eta_i\). For a candidate \(\lambda>0\), minimise \(\sum_i(\sigma_i x_i-d_i)^2+\lambda^2\sum_i x_i^2\). Setting each derivative to zero gives

\[\widehat x_i=\sigma_i d_i/(\sigma_i^2+\lambda^2).\]

Predicted data are \(H_i d_i\), where \(H_i=\sigma_i^2/(\sigma_i^2+\lambda^2)\). These factors range from zero to one. Their sum is the effective number of fitted data directions.

If an independently obtained bound for the whitened noise norm is \(\delta\), compare \(\sum_i[(1-H_i)d_i]^2\) with \(\delta^2\). The residual rises as \(\lambda\) increases. A discrepancy choice seeks the largest smoothing consistent with the stated noise level. If there is no crossing, either the search range, model or noise estimate needs examination.

A prediction criterion without a noise bound

For a linear smoother \(\widehat d=Hd\), deleting observation \(i\) gives the leave-one-out residual \(r_i/(1-H_{ii})\) under the usual fixed-design ridge fit. Generalised cross-validation replaces the individual leverages by their mean. This produces the computable quantity

\[\mathrm{GCV}(\lambda)=\frac{\|d-\widehat d\|^2/n}{[1-\operatorname{trace}(H)/n]^2}.\]

The denominator penalises fits that spend nearly one degree of freedom per datum. The criterion estimates predictive performance under assumptions on noise and design. A selected value need not minimise the error in the unknown parameter, and highly unequal leverages can defeat the approximation.

A sensor that barely sees a mode

Take sensitivities \(1,0.01\), true parameters \((1,1)\) and data \((1,0.02)\). Unregularised inversion returns \((1,2)\) with zero residual. A perturbation of one hundredth in the second observation doubled the second parameter. With \(\lambda=0.01\) the second gain is \(\sigma/(\sigma^2+\lambda^2)=50\), so the same datum yields 1. This exact agreement with the hidden truth is accidental.

For \(\lambda=0.1\), the second estimate drops to about 0.0198. A weak direction has been almost removed. Meanwhile the first estimate remains about 0.9901. A single residual norm does not tell you which parameter direction was suppressed.

Inspect an entire regularisation path

Three synthetic sensors have sensitivities \(1,0.2,0.02\), true parameters all equal to one, and an adjustable perturbation only in the last sensor. This deliberately uneven noise makes it possible to test when the GCV assumptions are plausible. Inspect parameter error and data residual over a logarithmic range of \(\lambda\). The result reports the best GCV value on the sampled grid and the residual at that choice.

Tutorial on choosing a criterion

If all \(H_i\) equal a common \(h<1\), can GCV distinguish different values of \(h\) for fixed data?

Worked solution

The numerator contains \((1-h)^2\|d\|^2/n\) and the denominator \((1-h)^2\). They cancel exactly. There is no identifiable minimum from this score.

If residuals remain much larger than a well-calibrated noise norm even at negligible regularisation, should increasing the penalty help?

Worked solution

Increasing the penalty shrinks the fit and usually increases residual. Check the forward model, its range and data preparation, including the uncertainty units used in whitening.

Read the university treatment

Compare the information each stopping rule needs about measurement noise with the information available in the three-sensor experiment. Per Christian Hansen · Stopping rules for noisy data

Study the full derivation

Choose a regularisation scale by predicting omitted data · Inferring parameters and fields from observations

Regularised least squares can fit each observation partly with itself. Derive leave-one-out residuals from a single factorisation, approximate them by a trace and identify when a generalised cross-validation score misses a highly influential sensor.