Constrained Offline Black-Box Optimization via Risk Evaluation and Management

Yiyi Zhu, Huakang Lu, Yupeng Wu, Shuo Liu, Jing-Wen Yang, Hong Qian

Offline Black-Box Optimization (BBO) is a critical paradigm for industrial applications where real-world experimentation is costly or hazardous, such as protein design or aerospace engineering. The goal is to identify an optimal design $x$ that maximizes a score $f(x)$ subject to constraints $g(x) \leq 0$, using only a static, pre-collected dataset.

However, offline BBO faces two primary challenges:

  1. Out-of-Distribution (OOD) Hallucination: Surrogate models often predict erroneously high scores for designs far from the training data.
  2. Constraint Violation: Models must navigate complex feasibility boundaries without the ability to query a simulator for validation.

Existing methods often conflate these risks, leading to overly conservative optimization or unstable performance. COOREM (Constrained Offline Optimization via Risk Evaluation and Management) addresses this by explicitly decoupling OOD risk from constraint risk.

The COOREM Framework

COOREM integrates three modular components to manage the uncertainty inherent in offline data:

  1. Adaptive Surrogate Model (ASM): A score predictor that incorporates a regularization term to suppress predicted values in known infeasible regions, preventing the optimizer from being lured into "bad" territory.
  2. Composite Risk Evaluation Model (CREM): A dual-head Energy-Based Model (EBM) that separately quantifies OOD Risk (distance from the data manifold) and Constrained Risk (likelihood of constraint violation).
  3. Adaptive Risk Management (ARM): A dynamic controller that adjusts the optimization step size based on the specific risk profile of the current design candidate.
Overview of the COOREM architecture, showing the dual-energy training for risk evaluation and the adaptive surrogate model.

Risk-Aware Navigation

The core innovation of COOREM lies in how it responds to different types of risk. Traditional methods might stop optimization entirely when encountering any uncertainty. In contrast, COOREM's ARM module employs a nuanced strategy:

  • Feasible & In-Distribution: Uses a normal step size to follow the surrogate's gradient.
  • Infeasible but In-Distribution: Uses a large step size to quickly traverse the known-bad region and return to feasibility.
  • Out-of-Distribution: Uses a negative step size or retreats, as the surrogate model's predictions are no longer reliable.
Visualization of the four optimization scenarios handled by COOREM's Adaptive Risk Management.

Experimental Results

The framework was evaluated on five challenging engineering tasks, including interplanetary trajectory optimization (Cassini 1) and structural design (Three-bar truss). Performance was measured using the Optimality Indicator (OI)—the improvement over the best dataset point—and the Stability Indicator (SI)—the consistency of performance throughout the optimization process.

Key Findings

  • Superior Performance: COOREM consistently outperformed state-of-the-art offline methods like PRIME and DE-PF. Notably, on the Cassini 1 task, COOREM was the only method to consistently find feasible, high-scoring solutions.
  • Stability: Unlike many offline optimizers that "crash" if run for too many iterations, COOREM's risk management ensures high stability (low SI), maintaining design quality even in the absence of an early-stopping oracle.
  • Offline vs. Online: In several instances, COOREM's risk-aware approach allowed it to surpass traditional "online" solvers, which can become trapped in local optima that COOREM's adaptive stepping helps avoid.

Conclusion and Future Work

COOREM demonstrates that separating OOD and constraint risks is essential for robust offline optimization. By intelligently retreating from the unknown while aggressively escaping known infeasible regions, it achieves a balance of exploration and safety. Future work may focus on reducing the computational overhead of the dual-energy training and further refining hyperparameter sensitivity for broader industrial adoption.

Summary updated

BibTeX
@inproceedings{zhu2025constrained,
  author = {Yiyi Zhu and Huakang Lu and Yupeng Wu and Shuo Liu and Jing-Wen Yang and Hong Qian},
  title = {{Constrained Offline Black-Box Optimization via Risk Evaluation and Management}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i21.34470},
}
Figure