ReleaseEval:用于评估语言模型在自动化发行说明生成中的基准
ReleaseEval: A Benchmark for Evaluating Language Models in Automated Release Note Generation
AI总结:
本文提出ReleaseEval基准,包含94,987份发行说明,支持三种输入粒度任务,系统评估语言模型在自动化发行说明生成中的表现,发现大模型在利用结构化信息上优于传统基线但在长代码差异抽象上仍有挑战。
摘要:
自动化发行说明生成旨在解决频繁软件更新的文档编写挑战,其中人工编写耗时且容易出现人为错误。尽管语言模型的最新进展进一步增强了这一过程,但进展仍受到数据集限制的阻碍,包括缺乏明确的许可协议和有限的可复现性,以及不完整的任务设计,后者主要依赖提交信息进行摘要,而忽略了提交层次结构和代码更改等细粒度上下文。为了填补这一空白,我们引入了ReleaseEval,这是一个可复现且开放许可的基准,旨在系统性地评估用于自动化发行说明生成的语言模型。ReleaseEval包含来自6种编程语言的3,369个代码库的94,987份发行说明,并支持三种输入粒度级别的任务设置:(1)commit2sum,从提交信息生成发行说明;(2)tree2sum,结合提交树结构;(3)diff2sum,利用细粒度代码差异。自动化评估和人工评估均表明,大型语言模型在所有任务中始终优于传统基线,在tree2sum上取得了显著提升,但在diff2sum上仍然表现不佳。这些发现突显了LLM在利用结构化信息方面的熟练程度,同时揭示了从长代码差异中进行抽象的挑战。
英文摘要:
Automated release note generation addresses the challenge of documenting frequent software updates, where manual efforts are time-consuming and prone to human error. Although recent advances in language models further enhance this process, progress remains hindered by dataset limitations, including the lack of explicit licensing and limited reproducibility, and incomplete task design that relies mainly on commit messages for summarization while overlooking fine-grained contexts such as commit hierarchies and code changes. To fill this gap, we introduce ReleaseEval, a reproducible and openly licensed benchmark designed to systematically evaluate language models for automated release note generation. ReleaseEval comprises 94,987 release notes from 3,369 repositories across 6 programming languages, and supports three task settings with three levels of input granularity: (1) commit2sum, which generates release notes from commit messages; (2) tree2sum, which incorporates commit tree structures; and (3) diff2sum, which leverages fine-grained code diffs. Both automated and human evaluations show that large language models consistently outperform traditional baselines across all tasks, achieving substantial gains on tree2sum, while still struggling on diff2sum. These findings highlight LLMs' proficiency in leveraging structured information while revealing challenges in abstracting from long code diffs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。