arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2008.11608cs.CL
收藏

词义消歧的语言模型分析与评价

Analysis and Evaluation of Language Models for Word Sense Disambiguation

INESC TEC(INESC TEC(系统与计算机工程研究所));University of Porto(波尔图大学);Tehran Institute for Advanced Studies(德黑兰高级研究所);Cardiff University(卡迪夫大学)

Daniel Loureiro, Kiamehr Rezaee, Mohammad Taher Pilehvar, Jose Camacho-Collados

摘要:

基于transformer的语言模型在自然语言处理的许多领域都引起了轰动。BERT及其衍生物主导了大多数现有的评估基准,包括词义消歧(WSD),这要归功于它们捕捉上下文敏感的语义细微差别的能力。然而,仍然有很少的知识,他们的能力和潜在的限制,编码和恢复词的意义。在这篇文章中,我们提供了一个深入的定量和定性分析著名的BERT模型与词汇歧义。我们的分析的主要结论之一是,BERT可以准确地捕捉高层次的意义区别,即使是在有限的例子是为每个词的意义。我们的分析还表明,在某些情况下,语言模型接近解决粗粒度的名词消歧在理想条件下的训练数据和计算资源的可用性。然而,这种情况很少发生在现实世界的设置,因此,许多实际的挑战仍然存在,即使在粗粒度设置。我们还对两种主要的基于语言模型的词义消歧策略进行了深入的比较,微调和特征提取,发现后一种方法相对于感测偏差更鲁棒,并且它可以更好地利用有限的可用训练数据。事实上,平均上下文化嵌入的简单特征提取策略证明是鲁棒的,即使每个词义仅使用三个训练句子,通过增加该训练数据的大小获得最小的改进。

英文摘要:

Transformer-based language models have taken many fields in NLP by storm. BERT and its derivatives dominate most of the existing evaluation benchmarks, including those for Word Sense Disambiguation (WSD), thanks to their ability in capturing context-sensitive semantic nuances. However, there is still little knowledge about their capabilities and potential limitations in encoding and recovering word senses. In this article, we provide an in-depth quantitative and qualitative analysis of the celebrated BERT model with respect to lexical ambiguity. One of the main conclusions of our analysis is that BERT can accurately capture high-level sense distinctions, even when a limited number of examples is available for each word sense. Our analysis also reveals that in some cases language models come close to solving coarse-grained noun disambiguation under ideal conditions in terms of availability of training data and computing resources. However, this scenario rarely occurs in real-world settings and, hence, many practical challenges remain even in the coarse-grained setting. We also perform an in-depth comparison of the two main language model based WSD strategies, i.e., fine-tuning and feature extraction, finding that the latter approach is more robust with respect to sense bias and it can better exploit limited available training data. In fact, the simple feature extraction strategy of averaging contextualized embeddings proves robust even using only three training sentences per word sense, with minimal improvements obtained by increasing the size of this training data.

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

↑