Papers › Pre-trained Gaussian Processes for Bayesian Optimization

Pre-trained Gaussian Processes for Bayesian Optimization

16 Sep 2021arXiv:2109.08215archive 2025-07-28

Zi Wang, George E. Dahl, Kevin Swersky, Chansoo Lee, Zachary Nado, Justin Gilmer, Jasper Snoek, Zoubin Ghahramani

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.

PaperPDFConference PDFCodeCode 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="2109.08215")

Code

Syntology Ran 3 of 14 code samples harvested from 2 repositories linked to this paper; 11 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · fixture could not drive it.

By repository: official repository: 3 samples from 1 repository, 1 ran; community (archive-listed): 9 samples from 1 repository, 0 ran; 2 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

google-research/gpax officialmentioned in papermentioned on GitHubjax report
google-research/hyperbo officialmentioned in papermentioned on GitHubjaxApache-2.0 report
evensgn/hyperbo mentioned on GitHubjax report
evensgn/hyperbo-mphd mentioned on GitHubjaxApache-2.0 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

14 samples harvested; 3 ran; 2 honoured the contract we drafted; 11 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.

2ran · honoured contract
1ran · fixture could not drive it
11unverified

Licence: 2 of the 14 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 2 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

cholesky_cache google-research/gpax/GPax/objectives/empirical_kl_divergence.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 8f37bd2af1f2794d · report
inverse_spdmatrix_vector_product google-research/gpax/GPax/objectives/empirical_kl_divergence.py official repository unverified Apache-2.0 (permissive) · 801f72fee92950ae · report
kl_multivariate_normal google-research/gpax/GPax/objectives/empirical_kl_divergence.py official repository unverified Apache-2.0 (permissive) · bddfcde9efc87eb1 · report
backtracking_linesearch evensgn/hyperbo-mphd/hyperbo/basics/lbfgs.py community (archive-listed) unverified Apache-2.0 (permissive) · d9680b18e3bb29b7 · report
bfgs evensgn/hyperbo-mphd/hyperbo/basics/bfgs.py community (archive-listed) unverified Apache-2.0 (permissive) · c5b462ef8acd58e9 · report
expected_improvement_sub evensgn/hyperbo-mphd/hyperbo/bo_utils/acfun.py community (archive-listed) unverified Apache-2.0 (permissive) · 2d3ab739783d2452 · report
lbfgs evensgn/hyperbo-mphd/hyperbo/basics/lbfgs.py community (archive-listed) unverified Apache-2.0 (permissive) · d5e0d85fb447b99f · report
lbfgs_descent_dir_nocedal evensgn/hyperbo-mphd/hyperbo/basics/lbfgs.py community (archive-listed) unverified Apache-2.0 (permissive) · 0b15161fe95a8533 · report
log_dataset evensgn/hyperbo-mphd/hyperbo/basics/data_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · f4efbe0842e635b6 · report
random_search evensgn/hyperbo-mphd/hyperbo/bo_utils/acfun.py community (archive-listed) unverified Apache-2.0 (permissive) · 53142f6caf250a8e · report
sample_dataframe evensgn/hyperbo-mphd/hyperbo/bo_utils/data.py community (archive-listed) unverified Apache-2.0 (permissive) · fcb5788c1b680975 · report
solve_linear_system evensgn/hyperbo-mphd/hyperbo/basics/linalg.py community (archive-listed) unverified Apache-2.0 (permissive) · 17224409b38690a2 · report
gamma_param_from_thetas identical code first harvested elsewhere ran · fixture could not drive it fingerprinted licence of this copy not recorded · c6f39b26e6802a11 · report
normal_param_from_thetas identical code first harvested elsewhere ran · honoured contract fingerprinted licence of this copy not recorded · b0d7dfcf0b48db2c · report

Tasks

Bayesian OptimizationGaussian Processesglobal-optimization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Gaussian Process

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