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

Implement Delayed Rejection HMC #368

Open
rlouf opened this issue Oct 2, 2022 · 4 comments
Open

Implement Delayed Rejection HMC #368

rlouf opened this issue Oct 2, 2022 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed mcmc MCMC samplers sampler Issue related to samplers

Comments

@rlouf
Copy link
Member

rlouf commented Oct 2, 2022

Presentation of the new sampler

https://arxiv.org/abs/2110.00610

How does it compare to other algorithms in blackjax?

Authors claim up to 5x more ESS / gradient evaluation.

Where does it fit in blackjax?

In the mcmc section. The delayed rejection part is not specific to HMC and should be relatively general.

Are you willing to open a PR?

Yes.

@rlouf rlouf added sampler Issue related to samplers enhancement New feature or request help wanted Extra attention is needed mcmc MCMC samplers labels Oct 2, 2022
@rlouf rlouf mentioned this issue Dec 11, 2022
5 tasks
@AdrienCorenflos
Copy link
Contributor

Delayed rejection is a fairly old idea, there may be some room to make it a meta-algorithm rather than an instance of HMC. See https://www.jstor.org/stable/2673700

@gil2rok
Copy link
Contributor

gil2rok commented Feb 20, 2024

I'm working with the STAN team to implement / benchmark Delayed Rejection Generalized HMC. I'd be happy to answer any questions, if helpful.

Right now the algorithm is still under testing, but can update later when it is finalized.

@gil2rok
Copy link
Contributor

gil2rok commented Jun 21, 2024

Here is the preprint of the Delayed Rejection Generalized Hamiltonian Monte Carlo (DR-G-HMC) algorithm: https://arxiv.org/abs/2406.02741 .

TL;DR it outperforms DR-HMC on multiscale densities and is approximately competitive with NUTS on non multi scale densities. Would love to know what people think!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed mcmc MCMC samplers sampler Issue related to samplers
Projects
None yet
Development

No branches or pull requests

4 participants