Homepage › Solution manuals › Kevin P. Murphy › Machine Learning: a Probabilistic Perspective › Exercise 21.3 - Variational lower bound for VB for univariate Gaussian
Exercise 21.3 - Variational lower bound for VB for univariate Gaussian
Answers
Recall that the variational lower bound for VB is defined by:
where is the (unnormalized) posterior and is the variational distribution. For the univariate Gaussian case, we already arrive in (21.84)-(21.87) and (21.92)-(21.97), thus we only have to fill the gaps (21.88)-(21.91), among which the last three equations have been illustrated in Chapter 2.
Here we derive (21.88). The Gamma distribution is an exponential family distribution:
whose sufficient statistics is and natural parameter is . Its cumulant function is:
Recall that the expectation of one sufficient statistics is given by the derivative of the cumulant function, therefore:
Finally, according to the defintion , we arrive in:
By using the property of the exponential family, we can get rid of tedious calculus. The rest steps have already been detailed in 21.5.1.6.