-
Notifications
You must be signed in to change notification settings - Fork 313
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
[GENERAL SUPPORT]: Plotting Pareto fronts / Posterior mean model #2623
Comments
Hi @renaissanceM4n , I'm assuming you're using https://ax.dev/tutorials/visualizations.html#3.-Tradeoff-plots. I don't know what you mean by "posterior mean model" here though. I'd be happy to help you if you could give me a minimal repro that I can run and help you improve. Also, when you refer to it extrapolating strongly, I need some visuals, perhaps raw effects vs predicted effects plots, to see what you mean by that. |
Hi @danielcohenlive , thank you for the response! Before that i tried to plot the pareto frontier based on the GP-model with this structure and the following happened Two things would be interesting for me now: |
What do you mean by reference point here?
I'm still unsure which model you're referring to. A code pointer would clear it up.
The model thinks it can do better on the at expanding the hypervolume on a different area of the curve. If you want to restrict it you can set objective thresholds. These are basically outcome_constraints for objectives. I don't know if you're using the dev API or service API, so I can't show you how to add them without a code repro.
The smallest possible value of the objective being 0 is a result of the implementation of your metric or evaluation function, which the model doesn't have access to. While I the nature of the model is to extrapolate, you may be able to change what it will predict by setting priors. cc @Balandat I would caution against trying to fix this problem with outcome constraints. The model will still predict negative values, but the constraint will eliminate the candidates, creating the false impression it worked.
We don't currently have that plot. I'd suggest using both |
Thank you for the quick response @danielcohenlive .
The reference point is equivalent to the defined objective_thresholds for each objective. It is a bad reference value depending on the optimisation aim (min, max) for calculating the Hypervolume Improvement mentioned in this paper: https://arxiv.org/abs/2006.05078
https://ax.dev/api/_modules/ax/plot/pareto_utils.html
I am using the Service-API and also defined objective_thresholds. As already mentioned, the reference point is equivalent to the objective_thresholds. Sorry for the confusion. Despite the set objective_threshold of 1, points beyond this are added to the Pareto set.
If this is a possibilty to face this issue i would definiately try it.
I was wondering if there is a useful implementation to specify a lower and upper bound. But in principle, the set objective_threshold should influence the predictions of the model in such a way that the range beyond this is ignored?
Thank you very much for this information! |
@renaissanceM4n About the negative metric value being impossible: it's strange that the model predicts a negative value when it's not possible, but I don't know if it's actually a problem you have to fix. It's just a predicted value, so it's really only important that it's directionally accurate. It won't affect your observed values later.
It sounds like something isn't working right here. If you send me a minimal repro I can run, I can try to help you fix it. |
Hi @danielcohenlive Over several steps pareto_frontier_evaluator() is called for the observed values. With compute_posterior_pareto_frontier() there is no filtering according to the objective_thresholds. |
Question
I plotted my evaluated data with the interact_pareto_frontier() method and did not use the posterior mean model. Is there a simple way to set the evaluated values that do not belong to the Pareto set in contrast to the Pareto front?
I am also generally interested in what factors could be responsible for the fact that the posterior mean model extrapolates strongly in its prediction.
Please provide any relevant code snippet if applicable.
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: