Foundations to Frontier
Tests
J. Scientific Machine Learning › J7 Inverse Problems and Data Assimilation

Inverse problems and regularization

An inverse problem asks for the cause from its observed effect: the sharp image from a blurred one, the source from a field, the parameters from measurements. Most are ill-posed, so tiny noise in the data produces huge errors in a naive solution. This page builds a blur operator, shows its condition number of 2e8 and the Picard condition, and compares naive inversion, truncated SVD and Tikhonov regularisation with λ chosen by the discrepancy principle and by generalised cross-validation at four noise levels.

Level 0: Foundation

★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.

Working backwards from effects to causes

A camera blurs a scene; a sensor smooths a signal; a gravity survey measures the pull of hidden rock. Computing the effect from the cause is easy, but going backwards is treacherous: blurring throws away fine detail, so undoing it amplifies whatever noise sits in those details. Regularisation adds a preference, such as a smooth or small answer, that tames this amplification at the cost of a little bias.

Inverse problems and data assimilation lab
━ truth━ blurred noisy data━ Tikhonov solution
Relative error of the reconstruction 0.072; residual ‖Af − b‖/√n = 5.8e-3 against noise level δ = 8.9e-3. Too small a λ amplifies noise into oscillations; too large a λ flattens the bumps. The discrepancy principle picks λ where the residual reaches the noise level.
Why engineers care

Medical CT, seismic imaging, weather data assimilation and deblurring telescopes are all inverse problems solved with regularisation.

📝 Quick check (Level 0)
0/3 answered
  1. 1. An inverse problem infers…
  2. 2. Undoing a blur naively…
  3. 3. Regularisation adds…

Level 1: Beginner

★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.

By hand

  • Well-posed (Hadamard): a solution exists, is unique and depends continuously on the data. Ill-posed problems break the last condition.
  • Linear model: b = A f + noise. With the SVD A = U Σ Vᵀ, the naive solution is Σ (uᵢᵀb / σᵢ) vᵢ, and noise in uᵢᵀb is divided by tiny σᵢ.
  • Picard condition: a meaningful solution needs |uᵢᵀb| to decay faster than σᵢ; noise makes the coefficients level off.
  • Truncated SVD: keep the k largest singular components.
  • Tikhonov: minimise ‖A f − b‖² + λ²‖f‖²; the SVD form multiplies each component by the filter factor σᵢ²/(σᵢ² + λ²). Ridge regression is the same estimator.
  • Choosing λ: discrepancy principle (residual equal to the noise level), generalised cross-validation (GCV), the L-curve, or Bayesian evidence.
  • Other regularisers: derivative penalties, total variation (keeps edges), sparsity (ℓ1), and learned priors.
📝 Quick check (Level 1)
0/3 answered
  1. 1. Ill-posed problems usually fail…
  2. 2. The Tikhonov filter factor is…
  3. 3. The discrepancy principle sets the residual to…

Level 2: Intermediate

★★★☆☆ Intermediate⏱ 25 minUndergraduate students and practising engineers.

Building and inverting a blur

Exercise 1.

  • A Gaussian blur of width 0.02 on 100 points of [0, 1], applied to two smooth bumps.
  • Its singular values, its condition number and the Picard plot of |uᵢᵀb| against σᵢ.
  • Naive inversion with exact data and with noise of size 1e-6.

Practice.

  • Look at the singular values and the Picard plot before choosing a method.
  • Estimate the noise level; the discrepancy principle needs it, GCV does not.
  • Scan λ on a logarithmic grid; the SVD makes each λ cost one vector operation.
  • Match the regulariser to the expected solution: smoothness for smooth fields, total variation for edges, sparsity for spikes.
  • Tools: NumPy and SciPy for SVD and least squares, PyLops and CUQIpy for large operators, ODL and ASTRA for tomography.
import numpy as np

U, s, Vt = np.linalg.svd(A)
beta = U.T @ b
for lam in np.logspace(-6, 0, 13):
    f = Vt.T @ (s / (s**2 + lam**2) * beta)      # Tikhonov via filter factors
    print(lam, np.linalg.norm(A @ f - b))         # residual for the discrepancy principle
🐍 Exercise 1: an ill-conditioned blur
Build the blur matrix, compute its condition number, and see that naive inversion works with exact data but fails with noise of size 1e-6.
📝 Quick check (Level 2)
0/3 answered
  1. 1. The first diagnostic of an inverse problem is…
  2. 2. GCV, unlike the discrepancy principle, does not need…
  3. 3. For solutions with sharp edges use…

Level 3: Advanced

★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.

Theory

Why noise explodes. With A = U Σ Vᵀ and noise e, the naive solution is f + Σ (uᵢᵀe/σᵢ) vᵢ. White noise has components of the same size in every uᵢ, so the error is dominated by the smallest σᵢ. The blur in the exercise has condition number 1.7e8: exact data were inverted with relative error below 1e-6, while noise of size 1e-6 gave relative error 90.

Filtering. Truncated SVD keeps components with σᵢ above a cut-off; Tikhonov damps them smoothly with σᵢ²/(σᵢ² + λ²). Both trade a bias (lost detail) for a large reduction of noise. The best cut-off moves with the noise: in Exercise 2 the best truncation kept 40 components at noise 1e-4 and 20 at noise 0.1, and the best λ grew from 0.03 to 0.4.

Choosing λ. The discrepancy principle picks the largest λ whose residual is no larger than the noise level, since fitting the data better than the noise only fits noise. GCV minimises an estimate of the prediction error, n‖A f_λ − b‖²/(n − Σ filter factors)², and needs no noise level.

📝 Quick check (Level 3)
0/3 answered
  1. 1. Naive inversion with noise of size 1e-6 gave relative error…
  2. 2. As the noise grows, the best number of SVD components…
  3. 3. GCV needs…

Level 4: Expert

★★★★★ Expert⏱ 30 minResearchers: original papers and open problems.

How well do truncated SVD and Tikhonov regularisation recover a blurred signal across noise levels, and how close do automatic choices of λ come to the best possible?

History.

  • J. Hadamard (1902) defined well-posed problems.
  • A. N. Tikhonov (1963) introduced regularisation of ill-posed problems.
  • V. A. Morozov (1966) proposed the discrepancy principle.
  • G. H. Golub, M. Heath and G. Wahba (1979) introduced generalised cross-validation.
  • P. C. Hansen (1992) popularised the L-curve and the Picard plot.

Exercise 2. The blur of Exercise 1 with Gaussian noise of standard deviation equal to the noise level times max|A f|. Relative error ‖f − f_true‖/‖f_true‖, seed 0; “best” values use the true signal and are not available in practice:

noise naive TSVD best (k) Tikhonov best (λ) discrepancy GCV
1e-4 8e3 0.001 (40) 0.002 (0.03) 0.003 0.008
1e-3 7e4 0.005 (32) 0.009 (0.06) 0.01 0.02
1e-2 8e5 0.03 (25) 0.06 (0.2) 0.07 0.1
1e-1 8e6 0.1 (20) 0.2 (0.4) 0.2 0.3
  • Naive inversion fails by factors of thousands to millions at every noise level.
  • The discrepancy principle came within a factor of 1.5 of the best Tikhonov error at every level; GCV chose smaller λ values and errors up to 4 times larger.
  • Truncated SVD did slightly better than Tikhonov here, because the smooth bumps have rapidly decaying SVD coefficients.
  • Seeds 1 and 2 at noise 0.01: discrepancy 0.04 and 0.06, GCV 0.06 and 0.09; best truncation at noise 1e-4 kept 38 components in both.
🐍 Exercise 2 (research): how well do truncated SVD and Tikhonov regularisation recover a blurred signal across noise levels, and how close do automatic choices of λ come to the best possible?
Compare naive inversion, truncated SVD and Tikhonov regularisation of a blurred signal at four noise levels, choosing λ by the discrepancy principle and by GCV.

Inverse problems in practice

  • Medical imaging: CT and MRI reconstruction with regularisation and, increasingly, learned priors.
  • Geophysics: seismic tomography and gravity inversion.
  • Astronomy: deconvolution of telescope images.
  • Data assimilation: weather analysis is a regularised inverse problem where the background acts as the regulariser.

References

  1. A. N. Tikhonov and V. Y. Arsenin (1977). Solutions of Ill-Posed Problems. Winston.
  2. P. C. Hansen (2010). Discrete Inverse Problems: Insight and Algorithms. SIAM.
  3. G. H. Golub, M. Heath and G. Wahba (1979). “Generalized cross-validation as a method for choosing a good ridge parameter.” Technometrics.
  4. V. A. Morozov (1966). “On the solution of functional equations by the method of regularization.” Soviet Mathematics Doklady.
  5. S. Arridge, P. Maass, O. Öktem and C.-B. Schönlieb (2019). “Solving inverse problems using data-driven models.” Acta Numerica.