Papers › Pre-training helps Bayesian optimization too

Pre-training helps Bayesian optimization too

7 Jul 2022arXiv:2207.03084archive 2025-07-28

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

Bayesian optimization (BO) has become a popular strategy for global optimization of many expensive real-world functions. Contrary to a common belief that BO is suited to optimizing black-box functions, it actually requires domain knowledge on characteristics of those functions to deploy BO successfully. Such domain knowledge often manifests in Gaussian process priors that specify initial beliefs on functions. However, even with expert knowledge, it is not an easy task to select 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. To verify our approach in realistic model training setups, we collected a large multi-task hyperparameter tuning dataset by training tens of thousands of configurations of near-state-of-the-art models on popular image and text datasets, as well as a protein sequence dataset. Our results show that on average, our method is able to locate good hyperparameters at least 3 times more efficiently than the best competing methods.

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="2207.03084")

Code

Syntology Ran 0 of 12 code samples harvested from 1 repository linked to this paper; 12 have no recorded run.

By repository: official repository: 12 samples from 1 repository, 0 ran. 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/hyperbo officialmentioned in paperjaxApache-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

12 samples harvested; 0 ran; 0 honoured the contract we drafted; 12 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.

12unverified

Licence: 0 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 google-research/hyperbo. “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.

backtracking_linesearch google-research/hyperbo/hyperbo/basics/lbfgs.py official repository unverified Apache-2.0 (permissive) · 96b3667fd2aaf84e · report
bfgs google-research/hyperbo/hyperbo/basics/bfgs.py official repository unverified Apache-2.0 (permissive) · 725cd249591d5b64 · report
expected_improvement_sub google-research/hyperbo/hyperbo/bo_utils/acfun.py official repository unverified Apache-2.0 (permissive) · 2d3ab739783d2452 · report
get_best_datapoint google-research/hyperbo/hyperbo/bo_utils/bayesopt.py official repository unverified Apache-2.0 (permissive) · 020f1f64d8f9a8de · report
lbfgs google-research/hyperbo/hyperbo/basics/lbfgs.py official repository unverified Apache-2.0 (permissive) · b268783ba1900dfd · report
lbfgs_descent_dir_nocedal google-research/hyperbo/hyperbo/basics/lbfgs.py official repository unverified Apache-2.0 (permissive) · 7352dd5a69ac440c · report
load_from_file google-research/hyperbo/hyperbo/basics/params_utils.py official repository unverified Apache-2.0 (permissive) · 0612e549e9cc4d08 · report
log_dataset google-research/hyperbo/hyperbo/basics/data_utils.py official repository unverified Apache-2.0 (permissive) · c932d5b4b4bd1859 · report
random_search google-research/hyperbo/hyperbo/bo_utils/acfun.py official repository unverified Apache-2.0 (permissive) · ed6ff476d6215244 · report
sample_dataframe google-research/hyperbo/hyperbo/bo_utils/data.py official repository unverified Apache-2.0 (permissive) · fcb5788c1b680975 · report
solve_linear_system google-research/hyperbo/hyperbo/basics/linalg.py official repository unverified Apache-2.0 (permissive) · 0a6dd267fa7a490c · report
to_list_or_float google-research/hyperbo/hyperbo/basics/params_utils.py official repository unverified Apache-2.0 (permissive) · 4d555f42b48f0b81 · report

Tasks

Bayesian Optimizationglobal-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