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

HyperModel and PTMCMCSampler #218

Open
AaronDJohnson opened this issue Dec 5, 2023 · 0 comments
Open

HyperModel and PTMCMCSampler #218

AaronDJohnson opened this issue Dec 5, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@AaronDJohnson
Copy link
Collaborator

AaronDJohnson commented Dec 5, 2023

Currently, NANOGrav uses an adaptive MCMC (PTMCMCSampler) to get samples from posteriors. Also, we use a form of product space sampling known as the HyperModel which is programmed to be efficient. That is, parameters are not duplicated, and only the unique parameters between models are sampled.

However, this poses an obvious problem: if we consider two very different posteriors, the sampler will adapt to one space and then upon moving to the other will be proposing samples which are adapted to the old posterior. More complicated scenarios, such as more models, will likely compound this issue.

There are two obvious solutions to this: either duplicate the parameters for each posterior (which is expensive on memory) or make a new set of adaptive parameters in PTMCMCSampler. However, what I am proposing here is to discuss which of these options, or perhaps new alternatives (RJMCMC or something else?) to approach the problem when the posteriors could be very different.

@AaronDJohnson AaronDJohnson added bug Something isn't working enhancement New feature or request labels Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant