Skip to content

Validate candidates generated by Acquisition.optimize#4972

Open
dme65 wants to merge 2 commits intofacebook:mainfrom
dme65:export-D95078354
Open

Validate candidates generated by Acquisition.optimize#4972
dme65 wants to merge 2 commits intofacebook:mainfrom
dme65:export-D95078354

Conversation

@dme65
Copy link
Contributor

@dme65 dme65 commented Mar 4, 2026

Summary: This adds validation to Acquisition.optimize to make sure the generated candidates satisfy the bounds, values specified by choice parameters, and potential parameter constraints. This will allow us to catch potential downstream errors in the acquisition function optimization in BoTorch.

Differential Revision: D95078354

@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Mar 4, 2026
@meta-codesync
Copy link

meta-codesync bot commented Mar 4, 2026

@dme65 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D95078354.

dme65 pushed a commit to dme65/Ax that referenced this pull request Mar 4, 2026
Summary:

This adds validation to `Acquisition.optimize` to make sure the generated candidates satisfy the bounds, values specified by choice parameters, and potential parameter constraints. This will allow us to catch potential downstream errors in the acquisition function optimization in BoTorch.

Differential Revision: D95078354
@dme65 dme65 force-pushed the export-D95078354 branch from 26a1941 to d1569be Compare March 4, 2026 20:15
dme65 pushed a commit to dme65/Ax that referenced this pull request Mar 5, 2026
Summary:

This adds validation to `Acquisition.optimize` to make sure the generated candidates satisfy the bounds, values specified by choice parameters, and potential parameter constraints. This will allow us to catch potential downstream errors in the acquisition function optimization in BoTorch.

Differential Revision: D95078354
@dme65 dme65 force-pushed the export-D95078354 branch from d1569be to a9f4531 Compare March 5, 2026 00:18
dme65 pushed a commit to dme65/Ax that referenced this pull request Mar 5, 2026
Summary:
Pull Request resolved: facebook#4972

This adds validation to `Acquisition.optimize` to make sure the generated candidates satisfy the bounds, values specified by choice parameters, and potential parameter constraints. This will allow us to catch potential downstream errors in the acquisition function optimization in BoTorch.

Differential Revision: D95078354
@dme65 dme65 force-pushed the export-D95078354 branch from a9f4531 to 612cb8c Compare March 5, 2026 00:21
dme65 pushed a commit to dme65/Ax that referenced this pull request Mar 5, 2026
Summary:

This adds validation to `Acquisition.optimize` to make sure the generated candidates satisfy the bounds, values specified by choice parameters, and potential parameter constraints. This will allow us to catch potential downstream errors in the acquisition function optimization in BoTorch.

Reviewed By: saitcakmak

Differential Revision: D95078354
@dme65 dme65 force-pushed the export-D95078354 branch from 612cb8c to 390b99c Compare March 5, 2026 02:37
David Eriksson added 2 commits March 4, 2026 18:41
…acebook#4971)

Summary:

`optimize_with_nsgaii` may produce invalid candidates as it currently doesn't  support discrete parameters (treated as floats), inequality constraints (completely ignored), and post processing functions (also ignored). These features were added to BoTorch as part of this diff stack. Here we update Ax to pass down the relevant parameters to `optimize_with_nsgaii` which ensures the generated candidates are within the search space.

Reviewed By: sdaulton, saitcakmak

Differential Revision: D95243318
Summary:

This adds validation to `Acquisition.optimize` to make sure the generated candidates satisfy the bounds, values specified by choice parameters, and potential parameter constraints. This will allow us to catch potential downstream errors in the acquisition function optimization in BoTorch.

Reviewed By: saitcakmak

Differential Revision: D95078354
@dme65 dme65 force-pushed the export-D95078354 branch from 390b99c to 04c26c6 Compare March 5, 2026 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant