[Paper Review] Constrained Bayesian Optimization with Max-Value Entropy Search
This paper proposes cMES, a constrained Bayesian optimization method that extends Max-Value Entropy Search to handle both continuous and binary constraints using joint posterior sampling of the constrained optimum. It outperforms prior methods like constrained Expected Improvement and adaptive percentile baselines in real-world hyperparameter optimization, while showing that the mean field approximation for posterior sampling leads to poor performance due to incorrect independence assumptions.
Bayesian optimization (BO) is a model-based approach to sequentially optimize expensive black-box functions, such as the validation error of a deep neural network with respect to its hyperparameters. In many real-world scenarios, the optimization is further subject to a priori unknown constraints. For example, training a deep network configuration may fail with an out-of-memory error when the model is too large. In this work, we focus on a general formulation of Gaussian process-based BO with continuous or binary constraints. We propose constrained Max-value Entropy Search (cMES), a novel information theoretic-based acquisition function implementing this formulation. We also revisit the validity of the factorized approximation adopted for rapid computation of the MES acquisition function, showing empirically that this leads to inaccurate results. On an extensive set of real-world constrained hyperparameter optimization problems we show that cMES compares favourably to prior work, while being simpler to implement and faster than other constrained extensions of Entropy Search.
Motivation & Objective
- To address the challenge of Bayesian optimization under unknown constraints, particularly in real-world hyperparameter tuning where constraint violations are costly or impossible.
- To develop a computationally efficient acquisition function that generalizes Max-Value Entropy Search (MES) to handle both real-valued and binary constraint feedback.
- To improve upon existing constrained BO methods by enabling better exploration of the feasible region while minimizing unfeasible evaluations.
- To investigate the impact of different sampling strategies for the constrained optimum $y_\star$, especially the validity of the mean field approximation used in prior MES work.
Proposed method
- cMES introduces a novel information-theoretic acquisition function that maximizes the expected information gain about the constrained minimum of the objective function.
- It uses joint posterior sampling of the constrained optimum $y_\star$ to avoid the independence assumption of the mean field approximation, which is shown to degrade performance.
- The method supports both observed and unobserved objective feedback, allowing it to handle cases where the objective is only evaluated when constraints are satisfied.
- The acquisition function is computed via Monte Carlo approximation over a discretized set of candidate optima, with joint sampling of $y_\star$ across objective and constraint values.
- The approach is designed to be simpler and faster than other Entropy Search-based constrained BO methods, while maintaining high sample efficiency.
- The algorithm is evaluated on real-world hyperparameter optimization problems with both binary (e.g., OOM failures) and continuous constraints (e.g., latency limits).
Experimental results
Research questions
- RQ1Does the joint sampling of the constrained optimum $y_\star$ lead to better optimization performance than the mean field approximation used in prior MES?
- RQ2How does cMES compare to established baselines like constrained Expected Improvement and adaptive percentile methods in terms of convergence speed and feasibility?
- RQ3Can cMES effectively handle both binary and continuous constraint feedback in real-world hyperparameter optimization settings?
- RQ4What is the impact of the number of sampled optima $|Y^*|$ on the performance of cMES?
- RQ5Can cMES be extended to cases where constraints and objectives can be evaluated independently?
Key findings
- cMES significantly outperforms constrained Expected Improvement (cEI) and other baselines in terms of average ranking across 10 constrained hyperparameter optimization problems, achieving a mean rank of 3.08 in the unobserved objective case.
- The mean field approximation for sampling $y_\star$ leads to a substantial performance drop, with average rankings increasing from 5.5 to 6.5 when using marginal over joint sampling.
- Joint sampling of $y_\star$ remains effective even with as few as 2 samples, and performance plateaus beyond 10 samples, indicating that high sample counts are unnecessary.
- The adaptive percentile baseline, though simple, outperforms cEI and is competitive with cMES, suggesting it should be considered a strong baseline in future work.
- cMES achieves better performance than PESC and other Entropy Search variants, while being simpler and faster to implement.
- The method maintains strong performance across both binary and real-valued constraint feedback settings, demonstrating its generalization capability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.