用于非可分解损失数据归因的通用影响函数
A Versatile Influence Function for Data Attribution with Non-Decomposable Loss
AI总结:
本文针对非可分解损失下的数据归因难题,基于稳健统计学的一般影响函数提出VIF,利用自动微分免逐损失推导,并在Cox回归、节点嵌入和列表级排序中验证其高效准确。
摘要:
影响函数是一种源于稳健统计学的技术,现已被应用于现代机器学习中的一个新方向:数据归因,即量化单个训练数据点对模型预测的影响。然而,数据归因文献中影响函数的常见推导仅限于可分解为单个数据点损失之和的损失函数,其中最突出的例子是M估计量。这限制了影响函数在更复杂学习目标上的应用,我们将这类目标称为非可分解损失,例如对比损失或排序损失;在这些损失中,一个单元损失项依赖于多个数据点,且无法进一步分解。在本工作中,我们通过重新审视稳健统计学中影响函数的一般表述来弥合这一差距,该表述超越了M估计量。基于这一表述,我们提出了一种新方法——Versatile Influence Function(VIF,通用影响函数),它可以直接应用于使用任意非可分解损失训练的机器学习模型。与统计学中的经典方法相比,所提出的VIF旨在充分利用自动微分的能力,从而无需针对每种损失函数进行特定情形的推导。我们通过三个示例展示VIF的有效性:用于生存分析的Cox回归、用于网络分析的节点嵌入,以及用于信息检索的列表级学习排序。在所有情况下,VIF估计出的影响都与暴力留一重训练得到的结果高度相似,而计算速度最高可快$10^3$倍。我们相信,VIF代表了数据归因领域的一项重要进展,能够在广泛的机器学习范式中实现基于影响函数的高效归因,并在实际用例中具有广阔潜力。
英文摘要:
Influence function, a technique rooted in robust statistics, has been adapted in modern machine learning for a novel application: data attribution -- quantifying how individual training data points affect a model's predictions. However, the common derivation of influence functions in the data attribution literature is limited to loss functions that can be decomposed into a sum of individual data point losses, with the most prominent examples known as M-estimators. This restricts the application of influence functions to more complex learning objectives, which we refer to as non-decomposable losses, such as contrastive or ranking losses, where a unit loss term depends on multiple data points and cannot be decomposed further. In this work, we bridge this gap by revisiting the general formulation of influence function from robust statistics, which extends beyond M-estimators. Based on this formulation, we propose a novel method, the Versatile Influence Function (VIF), that can be straightforwardly applied to machine learning models trained with any non-decomposable loss. In comparison to the classical approach in statistics, the proposed VIF is designed to fully leverage the power of auto-differentiation, hereby eliminating the need for case-specific derivations of each loss function. We demonstrate the effectiveness of VIF across three examples: Cox regression for survival analysis, node embedding for network analysis, and listwise learning-to-rank for information retrieval. In all cases, the influence estimated by VIF closely resembles the results obtained by brute-force leave-one-out retraining, while being up to $10^3$ times faster to compute. We believe VIF represents a significant advancement in data attribution, enabling efficient influence-function-based attribution across a wide range of machine learning paradigms, with broad potential for practical use cases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。