Prix-LM: Pretraining for Multilingual Knowledge Base Construction

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

Introduction

Knowledge Bases (KBs) such as Wikidata and DBpedia serve as the backbone for numerous downstream AI applications, including question answering, recommendation systems, and semantic search. However, constructing and maintaining these KBs is a labor-intensive process, often resulting in significant data imbalances across languages. While high-resource languages like English benefit from extensive manual curation, low-resource languages frequently suffer from sparse data and missing relations.

Prix-LM (Pre-trained Knowledge-incorporated Cross-lingual Language Model) addresses these challenges by leveraging the latent factual knowledge within Pretrained Language Models (PLMs) and unifying it with structured multilingual knowledge graphs. The goal is to create a shared representation space where knowledge can be effectively transferred from high-resource to low-resource languages.

Methodology

The core of Prix-LM is a unified multilingual encoder, specifically XLM-R, which is further pretrained on structured data using a Causal Language Modeling (CLM) objective.

Data Linearization

To bridge the gap between structured knowledge graphs and the sequential nature of language models, the researchers employed a linearization strategy. Structured triples, typically represented as {Subject, Relation, Object}, are converted into text sequences. For example, a fact about a city's capital status is transformed into a sequence like [S] London [P] capital of [O] UK.

Furthermore, to align different languages within the same model, cross-lingual links are utilized. These links connect equivalent entities across languages (e.g., connecting "London" in English to "Londres" in Spanish), allowing the model to learn that facts associated with one entity name also apply to its counterparts in other languages.

Prix-LM Architecture and Data Linearization

Causal Training and Inference

Unlike the standard Masked Language Modeling (MLM) used in the original XLM-R, Prix-LM adopts a CLM objective. This approach trains the model to predict the "Object" token(s) given the "Subject" and "Relation" as context. This setup directly mirrors the task of knowledge base completion (link prediction).

During inference, the model employs a Constrained Beam Search. Given the vast number of possible entities in a KB, the search is restricted to only valid entity names, ensuring that the model's predictions are grounded in the existing knowledge graph schema. For entity linking tasks, the researchers also integrated Mirror-BERT, a contrastive learning technique that refines entity embeddings to better distinguish between similar surface names.

Experimental Setup

The model was pretrained on a massive dataset derived from DBpedia, spanning 87 languages and comprising 52 million monolingual triples and 142 million cross-lingual links. Evaluation was conducted across several benchmarks:

  • Link Prediction: Testing the model's ability to predict missing objects in triples across 9 diverse languages.
  • LR-XEL & XL-BEL: Assessing cross-lingual entity linking performance in low-resource (e.g., Telugu, Lao) and specialized (Biomedical) domains.
  • mLAMA: Probing the model's retention of general factual knowledge.

Key Results

Prix-LM demonstrates a significant performance advantage over both traditional knowledge graph embedding (KGE) methods and standard multilingual PLMs.

In the primary link prediction task, Prix-LM (All) achieved an average Hits@1 of 26.8%, substantially outperforming state-of-the-art KGE models like RotatE (21.2%) and TransE (5.3%). The model's ability to leverage linguistic context and cross-lingual links allows it to generalize far better than models that treat entities as opaque IDs.

Link Prediction Performance across 9 Languages

Low-Resource and Zero-Shot Transfer

One of the most striking findings is the model's efficacy in low-resource scenarios. In the LR-XEL benchmark, Prix-LM outperformed the base XLM-R by over 20% in absolute accuracy for certain languages. This suggests that the model successfully "propagates" knowledge from high-resource languages to their low-resource counterparts. Additionally, the model exhibited zero-shot capabilities, predicting relations for entities not seen during the structured pretraining phase by relying on its underlying linguistic pretraining.

Discussion and Future Work

While Prix-LM represents a major step forward, the researchers identified a "Knowledge vs. Language" trade-off. Extensive training on structured triples can lead to catastrophic forgetting, where the model's ability to process natural language syntax diminishes as it becomes more specialized in fact retrieval.

Future research directions include:

  • Architectural Shifts: Moving toward encoder-decoder architectures (like mT5) to better handle multi-token entity generation.
  • Disambiguation: Improving the model's ability to distinguish between entities with identical surface names.
  • Balancing Objectives: Developing training regimes that preserve general language understanding while maximizing factual acquisition.

In conclusion, Prix-LM provides a powerful, unified framework for multilingual knowledge base construction, proving that the integration of structured knowledge and language modeling is a highly effective path for scaling AI across the world's languages.

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