Tracing Multilingual Factual Knowledge Acquisition in Pretraining
Yihong Liu, Mingyang Wang, Amir Hossein Kargaran, Felicia Körner, Ercong Nie, Barbara Plank, François Yvon, Hinrich Schütze
TL;DR
This study traces how multilingual factual knowledge and crosslingual consistency emerge during pretraining of an English-centric decoder model (OLMo-7B) using KLAR prompts over 12 languages and 1,197 facts. It shows that factual recall develops rapidly in early pretraining and that fact frequency in the pretraining corpus largely explains recall accuracy across languages, with crosslingual transfer from English enabling some low-frequency non-English facts, particularly for named-entity relations. The authors identify two acquisition pathways—frequency-driven learning (dominant and language-agnostic) and crosslingual transfer (limited but present in early training for certain relations)—and demonstrate that script similarity influences transfer more than deep language relatedness. They provide a resource package (code and data) to support further research and highlight implications for understanding multilingual knowledge in pretraining and crosslingual transfer dynamics.
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.
