How Do Large Language Models Acquire Factual Knowledge During Pretraining?
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 86 papers in the map (data through 7 Oct 2026). Builds on 48 of its 54 references that are in the map. First posted on arXiv 17 Jun 2024.
Builds on
48 of 54 references.
References · 48
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
36 more
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
- 2017A Closer Look at Memorization in Deep Networkscited by 936
- 2023StarCoder: may the source be with you!cited by 790
- 2022Quantifying Memorization Across Neural Language Modelscited by 755
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
- 2021Deduplicating Training Data Makes Language Models Bettercited by 705
- 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 622
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
- 2024OLMo: Accelerating the Science of Language Modelscited by 599
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 475
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
- 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 452
- 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
- 2024Does Fine-Tuning LLMs on New Knowledge Encourage Hallucinations?cited by 227
- 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 218
- 2020Anatomy of Catastrophic Forgetting: Hidden Representations and Task Semanticscited by 158
- 2023The BigScience ROOTS Corpus: A 1.6TB Composite Multilingual Datasetcited by 148
- 2023Emergent and Predictable Memorization in Large Language Modelscited by 147
- 2023D4: Improving LLM Pretraining via Document De-Duplication and Diversificationcited by 146
- 2023Physics of Language Models: Part 3.2, Knowledge Manipulationcited by 142
- 2023Sudden Drops in the Loss: Syntax Acquisition, Phase Transitions, and Simplicity Bias in MLMscited by 121
- 2023To Repeat or Not To Repeat: Insights from Scaling LLM under Token-Crisiscited by 88
- 2022Training Trajectories of Language Models Across Scalescited by 80
- 2021Probing Across Time: What Does RoBERTa Know and When?cited by 73
- 2020The Surprising Simplicity of the Early-Time Learning Dynamics of Neural Networkscited by 58
- 2022Measuring Causal Effects of Data Statistics on Language Model's `Factual' Predictionscited by 57
- 2022Entity Cloze By Date: What LMs Know About Unseen Entitiescited by 55
- 2022How Pre-trained Language Models Capture Factual Knowledge? A Causal-Inspired Analysiscited by 42
- 2021Analyzing Commonsense Emergence in Few-shot Knowledge Modelscited by 34
- 2021Memorisation versus Generalisation in Pre-trained Language Modelscited by 32
- 2024Critical Data Size of Language Models from a Grokking Perspectivecited by 22
- 2022Noise-Robust De-Duplication at Scalecited by 17
Built on by
Citing papers per year: 2024: 19; 2025: 51; 2026: 16.
86 papers.
Sort:
By area:
- 2025MMSearch-R1: Incentivizing LMMs to Searchcited by 120
- 2024Demystifying Verbatim Memorization in Large Language Modelscited by 55
- 2024Scaling of Search and Learning: A Roadmap to Reproduce o1 from Reinforcement Learning Perspectivecited by 49
- 2024Scalable Influence and Fact Tracing for Large Language Model Pretrainingcited by 40
- 2024DYNAMICQA: Tracing Internal Knowledge Conflicts in Language Modelscited by 34
- 2025How do language models learn facts? Dynamics, curricula and hallucinationscited by 33
- 2024Do Large Language Models Perform Latent Multi-Hop Reasoning without Exploiting Shortcuts?cited by 26
- 2024Evaluating n-Gram Novelty of Language Models Using Rusty-DAWGcited by 24
- 2024AttriBoT: A Bag of Tricks for Efficiently Approximating Leave-One-Out Context Attributioncited by 23
- 2025On Linear Representations and Pretraining Data Frequency in Language Modelscited by 23
- 2025How Do LLMs Acquire New Knowledge? A Knowledge Circuits Perspective on Continual Pre-Trainingcited by 22
- 2024On the Way to LLM Personalization: Learning to Remember User Conversationscited by 21
38 more
- 2024Beneath the Surface of Consistency: Exploring Cross-lingual Knowledge Representation Sharing in LLMscited by 20
- 2025Data Whisperer: Efficient Data Selection for Task-Specific LLM Fine-Tuning via Few-Shot In-Context Learningcited by 19
- 2024Enhancing LLMs for Power System Simulations: A Feedback-driven Multi-agent Frameworkcited by 16
- 2024Knowledge Entropy Decay during Language Model Pretraining Hinders New Knowledge Acquisitioncited by 15
- 2025Data Mixing Can Induce Phase Transitions in Knowledge Acquisitioncited by 15
- 2024How Much Can We Forget about Data Contamination?cited by 14
- 2024Diversify and Conquer: Diversity-Centric Data Selection with Iterative Refinementcited by 13
- 2024Extractive Structures Learned in Pretraining Enable Generalization on Finetuned Factscited by 13
- 2025Is the Reversal Curse a Binding Problem? Uncovering Limitations of Transformers from a Basic Generalization Failurecited by 13
- 2025Editing as Unlearning: Are Knowledge Editing Methods Strong Baselines for Large Language Model Unlearning?cited by 13
- 2024AI-native Memory: A Pathway from LLMs Towards AGIcited by 12
- 2025SAKE: Steering Activations for Knowledge Editingcited by 12
- 2026Replaying pre-training data improves fine-tuningcited by 12
- 2025Episodic memory in AI agents poses risks that should be studied and mitigatedcited by 11
- 2025Scalable Fingerprinting of Large Language Modelscited by 11
- 2025Learning Facts at Scale with Active Readingcited by 11
- 2025Blackbox Model Provenance via Palimpsestic Membership Inferencecited by 11
- 2024Exploring Forgetting in Large Language Model Pre-Trainingcited by 9
- 2025Training an LLM-as-a-Judge Model: Pipeline, Insights, and Practical Lessonscited by 9
- 2024Attributing Culture-Conditioned Generations to Pretraining Corporacited by 8
- 2025Robust Data Watermarking in Language Models by Injecting Fictitious Knowledgecited by 8
- 2025Gaperon: A Peppered English-French Generative Language Model Suitecited by 8
- 2025Beyond Data Filtering: Knowledge Localization for Capability Removal in LLMscited by 8
- 2026Why Larger Models Learn More: Effects of Capacity, Interference, and Rare-Task Retentioncited by 8
- 2024ChroKnowledge: Unveiling Chronological Knowledge of Language Models in Multiple Domainscited by 7
- 2025Mitigating Memorization in LLMs using Activation Steeringcited by 7
- 2025Bidirectional LMs are Better Knowledge Memorizers? A Benchmark for Real-world Knowledge Injectioncited by 7
- 2025Memorization Sinks: Isolating Memorization during LLM Trainingcited by 7
- 2025Can Pre-training Indicators Reliably Predict Fine-tuning Outcomes of LLMs?cited by 6
- 2025Train Once, Answer All: Many Pretraining Experiments for the Cost of Onecited by 6
- 2024Language Models "Grok" to Copycited by 5
- 2025From Promising Capability to Pervasive Bias: Assessing Large Language Models for Emergency Department Triagecited by 5
- 2025Cross-Lingual Transfer of Cultural Knowledge: An Asymmetric Phenomenoncited by 5
- 2025Rote Learning Considered Useful: Generalizing over Memorized Data in LLMscited by 5
- 2025Memorizing is Not Enough: Deep Knowledge Injection Through Reasoningcited by 4
- 2025Beyond Scaling: Measuring and Predicting the Upper Bound of Knowledge Retention in Language Model Pre-Trainingcited by 3
- 2025Facts in Stats: Impacts of Pretraining Diversity on Language Model Generalizationcited by 3
- 2025Generalization or Memorization: Dynamic Decoding for Mode Steeringcited by 3
50 most cited of 86 All 86 (JSON)
- 2026Evaluating Persistent Calibration under Evolving Model Knowledge30 Sep 2026
- 2026Fine Until Fine-Tuned: Repeated Solutions Make Reasoning Fragile27 Sep 2026
- 2026Why Pretraining Fails to Share Cross-Lingual Knowledge16 Sep 2026
- 2026Style-Debiased DPO: Updating LLM Knowledge with Factuality-Aware Synthetic Preference Data15 Sep 2026
- 2026Latent-Space Intervention for Cross-Lingual Factual Consistency: Consistency Improvements without Accuracy Drops28 Aug 2026
- 2026Learned, Then Lost: A Measured Single-Example Counterfactual in Pre-training19 Aug 2026
- 2026Why Larger Models Learn More: Effects of Capacity, Interference, and Rare-Task Retention28 May 2026
- 2026The Future of Facts: Tracing the Factual Generation-Verification Gap26 May 2026
- 2026LLM-Metrics: Measuring Research Impact Through Large Language Model Memory21 May 2026
- 2026Towards Reliable Local Security Agents: Verifiable Post-Training for Linux Privilege Escalation18 Mar 2026
- 2026Replaying pre-training data improves fine-tuning5 Mar 2026
- 2026Is Micro Domain-Adaptive Pre-Training Effective for Real-World Operations? Multi-Step Evaluation Reveals Potential and Bottlenecks4 Feb 2026
38 more
- 2026Dynamics Reveals Structure: Challenging the Linear Propagation Assumption29 Jan 2026
- 2026MaDiS: Taming Masked Diffusion Language Models for Sign Language Generation27 Jan 2026
- 2026Latent Knowledge as a Predictor of Fact Acquisition in Fine-Tuned Large Language Models26 Jan 2026
- 2026Typhoon-S: Minimal Open Post-Training for Sovereign Large Language Models26 Jan 2026
- 2025Beyond Data Filtering: Knowledge Localization for Capability Removal in LLMs5 Dec 2025
- 2025Kad: A Framework for Proxy-based Test-time Alignment with Knapsack Approximation Deferral30 Oct 2025
- 2025Gaperon: A Peppered English-French Generative Language Model Suite29 Oct 2025
- 2025Exploring the Influence of Relevant Knowledge for Natural Language Generation Interpretability28 Oct 2025
- 2025Generalization or Memorization: Dynamic Decoding for Mode Steering25 Oct 2025
- 2025Blackbox Model Provenance via Palimpsestic Membership Inference22 Oct 2025
- 2025From Memorization to Generalization: Fine-Tuning Large Language Models for Biomedical Term-to-Identifier Normalization21 Oct 2025
- 2025Learning from the Best, Differently: A Diversity-Driven Rethinking on Data Selection21 Oct 2025
- 2025Facts in Stats: Impacts of Pretraining Diversity on Language Model Generalization17 Oct 2025
- 2025Rewriting History: A Recipe for Interventional Analyses to Study Data Effects on Model Behavior16 Oct 2025
- 2025Tracing Multilingual Knowledge Acquisition Dynamics in Domain Adaptation: A Case Study of English-Japanese Biomedical Adaptation14 Oct 2025
- 2025STEAM: A Semantic-Level Knowledge Editing Framework for Large Language Models12 Oct 2025
- 2025Train Once, Answer All: Many Pretraining Experiments for the Cost of One27 Sep 2025
- 2025Review of Hallucination Understanding in Large Language and Vision Models26 Sep 2025
- 2025How to inject knowledge efficiently? Knowledge Infusion Scaling Law for Pre-training Large Language Models19 Sep 2025
- 2025A Taxonomy of Transcendence25 Aug 2025
- 2025Learning Facts at Scale with Active Reading13 Aug 2025
- 2025FPEdit: Robust LLM Fingerprinting through Localized Parameter Editing4 Aug 2025
- 2025Rote Learning Considered Useful: Generalizing over Memorized Data in LLMs29 Jul 2025
- 2025TARS: MinMax Token-Adaptive Preference Strategy for Hallucination Reduction in MLLMs29 Jul 2025
- 2025TokenSmith: Streamlining Data Editing, Search, and Inspection for Large-Scale Language Model Training and Interpretability25 Jul 2025
- 2025Memorization Sinks: Isolating Memorization during LLM Training14 Jul 2025
- 2025Steering Information Utility in Key-Value Memory for Language Model Post-Training7 Jul 2025
- 2025MMSearch-R1: Incentivizing LMMs to Search25 Jun 2025
- 2025PropMEND: Hypernetworks for Knowledge Propagation in LLMs10 Jun 2025
- 2025FictionalQA: A Dataset for Studying Memorization and Knowledge Acquisition5 Jun 2025
- 2025Time Course MechInterp: Analyzing the Evolution of Components and Knowledge in Large Language Models3 Jun 2025
- 2025Cross-Lingual Transfer of Cultural Knowledge: An Asymmetric Phenomenon2 Jun 2025
- 2025Evaluating the Unseen Capabilities: How Many Theorems Do LLMs Know?1 Jun 2025
- 2025When Language Shapes Thought: Cross-Lingual Transfer of Factual Knowledge in Question Answering30 May 2025
- 2025Editing as Unlearning: Are Knowledge Editing Methods Strong Baselines for Large Language Model Unlearning?26 May 2025
- 2025Data Mixing Can Induce Phase Transitions in Knowledge Acquisition23 May 2025
- 2025From n-gram to Attention: How Model Architectures Learn and Propagate Bias in Language Modeling18 May 2025
- 2025Bidirectional LMs are Better Knowledge Memorizers? A Benchmark for Real-world Knowledge Injection18 May 2025
50 newest of 86 All 86 (JSON)
- 2024Scaling of Search and Learning: A Roadmap to Reproduce o1 from Reinforcement Learning Perspectivecited by 49
- 2024Do Large Language Models Perform Latent Multi-Hop Reasoning without Exploiting Shortcuts?cited by 26
- 2025Training an LLM-as-a-Judge Model: Pipeline, Insights, and Practical Lessonscited by 9
- 2025Memorizing is Not Enough: Deep Knowledge Injection Through Reasoningcited by 4
- 2025When Language Shapes Thought: Cross-Lingual Transfer of Factual Knowledge in Question Answeringcited by 2
- 2025Learning from the Best, Differently: A Diversity-Driven Rethinking on Data Selectioncited by 1
- 2025Learning from the Best, Differently: A Diversity-Driven Rethinking on Data Selection21 Oct 2025
- 2025When Language Shapes Thought: Cross-Lingual Transfer of Factual Knowledge in Question Answering30 May 2025
- 2025Memorizing is Not Enough: Deep Knowledge Injection Through Reasoning1 Apr 2025
- 2025Training an LLM-as-a-Judge Model: Pipeline, Insights, and Practical Lessons5 Feb 2025
- 2024Scaling of Search and Learning: A Roadmap to Reproduce o1 from Reinforcement Learning Perspective18 Dec 2024
- 2024Do Large Language Models Perform Latent Multi-Hop Reasoning without Exploiting Shortcuts?25 Nov 2024
- 2025Editing as Unlearning: Are Knowledge Editing Methods Strong Baselines for Large Language Model Unlearning?cited by 13
- 2025Blackbox Model Provenance via Palimpsestic Membership Inferencecited by 11
- 2025Robust Data Watermarking in Language Models by Injecting Fictitious Knowledgecited by 8
- 2025Beyond Data Filtering: Knowledge Localization for Capability Removal in LLMscited by 8
- 2025Beyond Data Filtering: Knowledge Localization for Capability Removal in LLMs5 Dec 2025
- 2025Blackbox Model Provenance via Palimpsestic Membership Inference22 Oct 2025
- 2025Editing as Unlearning: Are Knowledge Editing Methods Strong Baselines for Large Language Model Unlearning?26 May 2025
- 2025Robust Data Watermarking in Language Models by Injecting Fictitious Knowledge6 Mar 2025
- 2024Language Models "Grok" to Copycited by 5
- 2024Language Models "Grok" to Copy14 Sep 2024
- 2024Demystifying Verbatim Memorization in Large Language Modelscited by 55
- 2024Scalable Influence and Fact Tracing for Large Language Model Pretrainingcited by 40
- 2024DYNAMICQA: Tracing Internal Knowledge Conflicts in Language Modelscited by 34
- 2025How do language models learn facts? Dynamics, curricula and hallucinationscited by 33
- 2024Evaluating n-Gram Novelty of Language Models Using Rusty-DAWGcited by 24
- 2024AttriBoT: A Bag of Tricks for Efficiently Approximating Leave-One-Out Context Attributioncited by 23
- 2025On Linear Representations and Pretraining Data Frequency in Language Modelscited by 23
- 2025How Do LLMs Acquire New Knowledge? A Knowledge Circuits Perspective on Continual Pre-Trainingcited by 22
- 2024On the Way to LLM Personalization: Learning to Remember User Conversationscited by 21
- 2024Beneath the Surface of Consistency: Exploring Cross-lingual Knowledge Representation Sharing in LLMscited by 20
- 2025Data Whisperer: Efficient Data Selection for Task-Specific LLM Fine-Tuning via Few-Shot In-Context Learningcited by 19
- 2024Knowledge Entropy Decay during Language Model Pretraining Hinders New Knowledge Acquisitioncited by 15
12 most cited of 69 All 69 (JSON)
- 2026Evaluating Persistent Calibration under Evolving Model Knowledge30 Sep 2026
- 2026Fine Until Fine-Tuned: Repeated Solutions Make Reasoning Fragile27 Sep 2026
- 2026Why Pretraining Fails to Share Cross-Lingual Knowledge16 Sep 2026
- 2026Latent-Space Intervention for Cross-Lingual Factual Consistency: Consistency Improvements without Accuracy Drops28 Aug 2026
- 2026Learned, Then Lost: A Measured Single-Example Counterfactual in Pre-training19 Aug 2026
- 2026Why Larger Models Learn More: Effects of Capacity, Interference, and Rare-Task Retention28 May 2026
- 2026The Future of Facts: Tracing the Factual Generation-Verification Gap26 May 2026
- 2026LLM-Metrics: Measuring Research Impact Through Large Language Model Memory21 May 2026
- 2026Replaying pre-training data improves fine-tuning5 Mar 2026
- 2026Is Micro Domain-Adaptive Pre-Training Effective for Real-World Operations? Multi-Step Evaluation Reveals Potential and Bottlenecks4 Feb 2026
- 2026Dynamics Reveals Structure: Challenging the Linear Propagation Assumption29 Jan 2026
- 2026Latent Knowledge as a Predictor of Fact Acquisition in Fine-Tuned Large Language Models26 Jan 2026
12 newest of 69 All 69 (JSON)