Skip to content

Handling invalid samples from search space in constrained BO problem #1059

Answered by Balandat
mcd01 asked this question in Q&A
Discussion options

You must be logged in to vote

Do you know a priori whether a sample is feasible or not? Or do you have to evaluate the function you're trying to optimize in order to find that out?

In the former case, this constraint would ideally be encoded as part of the search space. If that's not easily possible, an alternative (if the cardinality of the search space is not too large) would be to just generate the candidates manually, evaluate the acquisition function and pick the candidate with the highest value. See e.g. facebook/Ax#771 (comment).

I the latter case, then one option would be to build a classification model for trial failures and use that in conjunction with an outcome model, similar to what is discussed in #1042 …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mcd01
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants