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

D2剪枝:在数据剪枝中平衡多样性与难度的消息传递方法

D2 Pruning: Message Passing for Balancing Diversity and Difficulty in Data Pruning

University of North Carolina Chapel Hill(北卡罗来纳大学教堂山分校)

Adyasha Maharana, Prateek Yadav, Mohit Bansal

AI总结:

D2剪枝通过图上的消息传递联合优化数据多样性与难度,实现高效核心集选择,在高达70%剪枝率下超越现有方法,并提升多模态数据过滤效果。

摘要:

分析理论表明,在固定数据预算下训练模型时,更高质量的数据可以降低测试误差。此外,如果数据集能够去除冗余,模型可以在较低的计算预算下训练而不损失性能。核心集选择(或数据剪枝)旨在选择训练数据的子集,以最大化在该子集(也称为核心集)上训练的模型的性能。目前有两种主流方法:(1)基于几何的数据选择,用于最大化核心集中的数据多样性;(2)根据训练动态为样本分配难度分数的函数。优化数据多样性会导致核心集偏向于更简单的样本,而按难度排序进行选择则会遗漏深度学习模型训练所必需的简单样本。这表明数据多样性和重要性分数是互补的两个因素,在核心集选择过程中需要联合考虑。我们将数据集表示为无向图,并提出一种新颖的剪枝算法D2剪枝,该算法通过在此数据集图上进行前向和反向消息传递来进行核心集选择。D2剪枝通过结合数据集中相邻样本的难度来更新每个样本的难度分数。然后,这些更新后的难度分数指导基于图的采样方法,选择包含数据集空间中多样且困难区域的核心集。我们在各种视觉和语言数据集上评估了我们方法的监督和自监督版本。结果表明,在高达70%的剪枝率下,D2剪枝相比以往最先进的方法改进了核心集选择。此外,我们发现使用D2剪枝过滤大型多模态数据集可增加数据集的多样性,并提高预训练模型的泛化能力。

英文摘要:

Analytical theories suggest that higher-quality data can lead to lower test errors in models trained on a fixed data budget. Moreover, a model can be trained on a lower compute budget without compromising performance if a dataset can be stripped of its redundancies. Coreset selection (or data pruning) seeks to select a subset of the training data so as to maximize the performance of models trained on this subset, also referred to as coreset. There are two dominant approaches: (1) geometry-based data selection for maximizing data diversity in the coreset, and (2) functions that assign difficulty scores to samples based on training dynamics. Optimizing for data diversity leads to a coreset that is biased towards easier samples, whereas, selection by difficulty ranking omits easy samples that are necessary for the training of deep learning models. This demonstrates that data diversity and importance scores are two complementary factors that need to be jointly considered during coreset selection. We represent a dataset as an undirected graph and propose a novel pruning algorithm, D2 Pruning, that uses forward and reverse message passing over this dataset graph for coreset selection. D2 Pruning updates the difficulty scores of each example by incorporating the difficulty of its neighboring examples in the dataset graph. Then, these updated difficulty scores direct a graph-based sampling method to select a coreset that encapsulates both diverse and difficult regions of the dataset space. We evaluate supervised and self-supervised versions of our method on various vision and language datasets. Results show that D2 Pruning improves coreset selection over previous state-of-the-art methods for up to 70% pruning rates. Additionally, we find that using D2 Pruning for filtering large multimodal datasets leads to increased diversity in the dataset and improved generalization of pretrained models.

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

↑