Papers › Bayesian Algorithm Execution: Estimating Computable Properties of Black-box Functions...

Bayesian Algorithm Execution: Estimating Computable Properties of Black-box Functions Using Mutual Information

19 Apr 2021arXiv:2104.09460archive 2025-07-28

Willie Neiswanger, Ke Alexander Wang, Stefano Ermon

In many real-world problems, we want to infer some property of an expensive black-box function f, given a budget of T function evaluations. One example is budget constrained global optimization of f, for which Bayesian optimization is a popular method. Other properties of interest include local optima, level sets, integrals, or graph-structured information induced by f. Often, we can find an algorithm 𝒜 to compute the desired property, but it may require far more than T queries to execute. Given such an 𝒜, and a prior distribution over f, we refer to the problem of inferring the output of 𝒜 using T evaluations as Bayesian Algorithm Execution (BAX). To tackle this problem, we present a procedure, InfoBAX, that sequentially chooses queries that maximize mutual information with respect to the algorithm's output. Applying this to Dijkstra's algorithm, for instance, we infer shortest paths in synthetic and real-world graphs with black-box edge costs. Using evolution strategies, we yield variants of Bayesian optimization that target local, rather than global, optima. On these problems, InfoBAX uses up to 500 times fewer queries to f than required by the original algorithm. Our method is closely connected to other Bayesian optimal experimental design procedures such as entropy search methods and optimal sensor placement using Gaussian processes.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2104.09460")

Code

Syntology Ran 10 of 12 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 3 ran · violated contract; 2 ran · our draft was wrong; 5 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

willieneis/bayesian-algorithm-execution officialmentioned in papermentioned on GitHubtf report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 10 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · violated contract
2ran · our draft was wrong
5ran
2unverified

Licence: 12 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from willieneis/bayesian-algorithm-execution. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

inv_softplus willieneis/bayesian-algorithm-execution/examples/dijkstra/bax_grid10_viz_simple_demo.py official repository ran · violated contract fingerprinted no licence file found · pointer only · 1fee3d4f7884fa26 · report
AcqFunction willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py official repository ran no licence file found · pointer only · 51c70e357c70534a · report
AlgorithmSet willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py official repository ran no licence file found · pointer only · 0f18df3e0a0098f2 · report
Base willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py official repository ran no licence file found · pointer only · 2692eaa78d8ab634 · report
FunctionSample willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py official repository ran no licence file found · pointer only · 89fb3a61f1802ac3 · report
Timer willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py official repository ran no licence file found · pointer only · a8822bf268bce5b0 · report
dict_to_namespace willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py official repository ran · our draft was wrong no licence file found · pointer only · 8a3545000b23b4c3 · report
rosenbrock willieneis/bayesian-algorithm-execution/examples/dijkstra/bax_grid10_viz_simple_demo.py official repository ran · violated contract fingerprinted no licence file found · pointer only · ffb638b578392224 · report
run_algo_on_mean_f willieneis/bayesian-algorithm-execution/examples/branin/bax_viz2d_simple_demo.py official repository ran · our draft was wrong no licence file found · pointer only · c65d09efc79848d2 · report
true_f willieneis/bayesian-algorithm-execution/examples/dijkstra/bax_grid10_viz_simple_demo.py official repository ran · violated contract fingerprinted no licence file found · pointer only · fa8d8e533dc229a6 · report
AlgoAcqFunction willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py official repository unverified no licence file found · pointer only · a2dc30ca4df3d5df · report
BaxAcqFunction willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py official repository unverified no licence file found · pointer only · 40d6cc52dd9fd829 · report

Tasks

Bayesian OptimizationExperimental DesignGaussian Processesglobal-optimization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections