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

排名优于类:自然语言处理中排名的未开发潜力

Rank over Class: The Untapped Potential of Ranking in Natural Language Processing

Durham University(杜伦大学);Newcastle University(纽卡斯尔大学)

Amir Atapour-Abarghouei, Stephen Bonner, Andrew Stephen McGough

摘要:

文本分类长期以来一直是自然语言处理(NLP)中的主要内容,其应用跨越不同的领域,例如情感分析、推荐系统和垃圾邮件检测。有了这样一个强大的解决方案,它往往是诱人的使用它作为去到所有的NLP问题的工具,因为当你拿着锤子,一切看起来像一个钉子。然而,我们在这里认为,目前使用分类解决的许多任务实际上都被硬塞进了分类模型中,如果我们将它们作为一个排名问题来解决,我们不仅改进了模型,而且实现了更好的性能。我们提出了一种新的端到端的排名方法,由一个Transformer网络负责产生一对文本序列的表示,这反过来又传递到一个上下文聚合网络输出排名分数用于确定排序的序列的基础上的一些概念的相关性。我们在公开的数据集上进行了大量的实验,并研究了排名在经常使用分类解决的问题中的应用。在一个严重倾斜的情感分析数据集上的实验中,将排名结果转换为分类标签比最先进的文本分类提高了大约22%,证明了文本排名在某些情况下比文本分类更有效。

英文摘要:

Text classification has long been a staple within Natural Language Processing (NLP) with applications spanning across diverse areas such as sentiment analysis, recommender systems and spam detection. With such a powerful solution, it is often tempting to use it as the go-to tool for all NLP problems since when you are holding a hammer, everything looks like a nail. However, we argue here that many tasks which are currently addressed using classification are in fact being shoehorned into a classification mould and that if we instead address them as a ranking problem, we not only improve the model, but we achieve better performance. We propose a novel end-to-end ranking approach consisting of a Transformer network responsible for producing representations for a pair of text sequences, which are in turn passed into a context aggregating network outputting ranking scores used to determine an ordering to the sequences based on some notion of relevance. We perform numerous experiments on publicly-available datasets and investigate the applications of ranking in problems often solved using classification. In an experiment on a heavily-skewed sentiment analysis dataset, converting ranking results to classification labels yields an approximately 22% improvement over state-of-the-art text classification, demonstrating the efficacy of text ranking over text classification in certain scenarios.

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

↑