Local Bayesian optimization via maximizing probability of descent

Quan Nguyen, Kaiwen Wu, Jacob R. Gardner, Roman Garnett

TL;DR

This paper introduces MPD (Most Probable Descent), a local Bayesian optimization framework that shifts the focus from following the expected gradient to following the direction most likely to result in descent. By accounting for the full distribution of gradient uncertainty, MPD achieves superior performance and better scalability in high-dimensional black-box optimization tasks compared to previous state-of-the-art local methods.

What Problem Does This Paper Address?

Optimizing "black-box" functions—where we lack an analytical form and evaluations are expensive—is a cornerstone of machine learning (e.g., hyperparameter tuning) and engineering. While global Bayesian Optimization (BO) works well in low dimensions, it collapses under the "curse of dimensionality" as the search space grows.

Local BO offers a solution by focusing on finding a local optimum rather than a global one. Previous methods, such as GIBO, use Gaussian Processes (GPs) to estimate the gradient and then move in the direction of the expected gradient. However, the authors point out a critical flaw: in the presence of uncertainty, the expected gradient is not necessarily the direction most likely to lead "downhill."

If uncertainty is high in certain directions, the expected gradient and the true descent direction can be vastly different. This leads to inefficient "zig-zagging" or stalled progress during optimization.

Polar plot illustrating how anisotropic uncertainty shifts the direction of maximum descent probability away from the expected gradient.

The MPD Framework

To address this, the authors propose a two-stage iterative scheme called MPD that explicitly accounts for gradient uncertainty:

  1. The Update Rule (Moving): Instead of moving along the negative expected gradient ($-\mu_x$), they derive a closed-form solution for the most probable descent direction: $v^* = -\Sigma_x^{-1} \mu_x$. This formula elegantly incorporates the gradient covariance ($\Sigma_x$), effectively "weighting" the expected gradient by our confidence in each coordinate. The authors prove that finding this direction is equivalent to maximizing a Rayleigh quotient involving the gradient's mean and covariance, allowing for an instant linear algebra solution.
  2. The Acquisition Function (Learning): To decide where to sample next, they design a "look-ahead" acquisition function. It selects points expected to maximize the probability of descent in the next step. They provide a computationally efficient, closed-form upper bound for this acquisition function, allowing for easy optimization via standard gradient-based tools.

The algorithm alternates between querying the objective to refine its gradient estimate and taking small steps in the most probable descent direction until the probability of further descent falls below a threshold (e.g., 65%). An important finding from their ablation study is that these two components are strongly coupled: using the MPD update rule requires the MPD acquisition function to perform optimally.

Empirical Results

The authors evaluated MPD across three distinct categories: synthetic functions, reinforcement learning (MuJoCo locomotion tasks), and real-world inverse problems (Map Fitting, Cosmology, and Rover Trajectory Planning).

  • Scalability: In synthetic tests, the performance gap between MPD and its closest competitor (GIBO) widened significantly as dimensions increased from 25 to 100, proving that MPD handles the curse of dimensionality more gracefully.
Performance of MPD versus baselines on synthetic objectives of increasing dimensionality (25D, 50D, 100D).
  • High-Dimensional Success: On a complex 200D Rover task, MPD significantly outperformed GIBO and TuRBO (a popular trust-region BO method), reaching lower costs much faster.
  • Efficiency: In a 12D Cosmology task, MPD showed immediate and steep progress, whereas other methods struggled to find a consistent descent path early on.
  • Competitive in RL: MPD was highly competitive with Augmented Random Search (ARS), a specialized RL baseline, on the Swimmer and CartPole tasks.

Limitations and Future Work

As a local optimizer, MPD is designed to find the nearest "valley" and lacks a mechanism to jump out of local minima to find a global optimum. Additionally, the method relies on fixed hyperparameters, such as step size ($\delta$) and a descent probability threshold ($p_*$). While $p_* = 65\%$ worked well generally, easier problems might benefit from more optimistic thresholds. Future work could explore dynamically adjusting the step size based on the GP's length scales or recent optimization progress, akin to adaptive learning rates in deep learning.

Summary updated

BibTeX
@inproceedings{nguyen2022local,
  author = {Quan Nguyen and Kaiwen Wu and Jacob R. Gardner and Roman Garnett},
  title = {{Local Bayesian optimization via maximizing probability of descent}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=grhCxnaHrA},
}
Figure