arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.21154cs.AIcs.CLcs.LG
收藏

Aviary:在具有挑战性的科学任务上训练语言智能体

Aviary: training language agents on challenging scientific tasks

FutureHouse Inc.(FutureHouse公司);University of Rochester(罗切斯特大学);Francis Crick Institute(弗朗西斯·克里克研究所)

Siddharth Narayanan, James D. Braza, Ryan-Rhys Griffiths, Manu Ponnapati, Albert Bou, Jon Laurent, Ori Kabeli, Geemi Wellawatte, Sam Cox, Samuel G. Rodriques, Andrew D. White

AI总结:

本文提出 Aviary 训练场,将语言智能体形式化为语言决策过程,并构建三个科学环境,证明开源非前沿 LLM 经在线训练和扩展推理时计算后,能以低至 1/100 的成本匹配或超越前沿 LLM 智能体与人类专家。

摘要:

解决复杂的现实世界任务需要行动与观察的循环。这在科学领域尤为突出,因为科学任务需要多轮分析、工具使用和实验。语言智能体在自动化科学中的智力任务方面具有前景,因为它们可以通过自然语言或代码与工具交互。然而,它们的灵活性给软件实现带来了概念性和实践性挑战,因为智能体可能包含非标准组件,例如内部推理、规划、工具使用,以及温度采样语言模型固有的随机性。在此,我们介绍 Aviary,一个面向语言智能体的可扩展训练场(gymnasium)。我们将智能体形式化为解决基于语言的部分可观测马尔可夫决策过程(language-grounded partially observable Markov decision processes)的策略,我们称之为语言决策过程(language decision processes)。随后,我们实现了五个环境,其中包括三个具有挑战性的科学环境:(1)操作 DNA 构建体以进行分子克隆,(2)通过访问科学文献回答研究问题,以及(3)工程化蛋白质稳定性。这些环境因其对多步推理的关注以及与当代生物学研究的相关性而被选中。最后,通过在线训练和扩展推理时计算(inference-time compute),我们证明由开源、非前沿 LLM 支持的语言智能体可以在多个任务上匹配并超越前沿 LLM 智能体和人类专家,同时推理成本降低高达 100 倍。

英文摘要:

Solving complex real-world tasks requires cycles of actions and observations. This is particularly true in science, where tasks require many cycles of analysis, tool use, and experimentation. Language agents are promising for automating intellectual tasks in science because they can interact with tools via natural language or code. Yet their flexibility creates conceptual and practical challenges for software implementations, since agents may comprise non-standard components such as internal reasoning, planning, tool usage, as well as the inherent stochasticity of temperature-sampled language models. Here, we introduce Aviary, an extensible gymnasium for language agents. We formalize agents as policies solving language-grounded partially observable Markov decision processes, which we term language decision processes. We then implement five environments, including three challenging scientific environments: (1) manipulating DNA constructs for molecular cloning, (2) answering research questions by accessing scientific literature, and (3) engineering protein stability. These environments were selected for their focus on multi-step reasoning and their relevance to contemporary biology research. Finally, with online training and scaling inference-time compute, we show that language agents backed by open-source, non-frontier LLMs can match and exceed both frontier LLM agents and human experts on multiple tasks at up to 100x lower inference cost.

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

↑