首个面向数据驱动科研的语言智能体评估基准,揭示现有模型真实能力边界。
ScienceAgentBench: Toward Rigorous Assessment of Language Agents for Data-Driven Scientific Discovery
- 构建102个来自真实论文的科研任务,统一输出为可执行Python代码。
- 顶尖模型仅独立解决32.4%任务,需专家知识才达34.3%。
- 强调严谨评估,适合关注智能体在科研中实际应用的开发者与研究者。
大型语言模型(LLMs)推动了基于语言智能体实现端到端科研自动化的热潮,但其真实能力仍存疑。本文提出ScienceAgentBench,一个用于评估数据驱动型科学发现语言智能体的新基准。我们从四个学科的44篇同行评审论文中提取102个任务,并邀请九位领域专家验证其科学性与现实相关性。所有任务的输出统一为自包含的Python程序文件,采用多种评估指标分析生成代码、执行结果及资源消耗。每项任务均经过多轮人工校验以确保标注质量与科学合理性。同时提出两种策略缓解数据污染问题。我们评估了五种开源与专有LLM,分别使用直接提示、OpenHands CodeAct和自调试三种框架。每个任务允许三次尝试,最优智能体独立完成率仅为32.4%,结合专家知识后提升至34.3%。使用OpenAI o1-preview进行直接提示与自调试,性能提升至42.2%,但推理成本超其他模型10倍以上。结果表明,当前语言智能体在生成科研代码方面仍存在显著局限,更难实现全链路科研自动化。
原文摘要 · Abstract (English)
The advancements of large language models (LLMs) have piqued growing interest in developing LLM-based language agents to automate scientific discovery end-to-end, which has sparked both excitement and skepticism about their true capabilities. In this work, we call for rigorous assessment of agents on individual tasks in a scientific workflow before making bold claims on end-to-end automation. To this end, we present ScienceAgentBench, a new benchmark for evaluating language agents for data-driven scientific discovery. To ensure the scientific authenticity and real-world relevance of our benchmark, we extract 102 tasks from 44 peer-reviewed publications in four disciplines and engage nine subject matter experts to validate them. We unify the target output for every task to a self-contained Python program file and employ an array of evaluation metrics to examine the generated programs, execution results, and costs. Each task goes through multiple rounds of manual validation by annotators and subject matter experts to ensure its annotation quality and scientific plausibility. We also propose two effective strategies to mitigate data contamination concerns. Using ScienceAgentBench, we evaluate five open-weight and proprietary LLMs, each with three frameworks: direct prompting, OpenHands CodeAct, and self-debug. Given three attempts for each task, the best-performing agent can only solve 32.4% of the tasks independently and 34.3% with expert-provided knowledge. In addition, we evaluate OpenAI o1-preview with direct prompting and self-debug, which can boost the performance to 42.2%, demonstrating the effectiveness of increasing inference-time compute but with more than 10 times the cost of other LLMs. Still, our results underscore the limitations of current language agents in generating code for data-driven discovery, let alone end-to-end automation for scientific research.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。