论上下文内探测(ICP)用于数据归因的可行性
On the Feasibility of In-Context Probing for Data Attribution
AI总结:
针对基于梯度的数据归因方法计算成本高的问题,本文提出上下文内探测(ICP)可作为快速代理,实证表明其与梯度方法在识别有影响力训练数据上相关性良好,且在NLP和线性回归任务中均验证了这一关联。
摘要:
数据归因方法用于衡量训练数据对模型输出的贡献,在数据集整理和模型可解释性等领域有重要应用。但许多标准数据归因方法(如影响函数)利用模型梯度,计算成本高昂。本文表明,在数据相似性的条件下,上下文内探测(ICP,即提示大型语言模型LLM)可作为基于梯度的数据归因的快速代理,用于数据选择。我们在标准自然语言处理(NLP)任务上实证研究这一关联,发现对于与训练数据任务类型和内容相似的任务,ICP与基于梯度的数据归因在识别有影响力的训练数据方面相关性良好。此外,在两种方法选择的有影响力数据上微调模型,下游性能相当,进一步凸显其相似性。我们还通过线性回归任务的合成数据检验ICP与基于梯度数据归因的关联,合成数据实验结果与NLP任务相似,表明该关联可在更简单的设置中分离,为弥合两者差异提供了途径。
英文摘要:
Data attribution methods are used to measure the contribution of training data towards model outputs, and have several important applications in areas such as dataset curation and model interpretability. However, many standard data attribution methods, such as influence functions, utilize model gradients and are computationally expensive. In our paper, we show in-context probing (ICP) -- prompting a LLM -- can serve as a fast proxy for gradient-based data attribution for data selection under conditions contingent on data similarity. We study this connection empirically on standard NLP tasks, and show that ICP and gradient-based data attribution are well-correlated in identifying influential training data for tasks that share similar task type and content as the training data. Additionally, fine-tuning models on influential data selected by both methods achieves comparable downstream performance, further emphasizing their similarities. We also examine the connection between ICP and gradient-based data attribution using synthetic data on linear regression tasks. Our synthetic data experiments show similar results with those from NLP tasks, suggesting that this connection can be isolated in simpler settings, which offers a pathway to bridging their differences.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。