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

排行榜榜首 = 最强编程能力,总是如此吗?EvoEval:通过 LLM 演化编程基准

Top Leaderboard Ranking = Top Coding Proficiency, Always? EvoEval: Evolving Coding Benchmarks via LLM

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Chunqiu Steven Xia, Yinlin Deng, Lingming Zhang

AI总结:

本文提出 EvoEval 基准套件,通过将现有编码基准演化到不同领域来全面评估 LLM 程序合成能力,在 51 个 LLM 上的实验揭示现有排行榜存在过拟合,性能平均下降 39.4% 且排名剧烈变化。

摘要:

大语言模型(LLMs)已成为代码生成任务的首选方案,专门用于代码生成的 LLM 在训练、开发和使用方面呈指数级增长。为了评估 LLM 在代码方面的能力,学术界和工业界从业者都依赖流行的人工构建基准。然而,此前的基准无论在数量还是多样性上都只包含非常有限的问题集。此外,由于流行度和年代久远,许多基准容易发生数据泄漏,示例解决方案可以在网上轻易找到,从而可能出现在训练数据中。这些局限性不可避免地让我们追问:现有基准上的排行榜表现是否足够可靠和全面,能够衡量 LLM 的程序合成能力?为了解决这一问题,我们引入了 EvoEval——一个程序合成基准套件,通过将现有基准演化到不同的目标领域,对 LLM 编码能力进行全面评估。我们对 51 个 LLM 的研究表明,与在 HumanEval 等标准基准上获得的高性能相比,使用 EvoEval 时性能显著下降(平均下降 39.4%)。此外,性能下降幅度从 19.6% 到 47.7% 不等,导致 LLM 之间的排名发生剧烈变化,并显示出对现有基准的潜在过拟合。进一步地,我们展示了多种见解,包括指令跟随模型在遇到改写或细微变化时的脆弱性,以及学习问题组合与分解的重要性。EvoEval 不仅提供了全面的基准,还可以用于进一步演化任意问题,以跟上 LLM 在代码领域的进步和不断变化的格局。我们已在 https://github.com/evo-eval/evoeval 开源了我们的基准、工具和完整的 LLM 生成结果。

英文摘要:

LLMs have become the go-to choice for code generation tasks, with an exponential increase in the training, development, and usage of LLMs specifically for code generation. To evaluate the ability of LLMs on code, both academic and industry practitioners rely on popular handcrafted benchmarks. However, prior benchmarks contain only a very limited set of problems, both in quantity and variety. Further, due to popularity and age, many benchmarks are prone to data leakage where example solutions can be readily found on the web and thus potentially in training data. Such limitations inevitably lead us to inquire: Is the leaderboard performance on existing benchmarks reliable and comprehensive enough to measure the program synthesis ability of LLMs? To address this, we introduce EvoEval -- a program synthesis benchmark suite created by evolving existing benchmarks into different targeted domains for a comprehensive evaluation of LLM coding abilities. Our study on 51 LLMs shows that compared to the high performance obtained on standard benchmarks like HumanEval, there is a significant drop in performance (on average 39.4%) when using EvoEval. Additionally, the decrease in performance can range from 19.6% to 47.7%, leading to drastic ranking changes amongst LLMs and showing potential overfitting of existing benchmarks. Furthermore, we showcase various insights, including the brittleness of instruction-following models when encountering rewording or subtle changes as well as the importance of learning problem composition and decomposition. EvoEval not only provides comprehensive benchmarks, but can be used to further evolve arbitrary problems to keep up with advances and the ever-changing landscape of LLMs for code. We have open-sourced our benchmarks, tools, and complete LLM generations at https://github.com/evo-eval/evoeval

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

↑