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

基于反向梯度匹配的蒸馏数据模型

Distilled Datamodel with Reverse Gradient Matching

National University of Singapore(新加坡国立大学)

Jingwen Ye, Ruonan Yu, Songhua Liu, Xinchao Wang

AI总结:

本文提出一种基于反向梯度匹配的蒸馏数据模型框架,通过离线训练蒸馏synset近似数据影响并在线加速留一法评估,在保持模型行为评估效果的同时显著降低计算成本。

摘要:

在海量数据集上训练的大规模AI模型彻底改变了机器学习领域。随着这些模型在各种应用中扮演越来越核心的角色,理解其行为并增强可解释性的需求变得至关重要。为了研究训练数据变化对预训练模型的影响,一种常见的方法是留一法重训练。这需要通过移除特定样本来系统地改变训练数据集,以观察模型内部产生的变化。然而,由于需要对每种数据集变体执行此操作,为每个修改后的数据集重新训练模型带来了巨大的计算挑战。在本文中,我们引入了一个用于评估数据影响的高效框架,包含离线训练和在线评估两个阶段。在离线训练阶段,我们通过一个蒸馏 synset 来近似训练数据对目标模型的影响,并将其表述为反向梯度匹配问题。在在线评估阶段,我们利用 synset 加速留一法过程,随后基于评估目标计算归因矩阵。包括训练数据归因和数据质量评估在内的实验评估表明,与直接重训练方法相比,我们提出的方法实现了可比的模型行为评估,同时显著加快了处理速度。

英文摘要:

The proliferation of large-scale AI models trained on extensive datasets has revolutionized machine learning. With these models taking on increasingly central roles in various applications, the need to understand their behavior and enhance interpretability has become paramount. To investigate the impact of changes in training data on a pre-trained model, a common approach is leave-one-out retraining. This entails systematically altering the training dataset by removing specific samples to observe resulting changes within the model. However, retraining the model for each altered dataset presents a significant computational challenge, given the need to perform this operation for every dataset variation. In this paper, we introduce an efficient framework for assessing data impact, comprising offline training and online evaluation stages. During the offline training phase, we approximate the influence of training data on the target model through a distilled synset, formulated as a reversed gradient matching problem. For online evaluation, we expedite the leave-one-out process using the synset, which is then utilized to compute the attribution matrix based on the evaluation objective. Experimental evaluations, including training data attribution and assessments of data quality, demonstrate that our proposed method achieves comparable model behavior evaluation while significantly speeding up the process compared to the direct retraining method.

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

↑