数据饮食上的深度学习:在训练早期发现重要示例
Deep Learning on a Data Diet: Finding Important Examples Early in Training
摘要:
最近深度学习的成功部分归功于在越来越大的数据集上训练越来越多的过度参数化网络。因此,我们自然会问:有多少数据是多余的,哪些例子对推广很重要,我们如何找到它们?在这项工作中,我们做出了惊人的观察,在标准视觉数据集中,几个权重初始化的平均值可以用来在训练的早期识别重要的例子。我们提出了两个这样的分数-梯度范数(GraNd)和错误L2-范数(EL 2N)分数-并证明其有效性的架构和数据集的范围内修剪显着分数的训练数据,而不牺牲测试精度。事实上,使用EL 2N分数计算几个时期的训练,我们可以修剪一半的CIFAR 10训练集,同时稍微提高测试准确性。此外,对于给定的数据集,来自一个架构或超参数配置的EL 2N分数推广到其他配置。与最近通过丢弃在训练过程中很少忘记的示例来修剪数据的工作相比,我们的分数在训练早期只使用局部信息。我们还使用我们的分数来检测噪声示例,并通过重要示例的镜头来研究训练动态-我们研究数据分布如何塑造损失表面,并识别模型数据表示的子空间,这些子空间在训练过程中相对稳定。
英文摘要:
Recent success in deep learning has partially been driven by training increasingly overparametrized networks on ever larger datasets. It is therefore natural to ask: how much of the data is superfluous, which examples are important for generalization, and how do we find them? In this work, we make the striking observation that, in standard vision datasets, simple scores averaged over several weight initializations can be used to identify important examples very early in training. We propose two such scores -- the Gradient Normed (GraNd) and the Error L2-Norm (EL2N) scores -- and demonstrate their efficacy on a range of architectures and datasets by pruning significant fractions of training data without sacrificing test accuracy. In fact, using EL2N scores calculated a few epochs into training, we can prune half of the CIFAR10 training set while slightly improving test accuracy. Furthermore, for a given dataset, EL2N scores from one architecture or hyperparameter configuration generalize to other configurations. Compared to recent work that prunes data by discarding examples that are rarely forgotten over the course of training, our scores use only local information early in training. We also use our scores to detect noisy examples and study training dynamics through the lens of important examples -- we investigate how the data distribution shapes the loss surface and identify subspaces of the model's data representation that are relatively stable over training.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。