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

Adding Bayesian optimization with BOTorch instead of TPE with Optuna #363

Open
1 task done
EduardoGarrido90 opened this issue Mar 7, 2023 · 4 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@EduardoGarrido90
Copy link

🚀 Feature

For research, I am going to test the performance of Optuna's TPE with the one of Bayesian optimization with BOTorch. I am just asking for permission for a future pull request with all the functionality that I am going to do in a fork and just to know if you are interested on this.

Motivation

In machine learning, Bayesian optimization gives state-of-the-art results in hyper-parameter optimization outperforming TPE.

Pitch

Leave Bayesian optimization as an alternative for optimization (given by args) maintaining Optuna.

Alternatives

No response

Additional context

No response

Checklist

  • I have checked that there is no similar issue in the repo
@EduardoGarrido90 EduardoGarrido90 added the enhancement New feature or request label Mar 7, 2023
@araffin
Copy link
Member

araffin commented Mar 7, 2023

Hello,
TPE is already kind of doing bayesian optimization, no? (predict the outcome for a given set of parameters and provide uncertainy).
GP is already available here: https://github.com/DLR-RM/rl-baselines3-zoo/blob/master/rl_zoo3/exp_manager.py#L685-L691

In machine learning, Bayesian optimization gives state-of-the-art results in hyper-parameter optimization outperforming TPE.

Well, I would be happy to receive a PR if it is backed by experimental results for RL.

@EduardoGarrido90
Copy link
Author

EduardoGarrido90 commented Mar 7, 2023 via email

@araffin
Copy link
Member

araffin commented Mar 7, 2023

I am happy with implementing BOTorch here as I am going to perform a

just to be sure, you plan to use https://optuna.readthedocs.io/en/stable/reference/generated/optuna.integration.BoTorchSampler.html, right?

@EduardoGarrido90
Copy link
Author

EduardoGarrido90 commented Mar 7, 2023 via email

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

No branches or pull requests

2 participants