Append_simulations and multiround #1655
-
|
Hi, I was digging into the SBI code, and I realized that internally, in a multi-round SBI context, each round reuses simulations from all previous rounds by default. However, I thought this was not possible in SNPE, only in TSNPE. My reasoning is that in SNPE the proposal prior changes in every round, so the posterior needs to be corrected with the proposal prior of that round. In contrast, in TSNPE the proposal prior is simply c × prior restricted to the support of the posterior, so this correction step is not needed. Or is it in fact the case that, when computing the loss for SNPE, you also include samples from previous rounds, applying the appropriate loss correction for each round’s proposal? For instance, if we are in round 2, would we compute the loss using the standard log-likelihood for the samples pooled from the first round, while for the samples from the second-round proposal we would use the corrected posterior with that proposal? Thanks in advance for your help, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
|
Hi! All SNPE methods except SNPE-A allow re-using simulations.
Yes, that's exactly what we do for SNPE-B and for non-atomic SNPE-C. Notably, atomic SNPE-C does not even require knowledge of the proposal distribution. All the best |
Beta Was this translation helpful? Give feedback.
Hi! All SNPE methods except SNPE-A allow re-using simulations.
Yes, that's exactly what we do for SNPE-B and for non-atomic SNPE-C.
Notably, atomic SNPE-C does not even require knowledge of the proposal distribution.
All the best
Michael