mlsanityData to 7 Oct 2026

Rewriting History: A Recipe for Interventional Analyses to Study Data Effects on Model Behavior

arXiv 2510.14261 ↗First posted 16 Oct 2025cs.CLcited by 0

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

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  3. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  4. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  5. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  6. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
  7. 2019Language Models as Knowledge Bases?cited by 1,922
  8. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  9. 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
  10. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
  11. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
  12. 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 911
38 more
  1. 2017Crowdsourcing Multiple Choice Science Questionscited by 742
  2. 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
  3. 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 657
  4. 2024OLMo: Accelerating the Science of Language Modelscited by 599
  5. 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 514
  6. 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 452
  7. 2018Gender Bias in Coreference Resolutioncited by 438
  8. 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 381
  9. 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
  10. 2023Studying Large Language Model Generalization with Influence Functionscited by 311
  11. 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
  12. 2019Identifying and Reducing Gender Bias in Word-Level Language Modelscited by 214
  13. 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 180
  14. 2021Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and Beyondcited by 177
  15. 2020Explaining Black Box Predictions and Unveiling Data Artifacts through Influence Functionscited by 144
  16. 2023Physics of Language Models: Part 3.2, Knowledge Manipulationcited by 142
  17. 2020With Little Power Comes Great Responsibilitycited by 138
  18. 2022Training Data Influence Analysis and Estimation: A Surveycited by 134
  19. 2023What's In My Big Data?cited by 129
  20. 2024OLMES: A Standard for Language Model Evaluationscited by 100
  21. 2024How Do Large Language Models Acquire Factual Knowledge During Pretraining?cited by 86
  22. 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 83
  23. 2023The Bias Amplification Paradox in Text-to-Image Generationcited by 69
  24. 2021Frequency Effects on Syntactic Rule Learning in Transformerscited by 59
  25. 2022Measuring Causal Effects of Data Statistics on Language Model's `Factual' Predictionscited by 57
  26. 2023Understanding In-Context Learning via Supportive Pretraining Datacited by 41
  27. 2024Scalable Influence and Fact Tracing for Large Language Model Pretrainingcited by 40
  28. 2025DataDecide: How to Predict Best Pretraining Data with Small Experimentscited by 36
  29. 2022ORCA: Interpreting Prompted Language Models via Locating Supporting Data Evidence in the Ocean of Pretraining Datacited by 34
  30. 2025How do language models learn facts? Dynamics, curricula and hallucinationscited by 33
  31. 2024Establishing Task Scaling Laws via Compute-Efficient Model Ladderscited by 32
  32. 2022Data-Efficient Finetuning Using Cross-Task Nearest Neighborscited by 26
  33. 2025On Linear Representations and Pretraining Data Frequency in Language Modelscited by 23
  34. 2023Impact of Co-occurrence on Factual Knowledge of Large Language Modelscited by 19
  35. 2022The Birth of Bias: A case study on the evolution of gender bias in an English language modelcited by 16
  36. 2024Knowledge Entropy Decay during Language Model Pretraining Hinders New Knowledge Acquisitioncited by 15
  37. 2024Co-occurrence is not Factual Association in Language Modelscited by 11
  38. 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.