Unable to get good regret of suggested point result for qKnowledgeGradient #2664
Replies: 1 comment 2 replies
-
Two things:
Seems like you're telling the model the observation noise variance is 0.0625 rather than 0.25? Presumably will cause the model to behave very poorly b/c it thinks that the observed values are much less noisy than they actually are and as a result you'll likely end up with a poor fit with very short lengthscales. Since KG performance depends much more on the surrogate model quality than EI performance, this could explain at least part of the behavior you're seeing.
You're computing the "suggested best point" for KG as the best function value of the From the paper:
|
Beta Was this translation helpful? Give feedback.
-
Hi all,
I am currently trying to replicate the experimental finding w.r.t. to Botorch Paper, specifically the figure 9 in the paper.
I am only looking at the comparison between Botorch EI (orange curve) and OKG (red curve) for the Branin testing function (d=2). I have been struggling for the past few weeks trying to replicate the finding in the paper as the regret value for my implementation for the OKG method is not converging downwards sufficiently. I ran a comparison test between this implementation of OKG and qEI (logarithmic variant) for 20 steps over 30 trials on an ascending sequence of seed value from 0 to 29 and obtained the following result.
Noise of N~(0,0.5^2)
Noise of N~(0,0.25^2)
I understand that the paper used 100 trials and 40 steps (interpreted from the figure) and that may explain the difference in result, but I was not expecting the regret value result of OKG to still remain so high as the paper results shows a fairly quick drop in regret value for OKG after a few batches of seen examples. I am not exactly sure whether this is due to a difference in hyperparameter used or implementation error/conceptual misunderstanding but I would appreciate if anyone has any advice on this matter. Thank you!
Here is a snippet for the OKG code
`
Here is a snippet of my code for the other relevant functions.
`
Beta Was this translation helpful? Give feedback.
All reactions