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

离群梯度分析:高效识别深度学习模型的有害训练样本

Outlier Gradient Analysis: Efficiently Identifying Detrimental Training Samples for Deep Learning Models

University of South Florida, Tampa, FL, USA(佛罗里达州立大学);Brandeis University, Waltham, MA, USA(布兰迪大学);Tsinghua University(清华大学)

Anshuman Chhabra, Bo Li, Jian Chen, Prasant Mohapatra, Hongfu Liu

AI总结:

本文提出离群梯度分析方法,通过建立影响函数与离群梯度检测的联系,提供无 Hessian 矩阵的高效方案,用于识别深度学习模型有害训练样本并提升 NLP 及大模型性能。

摘要:

以数据为中心的学习的一个核心挑战是识别对模型性能有害的训练样本。影响函数是完成此任务的重要工具,它提供了一个评估训练数据对模型预测影响的稳健框架。尽管影响函数被广泛使用,但计算 Hessian 矩阵逆所带来的高昂计算成本构成了限制,特别是在分析大型深度模型时。在本文中,我们在通过影响函数识别有害训练样本与离群梯度检测之间建立了一座桥梁。这种转换不仅提供了一种直接且无 Hessian 矩阵的公式化方法,还深入揭示了梯度在样本影响中的作用。通过系统的实证评估,我们首先在合成数据集上验证了所提出的离群梯度分析方法的有效性假设。随后,我们展示了该方法在视觉模型中检测错误标注样本,以及选择数据样本以提升自然语言处理 transformer 模型性能方面的有效性。我们还将该方法的应用扩展至大型语言模型微调的关键样本识别中。

英文摘要:

A core data-centric learning challenge is the identification of training samples that are detrimental to model performance. Influence functions serve as a prominent tool for this task and offer a robust framework for assessing training data influence on model predictions. Despite their widespread use, their high computational cost associated with calculating the inverse of the Hessian matrix pose constraints, particularly when analyzing large-sized deep models. In this paper, we establish a bridge between identifying detrimental training samples via influence functions and outlier gradient detection. This transformation not only presents a straightforward and Hessian-free formulation but also provides insights into the role of the gradient in sample impact. Through systematic empirical evaluations, we first validate the hypothesis of our proposed outlier gradient analysis approach on synthetic datasets. We then demonstrate its effectiveness in detecting mislabeled samples in vision models and selecting data samples for improving performance of natural language processing transformer models. We also extend its use to influential sample identification for fine-tuning Large Language Models.

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

↑