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 QianarXiv 2026

TL;DR

LLM agents are transforming black-box optimization (BBO) by moving beyond raw numbers to leverage task semantics and custom code. This paper introduces AgenticBBO-Bench, a standardized benchmark that reveals agentic systems consistently outperform both traditional numerical optimizers and direct LLM prompting by building their own task-specific search strategies.

What Problem Does This Paper Address?

Black-box optimization—finding the best parameters for a system when you don't have a mathematical formula for it—is a cornerstone of engineering, from tuning databases to designing new molecules. Traditionally, we’ve relied on numerical methods like Bayesian Optimization (BO). Recently, researchers have started using Large Language Models (LLMs) as "agents" that can read task descriptions, write code, and use tools to solve these problems.

However, the field has been a "Wild West." Every study uses different tasks, different prompts, and different evaluation metrics, making it impossible to tell if a new agent is actually better or just tested on an easier problem. The authors address this fragmentation by providing a unified, cross-domain evaluation framework to isolate what actually makes an agentic BBO system work.

Methods

The authors formalize the Agentic BBO Loop. Unlike traditional BO, which follows a rigid, predefined sequence (fit surrogate $\rightarrow$ acquisition $\rightarrow$ evaluate), an agentic loop allows the LLM to dynamically decide its next move. It can read documentation, analyze past trials, write a Python script to find patterns, or invoke a numerical tool before deciding which candidate to evaluate next.

Figure 2: Comparison between traditional Bayesian optimization and Agentic BBO. Traditional BO follows a fixed optimizer-driven procedure, whereas Agentic BBO lets an LLM agent organize the intermediate decision process before each expensive evaluation. The actions shown in the agent loop are representative examples rather than a fixed or exhaustive workflow: the agent may dynamically choose, skip, repeat, combine, or introduce other actions before proposing a candidate.

The study uses the Codex agent harness and evaluates models under a strict "finite-budget" protocol: only actual evaluations of the objective function count toward the budget, while the agent's internal reasoning and code execution are "free" in terms of the optimization budget (though not in terms of wall-clock time or API costs).

Datasets

The authors introduce AgenticBBO-Bench, which aggregates 77 tasks across five diverse families:

  1. Synthetic (BBOB): Standard numerical functions used to test optimization logic.
  2. Hyperparameter Optimization (Bayesmark): Tuning machine learning models.
  3. Database Tuning (DBTune): Optimizing MySQL and PostgreSQL configurations.
  4. Chip Design (BBOPlace-Bench): Placing macros on a silicon canvas under physical constraints.
  5. Molecular Design (GuacaMol): Searching for SMILES strings that match specific chemical properties.

They also propose a Five-Task Frontier Challenge, a compact subset designed for rapid benchmarking of new frontier LLMs.

Key Insights and Ideas

  • Agents are DIY-ers: Surprisingly, giving agents sophisticated numerical tools (like Gaussian Process proposals) doesn't always help. Agents often prefer writing their own custom Python analysis. For example, in chip placement, an agent might fit its own linear proxy model to the data rather than relying on a generic optimizer.
Figure 3: Tool use in Agentic BBO. (a) Tool-use patterns across the diagnostic tasks. (b) A represen- tative Bigblue1 trajectory in which the agent fits a proxy model and uses it to refine the placement.
  • Semantics > Raw Priors: Knowing that a variable is a "learning rate" (semantics) is broadly beneficial across all tasks. However, providing highly specific "domain priors" (e.g., "this variable usually follows a bell curve") is hit-or-miss and can even hurt performance if the prior is slightly off.
  • The "Handoff" Strategy: You don't need an expensive LLM to be "always on." The authors found that an agent can "warm up" the search trajectory and then hand it off to a traditional numerical optimizer like TuRBO, which can then effectively finish the job.

Key Results

  • Performance Gains: Agentic BBO achieved a 30.3% average relative improvement over direct LLM prompting and outperformed the best numerical optimizers in four out of five domains.
  • Frontier Leaderboard: In the Frontier Challenge, GPT-6 Astra and DeepSeek-V4.1-Flash emerged as the top performers.
  • Cost Efficiency: The results show that performance isn't strictly tied to price. DeepSeek-V4.1-Flash achieved scores nearly identical to GPT-6 Astra but at a significantly lower token cost, placing it on the Pareto frontier of efficiency.
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 optimiza- tion performance can incur substantially different inference costs.

Limitations and Future Work

The authors note that while LLMs can develop optimizers (writing reusable code), these generated tools often struggle to generalize to "held-out" tasks they weren't designed for.

Future directions include:

  • Task-Adaptive Tooling: Developing agents that can select the right optimizer from a portfolio based on the current search state.
  • Cost-Aware Routing: Automatically deciding when a task is "easy" enough for a numerical tool and when it requires the "expensive" reasoning of an LLM.
  • Experience Libraries: Building systems that can retrieve successful strategies from past optimization trajectories rather than starting every new problem from scratch.

Summary updated

BibTeX
@misc{chen2026closer,
  author = {Ming Chen and Rong-Xi Tan and Ke Xue and Yu-Jie Zhou and Taiye Lu and Zhi-Xuan Gao and Peng Xie and Zijun Shen and Chen Lu and Haopu Shang and Chao Qian},
  title = {{A Closer Look at Agentic BBO: Benchmarking LLM Agents for Black-Box Optimization}},
  year = {2026},
  eprint = {2610.12183},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.12183},
}
Figure