Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing RJMCMC (reversible-jump) sampler #2023

Open
Moelf opened this issue Jun 23, 2023 · 4 comments
Open

Missing RJMCMC (reversible-jump) sampler #2023

Moelf opened this issue Jun 23, 2023 · 4 comments

Comments

@Moelf
Copy link
Contributor

Moelf commented Jun 23, 2023

Just wanna open an issue to track this

@Red-Portal
Copy link
Member

What do you mean by track? Was there any plan to include an RJMCMC sampler at any point?

@Moelf
Copy link
Contributor Author

Moelf commented Jul 15, 2023

no, but someone may also want this and this can track how many people may want it

@bgroenks96
Copy link
Contributor

I would be interested in it. I only heard of it recently from a paper, but it sounds like a nice workaround to the high computational cost of discrete model comparison (i.e. fitting the posterior for lots of different models w/ different parameter spaces). But practically, I would have no idea how to implement this in Turing.

@Red-Portal
Copy link
Member

As long as you can infer which variable is the model indicator and the dimensionality of the parameters can change, one could, in principle, implement such a backend for Turing. I think I vaguely remember that DynamicPPL cannot handle dynamically changing dimensions, but maybe I'm wrong on this.

The thing about RJMCMC that always concerns me is that RJMCMC tries to estimate Bayes factors for the Metropolis-Hastings step. And since estimating Bayes factors is rarely a good idea, the cases where RJMCMC actually works are pretty limited. They are notoriously hard to diagnose, too. They might look like they are working, but it's hard to tell if it's not producing garbage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants