Adaptive Acquisition Selection for Bayesian Optimization with Large Language Models
Giang Ngo, Dat Phan Trong, Dang Nguyen, Sunil Gupta, Svetha Venkatesh
TL;DR
LMABO reframes acquisition function selection in Bayesian Optimization as an online, in-context decision problem solvable by a pre-trained Large Language Model. By serializing the full optimization state into a structured prompt and employing a zero-shot strategist, LMABO dynamically selects AFs from a diverse portfolio, achieving robust, state-aware adaptation. Across 50 benchmarks, LMABO outperforms static, adaptive, and other LLM-based baselines, with ablations confirming that each state component and the prompting design contribute to performance. The work demonstrates that LLMs can reason over both tactical and landscape information to emulate expert BO practices, offering a practical, scalable route to improved sample efficiency in black-box optimization.
Abstract
Bayesian Optimization critically depends on the choice of acquisition function, but no single strategy is universally optimal; the best choice is non-stationary and problem-dependent. Existing adaptive portfolio methods often base their decisions on past function values while ignoring richer information like remaining budget or surrogate model characteristics. To address this, we introduce LMABO, a novel framework that casts a pre-trained Large Language Model (LLM) as a zero-shot, online strategist for the BO process. At each iteration, LMABO uses a structured state representation to prompt the LLM to select the most suitable acquisition function from a diverse portfolio. In an evaluation across 50 benchmark problems, LMABO demonstrates a significant performance improvement over strong static, adaptive portfolio, and other LLM-based baselines. We show that the LLM's behavior is a comprehensive strategy that adapts to real-time progress, proving its advantage stems from its ability to process and synthesize the complete optimization state into an effective, adaptive policy.
