arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.06265cs.LGcs.AI
收藏

作为不确定性校准优化器的大语言模型用于实验发现

Large language models as uncertainty-calibrated optimizers for experimental discovery

École Polytechnique Fédérale de Lausanne (EPFL)(瑞士联邦理工学院(EPFL));National Centre of Competence in Research (NCCR) Catalysis(研究型研究中心(NCCR)催化)

Bojana Ranković, Ryan-Rhys Griffiths, Philippe Schwaller

AI总结:

本文提出用不确定性感知目标训练大语言模型,将其过度自信转化为精确校准机制,使LLM成为自然语言引导的可靠优化器,并在Buchwald-Hartwig反应等19个优化问题上将高产条件发现率从24%提升至43%,平均排名第一。

摘要:

科学发现越来越依赖于高效的实验优化,以便在时间和资源约束下探索广阔的设计空间。传统方法通常需要大量的领域专业知识和特征工程。虽然大语言模型凭借其丰富的科学知识绕开了特征工程的局限,但它们缺乏高风险决策所需的校准不确定性估计。因此,当前的优化方法不得不在领域知识与可靠性之间做出选择,尚不存在能够同时兼顾二者的原则性方法。在本工作中,我们表明,通过传统优化方法中面向不确定性的目标来训练语言模型,能够使其成为以自然语言为指导的可靠优化器。通过在不确定性条件下根据实验结果教导大语言模型,我们将其过度自信从根本性局限转变为一种精确的校准机制。将该方法应用于Buchwald-Hartwig反应——药物合成的基石之一,我们的方法将高产率反应条件的发现率几乎提高了一倍,在从10个不成功条件出发的50次实验迭代中,发现率从24%提高到43%。在涵盖有机合成、材料科学与催化、过程化学以及分子设计的19个不同优化问题上,我们的方法平均排名第一,确立了利用大语言模型进行可靠的、不确定性引导优化的新范式。我们的方法可以通过降低使用强大优化方法的门槛来加速发现,用更易用的自然语言界面取代对领域特定特征工程的需求。这些发现突出表明,通过原则性的不确定性量化来确保可靠性,对于充分发挥人工智能引导实验的潜力至关重要。

英文摘要:

Scientific discovery increasingly depends on efficient experimental optimization to navigate vast design spaces under time and resource constraints. Traditional approaches often require extensive domain expertise and feature engineering. While large language models, with their vast scientific knowledge, circumvent the feature engineering limitations, they lack the calibrated uncertainty estimates required for high-stakes decision making. Hence, current optimization methods force a choice between domain knowledge and reliability, with no principled approach that affords both. In this work, we show that training language models through the uncertainty-aware objectives of traditional optimization methods enables their use as reliable optimizers guided by natural language. By teaching LLMs from experimental outcomes under uncertainty, we transform their overconfidence from a fundamental limitation into a precise calibration mechanism. Applied to Buchwald-Hartwig reactions, a cornerstone of pharmaceutical synthesis, our method nearly doubles the discovery rate of high-yielding reaction conditions, from 24% to 43% in 50 experimental iterations starting from 10 unsuccessful conditions. Across 19 diverse optimization problems spanning organic synthesis, materials science and catalysis, process chemistry, and molecular design, our approach ranks first on average, establishing a new paradigm for reliable, uncertainty-guided optimization with LLMs. Our approach can accelerate discovery by lowering the barrier to using powerful optimization methods, replacing the need for domain-specific feature engineering with more accessible natural language interfaces. These findings highlight that ensuring reliability through principled uncertainty quantification is critical for realizing the full potential of AI-guided experimentation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑