Source-linked AI summary

Semantic Redundancies in Image-Classification Datasets: The 10% You Don't Need

Vighnesh Birodkar, Hossein Mobahi, Samy Bengio

arXiv:1901.11409v1cs.CVcs.LGstat.ML

TL;DR

The paper asks whether common image-classification datasets contain subsets that can be removed without reducing generalization, addressing limited understanding of dataset redundancy. It uses semantic-space agglomerative clustering to group similar samples and retain representatives, finding at least 10% redundancy in ImageNet and CIFAR-10 while finding none with its scheme in CIFAR-100.

  • Problem

    The paper addresses whether benchmark image-classification datasets contain removable subsets that preserve full-dataset test performance, amid limited understanding of dataset properties.

    Source: §1 · p. 1, §2 · p. 2
  • Method

    The method clusters class-specific penultimate-layer representations using an explicit dissimilarity measure, retaining one image near each cluster center.

    Source: §3.1 · p. 2, §3.2 · pp. 2–3
  • Results

    At least 10% of ImageNet and CIFAR-10 can be removed without affecting test accuracy, while accuracy without 5% and 10% of the data is slightly higher than with the full dataset.

    Source: §1 · p. 1, §5 · p. 6
  • Takeaways & Limitations

    The findings demonstrate notable semantic redundancy in ImageNet and CIFAR-10 and motivate further work on more efficient training and data collection.

    Source: §5 · p. 6

    The proposed scheme fails to find redundancies in CIFAR-100, where redundant-group points are more spread out in semantic space than in CIFAR-10.

    Source: §5 · p. 6

Abstract

from arXiv · show

Large datasets have been crucial to the success of deep learning models in the recent years, which keep performing better as they are trained with more labelled data. While there have been sustained efforts to make these models more data-efficient, the potential benefit of understanding the data itself, is largely untapped. Specifically, focusing on object recognition tasks, we wonder if for common benchmark datasets we can do better than random subsets of the data and find a subset that can generalize on par with the full dataset when trained on. To our knowledge, this is the first result that can find notable redundancies in CIFAR-10 and ImageNet datasets (at least 10%). Interestingly, we observe semantic correlations between required and redundant images. We hope that our findings can motivate further research into identifying additional redundancies and exploiting them for more efficient training or data-collection.

1 Introduction

This work investigates redundancy in ImageNet, CIFAR-10, and CIFAR-100, finding that subsets exceeding 10% of ImageNet and CIFAR-10 can be removed without reducing test accuracy. It challenges claims that these datasets lack notable redundancy and positions the finding as evidence for further efficiency research.

Contributions

  • At least 10% of ImageNet and CIFAR-10 can be removed without affecting test accuracy when models are trained from scratch on the remaining data.The authors present this as a counterexample to the claim that these datasets contain no redundancy.Source: §1 · p. 1

Motivation

  • The paper studies dataset properties through redundancy, extending analysis across ImageNet, CIFAR-10, and CIFAR-100.This focus addresses a comparatively underexplored aspect of datasets themselves, alongside prior work on imbalance, simulation, and prototypical examples.Source: §1 · p. 1

Contributions

  • The contribution is to demonstrate significant redundancy rather than introduce a new algorithm, while motivating more efficient training and data collection.The authors also connect the finding to active learning by describing an upper bound on the best performance achievable from a subset.Source: §1 · p. 1

2 Related Works

Related work studies data selection, prioritization, and redundancy from several perspectives, but generally does not identify redundant subsets directly. The paper distinguishes its goal from methods that accelerate convergence or select informative examples and notes implications for semi-supervised evaluation.

Data selection

  • Prior example-selection methods prioritize training examples or accelerate convergence, whereas this work seeks subsets whose removal does not harm generalization.This distinction separates redundancy identification from selecting informative data during learning.Source: §2 · p. 2

Dataset reduction

  • Earlier dataset-reduction methods iteratively remove small sets until performance declines, but their need to create many subsets makes them impractical for modern datasets.The cited approach is presented as an early attempt to reduce training-set size.Source: §2 · p. 2

Active learning

  • Active-learning and subset-selection approaches formulate selection through constrained optimization or uncertainty, but simple uncertainty strategies can outperform one cited deep-network method.These methods target informative selection rather than explicitly locating redundant groups.Source: §2 · p. 2

Prototypicality

  • Prototypicality-based work reports improved object-detection performance from prioritizing high-value examples and best CIFAR-10 performance using nearly-the-most prototypical 10% of training data.These studies emphasize informative examples, not removal of semantically redundant data.Source: §2 · p. 2

Redundancy analysis

  • Vodrahalli et al. [Vodrahalli et al., 2018] use gradient magnitude from a pretrained classifier to prioritize examples, but fail to find redundancies in CIFAR-10 and ImageNet.The paper contrasts this with explicitly analyzing relationships among samples.Source: §2 · p. 2

Semi-supervised learning

  • The authors suggest that retaining the most informative labeled examples could provide insights for semi-supervised learning evaluated on ImageNet and CIFAR datasets.The related-work discussion notes that commonly used subsets are randomly selected and labels may be removed for evaluation.Source: §2 · p. 2

3 Method

The method identifies redundancy by clustering semantically close samples in a pretrained model’s representation space. It uses a cluster dissimilarity measure and retains one representative per group until the desired subset size is reached.

3.1 Motivation

  • The method addresses a limitation of gradient-based importance by comparing samples with an explicit dissimilarity measure, allowing near-duplicates to be identified as redundant.The motivation is that high gradient magnitudes may not distinguish between near-duplicate samples.Source: §3.1 · p. 2

3.2 Algorithm

  • Samples are represented by penultimate-layer embeddings from a model trained on the full dataset, and agglomerative clustering groups nearby points in this semantic space.Agglomerative clustering repeatedly joins the closest pair of clusters according to the dissimilarity criterion.Source: §3.2 · p. 2
  • Cluster dissimilarity is defined as the maximum pairwise dissimilarity between points in two clusters.This criterion determines which clusters are merged during agglomerative clustering.Source: §3.2 · p. 3
  • Clustering is performed independently within each class until k clusters remain, after which the image closest to each cluster center is retained and the others are discarded.Here k equals the desired subset size, and each resulting cluster is treated as a redundant group.Source: §3.2 · p. 3

4 Experiments

Experiments compare semantic-clustering subsets with random subsets across CIFAR-10, CIFAR-100, and ImageNet, while testing semantic representations and documenting implementation details. Semantic clustering preserves performance after removing 10% on CIFAR-10 and ImageNet, but fails to find useful redundancy on CIFAR-100.

4 Experiments

  • Experiments use ResNets, compare deterministic semantic-clustering subsets with uniformly sampled subsets, and report accuracy means with standard deviations across repeated trials.CIFAR experiments use 10 trials, while ImageNet validation accuracy is averaged over 5 trials.Source: §4 · p. 3, §4.1 · p. 3, §4.3 · p. 5
  • Semantic clustering groups nearby same-class images, retains the image closest to each cluster center, and discards the remaining group members.The semantic representation is extracted from a model pretrained on the full dataset.Source: §4 · p. 3

4.1.1 CIFAR-10

  • For CIFAR-10, redundant groups contain slight object variations, whereas most groups are singletons when constructing a 90% subset.The group-size distribution is shown for two classes on a logarithmic y-axis.Source: §4.1.1 · p. 3, Figure 4 · p. 4

4.1.2 CIFAR-100

  • CIFAR-100 shows no useful redundancy: both semantic-clustering and random subsets lose test accuracy monotonically as subset size decreases.Its redundant groups contain substantially more semantic variation than CIFAR-10 groups.Source: §4.1.2 · pp. 3–4

4.2 Choice of semantic representation.

  • The final average-pooling representation from the ResNet finds the largest redundancy among the three tested network stages.The compared stages are Start, Middle, and End.Source: §4.2 · p. 4, Figure 8 · p. 5

4.1.2 CIFAR-100

  • For CIFAR-100, average dissimilarity within redundant groups is about an order of magnitude higher than for CIFAR-10, indicating greater semantic variation.The comparison averages class-wise means for three classes and the full dataset among clusters larger than one.Source: §4.1.2 · p. 4, Table 1 · p. 5

4.3 ImageNet

  • ImageNet experiments train a 101-layer ResNet and find that most images remain singleton groups when constructing a 90% subset.Additional examples include semantically similar cars that are not close enough to be grouped as redundant.Source: §4.3 · pp. 5–6

4.1.1 CIFAR-10

  • 10% of CIFAR-10 and ImageNet training data can be removed by semantic clustering without reducing test or validation accuracy, unlike random subsets.The ImageNet result uses average validation accuracy because its test set is unavailable.Source: §4.1.1 · p. 3, §4.3 · p. 5, Figure 9 · p. 5

5 Conclusion

Semantic clustering identifies at least 10% redundancy in ImageNet and CIFAR-10, with semantically varying images removable without harming training accuracy. The approach suggests redundancy may reflect learned invariances, but it finds none in CIFAR-100 under this scheme.

  • At least 10% of ImageNet and CIFAR-10 are redundant according to semantic clustering.Source: §5 · p. 6
  • The semantic changes treated as redundant differ across groups, rather than reflecting one uniform visual variation.Source: §5 · p. 6
  • Redundant groups contain varying attributes, suggesting networks may learn invariance from similar variations elsewhere in the dataset.Source: §5 · p. 6
  • Removing 5% or 10% of the data sometimes produces slightly higher accuracy than training on the full dataset.The authors suggest this may indicate that training redundancies hamper optimization.Source: §5 · p. 6
  • The scheme fails to find redundancies in CIFAR-100, where redundant-group points are much more dispersed in semantic space than in CIFAR-10.Source: §5 · p. 6
  • A better algorithm might still identify CIFAR-100 redundancies, leaving the dataset-specific failure as an open limitation.Source: §5 · p. 6

A Appendix

The appendix visualizes redundant groups as image rows, retaining the leftmost image for the 90% subset.

  • Each row represents one redundant image group, with the leftmost image retained in the 90% subset.Source: A Appendix · p. 10
Loading 1901.11409v1…