atlas

Research map / Large language models / Agents, code and math

Large Language Models to Enhance Bayesian Optimization

ICLR 2024 · Large language models › Agents, code and math · approach: LLMs for optimization and heuristics · 13 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LLAMBO, which frames Bayesian optimization components (warmstarting, surrogate modeling, candidate sampling) as in-context natural-language prompts to GPT-3.5, improving sample efficiency for hyperparameter tuning.

Problem

Bayesian optimization of expensive black-box functions is sample-inefficient in the early, few-observation stage, where surrogate models are inaccurate and priors are hard to encode; the paper asks whether LLMs can enhance BO components and work end-to-end.

Approach

Translate BO components into natural language so a frozen LLM performs zero-shot warmstarting, few-shot surrogate prediction (discriminative regression with MC sampling plus example shuffling, or generative good/bad classification), and target-value-conditioned candidate sampling, all via in-context learning without finetuning.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use zero-shot LLM warmstarting instead of random initializationGP and TPE · Bayesmark warmstarting tasksaverage regretHelped
add dataset meta-features to zero-shot warmstarting promptsGP and TPE · Bayesmark warmstarting tasksaverage regretHelped
shuffle few-shot examples when estimating the discriminative surrogate (ablation)LLAMBO discriminative surrogate · Discriminative surrogate evaluationuncertainty calibrationHelped
use Monte Carlo sampling without shuffling few-shot examples (ablation)LLAMBO discriminative surrogate · Discriminative surrogate evaluationuncertainty calibrationHurt
include the problem description and actual hyperparameter names (ablation)LLAMBO discriminative surrogate · Discriminative surrogate evaluationprediction performanceHelped
condition candidate sampling on desired objective values using ICLLLAMBO candidate sampler · Candidate samplingaverage regretHelped
increase α from -0.5 toward 0 (ablation)LLAMBO candidate sampler · Candidate samplingaverage regretHelped
increase α beyond 0 (ablation)LLAMBO candidate sampler · Candidate samplingaverage regretHurt
set α to 0.01 to extrapolate beyond observed distributions (ablation)LLAMBO candidate sampler · Candidate samplingbest regretHelped
include problem description and hyperparameter names in candidate-sampling prompts (ablation)LLAMBO candidate sampler · Candidate samplingaverage regretHelped
include non-formatting task instructions for candidate generation (ablation)LLAMBO end-to-end · Bayesmark RandomForest tasksaverage regretHelped
include non-formatting task instructions for candidate generation (ablation)LLAMBO candidate sampler · Bayesmark RandomForest tasksacceptance rate: 69.26%±0.79% -> 91.60%±0.45%Helped

Surprising findings

Limitations

Experimental setup

Datasets: Bayesmark HPOBench SEER MAGGIC CUTRACT Rosenbrock Griewank KTablet

Benchmarks: Bayesmark HPOBench SEER MAGGIC CUTRACT synthetic Rosenbrock/Griewank/KTablet tasks

Metrics: normalized average regret best regret NRMSE R^2 log predictive density empirical coverage sharpness generalized variance log-likelihood acceptance rate

Baselines: GP SMAC TPE Random Sobol Latin Hypercube GP-DKL SKOpt Optuna SMAC3 TuRBO HEBO

Builds on: Tree-structured Parzen Estimator SMAC Gaussian processes Bayesmark HPOBench

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy