Deep Learning on a Data Diet: Finding Important Examples Early in\n Training

Mansheej Paul, Surya Ganguli, Gintare Karolina Dziugaite

arXiv (Cornell University) · 2021 · 81 citations · 0 references

DOIFull text

Open access

Concepts

Abstract

Recent success in deep learning has partially been driven by training\nincreasingly overparametrized networks on ever larger datasets. It is therefore\nnatural to ask: how much of the data is superfluous, which examples are\nimportant for generalization, and how do we find them? In this work, we make\nthe striking observation that, in standard vision datasets, simple scores\naveraged over several weight initializations can be used to identify important\nexamples very early in training. We propose two such scores -- the Gradient\nNormed (GraNd) and the Error L2-Norm (EL2N) scores -- and demonstrate their\nefficacy on a range of architectures and datasets by pruning significant\nfractions of training data without sacrificing test accuracy. In fact, using\nEL2N scores calculated a few epochs into training, we can prune half of the\nCIFAR10 training set while slightly improving test accuracy. Furthermore, for a\ngiven dataset, EL2N scores from one architecture or hyperparameter\nconfiguration generalize to other configurations. Compared to recent work that\nprunes data by discarding examples that are rarely forgotten over the course of\ntraining, our scores use only local information early in training. We also use\nour scores to detect noisy examples and study training dynamics through the\nlens of important examples -- we investigate how the data distribution shapes\nthe loss surface and identify subspaces of the model's data representation that\nare relatively stable over training.\n