SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2104.09460 · ICML · 2021

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

Stefano Ermon, Willie Neiswanger

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (5 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 3 violated it and 5 have no contract verdict; 2 failures of our instrument; 2 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2104.09460.json · badge: /api/ran/2104.09460.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
willieneis/bayesian-algorithm-execution canonical (classifier label)
classifier basis: classifier_2025
10 ran · 2 no recorded run
FunctionStatusWhere it lives
inv_softplus Ran
ran, violated the contract we drafted
willieneis/bayesian-algorithm-execution/examples/dijkstra/bax_grid10_viz_simple_demo.py
pointer only (licence: NONE) · get_code("1fee3d4f7884fa26")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, willieneis/bayesian-algorithm-execution when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

AcqFunction Ran
ran on a synthesized input · constructed an object; no result was computed
willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py
pointer only (licence: NONE) · get_code("51c70e357c70534a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, willieneis/bayesian-algorithm-execution when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

AlgorithmSet Ran
ran on a synthesized input · constructed an object; no result was computed
willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py
pointer only (licence: NONE) · get_code("0f18df3e0a0098f2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, willieneis/bayesian-algorithm-execution when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Base Ran
ran on a synthesized input · constructed an object; no result was computed
willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py
pointer only (licence: NONE) · get_code("2692eaa78d8ab634")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, willieneis/bayesian-algorithm-execution when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

FunctionSample Ran
ran on a synthesized input · constructed an object; no result was computed
willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py
pointer only (licence: NONE) · get_code("89fb3a61f1802ac3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, willieneis/bayesian-algorithm-execution when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Timer Ran
ran on a synthesized input · constructed an object; no result was computed
willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py
pointer only (licence: NONE) · get_code("a8822bf268bce5b0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, willieneis/bayesian-algorithm-execution when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dict_to_namespace Ran
ran; our contract draft was wrong, not the code
willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py
pointer only (licence: NONE) · get_code("8a3545000b23b4c3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, willieneis/bayesian-algorithm-execution when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

rosenbrock Ran
ran, violated the contract we drafted
willieneis/bayesian-algorithm-execution/examples/dijkstra/bax_grid10_viz_simple_demo.py
pointer only (licence: NONE) · get_code("ffb638b578392224")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, willieneis/bayesian-algorithm-execution when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

run_algo_on_mean_f Ran
ran; our contract draft was wrong, not the code
willieneis/bayesian-algorithm-execution/examples/branin/bax_viz2d_simple_demo.py
pointer only (licence: NONE) · get_code("c65d09efc79848d2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, willieneis/bayesian-algorithm-execution when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

true_f Ran
ran, violated the contract we drafted
willieneis/bayesian-algorithm-execution/examples/dijkstra/bax_grid10_viz_simple_demo.py
pointer only (licence: NONE) · get_code("fa8d8e533dc229a6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, willieneis/bayesian-algorithm-execution when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

AlgoAcqFunction Not yet run
unverified (harvested, no recorded run)
willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py
pointer only (licence: NONE) · get_code("a2dc30ca4df3d5df")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, willieneis/bayesian-algorithm-execution when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

BaxAcqFunction Not yet run
unverified (harvested, no recorded run)
willieneis/bayesian-algorithm-execution/bax/acq/acquisition.py
pointer only (licence: NONE) · get_code("40d6cc52dd9fd829")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, willieneis/bayesian-algorithm-execution when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 2 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 2 later) and 10 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
dict_to_namespace
brick of this paper's assembly: helper
3 other papers
1 dated earlier, 2 later · 1 only as an assembly brick
2006.07368 (2020-06)
Uncertainty quantification using martingales for misspecified Gaussian processes
2112.05244 (2021-12)
An Experimental Design Perspective on Model-Based Reinforcement Learning
2210.04642 (2022-10)
Exploration via Planning for Information about the Optimal Trajectory
FunctionSample
brick of this paper's assembly: model
1 other paper
1 later
2210.04642 (2022-10)
Exploration via Planning for Information about the Optimal Trajectory

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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 A to compute the desired property, but it may require far more than T queries to execute. Given such an A, and a prior distribution over f , we refer to the problem of inferring the output of A 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. 123

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2104.09460")
get_code_for_paper("2104.09460")
have("2104.09460")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2104.09460.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2104.09460.svg)](https://syntology.ai/paper/2104.09460)

Connect an agent — have() is free.