arXiv:2510.14261cs.CL2025-10Transactions of th…

通过修改训练数据,实验研究数据如何影响模型行为。

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

  • 通过重写训练数据批次,观察模型行为变化。
  • 现有方法无法完全解释模型答对知识题的能力。
  • 适合研究数据与模型性能关系的学者使用。

我们提出一种实验方法,用于研究训练数据与语言模型(LM)行为之间的关系。该方法通过干预数据批次——即“重写历史”——再对模型检查点重新训练,以检验数据与行为之间的假设。整个流程包括:从基准测试中选取评估项,匹配相关文档,并在重训前修改文档,随后测量影响。我们在语言模型的事实知识获取方面进行了案例研究,采用共现统计和信息检索方法识别可能影响知识学习的文档。结果补充了以往基于共现的观察分析,同时表明现有方法无法完全解释模型正确回答知识问题的能力。我们提供了一套可复现的研究流程,代码已公开,以推动未来研究。

原文摘要 · Abstract (English)

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.

数据影响模型行为实验设计

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。