Fundamentals / Numerical mathematics / Inverse problems and least squares

When a single uncertainty interval hides two explanations

Start from a squared-amplitude measurement, derive the full posterior and design a second observation capable of identifying the sign.

Symmetry is an identifiability statement

A sensor measures \(d=x^2+\eta\) with Gaussian noise of standard deviation \(s\). A symmetric Gaussian prior of variance \(\tau^2\) puts equal weight on opposite signs. Bayes' rule gives the density

\[p(x\mid d)\propto\exp\!\left[-\frac{(d-x^2)^2}{2s^2}-\frac{x^2}{2\tau^2}\right].\]

The exponent is even, so the posterior mean is exactly zero whenever the integral exists. That mean may make an extremely poor prediction of the observed quantity. To locate modes, differentiate the negative log density to get \(x[2(x^2-d)/s^2+1/\tau^2]\). Two off-centre modes appear precisely when \(d>s^2/(2\tau^2)\). At smaller \(d\), the prior and noise merge the explanations into one central mode.

Numbers and competing summaries

Set \(d=1\), \(s=0.2\), and \(\tau=2\). The modes are at \(\pm\sqrt{0.995}\), close to \(\pm0.9975\). The density ratio of \(x=0\) to \(x=1\) is \(\exp[-1/(2s^2)+1/(2\tau^2)]\), about \(4.2\times10^{-6}\). The reported mean of zero sits in a very low-density region.

For \(d=-0.05\), there is no real parameter that exactly fits the measured amplitude squared. A noisy sensor can still produce this value. The distribution has a single mode at zero, and there is no justification for taking the square root of the negative datum or discarding the observation.

Buy a measurement that identifies the sign

Assume an independent second sensor reports \(b=x+\epsilon\) with known standard deviation 0.5. Add \(-(b-x)^2/(2\cdot0.5^2)\) to the log density. The original two signs now receive different weights. Both curves in the plot are independently normalised by quadrature on the displayed interval; the sign probability is conditional on that interval. Compare the observation \(b=0\) with \(b=1\).

Tutorial on designing another experiment

Repeat the squared-amplitude measurement a hundred times with independent noise. What can become precise?

Worked solution

The magnitude \(x^2\) can become very precise. Every likelihood factor remains even in \(x\), so the sign probabilities stay equal with this prior. More data of the same kind cannot break that symmetry.

If the two candidate states were exactly \(x=\pm1\), what likelihood ratio does \(b=0.5\) give in favour of the positive state?

Worked solution

The exponent difference is

\[((0.5+1)^2-(0.5-1)^2)/(2\cdot0.5^2)=4.\]

The likelihood ratio is \(e^4\), about 54.6. A continuous posterior also averages over the spread around each candidate.