SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2109.08215 · 2021

Pre-trained Gaussian Processes for Bayesian Optimization

arXiv · PDF · Open in the Atlas

Code that ran

7 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 1 failure of our instrument; 7 no recorded run), 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/2109.08215.json · badge: /api/ran/2109.08215.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
google-research/gpax canonical (classifier label)
classifier basis: classifier_2025
1 ran · 2 no recorded run
evensgn/hyperbo-mphd community (classifier label)
classifier basis not recorded on the link
4 ran · 5 no recorded run
copy not recorded community
not in the paper's declared repositories
2 ran · 0 no recorded run
FunctionStatusWhere it lives
bfgs Ran
ran on a synthesized input
evensgn/hyperbo-mphd/hyperbo/basics/bfgs.py
code served (permissive licence) · get_code("c5b462ef8acd58e9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax
import jax.numpy as jnp
import logging

# Set up logging to see the info message
logging.basicConfig(level=logging.INFO)

# Define a simple objective function that takes a pytree (dict) as input
def objective_function(params_dict):
    """Simple quadratic objective function: sum of squared parameters"""
    total = 0.0
    for key, value in params_dict.items():
        total = total + jnp.sum(value ** 2)
    return total

# Create initial guess as a dict of JAX arrays
x0 = {
    'weights': jnp.array([1.0, 2.0, 3.0, 4.0]),
    'bias': jnp.array([0.5, -0.5])
}

# Define tolerance and max iterations
tol = 1e-5
maxiter = 100

# Construct ARGS dictionary
ARGS = {
    'fun': objective_function,
    'x0': x0,
    'tol': tol,
    'maxiter': maxiter
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
cholesky_cache Ran
ran, honoured the contract we drafted
google-research/gpax/GPax/objectives/empirical_kl_divergence.py
code served (permissive licence) · get_code("8f37bd2af1f2794d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned ArrayImpl, ndim 2, dtype family float, shape (4, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax
import jax.numpy as jnp
import numpy as np

# Create a small symmetric positive definite (SPD) matrix
# Using a simple approach: create a random matrix and multiply by its transpose
np.random.seed(0)
random_matrix = np.random.randn(4, 4)
spd_matrix = random_matrix @ random_matrix.T
spd_matrix = jnp.array(spd_matrix, dtype=jnp.float32)

# Compute a cached Cholesky factor (or use None to test the computation path)
cached_cholesky = None

ARGS = {
    "spd_matrix": spd_matrix,
    "cached_cholesky": cached_cholesky,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (4, 4) — shape (4, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
expected_improvement_sub Ran
ran on a synthesized input
evensgn/hyperbo-mphd/hyperbo/bo_utils/acfun.py
code served (permissive licence) · get_code("2d3ab739783d2452")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ArrayImpl, ndim 2, dtype family float, shape (2, 1) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax
import jax.numpy as jnp
import jax.scipy as jsp

# Set seed for reproducibility
key = jax.random.PRNGKey(0)

# Generate small sample data
n = 2  # number of query points
mu = jnp.array([[0.5], [1.2]], dtype=jnp.float32)  # n x 1 posterior means
std = jnp.array([[0.3], [0.4]], dtype=jnp.float32)  # n x 1 posterior standard deviations
target = 2.0  # target value to be improved over

ARGS = {
    "mu": mu,
    "std": std,
    "target": target,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (2, 1) — shape (2, 1) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
gamma_param_from_thetas Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from evensgn/hyperbo
pointer only · get_code("c6f39b26e6802a11")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

normal_param_from_thetas Ran
ran, honoured the contract we drafted
this paper's copy was not recorded; identical code first harvested from evensgn/hyperbo
pointer only · get_code("b0d7dfcf0b48db2c")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

random_search Ran
ran on a synthesized input
evensgn/hyperbo-mphd/hyperbo/bo_utils/acfun.py
code served (permissive licence) · get_code("53142f6caf250a8e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ArrayImpl, ndim 2, dtype family float, shape (2, 1) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import jax.random as jrd
import numpy as np

# x_queries is used with .shape[0] to get the first dimension
# It's passed to jrd.uniform which expects an array-like object
# We'll create a numpy array with shape (2, 4) - batch size 2, feature dim 4
x_queries = np.random.randn(2, 4)

ARGS = {
    "x_queries": x_queries,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (2, 1) — shape (2, 1) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
sample_dataframe Ran
ran on a synthesized input
evensgn/hyperbo-mphd/hyperbo/bo_utils/data.py
code served (permissive licence) · get_code("fcb5788c1b680975")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import pandas as pd

# Create a small dataframe with some sample data
df = pd.DataFrame({
    'col1': [1, 2, 3, 4, 5],
    'col2': ['a', 'b', 'c', 'd', 'e'],
    'col3': [10.5, 20.3, 30.1, 40.2, 50.4]
})

# Create a key (random state seed)
key = np.array([42])

# Define arguments for the function
ARGS = {
    'key': key,
    'df': df,
    'p_remove': 0.2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
backtracking_linesearch Not yet run
unverified (harvested, no recorded run)
evensgn/hyperbo-mphd/hyperbo/basics/lbfgs.py
code served (permissive licence) · get_code("d9680b18e3bb29b7")
How it ran

no invocation recorded.

inverse_spdmatrix_vector_product Not yet run
unverified (harvested, no recorded run)
google-research/gpax/GPax/objectives/empirical_kl_divergence.py
code served (permissive licence) · get_code("801f72fee92950ae")
How it ran

no invocation recorded.

kl_multivariate_normal Not yet run
unverified (harvested, no recorded run)
google-research/gpax/GPax/objectives/empirical_kl_divergence.py
code served (permissive licence) · get_code("bddfcde9efc87eb1")
How it ran

no invocation recorded.

lbfgs Not yet run
unverified (harvested, no recorded run)
evensgn/hyperbo-mphd/hyperbo/basics/lbfgs.py
code served (permissive licence) · get_code("d5e0d85fb447b99f")
How it ran

no invocation recorded.

lbfgs_descent_dir_nocedal Not yet run
unverified (harvested, no recorded run)
evensgn/hyperbo-mphd/hyperbo/basics/lbfgs.py
code served (permissive licence) · get_code("0b15161fe95a8533")
How it ran

no invocation recorded.

log_dataset Not yet run
unverified (harvested, no recorded run)
evensgn/hyperbo-mphd/hyperbo/basics/data_utils.py
code served (permissive licence) · get_code("f4efbe0842e635b6")
How it ran

no invocation recorded.

solve_linear_system Not yet run
unverified (harvested, no recorded run)
evensgn/hyperbo-mphd/hyperbo/basics/linalg.py
code served (permissive licence) · get_code("17224409b38690a2")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 5 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 5 later) and 9 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
expected_improvement_sub 1 other paper
1 later
2207.03084 (2022-07)
Pre-training helps Bayesian optimization too
gamma_param_from_thetas 1 other paper
1 later
2212.10538 (2022-12)
HyperBO+: Pre-training a universal prior for Bayesian optimization with hierarchical Gaussian processes
normal_param_from_thetas 1 other paper
1 later
2212.10538 (2022-12)
HyperBO+: Pre-training a universal prior for Bayesian optimization with hierarchical Gaussian processes
sample_dataframe 1 other paper
1 later
2207.03084 (2022-07)
Pre-training helps Bayesian optimization too
solve_linear_system 1 other paper
1 later
2207.03084 (2022-07)
Pre-training helps Bayesian optimization too

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

Bayesian optimization (BO) has become a popular strategy for global optimization of expensive real-world functions. Contrary to a common expectation that BO is suited to optimizing black-box functions, it actually requires domain knowledge about those functions to deploy BO successfully. Such domain knowledge often manifests in Gaussian process (GP) priors that specify initial beliefs on functions. However, even with expert knowledge, it is non-trivial to quantitatively define a prior. This is especially true for hyperparameter tuning problems on complex machine learning models, where landscapes of tuning objectives are often difficult to comprehend. We seek an alternative practice for setting these functional priors. In particular, we consider the scenario where we have data from similar functions that allow us to pre-train a tighter distribution a priori. We detail what pre-training entails for GPs using a KL divergence based loss function, and propose a new pre-training based BO framework named HyperBO. Theoretically, we show bounded posterior predictions and near-zero regrets for HyperBO without assuming the "ground truth" GP prior is known. To verify our approach in realistic setups, we collect a large multi-task hyperparameter tuning dataset by training tens of thousands of configurations of near-state-of-the-art deep learning models on popular image and text datasets, as well as a protein sequence dataset. Our results show that on average, HyperBO is able to locate good hyperparameters at least 3 times more efficiently than the best competing methods on both our new tuning dataset and existing multi-task BO benchmarks.

For agents

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

get_harvested_code_for_paper("2109.08215")
get_code_for_paper("2109.08215")
have("2109.08215")

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

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

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

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

Connect an agent — have() is free.