arXiv:2505.12833cs.AI2025-05被引 8

用大模型推理能力提升贝叶斯优化,让搜索更智能、结果更可解释。

Reasoning BO: Enhancing Bayesian Optimization with Long-Context Reasoning Power of LLMs

  • 引入大模型推理与多智能体系统,动态指导采样策略。
  • 在真实任务中将产率从25.2%提升至60.7%,显著优于传统方法。
  • 小模型经强化学习微调后性能接近大模型,适合实际部署。

许多现实世界的科学与工业应用需要优化昂贵的黑箱函数。贝叶斯优化(BO)为此提供了有效框架,但传统方法易陷入局部最优,且缺乏可解释性。本文提出Reasoning BO,利用大语言模型(LLMs)的推理与上下文理解能力,结合多智能体系统和知识图谱,实现在线知识积累,动态引导采样过程。随着优化进行,该框架不仅提供实时采样建议,还基于合理科学理论给出关键洞察,助力发现搜索空间中的高性能区域。我们在10项不同任务上系统评估,涵盖合成数学函数与复杂真实应用。结果表明,该方法可通过实时洞察与假设演化持续优化采样策略,有效定位高绩效区域。例如,在直接芳基化任务中,本方法将产率提升至60.7%,而传统BO仅达25.2%。此外,研究发现经强化学习微调的小型LLM可达到与大型模型相当的性能。

原文摘要 · Abstract (English)

Many real-world scientific and industrial applications require the optimization of expensive black-box functions. Bayesian Optimization (BO) provides an effective framework for such problems. However, traditional BO methods are prone to get trapped in local optima and often lack interpretable insights. To address this issue, this paper designs Reasoning BO, a novel framework that leverages reasoning models to guide the sampling process in BO while incorporating multi-agent systems and knowledge graphs for online knowledge accumulation. By integrating the reasoning and contextual understanding capabilities of Large Language Models (LLMs), we can provide strong guidance to enhance the BO process. As the optimization progresses, Reasoning BO provides real-time sampling recommendations along with critical insights grounded in plausible scientific theories, aiding in the discovery of superior solutions within the search space. We systematically evaluate our approach across 10 diverse tasks encompassing synthetic mathematical functions and complex real-world applications. The framework demonstrates its capability to progressively refine sampling strategies through real-time insights and hypothesis evolution, effectively identifying higher-performing regions of the search space for focused exploration. This process highlights the powerful reasoning and context-learning abilities of LLMs in optimization scenarios. For example, in the Direct Arylation task, our method increased the yield to 60.7%, whereas traditional BO achieved only a 25.2% yield. Furthermore, our investigation reveals that smaller LLMs, when fine-tuned through reinforcement learning, can attain comparable performance to their larger counterparts.

贝叶斯优化大模型推理科学计算智能搜索

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。