Skip to main content
QUICK REVIEW

[Paper Review] Are All Training Examples Created Equal? An Empirical Study

Kailas Vodrahalli, Ke Li|arXiv (Cornell University)|Nov 30, 2018
Machine Learning and AlgorithmsComputer Science18 references45 citations
TL;DR

The paper introduces a gradient-based importance measure to assess the relative value of training images across datasets and examines how well small, selected subsets can represent full datasets. It finds redundancy in MNIST but diversity (little redundancy) in CIFAR-10/100 and ImageNet, with implications for active learning and data collection.

ABSTRACT

Modern computer vision algorithms often rely on very large training datasets. However, it is conceivable that a carefully selected subsample of the dataset is sufficient for training. In this paper, we propose a gradient-based importance measure that we use to empirically analyze relative importance of training images in four datasets of varying complexity. We find that in some cases, a small subsample is indeed sufficient for training. For other datasets, however, the relative differences in importance are negligible. These results have important implications for active learning on deep networks. Additionally, our analysis method can be used as a general tool to better understand diversity of training examples in datasets.

Motivation & Objective

  • Motivate the need to understand properties of large training datasets in deep learning for vision tasks.
  • Propose a gradient-based importance measure to quantify per-image training value.
  • Evaluate how well subsamples chosen by gradient-based importance reproduce the full dataset’s performance across multiple datasets and architectures.
  • Analyze simplicity and redundancy as dataset attributes to interpret diversity and training difficulty.

Proposed method

  • Train networks on full datasets and compute per-image gradients of the loss w.r.t. model parameters at the end of training.
  • Use the gradient magnitudes to rank training images by importance and select subsamples of size k from the top-ranked images.
  • Compare subsampling strategies including Random, Max-Gradient, Non-extreme Max-Gradient, and Gradient-CDF (probabilistic sampling proportional to gradient magnitude).
  • Retrain models from random initialization on each subsample to measure test accuracy as a proxy for representativeness of the subset.
  • Analyze cross-model consistency of gradient-based rankings and the class-label entropy of top-k images to assess diversity and model dependence.

Experimental results

Research questions

  • RQ1Do gradient-based importance scores identify a small subset of training images that can match performance obtained with full datasets?
  • RQ2How does dataset complexity (MNIST vs CIFAR-10/100 vs ImageNet) affect the effectiveness of gradient-based subsampling?
  • RQ3Is the gradient-based importance measure robust across different model architectures within a dataset?
  • RQ4What are the implications for active learning and dataset collection when using gradient-based data selection?

Key findings

  • MNIST shows substantial redundancy; Max-Gradient subsampling can match full-data performance with only a small fraction of data.
  • CIFAR-10, CIFAR-100, and ImageNet generally require most training examples for best performance; gradient-based subsampling is often weaker than random sampling for CIFAR datasets.
  • Gradient-CDF (probabilistic gradient-based sampling) closely matches random sampling, mitigating skew from pure Max-Gradient methods.
  • Top-gradient images can be model-specific, indicating that “hard” examples depend on the architecture, yet some results generalize across models (cross-model similarities in gradient-based ordering).
  • The study suggests active learning on deep networks may be more challenging for diverse datasets than for MNIST, due to lower redundancy in CIFAR and 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.