ERNIE: Enhanced Language Representation with Informative Entities

Zhengyan Zhang, Xu Han, Zhiyuan Liu, Xin Jiang, Maosong Sun +1 more
5/17/2019
cs.CL

Official code: thunlp/ERNIE (1,418 stars, MIT, last commit 2024-01-10).

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 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 source code of this paper can be obtained from https://github.com/thunlp/ERNIE.

View on arXivView PDF

Code Implementations(1)

thunlp/ERNIEOfficial100%
MIT

Source code and dataset for ACL 2019 paper "ERNIE: Enhanced Language Representation with Informative Entities"

1,418262PythonMay 17, 20192 years agoMIT

Cite this paper

@article{zhang2019ernie,
  title  = {ERNIE: Enhanced Language Representation with Informative Entities},
  author = {Zhengyan Zhang and Xu Han and Zhiyuan Liu and Xin Jiang and Maosong Sun and Qun Liu},
  year   = {2019},
  eprint = {1905.07129},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.07129}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1905.07129.svg)](https://codeofpaper.com/paper/1905.07129)

Discussion