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

O6.2 Create SOTA gradient-based Samplers #340

Open
5 of 9 tasks
odunbar opened this issue Jan 16, 2025 · 0 comments
Open
5 of 9 tasks

O6.2 Create SOTA gradient-based Samplers #340

odunbar opened this issue Jan 16, 2025 · 0 comments

Comments

@odunbar
Copy link
Member

odunbar commented Jan 16, 2025

Issue

Following work from a summer research project, we have determined that, though not always clear picture, using gradient-based samplers can leverage some performance gains when the gradient (w.r.t the current parameter) is fast to calculate. For example, if we utilize auto-differentiable emulator codes, this is possible. During the project some nice comparison tests were developed for this assessment though are currently stored on a private repository.

The idea of O6.2 is to incorporate the pipeline into src, and the assessements into tests/examples for CES.jl

Current state of the art

We assessed the following during the summer research project

  • Samplers: Currently there are many different state-of-art MCMC approaches that are simple to implement and can leverage differentiation of the state
  • Autodiff: There are several julia auto-diff packages in various states of use that could be used for these implementations (Zygote, Enzyme, ForwardDiff, BackwardDiff etc.). We
  • Compatible emulators: The weakest of the three, many GP emulator codes are not compatible with any of the autodiff packages, often different packages would be compatible with only one of them.

For the summer we settled upon ForwardDiff (and BackwardDiff) compatible with AbstractGPs. The drawback is AbstractGPs does not include the interface for training the GP.

Plan

We wish to create a framework that is easy to extend to new emulators/samplers/autodiff frameworks as this area of software is still in flux

Tasks

Preview Give feedback
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

1 participant