atlas

Research map / Large language models / Language, safety and interpretability

Extractive Structures Learned in Pretraining Enable Generalization on Finetuned Facts

ICML 2025 · Large language models › Language, safety and interpretability · approach: Pruning and circuits in LLMs · 1 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.

Introduces the extractive structures framework (informative, upstream, downstream components) to explain how LMs generalize to implications of finetuned facts, and tests a pretraining mechanism via data-ordering and weight-grafting experiments on OLMo-7b and other 7-9B models.

Problem

Pretrained LMs can generalize to implications of facts they are finetuned on (out-of-context reasoning), but the mechanisms enabling this and how they are learned during pretraining are poorly understood.

Approach

Frames out-of-context reasoning as a communication problem and defines causal, linearized component scores (informative, upstream, downstream) to localize components that store finetuned facts as weight changes and that query/process them; hypothesizes extractive structures form during pretraining when implications of already-known facts are encountered, predicting a data-ordering effect and a wei

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Graft the implication-trained weight change onto the counterfactual-facts modelOLMo-7b · Counterfactual implicationsmean rank: 9.13 to 1.13; 8.38 for the controlHelped
Graft the implication-trained weight change onto the counterfactual-facts modelOLMo-7b · Original implicationsmean rank: 8.55 to 3.30Helped
Use the direct-implication control graft instead of the extractive-structure graftOLMo-7b · Counterfactual implicationsmean rank: 9.13 to 8.38No clear effect
Freeze early layers (first 24) during finetuning (ablation)OLMo-7b · First-hop implicationsmean rank: 0.00 -> 6.50Hurt
Freeze early layers (first 24) during finetuning (ablation)OLMo-7b · Second-hop implicationsmean rank: 1.80 -> 0.50No clear effect
Freeze late layers (last 8) during finetuning (ablation)OLMo-7b · Second-hop implicationsmean rank: 1.80 -> 6.60Hurt
Freeze late layers (last 8) during finetuning (ablation)OLMo-7b · First-hop implicationsmean rank: 0.00 -> 0.10No clear effect
Reset early layers (first 24) to pretrained weights after finetuning (ablation)OLMo-7b · First-hop implicationsmean rank: 0.00 -> 8.40Hurt
Reset early layers (first 24) to pretrained weights after finetuning (ablation)OLMo-7b · Second-hop implicationsmean rank: 1.80 -> 1.85No clear effect
Reset late layers (last 8) to pretrained weights after finetuning (ablation)OLMo-7b · Second-hop implicationsmean rank: 1.80 -> 6.30Hurt
Reset late layers (last 8) to pretrained weights after finetuning (ablation)OLMo-7b · First-hop implicationsmean rank: 0.00 -> 0.00No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: First-hop synthetic dataset Second-hop synthetic dataset Fictitious dax/wug implications dataset

Benchmarks: First-hop synthetic OCR dataset Second-hop synthetic OCR dataset Fictitious dax/wug implication dataset

Metrics: mean rank of correct continuation extractive scores (informative, upstream, downstream)

Baselines: Facts first data ordering Joint data ordering Impl-first data ordering Control weight graft

Builds on: latent two-hop reasoning mean ablation influence functions

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