TL;DR
Dataset pruning is essential for reducing deep learning training costs, but existing methods either require expensive fully labeled datasets or rely on fragile pretrained features. This paper introduces SemiPrune, a label-efficient framework that uses a tiny fraction of labeled data (e.g., 10%) alongside semi-supervised learning to generate high-quality pseudo-labels. This simple twist allows standard supervised pruning techniques to achieve state-of-the-art performance, even on challenging out-of-distribution, corrupted, or class-imbalanced datasets.
What Problem Does This Paper Address?
Training modern deep learning models on massive datasets is incredibly expensive. Dataset pruning aims to solve this by identifying and keeping only the most informative subset of data (a "coreset") while discarding the rest.
However, traditional pruning methods face a catch-22: to find the most informative examples, they usually require an initial training run on the fully labeled dataset. In the real world, labels are scarce and expensive. To bypass this, recent "label-free" methods use pretrained foundation models (like DINO or CLIP) to cluster unlabeled data and estimate example difficulty based on feature geometry.
The catch? These label-free methods fall apart when the target dataset looks different from the pretraining data. If your target dataset contains fine-grained categories (like specific foods), image corruptions (blur, noise), or severe class imbalances, pretrained features cluster data by superficial visual similarities rather than actual semantic classes, leading to poor coreset selection.
Methods
The authors propose SemiPrune, a two-stage pipeline that bridges the gap between expensive fully supervised pruning and unreliable label-free pruning:
- Semi-Supervised Pseudo-Labeling: The framework starts with a very small budget of randomly selected labeled data (e.g., 10%) and a large pool of unlabeled data. It trains a model using Semi-Supervised Learning (SSL)—specifically FixMatch—directly on the target dataset. This model generates highly accurate pseudo-labels for the unlabeled data.
- Pruning via Training Dynamics: The initially labeled data and the newly pseudo-labeled data are combined into a single training pool. The authors then train a supervised model from scratch on this pool and track its training dynamics (how the model's predictions evolve over epochs) to calculate importance scores.
The authors adapt two popular supervised pruning strategies into this framework:
- Semi-AUM: Uses the Area Under the Margin (AUM) metric with a double-end pruning strategy to filter out both overly easy and overly noisy examples.
- Semi-DUAL: Combines prediction difficulty and uncertainty using a specialized Beta sampling distribution to adaptively select samples based on the target pruning ratio.
Datasets
The authors rigorously evaluated SemiPrune across several challenging scenarios where traditional label-free methods typically fail:
- Domain Mismatch: Food-101 and SUN397 (where target features diverge from generic ImageNet pretraining).
- Image Corruption: 30% corrupted variants of CIFAR-100 and Tiny-ImageNet.
- Class Imbalance: Caltech-101 and a long-tailed variant of CIFAR-100 (with imbalance factors of 0.1 and 0.01).
- Standard Benchmarks: CIFAR-10, CIFAR-100, and ImageNet-1K.
Key Insights and Ideas
- The Power of "Anchoring": Why does semi-supervised learning beat deep clustering on raw pretrained features? Even a tiny amount of true class supervision (just 10% labels) acts as an anchor. It forces the model to learn representations aligned with the actual task semantics rather than superficial visual patterns like background color or texture.
- Direct Adaptation Beats Graph Propagation: Alternative few-label methods like Score Extrapolation try to propagate difficulty scores from labeled to unlabeled data using graph neural networks. However, if the underlying feature space is distorted by corruptions or domain shifts, the graph connects the wrong regions. SemiPrune avoids this by letting the SSL model natively adapt to the target distribution.
Key Results
SemiPrune consistently achieved state-of-the-art performance among label-free and label-efficient baselines:
- Domain Mismatch: On Food-101 and SUN397, SemiPrune variants outperformed all label-free baselines. For instance, at 70% pruning on Food-101, Semi-AUM achieved 67.2% accuracy compared to ELFS (DINO)'s 65.6% and Score Extrapolation's 63.2%.
- Image Corruption: On corrupted CIFAR-100, Semi-DUAL achieved 73.3% accuracy at 30% pruning, nearly matching the fully supervised baseline (73.6%) while using a fraction of the labels.
- Beating Full Supervision on Long Tails: Remarkably, on long-tailed CIFAR-100 (imbalance factor 0.1), Semi-DUAL+Beta actually outperformed the fully supervised baseline at 30% pruning (58.3% vs 58.1%) and 90% pruning (27.5% vs 27.1%). This happens because the pseudo-labeling process naturally helps smooth out and balance the training signals under severe class imbalances.
Limitations and Future Work
While highly effective, the authors note a couple of areas for improvement:
- Random Label Selection: Currently, the initial 10% labeled subset is chosen completely at random. Incorporating active learning to intelligently select the most informative samples for initial annotation could make the framework even more label-efficient.
- SSL Dependency: The framework's success is tied to the quality of the underlying semi-supervised learning algorithm. While they used FixMatch, exploring more advanced or modern SSL techniques could yield even cleaner pseudo-labels and better coresets.
Summary updated