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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Nadkarni, Rahul, Elazar, Yanai, Gonen, Hila, Smith, Noah A.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910233448677376
author Nadkarni, Rahul
Elazar, Yanai
Gonen, Hila
Smith, Noah A.
author_facet Nadkarni, Rahul
Elazar, Yanai
Gonen, Hila
Smith, Noah A.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2510_14261
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Rewriting History: A Recipe for Interventional Analyses to Study Data Effects on Model Behavior
Nadkarni, Rahul
Elazar, Yanai
Gonen, Hila
Smith, Noah A.
Computation and Language
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.
title Rewriting History: A Recipe for Interventional Analyses to Study Data Effects on Model Behavior
topic Computation and Language
url https://arxiv.org/abs/2510.14261