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

CATArena: 通过迭代竞技场评估代码代理的进化能力

CATArena: Evaluating Evolutionary Capabilities of Code Agents via Iterative Tournaments

Shanghai Jiao Tong University, Shanghai, China(上海交通大学);Shenzhen International Graduate School, Tsinghua University, Shenzhen, China(清华大学深圳国际 Graduate School)

Lingyue Fu, Xin Ding, Linyue Pan, Yaoming Zhu, Shao Zhang, Lin Qiu, Weiwen Liu, Weinan Zhang, Xuezhi Cao, Xunliang Cai, Jiaxin Ding, Yong Yu

AI总结:

CATArena通过迭代竞技场评估代码代理的进化能力,揭示了代理在连续优化和多轮迭代开发中的潜力及改进机制。

摘要:

当前对大型语言模型(LLM)代码代理的评估主要集中在单轮场景中生成功能性代码,这无法评估代理在连续代码优化和多轮迭代开发中的能力。为弥补这一差距,我们引入了CATArena,一个通过迭代竞技场评估代码代理进化能力的框架。代理参与多轮竞技场并通过自我反思和同伴学习不断改进代码,基于全面的执行反馈。在评估方面,我们提出了一种双指标系统,以将静态生成能力与进化潜力分开。广泛实验表明,代理的进化潜力与初始能力之间没有严格相关性。我们的分析进一步表明,当前代理难以同时利用同伴学习和自我反思以实现有效性能提升。此外,结果验证了CATArena的高可扩展性和对变种任务的抗干扰性,使其成为评估LLM代码代理进化能力的连续且可靠的标准。

英文摘要:

Current evaluation for Large Language Model (LLM) code agents predominantly focus on generating functional code in single-turn scenarios, which fails to evaluate the agent's capability for continuous code optimization and multi-turn iterative development. To bridge this gap, we introduce CATArena, a framework designed to evaluate the evolutionary capabilities of code agents via iterative tournaments. Agents engage in multi-turn tournaments and continuously refine their code through self-reflection and peer-learning based on comprehensive execution feedback. For evaluation, we propose a dual-metric system to decouple static generation proficiency from evolutionary potential. Extensive experiments reveal that an agent's evolutionary potential is not strictly correlated with its initial proficiency. Our analysis further reveals that current agents struggle to concurrently leverage both peer-learning and self-reflection for effective performance gains. Furthermore, the results validate CATArena's high extensibility and resistance to variance tasks, establishing it as a continuous and reliable standard for assessing the evolutionary capability of LLM code agents.

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

↑