arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.10046cs.SE
收藏

Artisan: 自动化代理评估

Automated Table Reproduction via Code Generation

CISPA Helmholtz Center for Information Security(CISPA 亥姆霍兹信息安全中心)

Doehyun Baek, Michael Pradel

AI总结:

Artisan通过自动化LLM代理生成重现脚本,提升软件工程研究结果的可重复性,生成44/60个有效脚本并发现20个新错误。

摘要:

在软件工程社区中,艺术品评估已成为确保研究结果可重复性的标准实践。然而,当前的手动流程是劳动密集型的,因此只能对部分论文进行一次性的评估。为了支持艺术品评估的努力,我们提出了Artisan,一个自动化LLM代理,可以根据论文及其艺术品来重现研究结果。该方法得益于两个关键贡献:首先,我们将重现问题框架为代码生成任务,目标是生成一个重现脚本,当执行时可以重现论文中报告的结果。与在其他领域自动重现研究结果的工作不同,这种 formulation 允许脚本独立于代理运行,并在细粒度层面评估重现过程。其次,我们设计了自动评判机制,引导代理朝着预期结果前进而不揭示它们,并防止诸如简单复制已提交结果之类的琐碎解决方案。为了评估Artisan,我们引入了Artisan-Bench,第一个评估生成重现脚本能力的基准,以及第一个软件工程中的自动化艺术品评估基准。Artisan-Bench包含60个任务,来源于23篇软件工程论文,涵盖不同的研究领域和编程语言。我们验证了Artisan-Bench中的所有任务以确保其可重复性。我们的实验表明,Artisan是有效的,生成了44/60个重现脚本,并在生成重现脚本方面优于最佳可用基线,即一个普通的LLM代理(mini-swe-agent),在生成重现脚本方面高出3.14倍,平均每个任务耗时0.45和48分钟。Artisan还帮助发现了20个新的错误,无论是论文还是艺术品。

英文摘要:

Reproducibility is an important goal in computer science research, e.g., for artifact evaluation and to build upon experimental results of prior work. Recently, LLM agents are being used to automatically reproduce research results, but they fail to provide executable evidence of reproduction and do not consider the method of reproduction, which limits their usefulness. We present Artisan, an LLM agent that reproduces tables of numeric results, given a paper and its artifact. The approach is enabled by two key contributions: First, we frame the reproduction problem as a code generation task, enabling users to audit and re-run the resulting reproduction script independently of the agent. Second, we design automated judging mechanisms that steer the agent toward correct results without exposing them, while preventing shortcuts like copying precomputed results. To evaluate Artisan, we introduce Artisan-Bench, the first benchmark assessing the ability to generate code that reproduces research results. Artisan-Bench comprises 60 tasks derived from 23 software engineering papers. Our experiments show that Artisan is effective and efficient, with the added benefit of aiding the discovery of 20 new errors in either the paper or artifact.

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

↑