Abstract
Multilingual Language Models (ML-LMs) such as mBERT and XLM-R demonstrate a remarkable ability to process information across dozens of languages. However, the internal mechanisms by which these models store and retrieve specific factual knowledge remain poorly understood. This research, presented at EACL 2024, investigates whether models maintain separate "knowledge silos" for each language or utilize shared parameters. By combining neuron-level activation analysis with training data "archaeology" on Wikipedia dumps, the authors identify three distinct patterns of fact representation: language-independent, cross-lingual shared, and cross-lingual transferred. Crucially, the study reveals that much of the apparent factual recall in low-resource languages is an "illusion" driven by subword-level heuristics rather than deep cross-lingual understanding.
Introduction
While it is well-established that ML-LMs can transfer structural linguistic skills like grammar or sentiment analysis across languages, their handling of specific factual knowledge (e.g., "Greggs is a British bakery") is less clear. If a model learns a fact in English, does it automatically "know" it in Irish? Understanding if models store facts in shared or independent parameters is critical for improving knowledge extraction and fact-checking, especially for low-resource languages where direct training data is scarce.
Methodology
The researchers employed a multi-stage investigative approach:
- Factual Probing: Cloze-style queries (e.g., "[X] was born in [MASK]") were used to test model recall across 53 languages using the mLAMA dataset, which contains nearly 37,500 factual instances.
- Neuron Investigation: Using the PROBELESS technique, the team identified "active neurons"—specific parameters in the Feed-Forward Networks (FFN) that trigger when processing a fact. Comparing these across languages reveals if the model uses the same "hardware" for the same fact in different tongues.
- Knowledge Tracing: The authors searched historical Wikipedia dumps (aligned with mBERT's training window) for subject-object pairs to distinguish between facts explicitly seen in a language versus those transferred from another.
- Heuristic Classification: Rules were developed to identify "easy" facts—those guessable via naming cues or shared entity tokens—to isolate genuine knowledge transfer.
Patterns of Factual Representation
The study identifies three primary ways ML-LMs represent factual knowledge across their linguistic repertoire:
- Language-Independent: The model learns the fact separately for each language, utilizing different sets of neurons.
- Cross-lingual (Shared): The model uses the same set of neurons to represent a fact, regardless of the input language.
- Cross-lingual (Transferred): The model predicts a fact in a low-resource language despite never having encountered it in that language's specific training data.
Key Findings
Data Volume vs. Performance
A significant insight is that simply increasing training data is not a guaranteed path to factual accuracy. The researchers found only a moderate correlation (0.51) between the volume of Wikipedia abstracts and factual probing performance (P@1).
The "Illusion" of Knowledge Transfer
A substantial portion of correct predictions in low-resource languages are "absent yet predictable." Models often exploit naming cues (e.g., a Korean name suggesting a Korean context) or shared entity tokens to guess the answer. When these shallow deductions are filtered out, true cross-lingual transfer is found to be quite limited.
Localized Knowledge Clusters
Knowledge sharing is highly localized among geographically and culturally proximate languages. For instance, Indonesian, Malay, and Vietnamese show high Jaccard similarity in their shared factual representations, suggesting that cultural proximity influences how models organize internal knowledge.
Limitations and Future Work
The study focused on encoder-based models (mBERT, XLM-R) and 43 relation types. Results might differ for massive decoder-only models like GPT-4. Furthermore, the sensitivity of "cloze-style" queries to prompt formatting remains a challenge. Future research will focus on enhancing fact representation learning to ensure that knowledge learned in one language is more robustly and accurately accessible in all others.
This summary is based on research presented at EACL 2024.
Summary updated