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

Copilot Arena:面向真实场景代码大语言模型评估的平台

Copilot Arena: A Platform for Code LLM Evaluation in the Wild

Wayne Chi, Valerie Chen, Anastasios Nikolas Angelopoulos, Wei-Lin Chiang, Aditya Mittal, Naman Jain, Tianjun Zhang, Ion Stoica, Chris Donahue, Ameet Talwalkar

AI总结:

针对代码大语言模型真实场景编码能力评估的难题,本文提出Copilot Arena平台,通过集成到开发者环境收集用户偏好,其包含对比界面、低延迟采样策略等,已生成450万条建议并收集11k成对判断,揭示了集成环境评估的重要性及模型排名差异等新见解。

摘要:

评估大语言模型(LLMs)在真实场景中的编码能力是一项极具挑战性的任务,目前尚无明确解决方案。我们引入Copilot Arena,这是一个通过原生集成到开发者工作环境来收集用户对代码生成偏好的平台。Copilot Arena包含一个用于比较模型输出对的新型界面、一个优化以降低延迟的采样策略,以及一个支持代码补全功能的提示方案。Copilot Arena已从10个模型提供超过450万条建议,并收集了超过11000条成对判断。我们的结果强调了在集成环境中进行模型评估的重要性。我们发现,Copilot Arena的模型排名与现有评估的排名不同,这归因于Copilot Arena中包含的更真实的数据和任务分布。我们还发现了关于人类代码偏好的新见解,例如观察到用户偏好在不同编程语言中具有一致性,但因任务类别而存在显著差异。我们开源了Copilot Arena并发布数据,以支持以人为中心的评估并增进对编码助手的理解。

英文摘要:

Evaluating in-the-wild coding capabilities of large language models (LLMs) is a challenging endeavor with no clear solution. We introduce Copilot Arena, a platform to collect user preferences for code generation through native integration into a developer's working environment. Copilot Arena comprises a novel interface for comparing pairs of model outputs, a sampling strategy optimized to reduce latency, and a prompting scheme to enable code completion functionality. Copilot Arena has served over 4.5 million suggestions from 10 models and collected over 11k pairwise judgements. Our results highlight the importance of model evaluations in integrated settings. We find that model rankings from Copilot Arena differ from those of existing evaluations, which we attribute to the more realistic distribution of data and tasks contained in Copilot Arena. We also identify novel insights into human preferences on code such as an observed consistency in user preference across programming languages yet significant variation in preference due to task category. We open-source Copilot Arena and release data to enable human-centric evaluations and improve understanding of coding assistants.

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

↑