NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Posterior Sampling-Based Bayesian Optimization with Tighter Bayesian Regret Bounds

Shion Takeno, Yu Inatsu, Masayuki Karasuyama, Ichiro Takeuchi

TL;DR

This paper proves that Thompson Sampling (TS) and a randomized acquisition function called PIMS achieve tighter theoretical regret bounds than previously established. PIMS emerges as a "best of both worlds" algorithm: it is hyperparameter-free like Thompson Sampling but avoids its notorious over-exploration issues, outperforming standard methods in both synthetic and real-world chemical reaction benchmarks.

What Problem Does This Paper Address?

Bayesian Optimization (BO) is the go-to strategy for optimizing "expensive" black-box functions—think of tuning a neural network's architecture or finding the right temperature for a chemical reaction. To do this, we use an acquisition function (AF) to decide where to sample next.

Two heavyweights in this field are GP-UCB (Gaussian Process Upper Confidence Bound) and Thompson Sampling (TS). However, they both carry practical baggage:

  1. GP-UCB requires a confidence parameter ($\beta_t$). The theoretical value for $\beta_t$ is often way too conservative, leading to excessive exploration. Consequently, engineers usually tune it manually, which voids the theoretical guarantees.
  2. Thompson Sampling is beautifully simple and hyperparameter-free, but it tends to over-explore, especially in high-dimensional spaces, wasting samples on unpromising regions.

The authors sought to bridge this gap: Can we find an algorithm that is theoretically "tight," hyperparameter-free, and practically efficient?

Methods

The paper introduces and analyzes PIMS (Probability of Improvement from the Maximum of a Sample path).

  • The PIMS Algorithm: Standard "Probability of Improvement" (PI) usually checks the chance that a new point beats the current best observed value. This often leads to "over-exploitation" (getting stuck in local optima). PIMS instead draws a random "sample path" from the Gaussian Process posterior and looks at the probability of beating the maximum value of that sample path.
  • Theoretical Tightening: The authors provide a new proof showing that both TS and PIMS achieve a "tighter" Bayesian Cumulative Regret (BCR) bound. Specifically, they remove a $\sqrt{\log T}$ factor found in previous proofs, matching the performance of more complex, randomized UCB variants.
Comparison of Bayesian Cumulative Regret (BCR) bounds across different acquisition functions.
  • PIMS as Randomized UCB: A key insight is that PIMS can be mathematically rewritten as a version of GP-UCB where the confidence parameter is not a fixed constant, but a random variable determined by the model's own uncertainty. This makes it "self-tuning."

Datasets

The authors evaluated PIMS against a suite of baselines (including GP-UCB, TS, and Expected Improvement) using:

  • Synthetic Functions: Functions generated directly from Gaussian Processes with varying complexity (length scales) and domain sizes.
  • Standard Benchmarks: The Ackley and Shekel functions (common 4D optimization test cases).
  • Real-World Emulators:
    • Alkox: Modeling an alkoxylation reaction (4 parameters).
  • Fullerenes: Modeling the chemical synthesis of Buckminsterfullerenes (3 parameters).

Key Insights and Ideas

  • Randomness is a Feature, Not a Bug: By using the maximum of a random sample path ($g_t^*$) as the benchmark for improvement, PIMS naturally balances exploration and exploitation. If the sample path is wild (high uncertainty), $g_t^*$ is high, forcing the algorithm to explore.
  • Closing the Theory-Practice Gap: Most BO practitioners ignore theoretical $\beta_t$ values because they perform poorly. PIMS provides a way to stay "theoretically sound" while using a parameter-free approach that actually works in the real world.
  • TS Over-Exploration Explained: The paper provides empirical evidence that Thompson Sampling's poor performance in certain settings is due to it sampling points with excessively high posterior variance compared to PIMS.

Key Results

  • Theoretical Parity: PIMS and TS are proven to achieve the same tighter BCR bound as the state-of-the-art IRGP-UCB, but without the need for manual hyperparameter tuning.
  • Superior Convergence: In synthetic experiments, PIMS consistently achieved the lowest "simple regret" (finding the global optimum faster). While GP-UCB and TS struggled when the function complexity increased, PIMS remained robust. Furthermore, the confidence parameter adapted naturally over time.
Performance of PIMS versus baselines on synthetic functions.
  • Real-World Success: On chemical reaction emulators (Alkox and Fullerenes), PIMS outperformed or matched all other theoretically guaranteed methods, proving its utility for actual engineering problems.

Limitations and Future Work

  • Kernel Dependence: While PIMS removes the need to tune the acquisition function, the performance still heavily depends on the Gaussian Process kernel (e.g., choosing the right length scale).
  • Computational Cost: PIMS requires generating sample paths. In continuous spaces, this is often done via Random Fourier Features (RFF). The authors note that the approximation error of RFF isn't fully integrated into the current regret analysis.
  • Scaling Up: Future work could explore extending PIMS to multi-fidelity optimization (where you have cheap but noisy data sources) or constrained optimization problems.

Summary updated

BibTeX
@inproceedings{takeno2024posterior,
  author = {Shion Takeno and Yu Inatsu and Masayuki Karasuyama and Ichiro Takeuchi},
  title = {{Posterior Sampling-Based Bayesian Optimization with Tighter Bayesian Regret Bounds}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=DKOHE4n8jk},
}
Figure