Prior on parameters different than the proposal prior (SNPE_C with existing simulations) #842
CompiledAtBirth
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am experimenting with the sbi package in the specific case of SNPE_C -- Greenberg, Nonnenmacher & Macke (ICML 2019) -- with summary statistics from existing simulations. The feedback of advanced users of simulation based inference can be very interesting.
Since the forward model is intensive and I cannot sample summary statistics from it on the fly (here N-body cosmological simulations) , I am using a single-round of Algorithm 1 on the whole dataset.
The parameters of the pre-run simulations have been sampled from a Latin-Hypercube, corresponding to a specific BoxUniform prior which is by definition my proposal prior.
As far as I know, we can also pass the proposal prior through the proposal argument in the append_simulations method defined in snpe_base.py.
What could be good practice when using$p_1^{\sim}(\theta) \neq p(\theta)$ , where $p_1^{\sim}$ is the proposal prior of the simulations dataset and $p(\theta)$ a specific prior modeling previous knowledge about the parameters ?
Below are some plots from a toy test on 3 parameters with a standard summary statistic in Cosmology.
As illustrated in the plots, using an inaccurate proposal "MVN prior, proposal ignored" does not seem to impede the training and constraints too much, but using a prior different than the accurate proposal distribution clearly shows something is going wrong (eg corner plot in red).
Has the$p_1^{\sim} \neq p$ case been documented and tested in the SNPE literature?
NB: I am using a simple Mixture Density Network (MDN) as the density estimator defined through utils.get_nn_models.posterior_nn
Beta Was this translation helpful? Give feedback.
All reactions