arXiv:2510.26852cs.AIcs.CL2025-10被引 3

通过多轮竞赛评估代码大模型的持续优化能力

CATArena: Evaluating Evolutionary Capabilities of Code Agents via Iterative Tournaments

  • 设计多轮对抗赛框架,让代码代理通过自省和互学迭代改进
  • 发现初始能力强的代理不一定具备持续进化潜力
  • 适合研究代码生成模型长期演进能力的研究者

当前大语言模型代码代理的评估主要聚焦于单轮生成功能代码,无法衡量其持续优化与多轮迭代开发能力。为此,我们提出CATArena框架,通过多轮竞赛评估代码代理的演化能力。代理在多轮对抗中持续基于执行反馈进行自我反思与同伴学习,不断优化代码。为评估,我们设计双指标体系,将静态生成能力与演化潜力解耦。大量实验表明,代理的演化潜力与其初始性能无严格相关性。进一步分析显示,现有代理难以同时有效利用同伴学习与自我反思实现性能提升。此外,结果验证了CATArena具有高可扩展性与抗干扰能力,可作为评估LLM代码代理演化能力的持续可靠标准。

原文摘要 · Abstract (English)

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.

代码生成评估框架演化能力

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。