Training modern deep learning models is a resource-heavy endeavor. As datasets balloon into the millions and billions of samples, researchers have turned to data pruning—the art of selecting a small, highly informative subset of data that maintains model performance while slashing computational costs.
However, there is a catch: real-world data is messy. It contains "label noise" (incorrectly labeled images), which traditional pruning methods struggle to handle. A new paper from NeurIPS 2023, Robust Data Pruning under Label Noise via Maximizing Re-labeling Accuracy, introduces a clever way to prune data specifically for models that know how to fix their own mistakes.
TL;DR
Prune4ReL is a novel data pruning algorithm designed for "re-labeling" models that self-correct noisy labels during training. By maximizing the "neighborhood confidence" of the selected subset, it ensures the model can accurately fix erroneous labels across the entire dataset, outperforming standard pruning methods by up to 21.6% on noisy real-world data.
What Problem Does This Paper Address?
Most data pruning algorithms assume labels are perfect. They typically fall into two camps:
- Uncertainty-based: These favor "hard" examples that the model is unsure about. In a noisy dataset, these methods accidentally pick many mislabeled samples, leading to poor generalization.
- Small-loss-based: These favor "easy" examples that are likely clean. While safe, these subsets often lack the complex, informative samples needed for high-level performance.
Meanwhile, state-of-the-art robust learning uses Re-labeling—techniques where a model identifies wrong labels and corrects them during training. The gap the authors identified is that no one had designed a pruning strategy specifically to support this re-labeling process. We don't just need a "clean" subset; we need a subset that provides enough context to help the model fix the rest of the noisy training set.
Methods: The Power of Neighborhoods
The authors introduce a new metric called Reduced Neighborhood Confidence (RNC). The core idea is simple: a noisy example is much more likely to be corrected if its neighbors in the feature space are predicted with high confidence by the model.
The Prune4ReL Algorithm
To operationalize this insight, the researchers developed the Prune4ReL algorithm, which operates in four main steps:
- Warm-up: The model is trained briefly on the full (noisy) dataset to get initial feature embeddings and prediction confidences.
- Neighborhood Mapping: For every sample in the full dataset, the algorithm identifies its "neighbors" based on cosine similarity in the feature space.
- Greedy Selection: Since finding the perfect subset is an NP-hard "Set-Cover" style problem, the authors use a greedy approach. They iteratively add samples to the subset that provide the highest "marginal benefit" to the total neighborhood confidence of the entire original dataset.
- Utility Function: They use a concave utility function to model diminishing returns. Once a neighborhood has enough "coverage" to fix a label, the algorithm moves on to cover other, less-supported areas of the data distribution.
Key Insights and Ideas
- The "Aha" Moment: Re-labeling accuracy isn't just about the sample itself; it's a social process. A sample's "correctability" is proportional to the collective confidence of its neighbors in the pruned subset.
- Coverage over Hardness: Instead of looking for the "hardest" samples, Prune4ReL looks for the most "influential" samples—those that can act as reliable anchors to help re-label the surrounding noisy data.
- Efficiency Matters: Unlike some geometry-based pruning methods that become prohibitively slow as the subset grows, Prune4ReL’s greedy selection is efficient enough to handle million-scale datasets.
Datasets and Key Results
The researchers evaluated Prune4ReL on a mix of real-world and synthetic noise, including CIFAR-10N/100N (human-annotated errors), WebVision (2.4M web images), Clothing-1M (1M shopping images), and ImageNet-N.
The results demonstrate that considering the re-labeling process during pruning is a game-changer:
- Superior Accuracy: On CIFAR-100N, Prune4ReL outperformed the next best baseline by 9.1%.
- Massive Gains over Standard Models: When comparing a pruned subset trained with a standard model versus one trained with a Re-labeling model (using Prune4ReL), the performance gap was as high as 21.6%.
- Robustness to Pruning Ratio: Even when pruning away 80% of the data, Prune4ReL maintained high accuracy, whereas traditional methods saw their performance collapse because they over-selected uncorrectable noisy samples.
Limitations and Future Work
While highly effective, the method does have a few limitations. It relies on a warm-up dependency to generate embeddings; if the initial model is extremely poor due to extreme noise levels, the neighborhood estimates might be less reliable. Additionally, the algorithm uses a threshold to define what counts as a "neighbor," which may require hyperparameter tuning for specialized or non-image datasets. Finally, the current framework is built for classification. Extending this "neighborhood confidence" logic to regression or generative tasks remains an exciting open challenge for future research.
Summary updated