Manuscript Offprint

arXiv:2610.12183

A Closer Look at Agentic BBO: Benchmarking LLM Agents for Black-Box Optimization

Ming Chen, Rong-Xi Tan, Ke Xue, Yu-Jie Zhou, Taiye Lu, Zhi-Xuan Gao, Peng Xie, Zijun Shen, Chen Lu, Haopu Shang, Chao Qian

ABSTRACT

Black-box optimization (BBO) arises in many scientific and engineering problems where objective evaluations are expensive and limited. Recent large language model (LLM) agents offer a new way to approach BBO by combining task semantics, computation, optimization tools, and feedback-driven decision making, showing great potential due to the integration with mathmatically rigorours tools. However, existing agentic BBO studies use different task domains and system configurations, making their results difficult to compare and the effects of individual design choices hard to isolate. We therefore introduce AgenticBBO-Bench, a cross-domain benchmark for agentic BBO spanning synthetic functions, hyperparameter optimization, database tuning, chip design, and molecular design under a unified finite-budget evaluation protocol. In our experiments, agentic BBO achieves higher family-averaged scores than direct LLM-based methods in all five domains and outperforms the best numerical optimizers in four. We further study three factors shaping agent performance: optimization tools, task information and prior knowledge, and the role of the LLM during search. Our results show that additional numerical tools do not consistently improve performance, task semantics are broadly useful while more specific priors are less reliable, and numerical optimizers can effectively absorb gains from search trajectories established by the agent. Finally, we introduce a five-task frontier challenge within AgenticBBO-Bench and evaluate seven LLMs under Codex agent harness, where GPT-6 Astra and DeepSeek-V4.1-Flash lie on the Pareto frontier of performance and cost among the evaluated models. AgenticBBO-Bench provides a common standardized leaderboard for comparing future general-purpose models and agent systems, shedding the light towards universal BBO via agentic operations. Our code is available at https://github.com/lamda-bbo/agentic-bbo.

1 INTRODUCTION

Black-box optimization (BBO) considers optimization problems where the objective function can be evaluated, but its analytical form and gradients are unavailable (Shahriari et al., 2016; Frazier, 2018). It has been widely used in applications including chemical design (Hase et al., 2018), materials optimization (Frazier & Wang, 2016), and complex system configuration (Golovin et al., 2017), where each objective evaluation can be expensive. Classical BBO methods, such as Bayesian optimization (Garnett, 2023) and evolutionary algorithms (Eiben & Smith, 2015; Zhou et al., 2019), mainly operate on numerical observations. Their search behavior is determined by predefined heuristics like surrogate models, acquisition functions, or search operators (Jones et al., 1998; Srinivas et al., 2010; Hansen, 2016). However, real optimization problems often come with additional information beyond numerical observations, such as task descriptions, variable semantics, and domain knowledge. LLMs provide a natural way to exploit such information alongside the numerical search history (Song et al., 2024). This has motivated a growing line of LLM-based BBO methods that use language models to propose candidate solutions, model the objective, or support specific stages of the optimization process (Yang et al., 2024; Liu et al., 2024; Ran et al., 2025; Tan et al., 2025).

*Corresponding to Ke Xue and Chao Qian: {xuek, qianc}@lamda.nju.edu.cn.

Frontier model scores

Figure

Quality versus official token cost

Figure

Official-list-price cost per task (USD, log scale)

Figure 1: Frontier-model comparison on AgenticBBO-Bench. Left: overall benchmark scores. Right: score versus official list-price token cost per task (log scale). Models with similar optimization performance can incur substantially different inference costs.

Although LLMs have been incorporated into different stages of BBO, they are typically used as fixed components of the optimization procedure. At each round, the surrounding algorithm invokes the LLM to perform a predefined operation, such as generating the next candidate, while the rest of the optimization loop is specified in advance (Schwanke et al., 2026; Meindl et al., 2025). Recent work has begun to move toward a more agentic formulation (Maus et al., 2026; Brunzema et al., 2026; Suwandi, 2026), in which the LLM interacts with an optimization environment rather than serving as a single fixed operator. Before submitting a candidate, the LLM can inspect the search state, execute code, invoke some domain-specific tools, observe their outputs, and decide what action to take next. Crucially, the sequence of these intermediate actions is determined online by the LLM rather than prescribed by the optimization algorithm. We refer to this setting as Agentic BBO.

Placing the LLM in this agentic role also makes comparisons between methods less direct. The resulting search behavior depends not only on the optimization problem, but also on what information the agent observes, which tools it can access, and how the surrounding harness manages its interaction with the environment. Similar sensitivity to the agent harness has also been observed in general LLM-agent evaluation (Kapoor et al., 2026; Yao et al., 2026). Existing Agentic BBO studies make different choices along these dimensions and are typically evaluated within individual domains, making their results difficult to compare. Recent benchmarks have begun to standardize evaluation within specific settings, such as sequential hyperparameter optimization (Huai et al., 2026), but a systematic comparison across heterogeneous BBO problems is still missing. As a result, it remains unclear which findings reflect general properties of Agentic BBO and which depend on a particular task or system design.

To address these issues, we introduce AgenticBBO-Bench, a cross-domain benchmark for evaluating LLM agents in finite-budget black-box optimization. It covers five established settings: synthetic numerical optimization from BBOB (Hansen et al., 2021), hyperparameter optimization from Bayesmark (Turner et al., 2021), database tuning (Zhang et al., 2022), chip design (specifically macro placement) from BBOPlace-Bench (Xue et al., 2026), and molecular design from GuacaMol (Brown et al., 2019). Together, these domains span continuous, mixed, and structured search spaces, with different task semantics and feasibility constraints. We place them under a common finite-budget protocol, enabling general-purpose agents and domain-specific optimizers—including TuRBO (Eriksson et al., 2019) for continuous BBO, TPE (Bergstra et al., 2011) for hyperparameter optimization, and Graph-GA (Jensen, 2019) for molecular design—to be compared under consistent evaluation rules.

Beyond the benchmark comparison, we use controlled experiments to study three factors that shape Agentic BBO performance: optimization tools, task information, and the degree of LLM involvement in the optimization loop. Our analysis reveals several findings. Providing additional numerical tools does not consistently improve performance, while access to task semantics is broadly beneficial. More specific prior knowledge is less reliable, and its value depends strongly on the problem.

We also observe that the LLM can play different roles over the course of optimization, with numerical methods sometimes continuing effectively from an agent-guided search.

Finally, we define a compact five-task frontier challenge, with one representative task from each benchmark domain, as a standardized leaderboard for general-purpose optimization agents. As shown in Figure 1, current frontier LLMs differ substantially in overall optimization performance, while models with similar performance can differ greatly in token cost. This challenge provides a common setting for developing and comparing general-purpose agents.

The contributions of this work are summarized in three points:

  1. We introduce AgenticBBO-Bench, a cross-domain benchmark for Agentic BBO that covers five representative optimization domains under a unified finite-budget evaluation protocol.

  2. We systematically study several key factors in Agentic BBO, including numerical optimization tools, task information and prior knowledge, and the degree of LLM involvement in the optimization loop, revealing when these design choices help and where they remain limited.

  3. We establish a compact five-task frontier challenge and benchmark current frontier LLMs under the same protocol, providing a standardized leaderboard for comparing future general-purpose optimization agents.

References (63)