CodeDistiller:自动为科学编码代理生成代码库
CodeDistiller: Automatically Generating Code Libraries for Scientific Coding Agents
AI总结:
CodeDistiller通过自动提炼科学GitHub仓库代码,生成经过验证的领域特定代码库,提升科学发现系统实验的准确性与完整性。
摘要:
自动化科学发现(ASD)系统可自动生成和运行基于代码的实验,但其能力受限于其从参数知识中生成的代码质量。为此,我们引入CodeDistiller,该系统能自动提炼大量科学GitHub仓库中的代码,生成经过验证的领域特定代码库,使ASD代理无需手动努力即可扩展其能力。通过自动和领域专家评估250个材料科学仓库,发现最佳模型能为74%的仓库生成功能性示例,而下游评估显示,使用CodeDistiller生成的代码库增强的ASD代理产生的实验比仅使用通用材料科学代码的代理更准确、完整且科学严谨。此外,我们评估了LLM作为评判者在A/B测试中的表现,发现中等程度的一致性,表明低成本代理指标可能适用于大规模评估科学发现系统。
英文摘要:
Automated Scientific Discovery (ASD) systems can help automatically generate and run code-based experiments, but their capabilities are limited by the code they can reliably generate from parametric knowledge alone. As a result, current systems either mutate a small number of manually-crafted experiment examples, or operate solely from parametric knowledge, limiting quality and reach. We introduce CodeDistiller, a system that automatically distills large collections of scientific Github repositories into a vetted library of working domain-specific code examples, allowing ASD agents to expand their capabilities without manual effort. Using a combination of automatic and domain-expert evaluation on 250 materials science repositories, we find the best model is capable of producing functional examples for 74% of repositories, while our downstream evaluation shows an ASD agent augmented with a CodeDistiller generated library produces more accurate, complete, and scientifically sound experiments than an agent with only general materials-science code examples. We also evaluate LLM-as-a-judge ratings against domain-expert ratings in an A/B testing paradigm, finding moderate agreement and suggesting that inexpensive proxy metrics may be feasible for evaluating scientific discovery systems at scale.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。