-
Notifications
You must be signed in to change notification settings - Fork 6k
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
[tune] Support for multi-objective optimization? #8018
Comments
One way you can do this is by having a weighted sum of the objective values -
Some underlying packages such as Dragonfly (https://dragonfly-opt.readthedocs.io/en/master/getting_started_py/) and Ax (facebook/Ax#185) also have multi-objective optimization support. You should hypothetically be able to get them working with RayTune. |
@richardliaw Thanks for answering my question. But I still have some problem.
Besides, it's there a plan for supporting multi-objective optimization? |
For existing schedulers, I have no immediate plan to support multi-objective optimization. However, I'm happy to take any contributions. Note that this is not hard to do - adding multi-objective optimization does not require any lower-level modifications to the framework. I'll close this for now, but feel free to reopen if you have any questions. |
were you able to get this to work? @bitosky |
@aswanthkrishna I didn't solve it directly. I wrote my own scheduler and analyzer to deal with multi-objective optimization problems. It was not easy for me, And I spent quite a while to do that. |
@bitosky do you mind sharing your custom scheduler and analyzer example? Also came across Optuna Multi-objective Example in the Ray docs. It mentions that schedulers may not work correctly with multi-objective optimization. |
Hi, @bitosky just wanted to follow up on this! An example of your custom scheduler would be super-helpful! |
Maybe worth mentioning https://honegumi.readthedocs.io/ with the multi-objective selection set to True (without early stopping) |
What is your question?
In the documents, "metric" refers to "the training result objective value attribute".It should be set to a single string, such as "mean_loss" or "episode_reward_mean" etc.
It's there any way to tackle multi-objective optimization problem? For example, ("mean_loss", "accuracy" , "something else") as a metric.
The text was updated successfully, but these errors were encountered: