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

HackerRank-ASTRA:评估大语言模型在跨领域多文件项目问题上的正确性与一致性

HackerRank-ASTRA: Evaluating Correctness & Consistency of Large Language Models on cross-domain multi-file project problems

Jun Xing, Mayur Bhatia, Sahil Phulwani, Darshan Suresh, Rafik Matta

AI总结:

针对现有基准忽视多文件场景及一致性评估的不足,本文提出HackerRank-ASTRA基准,通过多次运行和分类层级分析评估大模型在跨领域项目问题上的正确性与一致性,发现头部模型性能相当但Claude-3.5-Sonnet一致性最优。

摘要:

评估大语言模型(LLMs)在真实世界中的适用性,为其在软件开发任务中的开发和使用提供了有价值的见解。现有基准通常侧重于独立的编码问题或特定库,忽视了多文件、基于项目的场景,并且缺乏对一致性的严格评估。HackerRank-ASTRA 基准引入了反映真实世界场景的基于项目的编码问题。它通过 32 次运行(k = 32)和中位数标准差来评估模型一致性,同时结合分类层级分析来评估子技能能力。对 65 个问题的初步评估表明,排名前三的模型——o1、o1-preview 和 Claude-3.5-Sonnet-1022——取得了可比的 75% 平均得分,性能上没有统计学显著差异。值得注意的是,Claude-3.5-Sonnet-1022 在各问题间表现出最高的一致性,变异性低(SD = 0.0497),与其他模型相比具有统计学显著性,凸显了其在真实世界软件开发任务中的可靠性。

英文摘要:

Evaluating the real-world applicability of large language models (LLMs) provides valuable insights for their development and use in software development tasks. Existing benchmarks often focus on standalone coding problems or specific libraries, overlooking multi-file, project-based scenarios and lacking a rigorous evaluation of consistency. The HackerRank-ASTRA Benchmark introduces project-based coding problems that mirror real-world scenarios. It evaluates model consistency through 32 runs (k = 32) and median standard deviation while incorporating taxonomy-level analysis to assess sub-skill capabilities. Initial evaluations on 65 problems show that the top three models -- o1, o1-preview, and Claude-3.5-Sonnet-1022 -- achieved comparable average scores of 75%, with no statistically significant differences in performance. Notably, Claude-3.5-Sonnet-1022 demonstrated the highest consistency across problems, with low variability (SD = 0.0497), which was statistically significant compared to other models, highlighting its reliability for real-world software development tasks.

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

↑