mLUKE: The Power of Entity Representations in Multilingual Pretrained Language Models

Ryokan Ri, Ikuya Yamada, Yoshimasa Tsuruoka

Introduction

Multilingual pretrained language models (PLMs) like mBERT and XLM-R have revolutionized cross-lingual natural language processing. However, these models primarily operate on surface-level strings, often failing to explicitly link synonymous entities across different languages (e.g., "Tokyo" in English vs. "東京" in Japanese). This "string-matching" limitation hinders zero-shot cross-lingual transfer, where models trained in high-resource languages are expected to generalize to low-resource ones. mLUKE addresses this by introducing language-independent entity "anchors" to align representations across 24 languages.

Methodology

mLUKE extends the LUKE (Language Understanding with Knowledge-based Embeddings) architecture to a multilingual setting, building upon the foundation of XLM-RoBERTa.

Dual Input Streams and Masked Entity Prediction

Unlike standard PLMs that process only word tokens, mLUKE utilizes two parallel input streams: word tokens and entity tokens. During pretraining, the model performs Masked Entity Prediction (MEP) in addition to standard Masked Language Modeling (MLM). It masks entities within a sentence and requires the model to identify them from a global vocabulary of 1.2 million entities derived from Wikipedia.

Cross-Lingual Alignment

To ensure language-agnostic representations, mLUKE leverages Wikipedia’s inter-language links. Articles describing the same concept in different languages are mapped to a single unified entity ID. This allows the model to treat entities as universal anchors that bridge linguistic gaps, providing a more "neutral" ground for cross-lingual transfer than word-based features alone.

Task-Specific Architectures

mLUKE's dual-stream architecture allows it to extract both word-based and entity-based features for various downstream tasks, as illustrated in the figure below.

Architectures for downstream tasks using mLUKE's word and entity representations.

For tasks like Named Entity Recognition (NER) and Relation Classification, the model can leverage specific entity-based features (e.g., $h_{e1}$) which often provide more robust signals than traditional word-level span representations. In Question Answering and Cloze Prompts, the model uses these entity representations to ground its predictions in real-world knowledge.

Evaluation and Results

The model was evaluated across 24 languages on several benchmarks, including Question Answering (XQuAD, MLQA), NER (CoNLL), Relation Extraction (RELX), and Knowledge Probing (mLAMA).

Performance Highlights

  • Question Answering: mLUKE-E (the entity-aware version) outperformed its word-based counterpart by 1.6 points on the MLQA G-XLT benchmark.
  • Relation Extraction: On the RELX dataset, mLUKE-E achieved an average F1 score of 66.5, significantly higher than mBERT (59.8) and XLM-R (61.7).
  • Factual Knowledge: In the mLAMA cloze task, mLUKE-E reached 44.9% top-1 accuracy across 9 languages, nearly doubling the performance of the base XLM-R model (18.5%).

Key Insights

A critical finding of this work is that entity-based features exhibit lower "modularity"—meaning they cluster less by language—compared to word-based features. This confirms that entities serve as effective language-agnostic features. Furthermore, mLUKE significantly reduces language bias in factual probing; for example, it is less likely to favor Western entities simply because they appear more frequently in English training data.

Limitations and Future Work

Despite its success, mLUKE faces challenges regarding its memory footprint due to the 1.2 million entity embeddings. Additionally, its knowledge is bounded by Wikipedia's coverage, and it currently relies on heuristic string-matching for entity linking during evaluation. Future research will focus on optimizing embedding storage and integrating more sophisticated, learned entity linkers.

Summary updated

BibTeX
@inproceedings{ri2022mluke,
  author = {Ryokan Ri and Ikuya Yamada and Yoshimasa Tsuruoka},
  title = {{mLUKE: The Power of Entity Representations in Multilingual Pretrained Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.505},
}
Figure