arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.14651cs.LGstat.ML
收藏

深度学习中的影响函数是脆弱的

Influence Functions in Deep Learning Are Fragile

University of Maryland, College Park(马里兰大学帕克分校)

Samyadeep Basu, Philip Pope, Soheil Feizi

摘要:

影响函数近似训练样本在测试时间预测中的效果,并且在机器学习可解释性和不确定性估计中具有广泛的应用。一个常用的(一阶)影响函数可以有效地实现为一个事后方法,只需要访问模型的梯度和Hessian。对于线性模型,由于基础损失函数的凸性,影响函数定义良好,并且即使在模型变化相当大的困难设置(例如估计组影响)中通常也是准确的。然而,在具有非凸损失函数的深度学习的上下文中,影响函数并没有得到很好的理解。在本文中,我们提供了一个全面的和大规模的实证研究的成功和失败的影响函数的神经网络模型上训练的数据集,如虹膜,MNIST,CIFAR-10和ImageNet。通过我们广泛的实验,我们表明,网络结构,其深度和宽度,以及模型参数化和正则化技术的程度有很强的影响力的准确性功能。特别是,我们发现(i)影响力估计对于浅层网络相当准确,而对于更深的网络,估计往往是错误的;(ii)对于某些网络架构和数据集,使用权重衰减正则化进行训练对于获得高质量的影响力估计很重要;(iii)影响力估计的准确性可能会根据检查的测试点而显着变化。这些结果表明,一般来说,深度学习中的影响函数是脆弱的,需要开发改进的影响估计方法来缓解非凸设置中的这些问题。

英文摘要:

Influence functions approximate the effect of training samples in test-time predictions and have a wide variety of applications in machine learning interpretability and uncertainty estimation. A commonly-used (first-order) influence function can be implemented efficiently as a post-hoc method requiring access only to the gradients and Hessian of the model. For linear models, influence functions are well-defined due to the convexity of the underlying loss function and are generally accurate even across difficult settings where model changes are fairly large such as estimating group influences. Influence functions, however, are not well-understood in the context of deep learning with non-convex loss functions. In this paper, we provide a comprehensive and large-scale empirical study of successes and failures of influence functions in neural network models trained on datasets such as Iris, MNIST, CIFAR-10 and ImageNet. Through our extensive experiments, we show that the network architecture, its depth and width, as well as the extent of model parameterization and regularization techniques have strong effects in the accuracy of influence functions. In particular, we find that (i) influence estimates are fairly accurate for shallow networks, while for deeper networks the estimates are often erroneous; (ii) for certain network architectures and datasets, training with weight-decay regularization is important to get high-quality influence estimates; and (iii) the accuracy of influence estimates can vary significantly depending on the examined test points. These results suggest that in general influence functions in deep learning are fragile and call for developing improved influence estimation methods to mitigate these issues in non-convex setups.

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

↑