评估大型语言模型细粒度问题解决能力的真实世界基准
A Real-World Benchmark for Evaluating Fine-Grained Issue Solving Capabilities of Large Language Models
AI总结:
针对现有基准无法细粒度评估LLMs解决真实软件问题能力的不足,本文提出FAUN-Eval基准,通过300个GitHub问题条目评估LLMs在QA、故障定位等子任务的表现,揭示了模型在不同任务和文本长度上的性能差异。
摘要:
自动解决软件问题对实际软件开发至关重要,影响软件质量和用户体验。解决真实世界问题的过程包括问答(QA)、故障定位和代码编辑等任务。现有基准如HumanEval在评估LLMs解决代码库内问题的能力方面存在不足。尽管SWE-Bench等基准旨在评估LLMs处理真实GitHub问题的能力,但端到端评估方法无法对问题解决涉及的子任务性能提供细粒度见解。为解决现有基准在评估LLMs实际软件工程任务中的不足,我们引入FAUN-Eval,一个专门设计用于评估LLMs细粒度问题解决(Fine-grAined issUe solviNg)能力的基准。FAUN-Eval系统地评估LLMs在QA、故障定位和代码编辑三个不同任务上的表现。该基准使用从30个知名GitHub仓库中精选的数据集构建。对于每个条目,通过交叉引用和关键词验证方法精心编译和验证问题与拉取请求(PR)对。FAUN-Eval包含300个条目,并采用LLM和人工检查确保数据质量。我们使用FAUN-Eval评估了10个LLM,包括4个闭源模型和6个开源模型。实验结果揭示了几个关键发现:不同任务的顶级LLM存在差异;问题中的特征可能导致LLMs生成错误信息;模型对不同长度文本的熟练程度可能不同。
英文摘要:
Automatically resolving software issues is crucial for software development in practice, impacting the software quality and user experience. The process of resolving real-world issues encompasses tasks such as question-answering (QA), fault localization, and code editing. Existing benchmarks such as HumanEval fall short in their ability to assess LLMs' proficiency in solving issues within a codebase. Although benchmarks like SWE-Bench are designed to evaluate the LLMs' capability to handle real-world GitHub issues, the end-to-end evaluation method cannot provide granular insights on the performance of subtasks involved in issue solving. To address existing deficiencies in benchmarking LLMs for practical software engineering tasks, we introduce FAUN-Eval, a benchmark specifically designed to evaluate the Fine-grAined issUe solviNg capabilities of LLMs. FAUN-Eval systematically assesses LLMs across three distinct tasks: QA, fault localization, and code editing. This benchmark is constructed using a dataset curated from 30 well-known GitHub repositories. For each entry, issue and pull request (PR) pairs are meticulously compiled and validated using cross-referencing and keyword verification methods. FAUN-Eval includes 300 entries and employs both LLM and manual checks to ensure data quality. We evaluate ten LLMs with FAUN-Eval, including four closed-source and six open-source models. Our experimental results reveal several key findings. We find that the top-performing LLMs differ across the different tasks. Additionally, features in issues may lead LLMs to generate incorrect information. Moreover, models may vary in their proficiency with texts of different lengths.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。