arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2612.02482cs.SEcs.AIcs.LG
收藏

RBioBench:基于执行的生物医学R代码生成基准

RBioBench: an execution-based benchmark for biomedical R code generation

Keiji AI Inc.(Keiji AI 公司);Keiji AI Japan K.K.(Keiji AI 日本株式会社);Tianjin University(天津大学);The University of Osaka(大阪大学);Great Bay University(大湾区大学);The University of Hong Kong(香港大学);Meta;University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Xihao Piao, Dong Wang, Ziwei Yang, Zhenyu He, Zhao Tian, Yilong Zhang, Erick Scott, Jiacheng Lin, Lingwei Zhu, Junjie Chen, Zheng Chen, Jimeng Sun

AI总结:

该研究提出RBioBench基准,评估发现现有模型在生物医学R代码生成任务中通过率仅55.4%,执行修改代码的智能体通过率达82.4%,但仍有25%无错误运行输出错误结果,验证了执行反馈对科学智能体的作用。

摘要:

语言模型和编码智能体越来越多地生成用于生物医学分析的R代码,但可靠的结果不仅需要代码可运行。现有基准很少将输出与参考结果进行比较,也很少区分执行失败与产生看似合理但错误结果的静默错误。我们推出RBioBench,这是一个包含296个Bioconductor和Pharmaverse任务的基准,带有隐藏的参考输出和诊断工具,可将阻止代码运行的接口错误与静默错误区分开。在所有任务上直接评估时,性能最佳的模型通过率为55.4%;大多数临床任务崩溃源于不存在的函数或参数。执行并修改代码的智能体通过率高达82.4%,主要通过纠正接口错误实现,但它们25%的无错误运行仍会产生错误输出。这些发现表明,执行反馈帮助智能体学习如何使用科学软件,而非学习要执行的分析。RBioBench为自校正科学智能体提供了基准和验证器。

英文摘要:

Language models and coding agents increasingly generate R code for biomedical analyses, but reliable results require more than code that runs. Existing benchmarks rarely compare outputs with reference results or distinguish execution failures from silent errors that produce plausible but incorrect results. We introduce RBioBench, a benchmark of 296 Bioconductor and Pharmaverse tasks with hidden reference outputs and diagnostic tools that separate interface errors, which prevent code from running, from silent errors. Evaluated directly across all tasks, the best-performing model passes 55.4%; most clinical-task crashes stem from nonexistent functions or arguments. Agents that execute and revise code achieve pass rates of up to 82.4%, primarily by correcting interface errors, yet 25% of their error-free runs still generate incorrect outputs. These findings suggest that execution feedback helps agents learn how to use scientific software more than what analyses to perform. RBioBench offers a benchmark and a verifier for self-correcting scientific agents.

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

↑