ES98A · Course contents

Week 9: Regularisation deep dive + Bayesian inverse problems (linear Gaussian case)

Week 8 made the compromise explicit: a small regularisation parameter reduces bias but increases noise amplification. In practice neither the truth nor the best parameter is known. How can the observations guide that compromise?

After choosing a parameter, a penalty still expresses a preference: small energy, sparse coordinates or sharp edges. We first examine those preferences, then replace a single preferred reconstruction by a posterior law. The Gaussian conditioning geometry of Week 3 returns in a function-space setting.

Route through this chapter


Ways to set the regularisation parameter

We already discussed the situation of a priori regularisation: we set α\alpha to be a function of the noise level δ\delta but not of the observed data yy. If one also has a source condition for the signal uu, then one can prove upper bounds for the reconstruction error, as in the extra handout from last week.

An a posteriori choice of α\alpha allows it to be a function of both δ\delta and yy. The danger is that we may overfit to the specific instance of yy that we have seen; the optimal reconstruction may do well for yy but poorly for other y′y'. In this situation, we typically start with a large α\alpha and then reduce it until the residual is approximately δ\delta. This is Morozov's discrepancy principle.

A noise-blind heuristic uses yy without a supplied noise bound. Bakushinskii's veto concerns uniform deterministic convergence for arbitrary vanishing perturbations, under the usual regularisation assumptions: a parameter rule using only noisy data cannot generally guarantee this for an unbounded inverse. It is not a prohibition on validation, probabilistic noise models or successful heuristics on restricted classes. For compact operators, closed range is equivalent to finite rank; for general bounded operators it is not.

Morozov's discrepancy principle makes the noise information explicit: for ∥yδ−y∥≤δ\|y^\delta-y\|\le\delta, seek ∥Auα−yδ∥≈τδ\|Au_\alpha-y^\delta\|\approx\tau\delta with τ>1\tau>1. Driving the residual far below the noise level asks the reconstruction to explain noise. Existence and convergence of a chosen rule need assumptions on the forward map and regularisation family. See Clason's regularisation lecture notes for the deterministic setting. Training/validation splitting instead introduces additional observations and a statistical prediction objective.


L1 regularisation and sparsity

We're comparing the minimisers of

12∥Au−y∥2+α2∥u∥2\frac{1}{2}\|Au-y\|^2+\frac{\alpha}{2}\|u\|^2

with minimisers of

12∥Au−y∥2+α∥u∥1\frac{1}{2}\|Au-y\|^2+\alpha\|u\|_1

Let's consider u∈RNu \in \mathbb{R}^N with NN finite, and try to understand why minimisers of the second (ℓ1\ell^1) problem are sparse, with most un=0u_n=0, whereas minimisers of the first (ℓ2\ell^2/ridge regression/Tikhonov) problem have no special structure.

First observe that the balls of the ℓ2\ell^2 and ℓ1\ell^1 norms have different shapes:

Euclidean norm ball is round; the l1 ball has corners on coordinate axes

This matters because minimising the regularised misfit is the same thing as finding the "closest" point of some level set of the misfit to the origin, where "closest" is measured according to the ℓ2\ell^2 or ℓ1\ell^1 norm as appropriate.

Misfit contours contact norm balls: l1 corners permit sparse solutions

Corners make sparse contacts possible over whole regions of data values. This is a geometric mechanism, not a theorem that every l1 minimiser has most coordinates zero. Sparsity depends on AA, the data and the penalty weight.

One coordinate makes the corner exact

For A=IA=I, the coordinates decouple. Minimising 12(u−y)2+α∣u∣\tfrac12(u-y)^2+\alpha|u| gives the subgradient condition 0∈u−y+α∂∣u∣0\in u-y+\alpha\partial|u|. Thus

u∗=sign⁡(y)max⁡{∣y∣−α,0}.u^*=\operatorname{sign}(y)\max\{|y|-\alpha,0\}.

An interval of observations maps exactly to zero. In contrast ridge gives u∗=y/(1+α)u^*=y/(1+\alpha), which is nonzero whenever yy is. This calculation gives the source images a precise local interpretation; correlations between columns of a general AA couple the coordinates.

The scalar formulas let us see the difference between shrinking a coefficient and removing it.

L1: a zero intervalL1: a zero intervalobservation yestimate u-33-33solid: soft threshold, α = 1
Ridge: uniform shrinkageRidge: uniform shrinkageobservation yestimate u-33-33solid: y / 2, α = 1
Exact scalar minimisers for A=I and α=1. The same axis scales show that l1 creates exact zeros on the interval [−1,1], while ridge shrinks every nonzero coefficient. ↗

The flat segment is the algebraic counterpart of the norm-ball corners. For a general forward matrix the coordinates interact, so this panel explains the mechanism without promising universal sparsity.

Raise the penalty for two observed coefficients. Watch when the smaller coefficient reaches zero, then compare it with ridge under the same penalty weight. The axis contact makes the corner argument precise.

A threshold removes a coefficient

The l1 solution meets an axis

-303-303coefficient u₁coefficient u₂

Shrink the smaller coefficient

02.200.8penalty αestimate of coefficient 2

α=0.000, l1 estimate=(2.000, 0.700)

The solid l1 point reaches the axis and stays there. The hollow amber ridge point approaches zero continuously without setting a nonzero observed coefficient exactly to zero.

Play once, pause, or scrub to inspect an intermediate state.

Ready to explore.
For A=I and y=(2,0.7), l1 minimisation gives sign(yᵢ)max(|yᵢ|−α,0); ridge gives y/(1+α). The l1 solution reaches a coordinate axis at α=0.7. The diamond is its l1 norm ball at the current solution, not a general guarantee of sparsity for every A. ↗

To what extent is this heuristic rigorously true when H1H_1 is genuinely infinite-dimensional? A related question is whether we can do similar tricks for edge-detection, by imposing a penalty like the ℓ1\ell^1 norm on the derivative of uu.


TV regularisation and edge-preserving image reconstruction

Let's consider a 1-dimensional "image" / time series as a function u:[a,b]→Ru:[a,b]\to\mathbb{R}. If uu is differentiable, then we define its total variation by

∥u∥TV:=∫ab∣u′(t)∣ dt\|u\|_{\mathrm{TV}} := \int_a^b |u'(t)| \, dt

Just a seminorm because ∥u∥TV=0\|u\|_{\mathrm{TV}}=0 for any constant uu.

The TV seminorm is a good candidate for a regularisation that, like the ℓ1\ell^1 norm of a vector, will sparsify u′u', i.e. give the minimiser a few well-localised jumps/edges.

For discontinuous functions use TV(u)=∣Du∣([a,b])\mathrm{TV}(u)=|Du|([a,b]) in the space BVBV: a jump contributes its absolute height. The differentiable formula alone would miss the very edges the penalty is meant to retain.

A separate Bayesian issue is how a discretised prior distribution changes as the mesh is refined. Lassas and Siltanen (2004) show loss of edge preservation for conditional means of the discretised TV priors they study. This is not a theorem that all deterministic TV minimisers, all TV-based priors or every parameter schedule fail. The source's author/year attribution and universal impossibility claim have been corrected.

This fundamental mathematical obstacle stimulated the study of (optimisation-based and Bayesian) inverse problems on function spaces directly, not just each finite-dimensional subspace individually.


The Bayesian approach to inverse problems

The challenge is the same as always: we want to recover an unknown uu from data yy. The Bayesian worldview is:

  1. Treat the unknown and the data as random variables: uu (with values in U\mathcal{U}) and yy (with values in Y\mathcal{Y}).

  2. The beliefs you have about the unknown before seeing the data are encoded in the prior distribution μ0\mu_0 of uu on U\mathcal{U}.

  3. The (ideal) relationship between the unknown and the data is encoded in the likelihood model.

  4. The prior and the likelihood together determine the joint distribution μ(u,y)\mu_{(u,y)} of (u,y)(u,y) on U×Y\mathcal{U} \times \mathcal{Y}.

  5. The Bayesian solution to the inverse problem is the conditional distribution μu∣y=y\mu_{u \mid y=y} on U\mathcal{U}. Bayesians call this the posterior distribution.

For continuous data the event Y=yY=y usually has probability zero. Conditioning here means a regular conditional law, characterised by its reconstruction identity, rather than division by the probability of that event. The likelihood assumptions below provide an explicit version.


Linear Gaussian Bayesian inverse problems

Take U\mathcal{U} to be a Hilbert space HH, let Y=RJ\mathcal{Y}=\mathbb{R}^J for some J∈NJ \in \mathbb{N}, and suppose that observations yy are made according to the linear model

y=Au+ηy = Au + \eta

where η∼N(0,Γ)\eta \sim \mathcal{N}(0,\Gamma) in Y=RJ\mathcal{Y}=\mathbb{R}^J, with Γ∈RJ×J\Gamma \in \mathbb{R}^{J \times J} SPD, independent of uu.

This measurement model says that the conditional distribution of yy given uu is Gaussian with mean AuAu and covariance Γ\Gamma, i.e. it has PDF proportional to exp⁡(−Φ(u;y))\exp(-\Phi(u;y)), where the potential is

Φ(u;y)=12∥Γ−1/2(Au−y)∥2\Phi(u;y) = \frac{1}{2} \|\Gamma^{-1/2}(Au-y)\|^2

Assume A:H→RJA:H\to\mathbb R^J is bounded. Suppose that a prior μ0\mu_0 for uu is specified; a Gaussian prior on infinite-dimensional HH requires SPSD trace-class C0C_0 as in Week 7. In the specific case that μ0=N(m0,C0)\mu_0 = \mathcal{N}(m_0,C_0) is Gaussian, the joint distribution is again Gaussian, and the usual formula for conditioning Gaussians applies.

The posterior is μu∣y=y=N(my,Cy)\mu_{u \mid y=y} = \mathcal{N}(m^y,C^y) where

my=m0+C0A∗(AC0A∗+Γ)−1(y−Am0)m^y = m_0 + C_0 A^* (A C_0 A^* + \Gamma)^{-1} (y - A m_0) Cy=C0−C0A∗(AC0A∗+Γ)−1AC0C^y = C_0 - C_0 A^* (A C_0 A^* + \Gamma)^{-1} A C_0

(the Kalman update formula again).

Interestingly, if we compare the posterior to the prior, we notice that the posterior has a density with respect to the prior:

dμu∣y=ydμ0(u)=exp⁡(−Φ(u;y))Z(y)\frac{d\mu_{u \mid y=y}}{d\mu_0}(u) = \frac{\exp(-\Phi(u;y))}{Z(y)}

with normalising constant

Z(y)=∫Uexp⁡(−Φ(u;y)) μ0(du)Z(y) = \int_{\mathcal{U}} \exp(-\Phi(u;y)) \, \mu_0(du)

This is the more robust formulation of Bayes' rule: not "posterior = likelihood × prior" but "the density of the posterior w.r.t. the prior = the likelihood".


Keep the prior and noise precision fixed while moving the observed value. Follow the likelihood and the normalised posterior together. The posterior centre responds to the data while its variance is determined by the two precisions.

The likelihood reweights the prior

Prior and likelihood

-3.503.501unknown udensity / scaled likelihood

Normalised posterior

-3.503.501unknown uposterior density

y=-2.000, posterior mean=-1.600, posterior variance=0.200

The posterior balances the prior centre with the observation according to their precisions. Its variance stays fixed while the observed value moves.

Play once, pause, or scrub to inspect an intermediate state.

Ready to explore.
Prior u~N(0,1), independent noise variance 0.25, observation y=u+η. Posterior is N(0.8y,0.2). The likelihood curve is scaled as a density in u only for this scalar location model; general likelihoods need not integrate to one over parameters. ↗

Generalised Bayes rule

Theorem Let U=H\mathcal{U}=H be a Hilbert space and Y=RJ\mathcal{Y}=\mathbb{R}^J. Let u∼μ0u \sim \mu_0 and suppose that the conditional distribution of yy given uu has PDF ρy∣u\rho_{y \mid u} on RJ\mathbb{R}^J.

Assume a jointly measurable likelihood and a separable Hilbert parameter space. At the data values under consideration require 0<ρy(y)<∞0<\rho_y(y)<\infty, where

ρy(y):=∫Uρy∣u(y) μ0(du)\rho_y(y) := \int_{\mathcal{U}} \rho_{y \mid u}(y) \, \mu_0(du)

Then the posterior distribution μu∣y=y\mu_{u \mid y=y} exists and has a density w.r.t. μ0\mu_0 given by Bayes rule:

dμu∣y=ydμ0(u)=ρy∣u(y)ρy(y)\frac{d\mu_{u \mid y=y}}{d\mu_0}(u) = \frac{\rho_{y \mid u}(y)}{\rho_y(y)}

Proof. Define the proposed conditional law μy\mu^y. For measurable parameter set BB and data set DD, Tonelli gives

∫Dμy(B)ρy(y) dy=∫B∫Dρy∣u(y) dy μ0(du)=P(U∈B,Y∈D).\int_D\mu^y(B)\rho_y(y)\,dy =\int_B\int_D\rho_{y\mid u}(y)\,dy\,\mu_0(du) =\mathbb P(U\in B,Y\in D).

This reconstruction identity proves it is a version of the conditional law. Versions agree for almost every data value; the formula specifies one wherever the denominator is positive and finite. □\square

In the linear Gaussian model, AC0A∗+ΓAC_0A^*+\Gamma is SPD because Γ\Gamma is, even if C0C_0 is singular. The mean update moves along directions correlated with the observations; covariance decreases without depending on the observed value. Week 10 asks how stable this entire posterior is, and how to turn it into predictions.