arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.19220cs.CLcs.AI
收藏

WRDScore:自然语言生成模型评估的新指标

WRDScore: New Metric for Evaluation of Natural Language Generation Models

Satbayev University(萨塔巴耶夫大学);AI Research Laboratory(人工智能研究实验室)

Ravil Mussabayev

AI总结:

针对现有自然语言生成评估指标的缺陷,提出基于最优传输的WRDScore指标,平衡精确率与召回率,轻量归一化且贴合人类判断,实验表现优于其他文本指标。

摘要:

评估自然语言生成模型(尤其是方法名预测任务)存在重大挑战。一个鲁棒的指标必须考虑方法命名的多样性,兼顾语义和句法层面的变化。传统的基于重叠度的指标(如ROUGE)无法捕捉这些细微差异。现有的基于嵌入的指标通常存在精确率和召回率不平衡、缺乏归一化分数,或对序列做出不切实际假设的问题。为解决这些局限,我们利用最优传输理论构建了WRDScore——一种在简洁性与有效性之间取得平衡的新型指标。在WRDScore框架中,我们将精确率定义为预测序列的词元逐词元被参考序列包含的最大程度;召回率则通过将参考序列映射到预测序列的最优传输方案的总成本计算得出。最终,WRDScore由精确率和召回率的调和均值计算得到,平衡了这两个互补的指标。我们的指标轻量、归一化且以精确率-召回率为导向,避免了不切实际的假设,同时与人类判断高度契合。在人工标注数据集上的实验证实,WRDScore优于其他现有文本评估指标。

英文摘要:

Evaluating natural language generation models, particularly for method name prediction, poses significant challenges. A robust metric must account for the versatility of method naming, considering both semantic and syntactic variations. Traditional overlap-based metrics, such as ROUGE, fail to capture these nuances. Existing embedding-based metrics often suffer from imbalanced precision and recall, lack normalized scores, or make unrealistic assumptions about sequences. To address these limitations, we leverage the theory of optimal transport and construct WRDScore, a novel metric that strikes a balance between simplicity and effectiveness. In the WRDScore framework, we define precision as the maximum degree to which the predicted sequence's tokens are included in the reference sequence, token by token. Recall is calculated as the total cost of the optimal transport plan that maps the reference sequence to the predicted one. Finally, WRDScore is computed as the harmonic mean of precision and recall, balancing these two complementary metrics. Our metric is lightweight, normalized, and precision-recall-oriented, avoiding unrealistic assumptions while aligning well with human judgments. Experiments on a human-curated dataset confirm the superiority of WRDScore over other available text metrics.

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

↑