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

Constrained Bayesian Optimization under Partial Observations: Balanced Improvements and Provable Convergence

Shengbo Wang, Ke Li

Introduction

In the domain of Bayesian Optimization (BO), a standard assumption is that even when a trial fails to meet constraints, it still provides numerical feedback regarding the degree of violation. However, real-world scenarios often involve Partially Observable Constrained Optimization Problems (POCOPs). In these cases, an infeasible trial—such as a robot collision or a software crash—yields no numerical data for either the objective function or the constraints, providing only a binary failure signal.

This paper, presented at AAAI-24, introduces CBOB (Constrained Bayesian Optimization with Balance), a framework designed to navigate these "black-box" failures. CBOB combines a novel acquisition function that encourages exploration near boundaries with a surrogate model that treats failures as informative truncated probability distributions.

The Challenge of Partial Observability

Standard Constrained Bayesian Optimization (CBO) typically employs Gaussian Processes (GPs) to model objective and constraint functions. When data is missing for infeasible points, two primary issues arise:

  1. Over-exploitation: Without data from the infeasible region, acquisition functions like Expected Improvement (EI) can become overconfident in local "safe" zones, failing to explore potentially better global solutions.
  2. Information Loss: Simple classification-based approaches (like Gaussian Process Classification) often fail to capture the underlying continuous nature of the constraints, leading to data inefficiency.

The CBOB Framework

The authors propose two integrated components to address these challenges:

1. Heterogeneous-likelihood Gaussian Processes (HLGP)

To utilize the information inherent in a failure, CBOB employs a "switched" likelihood model. For feasible points, a standard Gaussian likelihood is used. For infeasible points, where values are unobservable, a Truncated Gaussian likelihood is applied. This mathematically encodes the knowledge that the constraint value at that point is above the feasibility threshold, even if the exact value is unknown. Inference is performed using Expectation Propagation (EP) to maintain computational efficiency.

Visualization of the Heterogeneous-likelihood Gaussian Process (HLGP) and the Dynamic Probability of Feasibility (DPOF).

2. Expected Improvement with Constraint and Balance (EICB)

CBOB introduces Dynamic Probability of Feasibility (DPOF), which modifies the standard acquisition function by adding a "balance" term ($\beta$). This term prioritizes exploration near the estimated boundaries of the feasible region. By "testing the fences," the algorithm avoids stagnation and is more likely to discover superior feasible regions that a more conservative approach would miss. Crucially, the authors provide a theoretical proof of convergence, ensuring that this added exploration does not prevent the algorithm from finding the global optimum.

Experimental Evaluation

The researchers evaluated CBOB against state-of-the-art baselines, including EIC, MESC, and TSC, across a variety of synthetic benchmarks and real-world engineering tasks. These included hyperparameter optimization for machine learning models (XGBoost, MLP) and complex robotics simulations like Lunar Landing and Swimmer.

Performance comparison of CBOB against baselines across multiple benchmarks, demonstrating superior convergence in finding optimal values and rewards.

Key Results

  • Superior Performance: CBOB consistently achieved better "Best Observed Values" across most benchmarks.
  • Effective Exploration: While CBOB often recorded a lower ratio of feasible evaluations during the search process, this "curiosity" allowed it to map the feasible space more accurately, ultimately leading to higher-quality final solutions.
  • Robotics Applications: In the Swimmer and Lunar Landing tasks, CBOB successfully identified high-reward control policies while navigating hidden safety constraints more effectively than traditional methods.

Conclusion

CBOB represents a significant advancement in handling constrained optimization when numerical feedback is limited. By treating failures as informative data points through HLGP and balancing exploration with DPOF, the framework achieves state-of-the-art results with provable convergence. While future work may focus on "hard-safety" constraints where any failure is unacceptable, CBOB provides a robust solution for many engineering and machine learning applications where failures are a natural, albeit uninformative, part of the search process.

Summary updated

BibTeX
@inproceedings{wang2024constrained,
  author = {Shengbo Wang and Ke Li},
  title = {{Constrained Bayesian Optimization under Partial Observations: Balanced Improvements and Provable Convergence}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i14.29488},
}
Figure