Is there a way to weight acquisition functions by input coordinate? #1440
Replies: 3 comments 2 replies
-
Hmm what exactly are you trying to achieve with this weighting? I'm sure one could add more general support for sth like this, but it's not really clear to me why one would do that. |
Beta Was this translation helpful? Give feedback.
-
In a real experiment, it could be very expensive to move a detector a long distance on a raster scan, for example. Or, certain regions of the parameter space may be more challenging to produce reasonable results in, such as very high temperature. A weighting scheme would allow one to take direct control over how much the acquisition function should favor that region. Does this make sense? |
Beta Was this translation helpful? Give feedback.
-
Hey @Balandat, I have a quick followup for you. I'm working with a colleague who ran into this really nice paper displaying inequality constraints modeled by a GP. They seem to use a multiplicative function to do this. It got me thinking, I'm curious why the penalty function is additive. I agree it's very straightforward to extend this to a multiplicative weighting function (I've actually done so), but I also wanted to know if botorch has any plans for this or if there's a way to do it more natively using botorch's API. Thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am curious, because I haven't found a way to do this. Say we have an arbitrary acquisition function. Is there a way to weight the value of the acquisition function by the value of the input?
This is more or less as simple as redefining the
forward
method on acquisition function (which I have done, but it really feels like a hack) but I am wondering if there is a more natural way of doing this in BoTorch.A silly example of this might be:
and then something like
and it would be nice to have a way to actually use this weight function as an input to the acquisition functions. Obviously it can trivially generalize to the batch sampling of the acquisition function and multiple input directions.
Beta Was this translation helpful? Give feedback.
All reactions