Skip to main content
QUICK REVIEW

[Paper Review] Deep Learning on a Data Diet: Finding Important Examples Early in Training

Mansheej Paul, Surya Ganguli|arXiv (Cornell University)|Jul 14, 2021
Machine Learning and Data ClassificationComputer Science81 citations
TL;DR

This work shows that simple scores, Averaged over multiple initializations, identify important training examples early in training, enabling substantial data pruning (e.g., 50% on CIFAR-10) without hurting test accuracy.

ABSTRACT

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.

Motivation & Objective

  • Motivate data-efficient training by identifying and pruning superfluous training examples.
  • Propose scores that quantify example importance early in training (GraNd and EL2N).
  • Demonstrate data pruning effectiveness across standard vision datasets and architectures.
  • Explore how data-importance subpopulations shape loss surfaces and training dynamics.
  • Show cross-architecture generalization of scores and implications for noisy labels.

Proposed method

  • Define GraNd score as the expected gradient norm of a training example over weight initializations.
  • Define EL2N score as the expected L2 norm of the prediction error (p(w,x) - y) early in training.
  • Average scores over multiple initializations to obtain stable rankings.
  • Empirically prune training data based on score rankings and retrain on subsets.
  • Compare pruning based on GraNd/EL2N to forgetting-based pruning and baseline full data.
  • Investigate data-dependent NTK velocity and linearly connected modes to relate scores to training dynamics.

Experimental results

Research questions

  • RQ1Can early-training per-example scores identify data that are essential for generalization?
  • RQ2How much of the training data can be pruned early in training without sacrificing test accuracy across datasets?
  • RQ3Do EL2N/GraNd scores generalize across architectures and hyperparameters?
  • RQ4What is the relationship between high-scoring examples and training dynamics, including NTK evolution and loss landscape connectivity?
  • RQ5How does label noise affect which examples are deemed important by EL2N/GraNd scores?

Key findings

  • EL2N scores computed after a few training epochs can prune about 50% of CIFAR-10 data without accuracy loss and about 25% of CIFAR-100 data with only ~1% accuracy drop.
  • EL2N scores from one architecture or hyperparameter configuration generalize to others, enabling cross-configuration pruning.
  • Pruning based on high EL2N/GraNd scores can match or exceed full-data training performance at intermediate pruning levels.
  • The highest-scoring examples are not always the most critical; pruning a small subset of very high-scoring examples can improve performance, especially with label noise.
  • Low EL2N-score subsets yield vanishing training error barriers quickly, whereas high-score subsets maintain higher barriers, indicating different loss-landscape dynamics.
  • NTK submatrices associated with high-score examples evolve faster, suggesting these examples drive learning and feature-space changes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.