Rewriting History: A Recipe for Interventional Analyses to Study Data Effects on Model Behavior
Not on the map. Why?
Abstract (arXiv)
We present an experimental recipe for studying the relationship between training data and language model (LM) behavior. We outline steps for intervening on data batches -- i.e., ``rewriting history'' -- and then retraining model checkpoints over that data to test hypotheses relating data to behavior. Our recipe breaks down such an intervention into stages that include selecting evaluation items from a benchmark that measures model behavior, matching relevant documents to those items, and modifying those documents before retraining and measuring the effects. We demonstrate the utility of our recipe through case studies on factual knowledge acquisition in LMs, using both cooccurrence statistics and information retrieval methods to identify documents that might contribute to knowledge learning. Our results supplement past observational analyses that link cooccurrence to model behavior, while demonstrating that extant methods for identifying relevant training documents do not fully explain an LM's ability to correctly answer knowledge questions. Overall, we outline a recipe that researchers can follow to test further hypotheses about how training data affects model behavior. Our code is made publicly available to promote future work.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 54 of its 74 references that are in the map. First posted on arXiv 16 Oct 2025.
Builds on
54 of 74 references.
References · 54
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
- 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 911
38 more
- 2017Crowdsourcing Multiple Choice Science Questionscited by 742
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
- 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 657
- 2024OLMo: Accelerating the Science of Language Modelscited by 599
- 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 514
- 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 452
- 2018Gender Bias in Coreference Resolutioncited by 438
- 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 381
- 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
- 2023Studying Large Language Model Generalization with Influence Functionscited by 311
- 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
- 2019Identifying and Reducing Gender Bias in Word-Level Language Modelscited by 214
- 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 180
- 2021Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and Beyondcited by 177
- 2020Explaining Black Box Predictions and Unveiling Data Artifacts through Influence Functionscited by 144
- 2023Physics of Language Models: Part 3.2, Knowledge Manipulationcited by 142
- 2020With Little Power Comes Great Responsibilitycited by 138
- 2022Training Data Influence Analysis and Estimation: A Surveycited by 134
- 2023What's In My Big Data?cited by 129
- 2024OLMES: A Standard for Language Model Evaluationscited by 100
- 2024How Do Large Language Models Acquire Factual Knowledge During Pretraining?cited by 86
- 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 83
- 2023The Bias Amplification Paradox in Text-to-Image Generationcited by 69
- 2021Frequency Effects on Syntactic Rule Learning in Transformerscited by 59
- 2022Measuring Causal Effects of Data Statistics on Language Model's `Factual' Predictionscited by 57
- 2023Understanding In-Context Learning via Supportive Pretraining Datacited by 41
- 2024Scalable Influence and Fact Tracing for Large Language Model Pretrainingcited by 40
- 2025DataDecide: How to Predict Best Pretraining Data with Small Experimentscited by 36
- 2022ORCA: Interpreting Prompted Language Models via Locating Supporting Data Evidence in the Ocean of Pretraining Datacited by 34
- 2025How do language models learn facts? Dynamics, curricula and hallucinationscited by 33
- 2024Establishing Task Scaling Laws via Compute-Efficient Model Ladderscited by 32
- 2022Data-Efficient Finetuning Using Cross-Task Nearest Neighborscited by 26
- 2025On Linear Representations and Pretraining Data Frequency in Language Modelscited by 23
- 2023Impact of Co-occurrence on Factual Knowledge of Large Language Modelscited by 19
- 2022The Birth of Bias: A case study on the evolution of gender bias in an English language modelcited by 16
- 2024Knowledge Entropy Decay during Language Model Pretraining Hinders New Knowledge Acquisitioncited by 15
- 2024Co-occurrence is not Factual Association in Language Modelscited by 11
- 2023Data Similarity is Not Enough to Explain Language Model Performancecited by 9
50 most cited of 54 All 54 (JSON)
Built on by
Not cited yet.