Prix-LM: Pretraining for Multilingual Knowledge Base Construction

Wenxuan Zhou, Fangyu Liu, Ivan Vulic, Nigel Collier, Muhao Chen

Abstract: Knowledge bases (KBs) contain plenty of structured world and commonsense knowledge. As such, they often complement distributional text-based information and facilitate various downstream tasks. Since their manual construction is resource- and time-intensive, recent efforts have tried leveraging large pretrained language models (PLMs) to generate additional monolingual knowledge facts for KBs. However, such methods have not been attempted for building and enriching multilingual KBs. Besides wider application, such multilingual KBs can provide richer combined knowledge than monolingual (e.g., English) KBs. Knowledge expressed in different languages may be complementary and unequally distributed: this implies that the knowledge available in high-resource languages can be transferred to low-resource ones. To achieve this, it is crucial to represent multilingual knowledge in a shared/unified space. To this end, we propose a unified representation model, Prix-LM, for multilingual KB construction and completion. We leverage two types of knowledge, monolingual triples and cross-lingual links, extracted from existing multilingual KBs, and tune a multilingual language encoder XLM-R via a causal language modeling objective. Prix-LM integrates useful multilingual and KB-based factual knowledge into a single model. Experiments on standard entity-related tasks, such as link prediction in multiple languages, cross-lingual entity linking and bilingual lexicon induction, demonstrate its effectiveness, with gains reported over strong task-specialised baselines.

Introduction

Knowledge Bases (KBs) like Wikidata or DBpedia serve as the backbone for modern AI applications, including search engines and expert systems. Despite their utility, KBs are notoriously difficult to construct and maintain. Manual curation is slow and expensive, while automated methods have historically focused on high-resource languages like English. This creates a significant "knowledge gap" where cultural or local information in one language is missing from another, and low-resource languages suffer from extremely sparse KBs.

To address this, we introduce Prix-LM (Pre-trained Knowledge-incorporated Cross-lingual Language Model). Prix-LM is designed to bridge these gaps by learning a unified representation of facts across 87 languages. By training on millions of structured facts and cross-lingual links, the model learns to propagate knowledge from high-resource languages to fill the "holes" in low-resource ones.

Methodology

Prix-LM builds upon the XLM-R architecture, a powerful multilingual model pretrained on massive text corpora. We extend its capabilities through a specialized structured pretraining phase using data extracted from DBpedia.

Overview of the Prix-LM pretraining process using multilingual knowledge graphs and causal language modeling.

Structured Pretraining

The model is trained on two primary data types:

  1. Monolingual Triples: Structured facts such as {The Tale of Genji, genre, Monogatari}.
  2. Cross-lingual Links: Entity alignments across languages, such as {London (EN), Londres (ES)}.

Unlike standard masked language models, Prix-LM utilizes a Causal Language Modeling (CLM) objective. It is trained to predict the "object" of a fact given the "subject" and "relation." To handle subtokens correctly, we implement a custom attention mask that prevents the model from attending to future tokens during the generation of the target entity.

Specialized Inference

For downstream tasks like link prediction, we employ a constrained beam search to navigate millions of potential entity candidates efficiently. For similarity-based tasks like entity linking, we utilize Mirror-BERT techniques to transform the model's internal states into high-quality entity embeddings.

Evaluation and Results

We evaluated Prix-LM on a diverse set of benchmarks, including link prediction across 9 languages, the mLAMA factual probing benchmark, and cross-lingual entity linking (LR-XEL and XL-BEL).

Prix-LM significantly outperforms traditional Knowledge Graph embedding methods. As shown in the results below, the "All" version of Prix-LM (trained on all 87 languages) consistently beats task-specialized baselines like RotatE and TransE.

Comparison of Link Prediction performance (Hits@1, @3, @10) across various languages and baselines.

Key Findings

  • Cross-lingual Synergy: Training on multilingual data provides a clear advantage even for high-resource languages. The Prix-LM (All) variant consistently outperformed the version trained only on single-language data.
  • Low-Resource Empowerment: In tasks like entity linking for Marathi, Prix-LM achieved 21.0% accuracy, whereas base models like XLM-R and mBERT were nearly ineffective (0.1%).
  • Knowledge Aggregation: Multilingual training acts as a mechanism for knowledge aggregation. Facts recorded in one culture (e.g., Japanese literature) are successfully transferred to other linguistic contexts.

Discussion and Conclusion

Prix-LM demonstrates that structured pretraining on multilingual triples can "unlock" factual knowledge already present in a language model's weights while adding new, cross-lingual dimensions. However, we observed a trade-off: extended training on structured triples can lead to "catastrophic forgetting" of natural language syntax, as evidenced by performance shifts in the mLAMA benchmark.

Future work will explore encoder-decoder architectures (e.g., mT5) to better handle complex knowledge generation and investigate methods to balance factual gain with the preservation of general linguistic capabilities. Overall, Prix-LM represents a significant step toward automated, unified multilingual knowledge base construction.

Summary updated

BibTeX
@inproceedings{zhou2022prix,
  author = {Wenxuan Zhou and Fangyu Liu and Ivan Vulic and Nigel Collier and Muhao Chen},
  title = {{Prix-LM: Pretraining for Multilingual Knowledge Base Construction}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.371},
}
Figure