The Challenge of Binary Optimization
In many engineering tasks, evaluating a design is "expensive"—it might require hours of complex simulation or risk damaging a physical robot. Bayesian Optimization (BO) is the standard tool for these scenarios, efficiently searching for optimal parameters. However, BO typically assumes the output is a continuous value, such as speed or temperature.
Real-world problems are frequently binary: Did the robot clear the hurdle? Did the circuit short out? Furthermore, these outcomes are often stochastic. The exact same settings might succeed one time and fail the next due to tiny environmental variations. Standard BO metrics struggle here. Once an algorithm achieves a single "success" (a value of 1), standard mathematical models suggest there is no room for further improvement, halting exploration prematurely. This paper introduces a framework to find the parameter set with the highest probability of success when only observing binary 0s and 1s.
A Novel Approach: Expected Improvement in Probability Space
To tackle this, the authors propose a framework based on Gaussian Process Classification (GPC).
Instead of modeling the binary outcomes directly, the system uses a latent (hidden) Gaussian Process, $f(x)$. This latent function is mapped through a "probit" squashing function to represent the probability of success, $\pi(x)$, bounded between 0 and 1. Because binary data complicates standard Gaussian Process mathematics, the authors utilize Expectation Propagation (EP) to approximate the posterior distribution of the success probability.
The core contribution of the paper is a new selection metric: $EI_\pi$. Standard Expected Improvement (EI) looks for values higher than the current best observed value. In a binary world, the "best" is always 1. The authors redefine improvement as the gain in the underlying success probability $\pi(x)$ relative to the current estimated maximum probability, $\hat{\pi}_{max}$. While standard EI has a closed-form solution, $EI_\pi$ requires one-dimensional numerical integration. However, because the function being optimized is inherently "expensive," this minor computational overhead is negligible.
Experimental Setup
The researchers evaluated their approach on two distinct fronts:
- Synthetic Functions: Three custom-designed 1D functions featuring multiple local optima and varying widths of "success" regions. These were designed to challenge the algorithm's ability to find narrow global peaks.
- Physical Robot Data: A 7-parameter control model for a physical snake robot tasked with climbing over a wooden beam. The goal was to find gait parameters that maximized the probability of a successful crossing.
Key Insights and Results
A major insight from the paper is the distinction between latent space and probability space. Performing BO on the "latent" function (the raw GP) can be deceptive, as variance in the latent space doesn't map linearly to uncertainty in success probability. The $EI_\pi$ metric operates directly on the probability of success, making it far more intuitive and effective.
The proposed $EI_\pi$ metric matched or outperformed tuned versions of other algorithms (like UCB or continuous-armed bandits) across all synthetic tests without requiring any manual parameter tuning. In "Test Function 3," which features a notoriously narrow global optimum, standard methods frequently got stuck in broad, mediocre local optima. $EI_\pi$ successfully identified the narrow peak of high success probability.
In real-world application, the algorithm successfully tuned the snake robot to cross obstacles in just 40 experiments. This is a significant achievement, as these complex, non-linear gaits are notoriously difficult for human engineers to tune by hand.
Limitations and Future Directions
The authors noted a phenomenon they call the "Success Trap." Once the algorithm finds a region with a very high success probability (near 1.0), the $EI_\pi$ metric naturally stops exploring because it sees no mathematical room for "improvement." To find multiple robust ways a robot could succeed, the authors had to introduce a heuristic constraint that ignores points where the model is already highly confident, forcing the algorithm to maintain diversity.
Additionally, while numerical integration is perfectly fine for 1D or 2D selection, it may become a computational bottleneck as the dimensionality of the parameter space increases.
For future work, the authors suggest exploring Transfer Learning—for instance, using data from a robot crossing a small obstacle to accelerate learning for a larger one—and developing formal theoretical convergence guarantees for the $EI_\pi$ metric.
Summary updated