深入探究Agentic BBO:对LLM智能体进行黑盒优化基准测试
研究论文 · 2026/10/09
黑盒优化(BBO)出现在许多科学和工程问题中,其中目标评估昂贵且有限。近期的大语言模型(LLM)智能体通过结合任务语义、计算、优化工具和反馈驱动的决策,为BBO提供了新途径,并因与数学严谨工具的结合而展现出巨大潜力。然而,现有的智能体BBO研究使用不同的任务领域和系统配置,导致结果难以比较,且难以分离单个设计选择的影响。因此,我们引入了AgenticBBO-Bench,一个跨领域的智能体BBO基准,涵盖合成函数、超参数优化、数据库调优、芯片设计和分子设计,并在统一的有限预算评估协议下进行。在我们的实验中,智能体BBO在所有五个领域中都取得了比直接基于LLM的方法更高的家族平均分数,并在四个领域中优于最佳数值优化器。我们进一步研究了影响智能体性能的三个因素:优化工具、任务信息和先验知识,以及LLM在搜索过程中的作用。我们的结果表明,额外的数值工具并不总能提高性能,任务语义广泛有用,而更具体的先验则不太可靠,数值优化器可以有效吸收智能体建立的搜索轨迹带来的增益。最后,我们在AgenticBBO-Bench中引入了一个五任务前沿挑战,并在Codex智能体框架下评估了七个LLM,其中GPT-6 Astra和DeepSeek-V4.1-Flash位于所评估模型性能与成本的帕累托前沿。我们的代码可在https://github.com/lamda-bbo/agentic-bbo获取。
该研究通过统一的跨领域基准解决了智能体黑盒优化中结果难以比较和设计选择影响难以分离的问题,并提供了对关键设计因素的深入分析,为未来研究提供了可复现的评估框架和开源代码。
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 mathematically rigorous 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 the 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. Our code is available at https://github.com/lamda-bbo/agentic-bbo.