arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.08697cs.SEcs.AIcs.CL
收藏

BigCodeArena: 通过执行揭示更多可靠的代码生成人类偏好

BigCodeArena: Unveiling More Reliable Human Preferences in Code Generation via Execution

Monash University(墨尔本大学);CSIRO’s Data61(CSIRO的数据61);Purdue University(普渡大学);Independent(独立);HKUST (Guangzhou)(香港科技大学(广州));UCSD(加州大学圣地亚哥分校);UVA(弗吉尼亚大学);CNRS, France(法国国家科学研究中心);IBM;Cisco(思科);Comenius University in Bratislava(布拉提斯拉瓦康门纽斯大学);University of Notre Dame(Notre Dame大学);Uber;Tano Labs(Tano实验室);NUS(国立大学新加坡);Institute of Automation, CAS(中国科学院自动化研究所);Tencent AI Lab(腾讯AI实验室);University of Washington(华盛顿大学);Nevsky Collective(Nevsky集体);ETH Zurich(苏黎世联邦理工学院);Detomo Inc(Detomo公司);University of Oxford(牛津大学);UIUC(伊利诺伊大学香槟分校);Google(谷歌);NVIDIA;Singapore Management University(新加坡管理学院);ServiceNow Research(ServiceNow研究);Hugging Face
Terry Yue Zhuo, Xiaolong Jin, Hange Liu, Juyong Jiang, Tianyang Liu, Chen Gong, Bhupesh Bishnoi, Vaisakhi Mishra, Marek Suppa, Noah Ziems, Saiteja Utpala, Ming … 展开作者

Terry Yue Zhuo, Xiaolong Jin, Hange Liu, Juyong Jiang, Tianyang Liu, Chen Gong, Bhupesh Bishnoi, Vaisakhi Mishra, Marek Suppa, Noah Ziems, Saiteja Utpala, Ming Xu, Guangyu Song, Kaixin Li, Yuhan Cao, Bo Liu, Zheng Liu, Sabina Abdurakhmanova, Wenhao Yu, Mengzhao Jia, Jihan Yao, Kenneth Hamilton, Kumar Shridhar, Minh Chien Vu, Dingmin Wang, Jiawei Liu, Zijian Wang, Qian Liu, Binyuan Hui, Meg Risdal, Ahsen Khaliq, Atin Sood, Zhenchang Xing, Wasi Uddin Ahmad, John Grundy, David Lo, Banghua Zhu, Xiaoning Du, Torsten Scholak, Leandro von Werra

AI总结:

BigCodeArena通过执行揭示更多可靠的代码生成人类偏好,提出自动评分基准评估LLM编码质量。

摘要:

众包模型评估平台,如Chatbot Arena,能够从人类角度进行实时评估,以评估模型响应的质量。在编码领域,手动检查LLM生成内容的质量极具挑战性,因为这需要理解大量的原始代码并有意模拟代码执行。为此,我们引入了BigCodeArena,这是一个基于综合且实时执行环境的开源人类评估平台,用于代码生成。基于Chatbot Arena构建,BigCodeArena能够执行LLM生成的代码,并允许人类与执行过程和结果互动。我们收集了超过14,000个以原始代码为中心的对话会话,涵盖10个广泛使用的LLM,跨越10种语言和8种执行环境。在这些对话中,我们识别出超过4,700个多轮样本,具有成对的人类偏好。进一步分析揭示了在细粒度领域中LLM的未被探索的偏好,这些领域由任务、语言和框架特征化。为了系统地检查前沿LLM的代码理解和生成能力,我们基于收集的数据整理了两个基准,即BigCodeReward和AutoCodeArena。对于BigCodeReward,我们处理了4,700次对话,并评估了奖励模型与人类偏好的一致性。评估显示,大多数LLM在执行结果可用时在判断编码偏好方面表现更优。受这些发现的启发,我们提出了AutoCodeArena,一个自动Elo评分基准,旨在评估LLM的编码质量,而无需人类参与。我们发现,像GPT-5、Claude-Sonnet-4和Claude-Opus-4这样的专有LLM在最近新兴模型中仍然在代码生成性能方面领先。

英文摘要:

Crowdsourced model evaluation platforms, such as Chatbot Arena, enable real-time evaluation from human perspectives to assess the quality of model responses. In the coding domain, manually examining the quality of LLM-generated content is extremely challenging, as it requires understanding long chunks of raw code and deliberately simulating code execution. To this end, we introduce BigCodeArena, an open human evaluation platform for code generation backed by a comprehensive and on-the-fly execution environment. Built on top of Chatbot Arena, BigCodeArena enables the execution of LLM-generated code and allows humans to interact with the execution process and outcomes. We collected over 14,000 raw code-centric conversation sessions across 10 widely used LLMs, spanning 10 languages and 8 types of execution environments. Among these conversations, we identified more than 4,700 multi-turn samples with pairwise human preferences. Further analysis uncovers underexplored preferences of LLMs in fine-grained domains characterized by tasks, languages, and frameworks. To systematically examine code understanding and generation capabilities of frontier LLMs, we curated two benchmarks based on the collected data, namely BigCodeReward and AutoCodeArena. For BigCodeReward, we post-processed the 4,700 conversations and evaluated the consistency between reward models and human preferences. The evaluation shows that most LLMs have superior performance in judging coding preferences when the execution results are available. Inspired by these findings, we propose AutoCodeArena, an automatic Elo rating benchmark designed to assess the coding quality of LLMs without human involvement. We find that proprietary LLMs like GPT-5, Claude-Sonnet-4, and Claude-Opus-4 still lead in code generation performance among recent emerging models.

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

↑