Optimizing Posterior Samples for Bayesian Optimization via Rootfinding

Taiwo A. Adebiyi, Bach Do, Ruda Zhang
2/12/2026

No official code found. Best implementation: UQUH/TSRoots (10 stars, MIT, last commit 2025-03-11).

Abstract

Bayesian optimization devolves the global optimization of a costly objective function to the global optimization of a sequence of acquisition functions. This inner-loop optimization can be catastrophically difficult if it involves posterior sample paths, especially in higher dimensions. We introduce an efficient global optimization strategy for posterior samples based on global rootfinding. It provides gradient-based optimizers with two sets of judiciously selected starting points, designed to combine exploration and exploitation. The number of starting points can be kept small without sacrificing optimization quality. Remarkably, even with just one point from each set, the global optimum is discovered most of the time. The algorithm scales practically linearly to high dimensions, breaking the curse of dimensionality. For Gaussian process Thompson sampling (GP-TS), we demonstrate remarkable improvement in both inner- and outer-loop optimization, surprisingly outperforming alternatives like EI and GP-UCB in most cases. Our approach also improves the performance of other posterior sample-based acquisition functions, such as variants of entropy search. Furthermore, we propose a sample-average formulation of GP-TS, which has a parameter to explicitly control exploitation and can be computed at the cost of one posterior sample. Our implementation is available at https://github.com/UQUH/TSRoots .

View on arXivView PDF

Code Implementations(1)

UQUH/TSRootsCommunity100%
MIT

TSRoots: A Python package for efficient Gaussian process Thompson sampling in Bayesian optimization via rootfinding.

100PythonOct 24, 20241 years agoMIT
bayesian-optimizationthompson-sampling

Similar Papers

Cite this paper

@article{adebiyi2026optimizing,
  title  = {Optimizing Posterior Samples for Bayesian Optimization via Rootfinding},
  author = {Taiwo A. Adebiyi and Bach Do and Ruda Zhang},
  year   = {2026},
  eprint = {2410.22322},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.22322},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.22322.svg)](https://codeofpaper.com/paper/2410.22322)

Discussion