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

关于影响函数作用的理论与实践视角

Theoretical and Practical Perspectives on what Influence Functions Do

Google Research(谷歌研究院);University of Edinburgh(爱丁堡大学);University of Amsterdam(阿姆斯特丹大学)

Andrea Schioppa, Katja Filippova, Ivan Titov, Polina Zablotskaia

AI总结:

本文从理论和实践角度分析影响函数在深度神经网络中的失效原因,指出参数发散导致影响随训练时间消退,并验证影响函数仍可用于模型调试与错误预测修正。

摘要:

影响函数(IF)一直被视为一种通过训练数据视角解释模型预测的技术。其效用被假定为能够识别对某一预测“负责”的训练样本,从而可以通过对这些样本进行干预(删除或编辑)并重新训练模型来修正预测。然而,近期的实证研究表明,现有的影响函数估计方法对留一法重训练效应的预测效果较差。为了理解理论承诺与实际结果之间的不匹配,我们分析了影响函数方法所做出的五个假设,这些假设对现代规模的深度神经网络存在问题,涉及凸性、数值稳定性、训练轨迹和参数发散。这使我们能够厘清从理论上可以对影响函数抱有何种期望。我们表明,尽管大多数假设可以成功处理,但参数发散对影响函数的预测能力构成了明确的限制:即使在确定性训练下,影响也会随着训练时间的推移而消退。我们用BERT和ResNet模型说明了这一理论结果。理论分析的另一个结论是,尽管先前工作中的一些假设并不成立,影响函数对于模型调试和修正仍然有用:通过自然语言处理和计算机视觉任务,我们验证了只需对影响性样本进行少量微调步骤即可成功修正错误预测。

英文摘要:

Influence functions (IF) have been seen as a technique for explaining model predictions through the lens of the training data. Their utility is assumed to be in identifying training examples "responsible" for a prediction so that, for example, correcting a prediction is possible by intervening on those examples (removing or editing them) and retraining the model. However, recent empirical studies have shown that the existing methods of estimating IF predict the leave-one-out-and-retrain effect poorly. In order to understand the mismatch between the theoretical promise and the practical results, we analyse five assumptions made by IF methods which are problematic for modern-scale deep neural networks and which concern convexity, numeric stability, training trajectory and parameter divergence. This allows us to clarify what can be expected theoretically from IF. We show that while most assumptions can be addressed successfully, the parameter divergence poses a clear limitation on the predictive power of IF: influence fades over training time even with deterministic training. We illustrate this theoretical result with BERT and ResNet models. Another conclusion from the theoretical analysis is that IF are still useful for model debugging and correcting even though some of the assumptions made in prior work do not hold: using natural language processing and computer vision tasks, we verify that mis-predictions can be successfully corrected by taking only a few fine-tuning steps on influential examples.

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

↑