Introduction
Standard Bayesian Optimization (BO) is a powerful framework for finding the global optimum of expensive black-box functions. However, most traditional BO methods assume continuous feedback, such as a score or a loss value. In many practical applications—ranging from robotics to clinical diagnostics—feedback is inherently binary: a robot either succeeds or fails a task, and a patient either perceives a stimulus or does not. This paper introduces a robust framework for Binary Bayesian Optimization (BBO) that accounts for the context (e.g., task difficulty) in which these binary outcomes occur.
The Challenge: Context-Dependent Binary Feedback
The primary difficulty in BBO is that binary outcomes are often highly dependent on the testing environment or context. For instance, testing a robot's balance on a flat surface (easy context) might always result in success, while testing it on a steep incline (hard context) might always result in failure. Neither scenario provides much information about how to improve the robot's design. To learn efficiently, an algorithm must identify the "Goldilocks" zone: a context that is challenging enough to be informative but not so difficult that success is impossible. This requires balancing the optimization of system parameters with the selection of informative test contexts.
Methodology: The UCB-ALD Framework
The authors propose a sequential heuristic that decouples the optimization problem into two distinct objectives:
- Optimizing Performance ($x$): The algorithm uses standard BO acquisition rules, such as Upper Confidence Bound (UCB) or Thompson Sampling (TS), to select the system parameters $x$ most likely to be the global optimum.
- Maximizing Information ($s$): Once $x$ is chosen, the algorithm employs Bayesian Active Learning by Disagreement (BALD) to select the context $s$. BALD identifies the context where the model is most uncertain about the outcome, ensuring that the resulting binary data point provides the maximum possible information for updating the surrogate model.
Technically, the framework utilizes a Gaussian Process (GP) surrogate model with a Laplace approximation to handle the non-Gaussian likelihood of binary data. A structured multiplicative kernel is used to encode the prior that while the probability of success varies with context, the location of the optimal parameters remains constant.
Experimental Evaluation
The proposed approach was rigorously tested against 34 standard optimization benchmarks (e.g., Ackley, Hartmann, Rosenbrock) adapted for binary, context-dependent feedback. The results demonstrated that the sequential "divide and conquer" approach is significantly more stable and computationally efficient than joint optimization methods like the Contextual Binary Knowledge Gradient (cBKG).
As shown in the aggregate analysis, the combination of UCB for parameter selection and Active Learning for context selection—termed UCB-ALD—emerged as the most effective strategy, consistently outperforming random context selection and other baseline heuristics.
Case Study: Visual Psychophysics
To demonstrate real-world utility, the authors applied the framework to a simulated visual psychophysics task: optimizing corrective lens prescriptions. In this scenario, the "parameters" are the lens settings (spherical and cylindrical power), and the "context" is the size of the letters shown to the patient.
The algorithm successfully gravitated toward the threshold of the patient's visual acuity, identifying the smallest letters they could potentially see to refine the prescription. The UCB-ALD method achieved a precision of 0.01 diopters, matching the limits of modern clinical equipment, and converged significantly faster than non-adaptive testing methods.
Conclusion and Future Work
The UCB-ALD framework provides a robust and efficient solution for optimization problems where feedback is binary and context-dependent. By separating the search for the optimum from the search for information, the method avoids the instabilities often associated with joint optimization. Future research may explore scaling these methods using sparse GP approximations for larger datasets and investigating performance under varying levels of sensor noise across different contexts.
Summary updated