Add option to allow tempering rather than mixing for SMC and population MCMC #1574
Replies: 3 comments
-
I kind of find both these not very useful. I would rather prefer |
Beta Was this translation helpful? Give feedback.
-
@sanmitraghosh That's interesting and I think also something we should add (but I don't think it should be the default because that's not typically the default in other papers). To be clear, when you say you 'reimplement'ed populationMCMC, was this out of Pints? Just want to make sure the code is doing what I currently think it is doing, haha! I agree returning the marginal likelihood (if possible) should be done. In Neal's AIS paper, he does this using, beta * log(theta|x) + (1-beta) * other, where 'other' could be the prior, so we could return the marginal likelihood in that case? How can you do it in your case? I don't know how to do it in the tempering case. My view is that, the marginal likelihood - whilst some find it useful - isn't the main purpose of Pints and so should have as default whichever algorithm we think is best for generating posterior samples. I think we should have all three options available to a user/for benchmarking though. |
Beta Was this translation helpful? Give feedback.
-
@ben18785 @MichaelClerx I want to quickly write down my final observations regarding this issue.
I must point out that I am not a huge fan of marginal likelihood either. But SMC sampler is famous for estimating it as a byproduct and thus I think at the least we should just return this quantity for SMC when the correct tempering (a OR b) is used. |
Beta Was this translation helpful? Give feedback.
-
At the moment the series of intermediate distributions are different between SMC and populationMCMC. We should allow each to have the other's option and make the default the same between both.
In many cases, this won't make a difference if the priors are flat. If they aren't, however, it will affect performance, and so we want to allow both options, because we won't know what's best.
Beta Was this translation helpful? Give feedback.
All reactions