Skip to content

Support outcome constraints in preference optimization - #5324

Closed
saitcakmak wants to merge 1 commit into
meta:mainfrom
saitcakmak:export-D134367578
Closed

saitcakmak wants to merge 1 commit into
meta:mainfrom
saitcakmak:export-D134367578

Conversation

@saitcakmak

Copy link
Copy Markdown
Contributor

Summary:

What Changed

  • Accept and validate outcome constraints on PreferenceOptimizationConfig and preserve them through cloning and serialization.
  • Keep constraint-only outputs available to the acquisition function without feeding them to the learned preference model. Evaluate observed feasibility on design-space data only, and use the probability-of-feasibility fallback when no feasible design has been observed.
  • Use the BoTorch fixes in the parent diff to handle feasibility with augmented utility samples.

Differential Revision: D134367578

Summary:
## What Changed
- Accept and validate outcome constraints on `PreferenceOptimizationConfig` and preserve them through cloning and serialization.
- Keep constraint-only outputs available to the acquisition function without feeding them to the learned preference model. Evaluate observed feasibility on design-space data only, and use the probability-of-feasibility fallback when no feasible design has been observed.
- Use the BoTorch fixes in the parent diff to handle feasibility with augmented utility samples.

Differential Revision: D134367578
@meta-cla meta-cla Bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Nov 25, 2026
@meta-codesync

meta-codesync Bot commented Nov 25, 2026

Copy link
Copy Markdown

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

@meta-codesync

meta-codesync Bot commented Nov 25, 2026

Copy link
Copy Markdown

This pull request has been merged in 5beadc8.

@meta-codesync meta-codesync Bot added the Merged label Nov 25, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 96.61%. Comparing base (227e2ff) to head (57d81a8).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
ax/adapter/tests/test_torch_adapter.py 95.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5324      +/-   ##
==========================================
- Coverage   96.62%   96.61%   -0.01%     
==========================================
  Files         621      621              
  Lines       71261    71301      +40     
==========================================
+ Hits        68853    68887      +34     
- Misses       2408     2414       +6     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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. Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants