Algorithm Search⌘K

Conceptadvanced

Bayesian inverse problem

Also called statistical inversion, Bayesian inversion.

Treat the unknown as a random variable, so that the solution of the inverse problem is the posterior distribution given the data, prior and noise model.

A Bayesian inverse problem treats the unknown uu and the noise as random variables. Before the data are seen, uu has a prior distribution μ0\mu_0. The noise model gives the likelihood of the data yy for each uu. Bayes' theorem combines the two into the posterior distribution of uu given yy, and that distribution is the solution. A point estimate, such as the posterior mean or the maximum a posteriori (MAP) point, is one summary of it; credible intervals and the probability of events are others. For a linear forward map with Gaussian prior and noise, the MAP point is exactly a Tikhonov solution, so the Bayesian view contains classical regularization and adds a measure of uncertainty. For nonlinear maps or non-Gaussian priors, the posterior has no closed form and is explored by sampling methods such as preconditioned Crank-Nicolson MCMC and randomize-then-optimize, or approximated.

In plain words

You do not ask for one answer. You ask how plausible every possible answer is. You start with a belief about the unknown before you look at the data, for example that it is smooth. You also say how noisy the measurements are. The data then make some answers more plausible and others less. The result is a probability distribution over answers. Its peak is the classical regularized answer. Its width tells you how sure you can be, and it shows which parts of the unknown the data do not fix at all.

The idea

Setting. The data are y=G(u)+ηy = G(u) + \eta, with the forward map G:X→RmG: X \to \mathbb{R}^m (see forward operator), the unknown uu in a space XX, and noise η∼N(0,Γ)\eta \sim N(0, \Gamma) independent of uu. The prior is a probability measure μ0\mu_0 on XX.

Bayes' formula. Define the misfit, or negative log-likelihood up to a constant,

Φ(u;y)=12∥Γ−1/2(y−G(u))∥2.\Phi(u; y) = \tfrac12\lVert\Gamma^{-1/2}(y - G(u))\rVert^2.

In finite dimensions, with a prior density π0\pi_0, the posterior density is

πy(u)=1Z(y)exp⁡(−Φ(u;y)) π0(u),Z(y)=∫exp⁡(−Φ(u;y)) π0(u) du.\pi^y(u) = \frac{1}{Z(y)}\exp(-\Phi(u; y))\,\pi_0(u), \qquad Z(y) = \int\exp(-\Phi(u; y))\,\pi_0(u)\,du.

When XX is a function space there is no Lebesgue density, and the same statement is written as a density of the posterior μy\mu^y with respect to the prior,

dμydμ0(u)=1Z(y)exp⁡(−Φ(u;y)).\frac{d\mu^y}{d\mu_0}(u) = \frac{1}{Z(y)}\exp(-\Phi(u; y)).

Stuart (2010) gives conditions on Φ\Phi and μ0\mu_0 under which this defines a probability measure that depends continuously on yy in the Hellinger metric. So the Bayesian problem is well posed even when the inverse problem G(u)=yG(u) = y is not; see well-posedness of the Bayesian inverse problem.

The link to Tikhonov regularization. Take a Gaussian prior N(m0,C0)N(m_0, C_0) in finite dimensions. Then −log⁡πy(u)-\log\pi^y(u) is, up to a constant,

12∥Γ−1/2(y−G(u))∥2+12∥C0−1/2(u−m0)∥2,\tfrac12\lVert\Gamma^{-1/2}(y - G(u))\rVert^2 + \tfrac12\lVert C_0^{-1/2}(u - m_0)\rVert^2,

and the MAP point is the minimizer of this Tikhonov functional; see maximum a posteriori estimation. With Γ=σ2I\Gamma = \sigma^2I, C0=γ2IC_0 = \gamma^2I and m0=0m_0 = 0, it is Tikhonov regularization with parameter α=σ2/γ2\alpha = \sigma^2/\gamma^2. The regularization parameter is a ratio of noise variance to prior variance, and choosing it becomes a modeling question or a hyperparameter estimation problem; see regularization parameter choice.

The linear Gaussian case. If G(u)=AuG(u) = Au is linear, the posterior is Gaussian with

Cpost=(ATΓ−1A+C0−1)−1,mpost=Cpost(ATΓ−1y+C0−1m0).C_{\mathrm{post}} = (A^T\Gamma^{-1}A + C_0^{-1})^{-1}, \qquad m_{\mathrm{post}} = C_{\mathrm{post}}(A^T\Gamma^{-1}y + C_0^{-1}m_0).

The mean equals the MAP point. See linear Gaussian inverse problem.

Computing with the posterior. Outside the linear Gaussian case the posterior must be computed numerically:

Discretize last. The function-space form suggests defining the posterior on XX first and discretizing it after. Then priors, algorithms and error bounds do not depend on the mesh, and a method that works on the infinite-dimensional problem keeps its behavior as the mesh is refined. This is the reason for pCN.

Examples

A scalar problem. Let y=au+ηy = au + \eta with a=0.1a = 0.1, η∼N(0,σ2)\eta \sim N(0, \sigma^2), σ=0.05\sigma = 0.05, prior u∼N(0,1)u \sim N(0, 1), and observed y=0.12y = 0.12. Least squares gives u=y/a=1.2u = y/a = 1.2 with standard deviation σ/a=0.5\sigma/a = 0.5. The posterior is Gaussian with variance

(a2σ2+1)−1=14+1=0.2\Big(\frac{a^2}{\sigma^2} + 1\Big)^{-1} = \frac{1}{4 + 1} = 0.2

and mean 0.2⋅ay/σ2=0.2⋅4.8=0.960.2 \cdot ay/\sigma^2 = 0.2 \cdot 4.8 = 0.96. Tikhonov with α=σ2/1=0.0025\alpha = \sigma^2/1 = 0.0025 gives ay/(a2+α)=0.012/0.0125=0.96ay/(a^2 + \alpha) = 0.012/0.0125 = 0.96, the same number. The posterior standard deviation is 0.4470.447, a little smaller than the prior one, because the data carry about four times the information of the prior here.

Which components the data fix. Take the diagonal problem A=diag(si)A = \mathrm{diag}(s_i) with si=1/i2s_i = 1/i^2, noise σ=10−3\sigma = 10^{-3} and prior N(0,I)N(0, I). Each coefficient has posterior variance (si2/σ2+1)−1=(106/i4+1)−1(s_i^2/\sigma^2 + 1)^{-1} = (10^6/i^4 + 1)^{-1}. For i=1i = 1 this is about 10−610^{-6}: the data fix the coefficient. For i=32i = 32 it is 0.510.51, and for larger ii it tends to 11, the prior variance: the data say almost nothing, and the posterior returns the prior. The crossover at i4≈106i^4 \approx 10^6 is where the filter factor si2/(si2+α)s_i^2/(s_i^2 + \alpha) of Tikhonov regularization with α=σ2\alpha = \sigma^2 passes 1/21/2. This is exact arithmetic on the formula, not a measurement.

A nonlinear problem. In electrical impedance tomography, GG maps a conductivity field to boundary voltages, and the posterior is non-Gaussian and on a function space. Typical practice is a Gaussian or Besov prior on the log-conductivity, a MAP estimate by Gauss-Newton, and pCN or a Laplace approximation for uncertainty.

Where it is used

  • Medical and geophysical imaging, where uncertainty of the image matters for decisions; Kaipio and Somersalo use electrical impedance tomography as a main example.
  • Data assimilation in weather and ocean models, where the Kalman filter and its ensemble forms are Bayesian updates.
  • Calibration of partial differential equation models from measurements, and design of experiments that minimize posterior uncertainty.
  • Hierarchical models, where the noise level and the prior scale get their own priors, which gives a Bayesian answer to the parameter choice problem.

The view goes back to work on statistical inversion in the 1970s, such as Franklin's 1970 paper on stochastic extensions of ill-posed linear problems, and to Tarantola's books in geophysics. The function-space formulation with dμy/dμ0d\mu^y/d\mu_0 and well-posedness in the Hellinger metric is from Stuart (2010). These historical notes are general; no exact locators are given for the older works.

References

  1. Andrew M. Stuart, Inverse problems, a Bayesian perspective, Acta Numerica 19, 2010, pages 451 to 559
  2. Jari Kaipio and Erkki Somersalo, Statistical and Computational Inverse Problems, Springer, 2005
  3. Masoumeh Dashti and Andrew M. Stuart, The Bayesian approach to inverse problems, in Handbook of Uncertainty Quantification, Springer, 2017, pages 311 to 428

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/EPTVPM/text.yaml