Introduction: The Inner-Loop Bottleneck in Bayesian Optimization
Bayesian Optimization (BO) is the gold standard for optimizing expensive, black-box functions, such as tuning massive neural networks or designing complex physical structures. It works by building a probabilistic model of the objective function and using an "acquisition function" to decide where to sample next.
However, there is a hidden catch: to find the best next point to evaluate, you must solve a second optimization problem, often called the "inner loop." When using strategies like Gaussian Process Thompson Sampling (GP-TS), this involves optimizing a "posterior sample path." These sample paths are far more complex, non-convex, and "wiggly" than the smooth posterior mean models usually seen in BO. In high dimensions, standard optimizers frequently get stuck in local minima or require an astronomical number of random starting points to find the global optimum. This inner-loop failure leads to poor sampling decisions in the outer loop, ultimately causing the entire BO process to stall or fail.
Introducing TS-roots
To address this critical bottleneck, the authors introduce TS-roots, an algorithm designed to efficiently find the global optimum of posterior samples by exploiting the mathematical structure of Gaussian Processes (GPs).
The method relies on a few key innovations:
- Pathwise Conditioning: The algorithm uses a "decoupled" representation of the GP posterior. This separates the function into a prior sample (which is often separable across dimensions) and a data-driven update.
- Univariate Rootfinding: Because the prior is separable, the algorithm breaks the $d$-dimensional problem into $d$ independent 1D problems. It uses Chebyshev polynomials and eigenvalue solvers to find all critical points (roots of the derivative) for each dimension.
- Smart Starting Points: Instead of relying on random guessing, TS-roots selects two highly targeted sets of starting points for a gradient-based optimizer:
- Exploration Set: Combinations of the best local minima found in the prior sample.
- Exploitation Set: Existing observed data points that already show promise.
- The "maxk_sum" Trick: To avoid a combinatorial explosion when combining 1D minima into a $d$-dimensional starting point, the authors employ a min-heap-based algorithm to efficiently find the top $k$ candidates.
Key Insights: The Prior as a Map
A central "aha" moment in this research is the realization that the prior sample is actually more complex and less smooth than the data adjustment. Therefore, the local minima of the prior serve as excellent "anchors" or candidate locations for the local minima of the full posterior.
Furthermore, by solving $d$ univariate problems and intelligently combining them, the algorithm's complexity scales linearly with the number of dimensions, rather than exponentially. This effectively breaks the curse of dimensionality that plagues traditional inner-loop optimizers.
Experimental Results
The researchers evaluated TS-roots on a variety of challenging synthetic benchmarks (including 2D Schwefel, 4D Rosenbrock, 10D Levy, 16D Ackley, and 16D Powell functions) and a real-world 10-bar truss engineering design problem.
- Superior Convergence: In the "outer loop" (optimizing the actual objective), TS-roots converged faster and to better values than Expected Improvement (EI), GP-UCB (LCB), and standard Thompson Sampling on almost all benchmarks, especially in higher dimensions (10D and 16D).
- Inner-Loop Quality: TS-roots found significantly better acquisition optima than genetic algorithms or random multistart methods, even when those methods were given the same computational budget.
- Efficiency: Remarkably, the algorithm often finds the global optimum even when using only one starting point from the exploration set and one from the exploitation set.
Surprisingly, the authors found that Thompson Sampling—often considered a "weaker" baseline in some BO literature—actually outperforms sophisticated methods like EI simply because TS-roots allows its acquisition function to be optimized much more accurately.
Limitations and Future Work
While highly effective, TS-roots currently relies on the GP kernel being separable (like the commonly used Squared Exponential or Matérn kernels). While these are standard in BO, the method might need adaptation for more exotic, non-separable kernels. Additionally, the initial step of univariate rootfinding adds a small fixed computational cost per iteration compared to pure random sampling.
Future work will explore extending the method to non-separable kernels using spectral representations and investigating the theoretical probability bounds of the algorithm failing to find the global optimum.
Summary updated