arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.14261cs.CL
收藏

重写历史:一种用于干预分析以研究数据对模型行为影响的配方

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

Paul G. Allen School of Computer Science & Engineering, University of Washington(保罗·G·阿伦计算机科学与工程学院,华盛顿大学);Department of Computer Science, Bar-Ilan University(巴伊兰大学计算机科学系);Department of Computer Science, University of British Columbia(不列颠哥伦比亚大学计算机科学系);Allen Institute for Artificial Intelligence(人工智能阿伦研究所)

Rahul Nadkarni, Yanai Elazar, Hila Gonen, Noah A. Smith

AI总结:

本文提出了一种实验方法,用于研究训练数据与语言模型行为之间的关系,通过干预数据批次(即'重写历史')并重新训练模型检查点来测试数据与行为之间的假设,展示了如何通过案例研究来验证事实知识获取中的数据影响。

摘要:

我们提出了一种实验配方,用于研究训练数据与语言模型(LM)行为之间的关系。我们概述了干预数据批次——即'重写历史'——的步骤,并重新训练模型检查点以测试数据与行为之间的假设。我们的配方将这种干预分解为多个阶段,包括从衡量模型行为的基准中选择评估项目、将相关文档与这些项目匹配,并在重新训练前修改这些文档以测量效果。我们通过事实性知识获取的案例研究展示了该配方的实用性,使用共现统计和信息检索方法来识别可能促进知识学习的文档。我们的结果补充了过去将共现与模型行为联系起来的观测分析,同时表明现有方法无法完全解释LM正确回答知识问题的能力。总体而言,我们概述了一种研究人员可以遵循的配方,以进一步测试训练数据如何影响模型行为的假设。我们的代码已公开发布,以促进未来的工作。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑