How Do Large Language Models Acquire Factual Knowledge During Pretraining?
Hoyeon Chang, Jinho Park, Seonghyeon Ye, Sohee Yang, Youngkyung Seo, Du-Seong Chang, Minjoon Seo
摘要
Despite the recent observation that large language models (LLMs) can store substantial factual knowledge, there is a limited understanding of the mechanisms of how they acquire factual knowledge through pretraining. This work addresses this gap by studying how LLMs acquire factual knowledge during pretraining. The findings reveal several important insights into the dynamics of factual knowledge acquisition during pretraining. First, counterintuitively, we observe that pretraining on more data shows no significant improvement in the model's capability to acquire and maintain factual knowledge. Next, there is a power-law relationship between training steps and forgetting of memorization and generalization of factual knowledge, and LLMs trained with duplicated training data exhibit faster forgetting. Third, training LLMs with larger batch sizes can enhance the models' robustness to forgetting. Overall, our observations suggest that factual knowledge acquisition in LLM pretraining occurs by progressively increasing the probability of factual knowledge presented in the pretraining data at each step. However, this increase is diluted by subsequent forgetting. Based on this interpretation, we demonstrate that we can provide plausible explanations for recently observed behaviors of LLMs, such as the poor performance of LLMs on long-tail knowledge and the benefits of deduplicating the pretraining corpus.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 25 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Understanding LLM Behaviors via Compression: Data Generation, Knowledge Acquisition and Scaling Laws 引用了 Data Mixing Can Induce Phase Transitions in Knowledge Acquisition
- Hubble: a Model Suite to Advance the Study of LLM Memorization 引用了 Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Models
- Hubble: a Model Suite to Advance the Study of LLM Memorization 引用了 Language Models are Few-Shot Learners
- Hubble: a Model Suite to Advance the Study of LLM Memorization 引用了 Deduplicating Training Data Makes Language Models Better
- Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Models 引用了 Deduplicating Training Data Makes Language Models Better
- Data Mixing Can Induce Phase Transitions in Knowledge Acquisition 引用了 Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Models
- Data Mixing Can Induce Phase Transitions in Knowledge Acquisition 引用了 Large Language Models Struggle to Learn Long-Tail Knowledge
- Large Language Models Struggle to Learn Long-Tail Knowledge 引用了 Language Models are Few-Shot Learners
- Large Language Models Struggle to Learn Long-Tail Knowledge 引用了 Deduplicating Training Data Makes Language Models Better
- Are Emergent Abilities of Large Language Models a Mirage? 引用了 Language Models are Few-Shot Learners
- MMSearch-R1: Incentivizing LMMs to Search 引用了 Large Language Models Struggle to Learn Long-Tail Knowledge
- Deduplicating Training Data Makes Language Models Better 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper25
- MMSearch-R1: Incentivizing LMMs to SearchJinming Wu, Zihao Deng, Wei Li, Yiding Liu 等ACL 2026 · 93 次引用
- Hubble: a Model Suite to Advance the Study of LLM MemorizationJohnny Wei, Ameya Godbole, Mohammad Aflah Khan, Ryan Yixiang Wang 等ICLR 2026 · 22 次引用
- Scalable Fingerprinting of Large Language ModelsAnshul Nasery, Jonathan Hayase, Creston Brooks, Peiyao Sheng 等NeurIPS 2025 · 17 次引用
- Data Mixing Can Induce Phase Transitions in Knowledge AcquisitionXinran Gu, Kaifeng Lyu, Jiazheng Li, Jingzhao ZhangNeurIPS 2025 · 16 次引用
- Understanding LLM Behaviors via Compression: Data Generation, Knowledge Acquisition and Scaling LawsZhixuan Pan, Shaowen Wang, Pengfei Liao, Jian LiNeurIPS 2025 · 15 次引用
它引用的 Paper23
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Deduplicating Training Data Makes Language Models BetterKatherine Lee, Daphne Ippolito, Andrew Nystrom, Chiyuan Zhang 等ACL 2022 · 844 次引用
- Are Emergent Abilities of Large Language Models a Mirage?Rylan Schaeffer, Brando Miranda, Sanmi KoyejoNeurIPS 2023 · 796 次引用
- Large Language Models Struggle to Learn Long-Tail KnowledgeNikhil Kandpal, Haikang Deng, Adam Roberts, Eric Wallace 等ICML 2023 · 623 次引用
- Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language ModelsKushal Tirumala, Aram H. Markosyan, Luke Zettlemoyer, Armen AghajanyanNeurIPS 2022 · 304 次引用
相关 Paper
- Scaling Laws for Fact Memorization of Large Language ModelsXingyu Lu, Xiaonan Li, Qinyuan Cheng, Kai Ding 等EMNLP Findings 2024 · 9 次引用
- Tracing Multilingual Factual Knowledge Acquisition in PretrainingYihong Liu, Mingyang Wang, Amir Hossein Kargaran, Felicia Körner 等EMNLP Findings 2025
- Cram Less to Fit More: Training Data Pruning Improves Memorization of FactsJiayuan Ye, Vitaly Feldman, Kunal TalwarICML 2026 · 1 次引用
- PretrainRL: Alleviating Factuality Hallucination of Large Language Models at the BeginningLangming Liu, Kangtao Lv, Haibin Chen, Weidong Zhang 等ACL Findings 2026
- Does Fine-Tuning LLMs on New Knowledge Encourage Hallucinations?Zorik Gekhman, Gal Yona, Roee Aharoni, Matan Eyal 等EMNLP 2024 · 53 次引用
