Tracing Multilingual Factual Knowledge Acquisition in Pretraining

Yihong Liu, Mingyang Wang, Amir Hossein Kargaran, Felicia Körner, Ercong Nie +3 more
5/20/2025
cs.CL

Official code: cisnlp/multilingual-fact-tracing (6 stars, last commit 2025-05-22).

Abstract

Large Language Models (LLMs) are capable of recalling multilingual factual knowledge present in their pretraining data. However, most studies evaluate only the final model, leaving the development of factual recall and crosslingual consistency throughout pretraining largely unexplored. In this work, we trace how factual recall and crosslingual consistency evolve during pretraining, focusing on OLMo-7B as a case study. We find that both accuracy and consistency improve over time for most languages. We show that this improvement is primarily driven by the fact frequency in the pretraining corpus: more frequent facts are more likely to be recalled correctly, regardless of language. Yet, some low-frequency facts in non-English languages can still be correctly recalled. Our analysis reveals that these instances largely benefit from crosslingual transfer of their English counterparts -- an effect that emerges predominantly in the early stages of pretraining. We pinpoint two distinct pathways through which multilingual factual knowledge acquisition occurs: (1) frequency-driven learning, which is dominant and language-agnostic, and (2) crosslingual transfer, which is limited in scale and typically constrained to relation types involving named entities. We release our code and data to facilitate further research at https://github.com/cisnlp/multilingual-fact-tracing.

View on arXivView PDF

Code Implementations(1)

[EMNLP 2025] Tracing Multilingual Factual Knowledge Acquisition in Pretraining

62PythonMay 19, 20251 years ago
fact-frequencyfactual-recallmultilingual-knowledge-acquisitionpretraining-data-detection

Similar Papers

Cite this paper

@article{liu2025tracing,
  title  = {Tracing Multilingual Factual Knowledge Acquisition in Pretraining},
  author = {Yihong Liu and Mingyang Wang and Amir Hossein Kargaran and Felicia Körner and Ercong Nie and Barbara Plank and François Yvon and Hinrich Schütze},
  year   = {2025},
  eprint = {2505.14824},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.14824v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.14824.svg)](https://codeofpaper.com/paper/2505.14824)

Discussion