S14 Machine learning · Practice
Approximate inference
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 8 kinds solid
Check
A success probability has a uniform prior, and 15 of 50 trials succeed.
(a)
Where is the Laplace approximation centered?
(b)
What standard deviation does it give?
Check
A rate's posterior is gamma with shape 10 and rate 0.5.
(a)
What standard deviation does its Laplace approximation have?
(b)
By how many exact standard deviations is the approximation's center below the true mean?
Check
A Gaussian posterior over two variables has equal standard deviations 1 and correlation 0.5. It's approximated by minimizing KL(q‖p) over factorized Gaussians.
(a)
What standard deviation does each factor get?
(b)
What is the KL divergence of the approximation from the posterior?
Check
A VAE encoder outputs μ = 0.5 and σ = 0.2 for each of 64 latent dimensions.
(a)
What is the total KL term?
(b)
What sample does ε = 0.7 give in one dimension?
Check
A model with 5 parameters has a peak log-likelihood of −150 and log prior −3 at its mode, where the log posterior's Hessian has determinant 2000 (in magnitude).
(a)
What log evidence does Laplace's method estimate?
Check
Laplace sd: 5 of 20, uniform prior?
Check
VAE KL: μ = 0.3, σ = 0.4?
Check
Mean-field sd: σ = 1, ρ = 0.6?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in S14