arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.09538cs.LGstat.ML
收藏

捕捉训练数据影响的时间依赖性

Capturing the Temporal Dependence of Training Data Influence

Princeton University(普林斯顿大学);UC Berkeley(加州大学伯克利分校);Stanford University(斯坦福大学);Virginia Tech(弗吉尼亚理工大学)

Jiachen T. Wang, Dawn Song, James Zou, Prateek Mittal, Ruoxi Jia

AI总结:

针对传统影响函数无法适配现代训练对数据排序敏感的问题,该研究提出轨迹特定留一法影响的形式化定义,并通过数据值嵌入技术高效近似计算,揭示了数据影响的阶段特性,为数据策展提供了新思路。

摘要:

传统的数据影响估计方法(如影响函数)假设学习算法对训练数据具有排列不变性。然而,现代训练范式,尤其是使用随机算法和多阶段课程的基础模型训练,对数据排序十分敏感,这违背了上述假设。这种不匹配导致影响函数无法解答机器学习中的一个关键问题:我们如何捕捉数据影响对训练期间优化轨迹的依赖性?为填补这一空白,我们形式化了轨迹特定留一法(LOO)影响的概念,该概念量化了在训练过程的特定迭代中移除一个数据点所产生的影响,同时考虑了数据遇到的确切序列以及模型的优化轨迹。但精确计算轨迹特定LOO存在巨大的计算挑战。为此,我们提出了数据值嵌入(data value embedding)这一新技术,可高效近似轨迹特定LOO。具体而言,我们计算一种训练数据嵌入,它封装了数据与不断演化的模型参数之间的累积交互。随后,通过数据值嵌入与给定测试数据梯度之间的简单点积,即可高效近似LOO。由于数据值嵌入捕捉了训练数据的排序信息,它为理解模型训练动态提供了宝贵见解。我们尤其揭示了数据影响的不同阶段,发现训练早期和晚期的数据点对最终模型的影响更大。这些见解可转化为可操作的策略,通过策略性地安排选择过程的时机来管控数据选择的计算开销,有望为数据策展研究开辟新方向。

英文摘要:

Traditional data influence estimation methods, like influence function, assume that learning algorithms are permutation-invariant with respect to training data. However, modern training paradigms, especially for foundation models using stochastic algorithms and multi-stage curricula, are sensitive to data ordering, thus violating this assumption. This mismatch renders influence functions inadequate for answering a critical question in machine learning: How can we capture the dependence of data influence on the optimization trajectory during training? To address this gap, we formalize the concept of trajectory-specific leave-one-out (LOO) influence, which quantifies the impact of removing a data point from a specific iteration during training, accounting for the exact sequence of data encountered and the model's optimization trajectory. However, exactly evaluating the trajectory-specific LOO presents a significant computational challenge. To address this, we propose data value embedding, a novel technique enabling efficient approximation of trajectory-specific LOO. Specifically, we compute a training data embedding that encapsulates the cumulative interactions between data and the evolving model parameters. The LOO can then be efficiently approximated through a simple dot-product between the data value embedding and the gradient of the given test data. As data value embedding captures training data ordering, it offers valuable insights into model training dynamics. In particular, we uncover distinct phases of data influence, revealing that data points in the early and late stages of training exert a greater impact on the final model. These insights translate into actionable strategies for managing the computational overhead of data selection by strategically timing the selection process, potentially opening new avenues in data curation research.

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

↑