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

Practical Bayesian Algorithm Execution via Posterior Sampling

Chu Xin Cheng, Raul Astudillo, Thomas Desautels, Yisong Yue

Introduction

In scientific and engineering domains, researchers often encounter "black-box" functions that are prohibitively expensive to evaluate, such as high-fidelity climate simulations or complex biological assays. The goal in these scenarios is frequently not just to find a global maximum, but to infer specific properties of the function—such as a shortest path on a graph, a top-$k$ set of candidates, or a level set where the function exceeds a critical threshold.

The Bayesian Algorithm Execution (BAX) framework was developed to address these problems by combining a probabilistic model (typically a Gaussian Process) with a "base algorithm" that would be used if the function were cheap to evaluate. However, traditional BAX methods rely on Expected Information Gain (EIG), a criterion that is computationally intensive, requiring nested Monte Carlo sampling and hundreds of algorithm executions to select a single evaluation point. This paper introduces PS-BAX (Posterior Sampling BAX), a highly scalable alternative that replaces expensive information-theoretic calculations with a simple, efficient posterior sampling strategy.

The PS-BAX Framework

PS-BAX generalizes the logic of Thompson Sampling to complex target sets. Instead of calculating the mathematically grueling EIG, PS-BAX follows a streamlined "sample and search" approach:

  1. Sample: Draw a single function $\tilde{f}$ from the current posterior distribution of the model.
  2. Execute: Run the base algorithm on this sampled function to identify a "target set" of points (e.g., the predicted level set).
  3. Select: From that target set, choose the point where the model currently exhibits the highest uncertainty (variance).
The PS-BAX workflow: A function is sampled from the posterior (green line), a target set is identified (green bars), and the next point is selected based on maximum variance within that set (red line).

This method requires only one execution of the base algorithm per iteration, making it orders of magnitude faster than EIG-based methods while maintaining robust exploration by targeting high-uncertainty regions within the predicted solution set.

Experimental Evaluation

The researchers evaluated PS-BAX across eight distinct problems spanning four classes:

  • Local Optimization: Hartmann (6D) and Ackley (10D) synthetic functions.
  • Level Set Estimation: The Himmelblau function and a topographic dataset of the Maunga Whau volcano.
  • Top-k Estimation: The Rosenbrock function and a GB1 protein design dataset.
  • Drug Discovery (DiscoBAX): Identifying optimal genomic interventions using datasets from the Achilles project (Tau and Interferon-Gamma assays).

Results and Discussion

PS-BAX demonstrates significant improvements in both computational efficiency and task performance. In the "Volcano" topographic mapping task, PS-BAX required only 0.49 seconds per iteration, compared to 289.91 seconds for the baseline INFO-BAX—a speedup of over 500x.

Cumulative regret across iterations. PS-BAX (blue) demonstrates faster convergence and lower final regret compared to INFO-BAX and Expected Improvement (EI).

Beyond speed, PS-BAX proved more robust in complex applications like drug discovery. In the DiscoBAX tasks, it significantly outperformed INFO-BAX in terms of regret, likely because the simplicity of PS-BAX avoids the heuristic approximations often required to make EIG tractable. The authors also identified the "complement-independent" property: for tasks where the target property is unaffected by function values outside the target set (like level sets), PS-BAX is guaranteed to converge asymptotically to the true solution.

Conclusion

PS-BAX represents a major step forward for Bayesian Algorithm Execution, making it practical for high-dimensional and computationally demanding scientific discovery tasks. By shifting from information-theoretic criteria to posterior sampling, the framework achieves massive speedups without sacrificing accuracy. Future work will focus on extending theoretical guarantees to continuous, infinite-dimensional spaces and exploring non-Gaussian Process models, such as Bayesian Neural Networks, to further scale the approach.

Summary updated

BibTeX
@inproceedings{cheng2024practical,
  author = {Chu Xin Cheng and Raul Astudillo and Thomas Desautels and Yisong Yue},
  title = {{Practical Bayesian Algorithm Execution via Posterior Sampling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=m4ZcDrVvid},
}
Figure