NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Constrained Bayesian Optimization with Adaptive Active Learning of Unknown Constraints

Fengxue Zhang, Zejie Zhu, Yuxin Chen · DOI

Introduction

In many real-world engineering and scientific tasks—ranging from designing medical therapies to tuning neural network hyperparameters—the goal is to maximize an objective function (e.g., efficacy) while strictly adhering to safety or resource constraints (e.g., memory limits). Often, both the objective and the constraints are "black boxes": they lack analytical formulas, and evaluating them is expensive, noisy, or both.

While standard Bayesian Optimization (BO) handles unconstrained problems effectively, Constrained Bayesian Optimization (CBO) presents significant challenges. Existing methods often rely on "passive" learning, where constraints are only learned as a side effect of searching for the optimum, or heuristics like multiplying expected improvement by the probability of feasibility. These approaches frequently lack theoretical guarantees and can fail when the feasible region is small or the constraints are complex.

The COBALT Framework

The authors introduce COBALT (COnstrained BO with Adaptive active Learning of unknown constraints), a framework that bridges the gap between BO and Active Learning for Level-Set Estimation (AL-LSE).

The COBALT framework: combining objective and constraint acquisitions through ROI intersection to derive a general acquisition function.

Key components of the COBALT methodology include:

  1. Gaussian Process (GP) Surrogates: COBALT maintains a GP for the objective and a separate GP for each constraint to model uncertainty across the search space.
  2. Region of Interest (ROI) Identification: Instead of searching the entire space, the algorithm identifies high-confidence ROIs. For constraints, the ROI includes areas where the function is likely feasible or where uncertainty is too high to make a determination. For the objective, the ROI includes areas that could potentially surpass the current best feasible value.
  3. ROI Intersection: The search space is drastically pruned by intersecting the ROIs of the objective and all constraints. This prevents the optimizer from wasting expensive evaluations in regions that are clearly infeasible or suboptimal.
  4. Adaptive Acquisition Function: COBALT uses a novel acquisition function that adaptively decides whether to sample a point to better map out the feasible boundary (Active Learning) or to find a higher objective value (Optimization).

Unlike many "plug-and-play" CBO heuristics, COBALT is supported by a formal proof showing that its simple regret is bounded, mathematically guaranteeing convergence to the global optimum under specific assumptions.

Visualization of the GP surrogate for an unknown objective function, illustrating the confidence intervals, the identified ROI, and the selection of the next evaluation point.

Experimental Evaluation

The researchers evaluated COBALT against state-of-the-art baselines (cEI, cMES-IBO, and SCBO) using a mix of synthetic and real-world benchmarks:

  • Synthetic Tasks: Modified versions of the Rastrigin and Ackley functions, where constraints were added to hide the global optimum or shrink the feasible space.
  • Real-World Engineering: Tasks included pressure vessel design (4 variables, 3 constraints), coil compression spring minimization (3 variables, 6 constraints), and car cab design (7 variables, 8 constraints).
  • High-Dimensional Optimization: A 32-dimensional task involving the placement of wave energy converters (UCI Water Converter) to maximize power output.

Key Results

  • Superior Robustness: In multimodal tasks like Rastrigin-1D-1C, COBALT was the only method that consistently reached the global optimum across all trials, even in the presence of observation noise.
  • Efficiency in Sparse Feasibility: COBALT excels when the feasible region is tiny. In the "Spring" task, where only 0.38% of the space is feasible, COBALT successfully found the optimum while other methods struggled to find any valid points.
  • Long-term Convergence: While COBALT may initially "lag" behind simpler heuristics as it spends time mapping constraints, it consistently overtakes them as iterations increase, leading to significantly lower final regret.

Discussion and Future Work

COBALT demonstrates that constraints deserve active learning. By treating them as primary targets rather than simple filters, the algorithm effectively "shrinks" the search space. However, some limitations remain. The current ROI identification relies on pointwise confidence intervals; moving toward global geometric identification could further speed up the process. Additionally, the model currently assumes constraints are independent, whereas many physical systems feature correlated constraints (e.g., temperature and pressure). Future work may involve incorporating multi-output GPs to leverage these correlations and mitigating the cubic scaling of GPs for longer horizons using sparse GP techniques.

Summary updated

BibTeX
@misc{zhang2023constrained,
  author = {Fengxue Zhang and Zejie Zhu and Yuxin Chen},
  title = {{Constrained Bayesian Optimization with Adaptive Active Learning of Unknown Constraints}},
  year = {2023},
  eprint = {2310.08751},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.08751},
}
Figure