ERNIE: Enhanced Language Representation with Informative Entities
39822Authors
nan
Abstract
AbstractNeural language representation models such as BERT pre-trained on large-scale corpora can well capture rich semantic patterns from plain text, and be fine-tuned to consistently improve the performance of various NLP tasks. However, the existing pre-trained language models rarely consider incorporating knowledge graphs (KGs), which can provide rich structured knowledge facts for better language understanding. We argue that informative entities in KGs can enhance language representation with external knowledge. In this paper, we utilize both large-scale textual corpora and KGs to train an enhanced language representation model (ERNIE), which can take full advantage of lexical, syntactic, and knowledge information simultaneously. The experimental results have demonstrated that ERNIE achieves significant improvements on various knowledge-driven tasks, and meanwhile is comparable with the state-of-the-art model BERT on other common NLP tasks. The code and datasets will be available in the future.
Keywords
Full Content
Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 1441–1451 Florence, Italy, July 28 - August 2, 2019. c⃝2019 Association for Computational Linguistics 1441 ERNIE: Enhanced Language Representation with Informative Entities Zhengyan Zhang1,2,3∗, Xu Han1,2,3∗, Zhiyuan Liu1,2,3†, Xin Jiang4, Maosong Sun1,2,3, Qun Liu4 1Department of Computer Science and Technology, Tsinghua University, Beijing, China 2Institute for Artificial Intelligence, Tsinghua University, Beijing, China 3State Key Lab on Intelligent Technology and Systems, Tsinghua University, Beijing, China 4Huawei Noah’s Ark Lab {zhangzhengyan14,hanxu17}@mails.tsinghua.edu.cn Abstract Neural language representation models such as BERT pre-trained on large-scale corpora can well capture rich semantic patterns from plain text, and be fine-tuned to consistently im- prove the performance of various NLP tasks. However, the existing pre-trained language models rarely consider incorporating knowl- edge graphs (KGs), which can provide rich structured knowledge facts for better language understanding. We argue that informative en- tities in KGs can enhance language represen- tation with external knowledge. In this pa- per, we utilize both large-scale textual cor- pora and KGs to train an enhanced language representation model (ERNIE), which can take full advantage of lexical, syntactic, and knowledge information simultaneously. The experimental results have demonstrated that ERNIE achieves significant improvements on various knowledge-driven tasks, and mean- while is comparable with the state-of-the-art model BERT on other common NLP tasks. The source code and experiment details of this paper can be obtained from https:// github.com/thunlp/ERNIE. 1 Introduction Pre-trained language representation models, in- cluding feature-based (Mikolov et al., 2013; Pen- nington et al., 2014; Peters et al., 2017, 2018) and fine-tuning (Dai and Le, 2015; Howard and Ruder, 2018; Radford et al., 2018; Devlin et al., 2019) approaches, can capture rich language informa- tion from text and then benefit many NLP appli- cations. BERT (Devlin et al., 2019), as one of the most recently proposed models, obtains the state- of-the-art results on various NLP applications by simple fine-tuning, including named entity recog- nition (Sang and De Meulder, 2003), question ∗ indicates equal contribution † Corresponding author: Z.Liu(liuzy@tsinghua.edu.cn) is_a is_a Song Book author composer Bob Dylan Chronicles: Volume One Blowin’ in the wind Songwriter Writer is_a is_a Bob Dylan wrote Blowin’ in the Wind in 1962, and wrote Chronicles: Volume One in 2004. Figure 1: An example of incorporating extra knowledge information for language understand- ing. The solid lines present the existing knowl- edge facts. The red dotted lines present the facts extracted from the sentence in red. The green dot- dash lines present the facts extracted from the sen- tence in green. answering (Rajpurkar et al., 2016; Zellers et al., 2018), natural language inference (Bowman et al., 2015), and text classification (Wang et al., 2018). Although pre-trained language representation models have achieved promising results and worked as a routine component in many NLP tasks, they neglect to incorporate knowledge in- formation for language understanding. As shown in Figure 1, without knowing Blowin’ in the Wind and Chronicles: Volume One are song and book respectively, it is difficult to recognize the two oc- cupations …
Content truncated to 500 words
Labeled Text
AbstractNeural language representation models such as BERT pre-trained on large-scale corpora can well capture rich semantic patterns from plain text, and be fine-tuned to consistently improve the performance of various NLP tasks. However, the existing pre-trained language models rarely consider incorporating knowledge graphs (KGs), which can provide rich structured knowledge facts for better language understanding. We argue that informative entities in KGs can enhance language representation with external knowledge. In this paper, we utilize both large-scale textual corpora and KGs to train an enhanced language representation model (ERNIE), which can take full advantage of lexical, syntactic, and knowledge information simultaneously. The experimental results have demonstrated that ERNIE achieves significant improvements on various knowledge-driven tasks, and meanwhile is comparable with the state-of-the-art model BERT on other common NLP tasks. The code and datasets will be available in the future.
Publication Details
- Paper ID:
- 39822
- Year:
- 2019
- Publication:
- TIPSTER
- Publication Type:
- conf
- DOI:
- nan