Applied Probability - F26 - Lecture 13
Overview
Arash Amini develops Bayesian denoising from the Gaussian prior and Gaussian noise case to general priors, showing that the posterior mean minimizes mean-squared error. For a fair prior on X = -1 or 1 with Gaussian noise of variance σ², the optimal denoiser is tanh(Y/σ²), and differentiating the marginal density of Y yields Tweedie's identity: E[X|Y=y] = y + σ² d log pY(y)/dy. The uploader notes that sound fails around 40 minutes, and the transcript contains no reliable lecture content after about 40:08.
Key takeaways
- Under squared-error loss, the conditional expectation E[X|Y] is the optimal denoiser among all functions of the observation.
- Bayesian updating preserves the support of the prior: a prior supported on {-1, 1} yields a posterior on those same two values, even when Gaussian noise makes Y continuous.
- For a fair binary prior X ∈ {-1, 1} observed with Gaussian noise of variance σ², the posterior mean is tanh(Y/σ²), a nonlinear estimate bounded by the signal values.
- A best linear predictor can be worse than the posterior mean when the prior is non-Gaussian; for the fair binary example, the linear form is Y/(1 + σ²).
- Tweedie's identity, E[X|Y=y] = y + σ² d log pY(y)/dy, expresses the optimal denoiser using the score of the noisy observation's marginal density rather than requiring the prior explicitly.
- Differentiating the Gaussian-mixture marginal density under its integral requires a justification such as dominated convergence.
Chapters
- For a Gaussian prior and Gaussian observation noise, the posterior distribution of X given Y is Gaussian.
- Its conditional mean combines the observation with the prior mean and minimizes mean-squared error among predictors based on Y.
- The conditional variance describes the remaining uncertainty after observing Y.
- Amini writes the posterior kernel for a general prior measure μ and an observation channel with density pY|X.
- The marginal density of Y is obtained by integrating the likelihood against μ, even when the prior has no density.
- The posterior formula is verified through the conditional-expectation identity for test functions h.
- The example uses a fair prior that assigns probability 1/2 to each of X = -1 and X = 1.
- The observation model adds Gaussian noise with variance σ², giving a likelihood proportional to the shifted density φσ(y - x).
- Bayes' rule updates the two prior masses according to their likelihoods at the observed value y.
- Although Y has a continuous Gaussian-noise distribution, the posterior for X remains supported only at -1 and 1.
- The prior assigns zero probability outside those two values, so observing noisy data changes their weights but not the support.
- Expanding the posterior kernel produces two point masses weighted by the Gaussian likelihoods and normalized by the marginal density of Y.
- For the two-point prior, the log posterior odds simplify to 2y/σ² because the equal prior weights cancel.
- Applying the inverse-logit gives the posterior probability Q(y) that X = 1.
- The posterior mean is Q(y) - (1 - Q(y)) = 2Q(y) - 1, which simplifies to tanh(y/σ²).
- The tanh denoiser saturates between -1 and 1, reflecting the binary signal's known support.
- A best linear predictor for the binary prior is y/(1 + σ²); a Gaussian prior with the same zero mean and unit variance gives the same linear form.
- Amini contrasts the posterior mean with using Y unchanged, a hard sign threshold, and linear prediction, emphasizing that the conditional mean minimizes squared prediction error.
- The Gaussian channel can be represented as Y = X + σZ, where Z is standard normal and independent of X.
- This representation preserves the joint distribution for a general prior on X.
- The derivation assumes X is integrable so its conditional mean is well-defined.
- Amini differentiates the marginal density pY(y), which is an integral of the Gaussian likelihood against the prior μ.
- Differentiating the Gaussian density with respect to y introduces the factor (x - y)/σ².
- Interchanging differentiation and integration requires justification; dominated convergence is identified as the relevant tool.
- Dividing the differentiated marginal density by pY(y) reveals the conditional-distribution kernel of X given Y = y.
- Integrating a constant against this probability kernel returns the constant, while integrating x returns E[X|Y=y].
- This interpretation turns the derivative calculation into a relationship between the posterior mean and the marginal density.
- The score is defined here as the derivative of log pY(y) with respect to the observation y.
- Rearranging the conditional-mean calculation gives E[X|Y=y] = y + σ² times the score of pY at y.
- Amini calls this relation Tweedie's identity and notes that it connects optimal denoising to the marginal distribution of the noisy data.
- At approximately 40:08, the transcript stops carrying intelligible lecture material; the uploader warns that sound fails around the 40-minute mark.
- The last clear discussion concerns applying Tweedie's identity to earlier examples and estimating the score from observations.
- No further derivation or example can be reliably reconstructed from the available transcript.
- The transcript records only an isolated “Okay” at 49:47, with no recoverable explanation or mathematical context.
- A fragment at 51:50 contains only “The,” so it does not establish a new topic.
- The recording gap prevents reliable identification of the lecture material in this interval.
- At 57:39, the transcript contains only “I,” without enough context to identify the subject.
- The final transcript marker at 68:11 is “This,” and does not provide a recoverable conclusion.
- No substantive claims after the Tweedie identity derivation are supported by the available transcript.
Transcript excerpt
0:00 Okay. And this part to finish. So I I actually hadn't uploaded the There is a bit of modification to the slides. I simplified the tail end of it. So uh we'll upload um but we were discussing this idea of um Bayesian um uh prediction and denoising. So we started with the Gaussian case um and the idea is that you have a signal X and you have a prior which is Gaussian and then you have an observation channel uh which basically adds Gaussian noise. Uh and then we what we did we calculated the um posterior distribution of X. So this is the prior and then the conditional let say we observe Y
0:47 basically. We don't observe X. Uh and the conditional distribution of X given Y is really the posterior of X and so uh what we ended up having is uh we discussed a lot of properties of the Gaussian distribution and this conditional distribution ends up being a Gaussian. There is a mean to it. Um so this Gaussian is really the kernel in this case. The way that we define it is like the description of the conditional distribution of X given Y. Uh and then the mean uh has this nice structure. It's a convex combination of uh the observation and the prior mean which is M. Uh and so this mean is really the optimal denoiser. So if you remember what the
1:34 conditional expectation means uh it's like the best prediction of X given Y in the L2 sense. And so if you just want to predict that observation the underlying unknown observation given the noisy observation um this function is the optimal thing to do. Okay. So you apply this to your observation. That's like the optimal denoiser. It minimizes the MSE
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, ARASH AMINI.