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

Sync Algorithm Settings names for various Optimisation Frameworks #1627

Open
andreyvelich opened this issue Aug 17, 2021 · 4 comments
Open

Comments

@andreyvelich
Copy link
Member

/kind feature

Since Katib supports various frameworks with the same algorithms: https://www.kubeflow.org/docs/components/katib/katib-config/#suggestion-settings, we should try to be consistent with Algorithm Settings names.

For example, n_EI_candidates in TPE algorithm in Hyperopt, and n_ei_candidates in TPE algorithm in Optuna.
We have to validate all supported algorithms.

cc @gaocegege @johnugeorge @c-bata @g-votte

@g-votte
Copy link
Contributor

g-votte commented Aug 19, 2021

Sounds good. Actually, I was wondering which name I should adopt when creating #1613 .

I summarized below the correspondence of the algorithm setting among the Goptuna, Optuna, and Hyperopt services. We may want to fix the inconsistency especially around TPE.

TPE Parameters

  • We can align ei_candidates and n_EI_candidates.
  • gamma and prior_weight have been supported only with the Hyperopt service so far. We can think about exposing those parameters for Goptuna and Optuna.
  • The behavior around startup_trials is different. With Optuna and Goptuna, the parameter is supported as an argument of the algorithm setting. In the Hyperopt service, the value is fixed to request_number instead.
goptuna optuna hyperopt
random_state random_state random_state
startup_trials startup_trials not supported
(request_number is passed to hyperopt instead)
ei_candidates ei_candidates n_EI_candidates
not supported not supported gamma
not supported not supported prior_weight

CMA-ES Parameters

  • The parameter names are consistent b/w Goptuna and Optuna.
  • CMA-ES is not supported with the Hyperopt service.
goptuna optuna hyperopt
random_state random_state N/A
sigma sigma N/A
restart_strategy restart_strategy N/A

Random Search Parameters

  • The parameter name is consistent among Goptuna, Optuna, and Hyperopt.
goptuna optuna hyperopt
random_state random_state random_state

@andreyvelich
Copy link
Member Author

Thank you for summarising this @g-votte!
I will take a look closely after the Katib 0.12 release on that.

@stale
Copy link

stale bot commented Jan 3, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the lifecycle/stale label Jan 3, 2022
@andreyvelich
Copy link
Member Author

/lifecycle frozen

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

No branches or pull requests

3 participants