Skip to main content
QUICK REVIEW

[Paper Review] Data Pruning via Moving-one-Sample-out

Haoru Tan, Sitong Wu|arXiv (Cornell University)|Oct 23, 2023
Domain Adaptation and Few-Shot LearningComputer Science6 citations
TL;DR

This paper proposes Moving-one-Sample-out (MoSo), a novel data pruning method that identifies and removes less informative samples by measuring their impact on the optimal empirical risk when excluded. Using a first-order gradient-based approximation with linear complexity and guaranteed error bounds, MoSo captures training dynamics and outperforms prior methods, especially at high pruning ratios, while generalizing across different architectures and handling noisy data robustly.

ABSTRACT

In this paper, we propose a novel data-pruning approach called moving-one-sample-out (MoSo), which aims to identify and remove the least informative samples from the training set. The core insight behind MoSo is to determine the importance of each sample by assessing its impact on the optimal empirical risk. This is achieved by measuring the extent to which the empirical risk changes when a particular sample is excluded from the training set. Instead of using the computationally expensive leaving-one-out-retraining procedure, we propose an efficient first-order approximator that only requires gradient information from different training stages. The key idea behind our approximation is that samples with gradients that are consistently aligned with the average gradient of the training set are more informative and should receive higher scores, which could be intuitively understood as follows: if the gradient from a specific sample is consistent with the average gradient vector, it implies that optimizing the network using the sample will yield a similar effect on all remaining samples. Experimental results demonstrate that MoSo effectively mitigates severe performance degradation at high pruning ratios and achieves satisfactory performance across various settings.

Motivation & Objective

  • To address the limitation of existing data pruning methods that conflate hard or noisy samples with truly informative ones by measuring sample importance via empirical risk change.
  • To develop an efficient, scalable alternative to computationally expensive leave-one-out retraining for measuring sample impact.
  • To incorporate training dynamics into sample importance estimation by analyzing gradient consistency across training epochs.
  • To improve generalization of pruned datasets across diverse architectures and robustness under label noise.

Proposed method

  • MoSo defines sample importance as the change in optimal empirical risk when a single sample is removed from the training set, capturing its contribution to model performance.
  • It introduces a first-order approximator that estimates this change using gradient alignment between individual samples and the average gradient across training stages.
  • The method computes a score based on the cosine similarity between a sample’s gradient and the expected gradient vector at each training epoch, with higher alignment indicating higher importance.
  • The approximation achieves linear time complexity and provides theoretical guarantees on approximation error, avoiding full retraining.
  • A parallel speed-up scheme partitions the dataset across devices, enabling scalable MoSo scoring by approximating global MoSo scores using local subsets.
  • The framework integrates surrogate network training with MoSo scoring, where the surrogate model is trained on subsets to enable efficient gradient computation.
(a) (a) CIFAR-100
(a) (a) CIFAR-100

Experimental results

Research questions

  • RQ1Can measuring the change in empirical risk upon sample removal improve the identification of truly informative samples over difficulty-based metrics?
  • RQ2How can the computationally expensive leave-one-out retraining procedure be approximated efficiently while preserving accuracy?
  • RQ3Does incorporating training dynamics through gradient evolution across epochs enhance sample importance estimation?
  • RQ4Can a pruned core set selected via MoSo generalize well to different architectures without retraining?
  • RQ5How does MoSo perform under high label noise compared to existing importance-based pruning methods?

Key findings

  • MoSo significantly outperforms state-of-the-art methods on CIFAR-100, Tiny-ImageNet, and ImageNet-1K, especially at high pruning ratios, achieving 76.58% Top-1 accuracy at 20% pruning ratio on CIFAR-100.
  • The pruned core set selected by MoSo generalizes well to unseen architectures, such as SENet and EfficientNet, demonstrating strong transferability.
  • MoSo maintains high performance under synthetic label noise, surpassing difficulty-based methods by a large margin in robustness benchmarks.
  • Increasing surrogate network training epochs beyond 100 does not uniformly improve pruning performance, with only a 0.82% accuracy gain from 50 to 200 epochs, confirming the theoretical trade-off in approximation error.
  • Partitioning the dataset into more subsets improves pruning performance, indicating that smaller local sets better capture individual sample impact.
  • The MoSo estimator achieves linear complexity and provides approximation error guarantees, making it scalable and reliable for large-scale datasets.
(b) (b) Tiny-ImageNet
(b) (b) Tiny-ImageNet

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.