Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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.

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

Related benchmarks

TaskDatasetResultRank
Named Entity RecognitionCoNLL 2003 (test)
F1 Score93.91
539
Question AnsweringSQuAD v1.1 (dev)
F1 Score95
375
Question AnsweringSQuAD v1.1 (test)
F1 Score95.4
260
Relation ExtractionTACRED (test)
F1 Score72.7
194
Named Entity RecognitionCoNLL English 2003 (test)
F1 Score94.3
135
Named Entity RecognitionCoNLL 03--
102
Named Entity RecognitionWnut 2017
F1 Score55.22
79
Named Entity RecognitionBC5CDR
F1 Score89.18
59
Relation ExtractionSemEval (test)
Micro F190.1
55
Named Entity RecognitionCoNLL 2003 (dev)
F1 Score97.03
40
Showing 10 of 60 rows

Other info

Code

Follow for update