Skip to content

Log Probability Differences and Posterior Discrepancies in SNLE/SNPE with Various Sampling Techniques #1295

Discussion options

You must be logged in to vote

Hi there! Thanks for opening this!

  1. NPE returns log-probabilities of the normalized posterior p(t | x). NLE returns log-probabilities that are not normalized, i.e. it returns p(x|t)p(t) (without dividing by p(x)). So, overall, the log-probablities of NPE and NLE should be exactly proportional for a given observation, but are not expected to match exactly.

  2. Generally, when you can use rejection sampling (because you have few parameters, typically less than 5), then it is probably your best choice. We have found that MCMC is also very robust and gives good results. Variational inference is a very fast method if you have (very) many parameters, but it can be inaccurate. In particular, VI (…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by janfb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants