arXiv:2505.14824cs.CL2025-05EMNLP被引 11

追踪大模型预训练中多语言知识获取过程,发现频率与跨语言迁移共同影响事实记忆效果。

Tracing Multilingual Factual Knowledge Acquisition in Pretraining

  • 通过追踪预训练过程,分析事实回忆与跨语言一致性随时间变化
  • 高频事实更易被正确回忆,且英语知识可帮助非英语低频事实记忆
  • 揭示了频率驱动和跨语言迁移两种知识获取路径,适合研究模型学习机制者

大型语言模型能够回忆其预训练数据中的多语言事实知识。然而,现有研究大多只评估最终模型,对预训练过程中事实回忆能力与跨语言一致性的演变缺乏探索。本文以 OLMo-7B 为例,追踪多语言事实回忆与跨语言一致性在预训练中的发展。结果表明,大多数语言的事实准确率与一致性均随时间提升。这种提升主要由预训练语料中事实的出现频率决定:越频繁的事实越容易被正确回忆,且该效应不依赖语言。尽管如此,部分非英语的低频事实仍能被正确回忆,这主要得益于其英文对应项的跨语言迁移——该现象在预训练早期尤为明显。我们识别出两种多语言知识获取路径:(1) 频率驱动学习(主导且语言无关),(2) 跨语言迁移(规模有限,通常局限于涉及命名实体的关系类型)。相关代码与数据已开源,支持后续研究。

原文摘要 · Abstract (English)

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.

多语言知识获取预训练跨语言

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。