arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.10711cs.SEcs.AIcs.CL
收藏

代码基准应优先考虑严谨性、可靠性和可重复性

Code Benchmarks Should Prioritize Rigor, Reliability, and Reproducibility

The Chinese University of Hong Kong(香港中文大学);Renmin University of China(中国人民大学);Sun Yat-Sen University(中山大学);Chinese Academy of Sciences, Institute of Automation(中国科学院自动化研究所);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))
Jialun Cao, Yuk-Kit Chan, Zixuan Ling, Wenxuan Wang, Shuqing Li, Mingwei Liu, Ruixi Qiao, Yuting Han, Chaozheng Wang, Boxi Yu, Pinjia He, Shuai Wang, Zibin Zhen… 展开作者

Jialun Cao, Yuk-Kit Chan, Zixuan Ling, Wenxuan Wang, Shuqing Li, Mingwei Liu, Ruixi Qiao, Yuting Han, Chaozheng Wang, Boxi Yu, Pinjia He, Shuai Wang, Zibin Zheng, Michael R. Lyu, Shing-Chi Cheung

AI总结:

研究代码基准在评估大语言模型中的作用,指出其质量影响对模型能力的解读。通过对672个代码基准的调查发现实际与认知有差距,提出代码基准应在构建、评估和发布中分别注重严谨性、可靠性和可重复性,并给出准则。

摘要:

与代码相关的基准在评估大语言模型中起着关键作用,但其质量从根本上影响着社区对模型能力的解读。在对672个代码基准进行了十年规模(2014 - 2025年)的调查后,发现认知与实际存在差距。为此提出代码基准应在构建中注重严谨性,评估中注重可靠性,发布中注重可重复性,并引入了有55个清单的代码基准指南HOW2BENCH。

英文摘要:

Code-related benchmarks play a critical role in evaluating large language models (LLMs), yet their quality fundamentally shapes how the community interprets model capabilities. In the past few years, awareness of benchmark quality has grown. Yet, after a decade-scale (2014-2025) survey over 672 code benchmarks, we observed a lag between growing awareness and actual practice. For example, in 2025 alone, the number of benchmarks that ignore code coverage when providing test cases nearly matches the total count accumulated across the previous ten years. In response, we take a clear position: Code benchmarks must prioritize rigor in benchmark construction, reliability in evaluation, and reproducibility in release. To operationalize this position, we introduce a code benchmark guideline HOW2BENCH with 55 checklists. Finally, our further human study also exposed that the current issues not only stem from the significant effort required, but also from a lack of awareness regarding their importance.

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

↑