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

代码生成评估的基准与指标:一项批判性综述

Benchmarks and Metrics for Evaluations of Code Generation: A Critical Review

Oxford Brookes University(牛津布鲁克斯大学)

Debalina Ghosh Paul, Hong Zhu, Ian Bayley

AI总结:

本文针对大语言模型代码生成任务的评估难题,批判性综述了现有评估工作中的基准与指标两大核心方面,并探讨了未来研究方向。

摘要:

随着大语言模型(Large Language Models, LLMs)的快速发展,大量机器学习模型被开发用于辅助编程任务,包括根据自然语言输入生成程序代码。然而,尽管已有大量研究工作致力于评估和比较这类大语言模型在此任务上的表现,但如何对其进行评估仍是一个未解决的问题。本文对现有关于这类工具测试与评估的研究开展了批判性综述,重点关注评估中使用的基准与指标两大核心方面。基于综述结果,本文进一步探讨了未来的研究方向。

英文摘要:

With the rapid development of Large Language Models (LLMs), a large number of machine learning models have been developed to assist programming tasks including the generation of program code from natural language input. However, how to evaluate such LLMs for this task is still an open problem despite of the great amount of research efforts that have been made and reported to evaluate and compare them. This paper provides a critical review of the existing work on the testing and evaluation of these tools with a focus on two key aspects: the benchmarks and the metrics used in the evaluations. Based on the review, further research directions are discussed.

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

↑