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

评估提交消息生成:是针对BLEU还是不针对BLEU?

Evaluating Commit Message Generation: To BLEU Or Not To BLEU?

Samanta Dey, Venkatesh Vinayakarao, Monika Gupta, Sampath Dechu

摘要:

提交消息在一些软件工程任务中起着重要的作用,例如程序理解和理解程序演化。然而,程序员忽略了编写好的提交消息。因此,已经提出了若干提交消息生成(CMG)工具。我们观察到,最新的CMG工具使用简单且易于计算的自动评估指标,如BLEU4或其变体。机器翻译(MT)领域的进展表明BLEU 4及其变体存在一些弱点。他们还提出了其他几个评估自然语言生成(NLG)工具的指标。在这项工作中,我们讨论了各种MT指标的CMG任务的适用性。基于我们的实验的见解,我们提出了一个新的变种,专门用于评估CMG任务。我们根据新的指标重新评估了CMG工具的最新水平。我们相信,我们的工作解决了一个重要的差距,存在于CMG研究的评价指标的理解。

英文摘要:

Commit messages play an important role in several software engineering tasks such as program comprehension and understanding program evolution. However, programmers neglect to write good commit messages. Hence, several Commit Message Generation (CMG) tools have been proposed. We observe that the recent state of the art CMG tools use simple and easy to compute automated evaluation metrics such as BLEU4 or its variants. The advances in the field of Machine Translation (MT) indicate several weaknesses of BLEU4 and its variants. They also propose several other metrics for evaluating Natural Language Generation (NLG) tools. In this work, we discuss the suitability of various MT metrics for the CMG task. Based on the insights from our experiments, we propose a new variant specifically for evaluating the CMG task. We re-evaluate the state of the art CMG tools on our new metric. We believe that our work fixes an important gap that exists in the understanding of evaluation metrics for CMG research.

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

↑