arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.26776cs.LGcs.AI
收藏

通过高级采样实现忠实且快速的影响函数

Faithful and Fast Influence Function via Advanced Sampling

Department of Electrical Engineering, Pohang University of Science and Technology, Pohang, Republic of Korea(电子工程系,釜山科学技术大学);Department of Electrons Engineering, Chungnam University, Daejeon, Republic of Korea(电子工程系,全南大学);Department of Electrical and Computer Engineering, Seoul National University, Seoul, Republic of Korea(电气与计算机工程系,首尔国立大学)

Jungyeon Koh, Hyeonsu Lyu, Jonggyu Jang, Hyun Jong Yang

AI总结:

本文提出两种基于特征和logits的高级采样技术,以解决传统随机采样在影响函数估计中高方差导致的不一致问题,显著提升了计算效率与估计准确性。

摘要:

我们如何解释训练数据对黑盒模型的影响?影响函数通过利用梯度和Hessian矩阵提供了一种事后解决方案。然而,为整个数据集计算Hessian矩阵资源消耗大,需要一种可行的替代方案。一种常见的方法是随机采样训练数据的一个小子集,但这种方法由于样本配置的高方差,通常会导致影响函数估计高度不一致。为了解决这个问题,我们提出了两种基于特征和logits的高级采样技术。这些采样器通过考虑特征或logits的随机分布,从整个数据集中选择一个小而具代表性的子集,从而提高影响函数估计的准确性。我们通过类别移除实验(影响函数的典型应用)验证了我们的方法,使用F1分数来衡量模型在保持对剩余类别推理一致性的同时,有效遗忘被移除类别的能力。与基线相比,我们的方法减少了30.1%的计算时间和42.2%的内存使用,或者提高了2.5%的F1分数。

英文摘要:

How can we explain the influence of training data on black-box models? Influence functions (IFs) offer a post-hoc solution by utilizing gradients and Hessians. However, computing the Hessian for an entire dataset is resource-intensive, necessitating a feasible alternative. A common approach involves randomly sampling a small subset of the training data, but this method often results in highly inconsistent IF estimates due to the high variance in sample configurations. To address this, we propose two advanced sampling techniques based on features and logits. These samplers select a small yet representative subset of the entire dataset by considering the stochastic distribution of features or logits, thereby enhancing the accuracy of IF estimations. We validate our approach through class removal experiments, a typical application of IFs, using the F1-score to measure how effectively the model forgets the removed class while maintaining inference consistency on the remaining classes. Our method reduces computation time by 30.1% and memory usage by 42.2%, or improves the F1-score by 2.5% compared to the baseline.

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

↑