atlas

Research map / Large language models / Retrieval and knowledge

How Do Large Language Models Acquire Factual Knowledge During Pretraining?

NeurIPS 2024 · Large language models › Retrieval and knowledge · approach: Knowledge editing in LLMs · 14 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Studies how OLMo LLM checkpoints acquire injected fictional factual knowledge during continued pretraining, tracking memorization, generalization, and forgetting across injection scenarios, model sizes, pretraining stages, deduplication and batch size.

Problem

How LLMs acquire factual knowledge during pretraining and how that acquisition is affected by training conditions and forgotten over time remains poorly understood.

Approach

Injects fictional knowledge passages into intermediate OLMo pretraining checkpoints and tracks step-wise log probability of probes, defining local acquisition maxima, effectivity, and retainability to show acquisition accumulates micro-updates while forgetting follows a power law in training steps.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use paraphrased rather than duplicated injected knowledgeOLMo-7B pretraining · Fictional Knowledge, memorization and generalizationretainability decay constantHelped
Increase model size from 1B to 7BOLMo pretraining · Fictional Knowledge, all injection scenarioseffectivityHelped
Train on checkpoints with more pretraining tokensOLMo pretraining · Fictional Knowledge, all model scales and injection scenarioseffectivityNo clear effect
Use a smaller batch size (128 rather than 2048)OLMo-7B Mid · Fictional Knowledge, compositional generalizationretainabilityHurt
Inject duplicated knowledge rather than paraphrased knowledgeOLMo-7B pretraining · Fictional Knowledge, memorization and generalizationretainabilityHurt
Increase batch size from 128 to 2048OLMo-7B Mid · Fictional Knowledge, factual knowledge acquisitionrobustness to forgettingHelped

Surprising findings

Limitations

Experimental setup

Datasets: Dolma v1.5 ECBD

Benchmarks: Fictional Knowledge

Metrics: log probability of target span effectivity retainability decay constant

Builds on: OLMo Dolma ECBD

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy