Lune

NeurIPS2021Top-tier venue

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

Mansheej Paul, Surya Ganguli, Gintare Karolina Dziugaite

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. * This work was carried out while the author was at ServiceNow. It was finalized at Google Brain. This version supersedes the published NeurIPS 2021 version of this work. Due to a bug in Flax[1] identified by Kirsch [2], the results for the GraNd score computed at initialization were miscalculated, and subsequent conclusions about pruning at initialization were erroneous. This version corrects these errors.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

243 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Data Selection for Language Models via Importance Resampling cites Prioritized Training on Points that are Learnable, Worth Learning, and not yet Learnt
  • Data Selection for Language Models via Importance Resampling cites Beyond neural scaling laws: beating power law scaling via data pruning
  • Data Selection for Language Models via Importance Resampling cites Selection via Proxy: Efficient Data Selection for Deep Learning
  • Data Selection for Language Models via Importance Resampling cites Coresets for Data-efficient Training of Machine Learning Models
  • Prioritized Training on Points that are Learnable, Worth Learning, and not yet Learnt cites Selection via Proxy: Efficient Data Selection for Deep Learning
  • Prioritized Training on Points that are Learnable, Worth Learning, and not yet Learnt cites Coresets for Data-efficient Training of Machine Learning Models
  • Beyond neural scaling laws: beating power law scaling via data pruning cites What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation
  • Beyond neural scaling laws: beating power law scaling via data pruning cites Coresets for Data-efficient Training of Machine Learning Models
  • DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretraining cites Data Selection for Language Models via Importance Resampling
  • DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretraining cites Prioritized Training on Points that are Learnable, Worth Learning, and not yet Learnt
  • DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretraining cites Beyond neural scaling laws: beating power law scaling via data pruning
  • DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretraining cites Selection via Proxy: Efficient Data Selection for Deep Learning
  • DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretraining cites Coresets for Data-efficient Training of Machine Learning Models
  • LESS: Selecting Influential Data for Targeted Instruction Tuning cites Data Selection for Language Models via Importance Resampling
  • LESS: Selecting Influential Data for Targeted Instruction Tuning cites Prioritized Training on Points that are Learnable, Worth Learning, and not yet Learnt
  • LESS: Selecting Influential Data for Targeted Instruction Tuning cites Beyond neural scaling laws: beating power law scaling via data pruning
  • LESS: Selecting Influential Data for Targeted Instruction Tuning cites What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation
  • LESS: Selecting Influential Data for Targeted Instruction Tuning cites Selection via Proxy: Efficient Data Selection for Deep Learning
  • LESS: Selecting Influential Data for Targeted Instruction Tuning cites Coresets for Data-efficient Training of Machine Learning Models
  • LESS: Selecting Influential Data for Targeted Instruction Tuning cites Estimating Training Data Influence by Tracing Gradient Descent
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers243

  1. Beyond neural scaling laws: beating power law scaling via data pruningBen Sorscher, Robert Geirhos, Shashank Shekhar, Surya Ganguli et al.NeurIPS 2022 · 720 citations
  2. LESS: Selecting Influential Data for Targeted Instruction TuningMengzhou Xia, Sadhika Malladi, Suchin Gururangan, Sanjeev Arora et al.ICML 2024 · 460 citations
  3. DoReMi: Optimizing Data Mixtures Speeds Up Language Model PretrainingSang Michael Xie, Hieu Pham, Xuanyi Dong, Nan Du et al.NeurIPS 2023 · 457 citations
  4. Data Selection for Language Models via Importance ResamplingSang Michael Xie, Shibani Santurkar, Tengyu Ma, Percy LiangNeurIPS 2023 · 383 citations
  5. Prioritized Training on Points that are Learnable, Worth Learning, and not yet LearntSören Mindermann, Jan Markus Brauner, Muhammed Razzak, Mrinank Sharma et al.ICML 2022 · 237 citations

Builds on12

  1. Estimating Training Data Influence by Tracing Gradient DescentGarima Pruthi, Frederick Liu, Satyen Kale, Mukund SundararajanNeurIPS 2020 · 784 citations
  2. Linear Mode Connectivity and the Lottery Ticket HypothesisJonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, Michael CarbinICML 2020 · 750 citations
  3. What Neural Networks Memorize and Why: Discovering the Long Tail via Influence EstimationVitaly Feldman, Chiyuan ZhangNeurIPS 2020 · 674 citations
  4. Coresets for Data-efficient Training of Machine Learning ModelsBaharan Mirzasoleiman, Jeff A. Bilmes, Jure LeskovecICML 2020 · 494 citations
  5. Selection via Proxy: Efficient Data Selection for Deep LearningCody Coleman, Christopher Yeh, Stephen Mussmann, Baharan Mirzasoleiman et al.ICLR 2020 · 462 citations

Related papers

  1. Lightweight Dataset Pruning without Full Training via Example Difficulty and Prediction UncertaintyYeseul Cho, Baekrok Shin, Changmin Kang, Chulhee YunICML 2025
  2. When to Prune? A Policy towards Early Structural PruningMaying Shen, Pavlo Molchanov, Hongxu Yin, José M. ÁlvarezCVPR 2022 · 46 citations
  3. Picking Winning Tickets Before Training by Preserving Gradient FlowChaoqi Wang, Guodong Zhang, Roger B. GrosseICLR 2020 · 743 citations
  4. A Gradient Flow Framework For Analyzing Network PruningEkdeep Singh Lubana, Robert P. DickICLR 2021 · 60 citations
  5. Dataset Pruning: Reducing Training Data by Examining Generalization InfluenceShuo Yang, Zeke Xie, Hanyu Peng, Min Xu et al.ICLR 2023 · 21 citations
Dusk over the sea between two cliffs drawn in fine vertical lines