Skip to main content
QUICK REVIEW

[Paper Review] X-FACTR: Multilingual Factual Knowledge Retrieval from Pretrained Language Models

Zhengbao Jiang, Antonios Anastasopoulos|arXiv (Cornell University)|Oct 13, 2020
Topic ModelingComputer Science35 references7 citations
TL;DR

X-FACTR introduces a multilingual benchmark for evaluating factual knowledge retrieval in pretrained language models across 23 typologically diverse languages. It extends cloze-style probing to multi-token entities and morphology-aware prompt instantiation, revealing that multilingual models underperform in low-resource languages and that code-switching fine-tuning improves knowledge access in such settings.

ABSTRACT

Language models (LMs) have proven surprisingly successful at capturing factual knowledge by completing cloze-style fill-in-the-blank questions such as "Punta Cana is located in _." However, while knowledge is both written and queried in many languages, studies on LMs' factual representation ability have almost invariably been performed on English. To assess factual knowledge retrieval in LMs in different languages, we create a multilingual benchmark of cloze-style probes for 23 typologically diverse languages. To properly handle language variations, we expand probing methods from single- to multi-word entities, and develop several decoding algorithms to generate multi-token predictions. Extensive experimental results provide insights about how well (or poorly) current state-of-the-art LMs perform at this task in languages with more or fewer available resources. We further propose a code-switching-based method to improve the ability of multilingual LMs to access knowledge, and verify its effectiveness on several benchmark languages. Benchmark data and code have been released at https://x-factr.github.io.

Motivation & Objective

  • To assess the factual knowledge retrieval capability of multilingual language models (M-LMs) across diverse languages, moving beyond the dominant focus on English.
  • To address the challenge of morphological variation and multi-token entities in non-English languages by designing a morphology-sensitive prompt instantiation schema.
  • To investigate whether multilingual pre-training enhances factual knowledge recall compared to monolingual pre-training.
  • To explore the extent of cross-lingual knowledge overlap in M-LMs and propose methods to improve retrieval in low-resource languages.
  • To develop and validate a code-switching-based fine-tuning method to enhance knowledge access in low-resource languages.

Proposed method

  • Created a multilingual benchmark (X-FACTR) with cloze-style prompts for 23 languages, using Wikidata triples as factual knowledge sources.
  • Designed a morphology-sensitive annotation schema that uses entity metadata (e.g., gender, number) and morphological inflection models to generate grammatically correct prompts.
  • Extended probing from single-token to multi-token entities, which constitute over 75% of facts in the dataset.
  • Proposed multiple decoding algorithms (e.g., greedy, beam search, confidence-based) to generate multi-token predictions from masked language models.
  • Introduced a code-switching-based fine-tuning objective where entities in prompts are replaced with their counterparts in another language (e.g., English-French) to improve cross-lingual knowledge access.
  • Evaluated performance across state-of-the-art multilingual models (M-BERT, XLM, XLM-R) and monolingual models on accuracy and coverage metrics.

Experimental results

Research questions

  • RQ1How does factual knowledge retrieval performance vary across high-resource and low-resource languages in multilingual language models?
  • RQ2Does multilingual pre-training lead to better factual knowledge recall than monolingual pre-training?
  • RQ3To what extent is factual knowledge memorized in M-LMs shared across languages, and how distinct is it per language?
  • RQ4Can code-switching-based fine-tuning improve factual knowledge retrieval in low-resource languages?

Key findings

  • Multilingual language models achieve significantly lower factual knowledge retrieval accuracy in low-resource languages (e.g., <5% for Swahili, Yoruba, and Marathi) compared to high-resource ones (e.g., 13.57% for English with M-BERT).
  • Despite multilingual pre-training, M-LMs do not consistently outperform monolingual models in knowledge recall, with performance varying widely by language and model.
  • Only about 50% of facts are recalled in more than one language, indicating that knowledge in M-LMs is largely language-specific and not transferable across languages.
  • The code-switching fine-tuning method improves factual knowledge retrieval in low-resource languages (e.g., French, Russian, Greek) when prompted in those languages, demonstrating its effectiveness.
  • Multi-token entity prediction remains a major challenge, with accuracy dropping significantly (e.g., 5.57% for M-BERT on multi-token entities in English) compared to single-token entities.
  • Confidence-based decoding yields better results than greedy or beam search in some cases, but performance remains low overall, especially in morphologically rich and low-resource languages.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.