[Paper Review] XLM-K: Improving Cross-Lingual Language Model Pre-training with Multilingual Knowledge
XLM-K enhances cross-lingual language modeling by integrating multilingual knowledge through two novel pre-training tasks: Masked Entity Prediction and Object Entailment. By leveraging multilingual knowledge bases to improve entity and relation understanding, XLM-K achieves state-of-the-art performance on MLQA, NER, and XNLI, with significant gains in knowledge-intensive and cross-lingual transfer tasks.
Cross-lingual pre-training has achieved great successes using monolingual and bilingual plain text corpora. However, most pre-trained models neglect multilingual knowledge, which is language agnostic but comprises abundant cross-lingual structure alignment. In this paper, we propose XLM-K, a cross-lingual language model incorporating multilingual knowledge in pre-training. XLM-K augments existing multilingual pre-training with two knowledge tasks, namely Masked Entity Prediction Task and Object Entailment Task. We evaluate XLM-K on MLQA, NER and XNLI. Experimental results clearly demonstrate significant improvements over existing multilingual language models. The results on MLQA and NER exhibit the superiority of XLM-K in knowledge related tasks. The success in XNLI shows a better cross-lingual transferability obtained in XLM-K. What is more, we provide a detailed probing analysis to confirm the desired knowledge captured in our pre-training regimen. The code is available at https://github.com/microsoft/Unicoder/tree/master/pretraining/xlmk.
Motivation & Objective
- To address the limitation of existing multilingual models in capturing cross-lingual knowledge, such as entity and relation semantics across languages.
- To improve cross-lingual transferability by incorporating language-agnostic multilingual knowledge into pre-training beyond monolingual and bilingual text.
- To design knowledge-aware pre-training tasks that explicitly inject structured and descriptive knowledge into multilingual representations.
- To evaluate the effectiveness of knowledge integration on downstream tasks requiring factual knowledge and cross-lingual alignment.
- To provide empirical and probing evidence that the model captures intended knowledge representations during pre-training.
Proposed method
- Introduces the Masked Entity Prediction (MEP) task, where the model predicts a masked entity in a sentence using its description from a multilingual knowledge base.
- Proposes the Object Entailment (OE) task, which requires the model to predict an object entity based on a subject and relation, using cross-lingual descriptions from a knowledge base.
- Uses contrastive learning during pre-training to distinguish positive knowledge examples (correct entity pairs) from negative ones.
- Combines the two knowledge tasks with standard masked language modeling (MLM) and translation language modeling (TLM) in a multi-task pre-training regime.
- Leverages multilingual knowledge bases (e.g., Wikidata) to source entity descriptions and triplets ($<$subject, relation, object$>$) in multiple languages.
- Employs a dual-encoder setup where subject and object are encoded using their multilingual descriptions to enable cross-lingual alignment.
Experimental results
Research questions
- RQ1Can integrating multilingual knowledge into pre-training improve cross-lingual transfer performance on downstream tasks?
- RQ2How do knowledge-aware pre-training tasks like masked entity prediction and object entailment affect the model's ability to capture factual knowledge?
- RQ3To what extent does XLM-K outperform existing multilingual models like XLM-R on knowledge-intensive benchmarks such as MLQA and NER?
- RQ4Does the inclusion of multilingual knowledge enhance the model's capability in open-domain question answering and commonsense reasoning?
- RQ5What evidence is there that the model learns and retains structured and descriptive knowledge during pre-training?
Key findings
- XLM-K achieves state-of-the-art performance on MLQA and NER, with significant improvements over XLM-R and other multilingual models, especially in knowledge-intensive scenarios.
- On the XNLI benchmark, XLM-K demonstrates superior cross-lingual transferability, outperforming existing models without requiring bilingual data.
- The ablation study shows that both the Masked Entity Prediction and Object Entailment tasks independently contribute to performance gains, with MEP improving by 0.6 and OE by 2.5 on Google-RE.
- In the LAMA probing task, XLM-K achieves a 6.0-point gain over XLM-R base on SQuAD, and a 29.7 total score on T-REx, outperforming all baselines.
- Case studies confirm that XLM-K correctly predicts factual knowledge such as '1984' for Tasila Mwale's birth year and 'food' for Gnocchi, while XLM-R base fails.
- Probing analysis confirms that XLM-K effectively captures structured and descriptive knowledge, with clear evidence of improved factual knowledge integration.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.