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

LUKE:具有自注意感知的深度上下文实体表示

LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attention

Studio Ousia;RIKEN AIP(理化学研究所先进智能项目中心);University of Washington(华盛顿大学);Nara Institute of Science and Technology(奈良先端科学技术大学院大学);National Institute of Informatics(国立情报学研究所)

Ikuya Yamada, Akari Asai, Hiroyuki Shindo, Hideaki Takeda, Yuji Matsumoto

摘要:

实体表示在涉及实体的自然语言任务中很有用。在本文中,我们提出了新的预训练的上下文表示的单词和实体的基础上双向Transformer。该模型将给定文本中的单词和实体视为独立的标记,并输出它们的上下文表示。我们的模型是使用一个新的预训练任务的基础上的掩蔽语言模型的BERT。该任务涉及预测随机掩蔽的单词和实体在一个大型的实体标注语料库检索维基百科。我们还提出了一个实体感知的自我注意力机制,它是Transformer的自我注意力机制的扩展,并在计算注意力分数时考虑标记的类型(单词或实体)。所提出的模型实现了令人印象深刻的经验表现在广泛的实体相关的任务。特别是,它在五个著名的数据集上获得了最先进的结果:Open Entity(实体类型),TACRED(关系分类),CoNLL-2003(命名实体识别),ReCoRD(完形填空式问答)和SQuAD 1.1(提取问答)。我们的源代码和预训练表示可在https://github.com/studio-ousia/luke上获得。

英文摘要:

Entity representations are useful in natural language tasks involving entities. In this paper, we propose new pretrained contextualized representations of words and entities based on the bidirectional transformer. The proposed model treats words and entities in a given text as independent tokens, and outputs contextualized representations of them. Our model is trained using a new pretraining task based on the masked language model of BERT. The task involves predicting randomly masked words and entities in a large entity-annotated corpus retrieved from Wikipedia. We also propose an entity-aware self-attention mechanism that is an extension of the self-attention mechanism of the transformer, and considers the types of tokens (words or entities) when computing attention scores. The proposed model achieves impressive empirical performance on a wide range of entity-related tasks. In particular, it obtains state-of-the-art results on five well-known datasets: Open Entity (entity typing), TACRED (relation classification), CoNLL-2003 (named entity recognition), ReCoRD (cloze-style question answering), and SQuAD 1.1 (extractive question answering). Our source code and pretrained representations are available at https://github.com/studio-ousia/luke.

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

↑