Open hughsalimbeni opened 6 years ago
Hi Hugh,
Sorry for the late coming. Seems that you've done a lot!
I feel using normalizing flows or other functions (NNs) would be problematic because you cannot just use random weights, otherwise the density may not be of interest as you said.
It may be more helpful to split into three categories
Apart from the target density to choose, it may also be important to standardize the evaluation methods when we use non-synthetic data.
Thanks Jashin! Regarding images and text, I'd very much like to support these evaluations, but that's beyond the comfort zone for now. We'd absolutely welcome contributions in this area.
I think AIS is a nice way to go, but as with the adversarial examples it is much more complicated to implement as it needs the model gradients (and prior). There's a torch implementation here, which goes with this very excellent paper by @alexggmatthews et al. Ideally I'd rather the models only return numpy objects, though, so a wide class of model can be supported (including ones with non-differentiable joint densities).
Give me a few days to sort out the repo structure and then I'd gladly work on a branch together to see how this might work out.
There are various ways this could be done: