Enhancing Multilingual Language Model with Massive Multilingual Knowledge Triples

Linlin Liu, Xin Li, Ruidan He, Lidong Bing, Shafiq Joty +1 more
11/22/2021
cs.CLcs.AI

Official code: ntunlp/kmlm (9 stars, Python, MIT, last commit 2022-10-20).

Abstract

Knowledge-enhanced language representation learning has shown promising results across various knowledge-intensive NLP tasks. However, prior methods are limited in efficient utilization of multilingual knowledge graph (KG) data for language model (LM) pretraining.

Show full abstract

They often train LMs with KGs in indirect ways, relying on extra entity/relation embeddings to facilitate knowledge injection. In this work, we explore methods to make better use of the multilingual annotation and language agnostic property of KG triples, and present novel knowledge based multilingual language models (KMLMs) trained directly on the knowledge triples. We first generate a large amount of multilingual synthetic sentences using the Wikidata KG triples. Then based on the intra- and inter-sentence structures of the generated data, we design pretraining tasks to enable the LMs to not only memorize the factual knowledge but also learn useful logical patterns. Our pretrained KMLMs demonstrate significant performance improvements on a wide range of knowledge-intensive cross-lingual tasks, including named entity recognition (NER), factual knowledge retrieval, relation classification, and a newly designed logical reasoning task.

View on arXivView PDF

Code Implementations(1)

ntunlp/kmlmOfficial100%
MIT
90PythonOct 10, 20224 years agoMIT

Similar Papers

Cite this paper

@article{liu2021enhancing,
  title  = {Enhancing Multilingual Language Model with Massive Multilingual Knowledge Triples},
  author = {Linlin Liu and Xin Li and Ruidan He and Lidong Bing and Shafiq Joty and Luo Si},
  year   = {2021},
  eprint = {2111.10962},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.10962}
}

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/2111.10962.svg)](https://codeofpaper.com/paper/2111.10962)

Discussion