Lune

EMNLP Findings2024

Scaling Laws for Fact Memorization of Large Language Models

Xingyu Lu, Xiaonan Li, Qinyuan Cheng, Kai Ding, Xuanjing Huang, Xipeng Qiu

摘要

Fact knowledge memorization is crucial for Large Language Models (LLM) to generate factual and reliable responses. However, the behaviors of LLM fact memorization remain under-explored. In this paper, we analyze the scaling laws for LLM's fact knowledge and LLMs' behaviors of memorizing different types of facts. We find that LLMs' fact knowledge capacity has a linear and negative exponential law relationship with model size and training epochs, respectively. Estimated by the built scaling law, memorizing the whole Wikidata's facts requires training an LLM with 1000B nonembed parameters for 100 epochs, suggesting that using LLMs to memorize all public facts is almost implausible for a general pre-training setting. Meanwhile, we find that LLMs can generalize on unseen fact knowledge and its scaling law is similar to general pre-training. Additionally, we analyze the compatibility and preference of LLMs' fact memorization. For compatibility, we find LLMs struggle with memorizing redundant facts in a unified way. Only when correlated facts have the same direction and structure, the LLM can compatibly memorize them. This shows the inefficiency of LLM memorization for redundant facts. For preference, the LLM pays more attention to memorizing more frequent and difficult facts, and the subsequent facts can overwrite prior facts' memorization, which significantly hinders lowfrequency facts memorization. Our findings reveal the capacity and characteristics of LLMs' fact knowledge learning, which provide directions for LLMs' fact knowledge augmentation.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • The Coverage Principle: How Pre-Training Enables Post-Training 引用了 Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Laws
  • Physics of Language Models: Part 3.1, Knowledge Storage and Extraction 引用了 Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Laws
  • Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Laws 引用了 Physics of Language Models: Part 3.1, Knowledge Storage and Extraction
  • Understanding LLM Behaviors via Compression: Data Generation, Knowledge Acquisition and Scaling Laws 引用了 Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Laws
  • Understanding LLM Behaviors via Compression: Data Generation, Knowledge Acquisition and Scaling Laws 引用了 Data Mixing Can Induce Phase Transitions in Knowledge Acquisition
  • Understanding LLM Behaviors via Compression: Data Generation, Knowledge Acquisition and Scaling Laws 引用了 When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories
  • Data Mixing Can Induce Phase Transitions in Knowledge Acquisition 引用了 Physics of Language Models: Part 3.1, Knowledge Storage and Extraction
  • Data Mixing Can Induce Phase Transitions in Knowledge Acquisition 引用了 Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Laws
  • Data Mixing Can Induce Phase Transitions in Knowledge Acquisition 引用了 When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories
  • Learning Facts at Scale with Active Reading 引用了 Physics of Language Models: Part 3.1, Knowledge Storage and Extraction
  • FLAME : Factuality-Aware Alignment for Large Language Models 引用了 When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. The Coverage Principle: How Pre-Training Enables Post-TrainingFan Chen, Audrey Huang, Noah Golowich, Sadhika Malladi 等ICLR 2026 · 28 次引用
  2. Data Mixing Can Induce Phase Transitions in Knowledge AcquisitionXinran Gu, Kaifeng Lyu, Jiazheng Li, Jingzhao ZhangNeurIPS 2025 · 16 次引用
  3. Understanding LLM Behaviors via Compression: Data Generation, Knowledge Acquisition and Scaling LawsZhixuan Pan, Shaowen Wang, Pengfei Liao, Jian LiNeurIPS 2025 · 15 次引用
  4. Learning Facts at Scale with Active ReadingJessy Lin, Vincent-Pierre Berges, Xilun Chen, Wen-tau Yih 等ICLR 2026 · 15 次引用
  5. Extracting alignment data in open modelsFederico Barbero, Xiangming Gu, Christopher A. Choquette Choo, Chawin Sitawarin 等ICML 2026 · 9 次引用

它引用的 Paper8

  1. Physics of Language Models: Part 3.1, Knowledge Storage and ExtractionZeyuan Allen-Zhu, Yuanzhi LiICML 2024 · 258 次引用
  2. When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric MemoriesAlex Mallen, Akari Asai, Victor Zhong, Rajarshi Das 等ACL 2023 · 233 次引用
  3. SILO Language Models: Isolating Legal Risk In a Nonparametric DatastoreSewon Min, Suchin Gururangan, Eric Wallace, Weijia Shi 等ICLR 2024 · 91 次引用
  4. FLAME : Factuality-Aware Alignment for Large Language ModelsSheng-Chieh Lin, Luyu Gao, Barlas Oguz, Wenhan Xiong 等NeurIPS 2024 · 63 次引用
  5. Physics of Language Models: Part 3.3, Knowledge Capacity Scaling LawsZeyuan Allen-Zhu, Yuanzhi LiICLR 2025 · 8 次引用

相关 Paper

  1. How Do Large Language Models Acquire Factual Knowledge During Pretraining?Hoyeon Chang, Jinho Park, Seonghyeon Ye, Sohee Yang 等NeurIPS 2024 · 124 次引用
  2. Cram Less to Fit More: Training Data Pruning Improves Memorization of FactsJiayuan Ye, Vitaly Feldman, Kunal TalwarICML 2026 · 1 次引用
  3. Large Language Models Struggle to Learn Long-Tail KnowledgeNikhil Kandpal, Haikang Deng, Adam Roberts, Eric Wallace 等ICML 2023 · 623 次引用
  4. Tracing Multilingual Factual Knowledge Acquisition in PretrainingYihong Liu, Mingyang Wang, Amir Hossein Kargaran, Felicia Körner 等EMNLP Findings 2025
  5. Pre-training Limited Memory Language Models with Internal and External KnowledgeLinxi Zhao, Sofian Zalouk, Christian K. Belardi, Justin Lovelace 等ICLR 2026 · 11 次引用
黄昏的海面,两侧是细线勾勒的悬崖