arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2401.03831cs.CLcs.LG
收藏

我们需要谈谈NLP中的分类评估指标

We Need to Talk About Classification Evaluation Metrics in NLP

University of Sheffield(谢菲尔德大学);Meta AI France(Meta AI 法国);Amazon U.K.(亚马逊英国)

Peter Vickers, Loïc Barrault, Emilio Monti, Nikolaos Aletras

AI总结:

本文针对NLP分类任务中缺乏统一评估指标的问题,比较了多种标准与异类指标,通过广泛实验证明随机猜测归一化的Informedness指标是简约基线且最能捕捉理想模型特征,并发布了其Python实现。

摘要:

在自然语言处理(NLP)的主题分类和情感分析等分类任务中,模型泛化能力通常使用准确率(Accuracy)、F值(F-Measure)或AUC-ROC等标准指标来衡量。指标的多样性及其应用的随意性表明,NLP领域内对于使用单一最佳指标尚未达成共识。这种缺失意味着对每个指标所编码的底层启发式规则尚未进行充分检验。为此,我们将几个标准分类指标与更“异类”的指标进行比较,并证明随机猜测归一化的Informedness指标是任务性能的一个简约基线。为展示指标选择的重要性,我们在广泛的NLP任务上进行了大量实验,包括合成场景、自然语言理解、问答和机器翻译。在这些任务中,我们使用指标超集对模型进行排名,发现Informedness最能捕捉理想的模型特征。最后,我们发布了遵循SciKitLearn分类器格式的Informedness的Python实现。

英文摘要:

In Natural Language Processing (NLP) classification tasks such as topic categorisation and sentiment analysis, model generalizability is generally measured with standard metrics such as Accuracy, F-Measure, or AUC-ROC. The diversity of metrics, and the arbitrariness of their application suggest that there is no agreement within NLP on a single best metric to use. This lack suggests there has not been sufficient examination of the underlying heuristics which each metric encodes. To address this we compare several standard classification metrics with more 'exotic' metrics and demonstrate that a random-guess normalised Informedness metric is a parsimonious baseline for task performance. To show how important the choice of metric is, we perform extensive experiments on a wide range of NLP tasks including a synthetic scenario, natural language understanding, question answering and machine translation. Across these tasks we use a superset of metrics to rank models and find that Informedness best captures the ideal model characteristics. Finally, we release a Python implementation of Informedness following the SciKitLearn classifier format.

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

↑