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

生僻词:语境化嵌入的主要问题及如何通过刻意模仿解决

Rare Words: A Major Problem for Contextualized Embeddings And How to Fix it by Attentive Mimicking

Sulzer GmbH(苏尔寿有限公司);Center for Information and Language Processing(信息与语言处理中心);LMU Munich(慕尼黑大学)

Timo Schick, Hinrich Schütze

摘要:

具有语言建模目标的预训练深度神经网络架构为许多自然语言处理任务带来了巨大的改进。以最近提出的BERT为例,我们证明了尽管在大量数据上进行了训练,但深度语言模型仍然难以理解罕见的单词。为了解决这个问题,我们调整了Attentive Mimicking,这是一种旨在显式学习罕见单词嵌入的方法,适用于深度语言模型。为了实现这一点,我们引入了单标记近似,这是一个即使在底层语言模型使用基于子词的标记化(即,它不将嵌入分配给所有字。为了评估我们的方法,我们创建了一个新的数据集,该数据集测试了语言模型在没有任何特定于任务的微调的情况下捕获单词语义属性的能力。使用这个数据集,我们表明,添加我们的适应版本的专心模仿BERT确实大大提高了其对罕见单词的理解。

英文摘要:

Pretraining deep neural network architectures with a language modeling objective has brought large improvements for many natural language processing tasks. Exemplified by BERT, a recently proposed such architecture, we demonstrate that despite being trained on huge amounts of data, deep language models still struggle to understand rare words. To fix this problem, we adapt Attentive Mimicking, a method that was designed to explicitly learn embeddings for rare words, to deep language models. In order to make this possible, we introduce one-token approximation, a procedure that enables us to use Attentive Mimicking even when the underlying language model uses subword-based tokenization, i.e., it does not assign embeddings to all words. To evaluate our method, we create a novel dataset that tests the ability of language models to capture semantic properties of words without any task-specific fine-tuning. Using this dataset, we show that adding our adapted version of Attentive Mimicking to BERT does indeed substantially improve its understanding of rare words.

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

↑